First, write some usage information about the-F and-D commands.
In JMCodeInternally, the default setting file is encoder. cfg, which must be in the working directory,Program. If you have this cfg file in the working directory, you can use-d xxxx. cfg or-f xxxx. cfg to achieve the same effect. If the encoder. cfg file does not exist in the working directory, selecting-d xxxx. cfg will achieve the effect, but-f xxxx. cfg will not. I checked the code mainly because the program needs to parse a configuration file before testing whether it is a-f command. If the default configuration file does not exist, the program is parsing the default file (encoder. CFG ).
Understanding of the configuration file:
- Files input/output file configuration
This is quite obvious, so I don't need to talk about it.
- Encoder control encoding Control
(3) Next we will discuss the settings of parameters related to frame B and SP frames.
This section has not been studied, so I will skip this section first.
(4) nal Output Control
(5) The cabac encoding method is not studied.
(6) mbaff and PAFF Selection
You can set this option in the configuration file as follows:
(7) The remaining items are some areas that I have not studied yet. I will not analyze them here.
Some of the configuration files areConfigfile. hFile, such:
Input