openh264 icon indicating copy to clipboard operation
openh264 copied to clipboard

Questions about Profile

Open wbi1987 opened this issue 12 years ago • 8 comments

hi, Is openh264 support baseline profile only?

thanks

wbi1987 avatar Sep 09 '14 08:09 wbi1987

Yeah, Baseline only for now.

huili2 avatar Sep 09 '14 08:09 huili2

Thank you for your answer!

When I encoding the source which resolution is 720P, but the output 264 bitstream's resolution is still 320x192, and the level is 1.3. So I think that the coding resolution is limited by level. could you tell me how I can set the level, I searched all .cfg file, but I didn't find where can set it.

wbi1987 avatar Sep 09 '14 09:09 wbi1987

level_idc can be set by SetOption(ENCODER_OPTION_LEVEL, .....).

huili2 avatar Sep 10 '14 01:09 huili2

hi huili2,

  I met the same problem as "wbi1987" above, the resolutins of input .yuv file and the ouput .264 file are different,  and I did't know how to solve it, I hope you can give me some help, thanks!

ChinaVideoH264 avatar Sep 10 '14 06:09 ChinaVideoH264

I guess you may have used the wrong parameters for InitializeExt(), or the data in required cfg files. You can check that.

huili2 avatar Sep 10 '14 06:09 huili2

I have run the autobuild scripts in testbin catalogue, the resolution of input .yuv file and output .264 file are both 320x192. But when I modified the input .yuv file and corresponding resolution in cfg files, such as, HD_720P and HD_1080P, the resolution of output bitstreams are still 320x192.

ChinaVideoH264 avatar Sep 10 '14 07:09 ChinaVideoH264

the resolution of output bitstream is decided by layer2.cfg. Input resolution is different from the output resolution. Could you double check layer2.cfg? thanks!

ruil2 avatar Sep 10 '14 07:09 ruil2

I'm sorry, I did't notice it, the result is right now! Thanks. Both of you!

ChinaVideoH264 avatar Sep 11 '14 01:09 ChinaVideoH264