digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   FfmpegX corrections for Keyframe interval (http://www.digitalfaq.com/archives/encode/5383-ffmpegx-corrections-keyframe.html)

kwag 09-04-2003 07:29 PM

FfmpegX corrections for Keyframe interval
 
Hi major,

Please check the default setting for "Keyframe interval". It's defaulting to 240, instead of 24 (or 18 ) 8O
So when an MPEG is created, the maximum frames per GOP can go up to 240 frames (Bs and Ps) before the next I frame.

P.S. I'm heavily testing ffmpeg/ffmpegX at this moment ;)

-kwag

major4 09-05-2003 02:43 PM

Hi kwag,

"Keyframe interval" is a mpeg-4 parameter. It is not used for mpeg-2. Gop values of 240 are normal for mpeg-4.

For mpeg-2, gop size is always set to 12, excepted when kvcd profile is selected.

kwag 09-05-2003 03:58 PM

Quote:

Originally Posted by major4
Hi kwag,

"Keyframe interval" is a mpeg-4 parameter. It is not used for mpeg-2. Gop values of 240 are normal for mpeg-4.

For mpeg-2, gop size is always set to 12, excepted when kvcd profile is selected.

Well, apparently it's going to the command line arguments from ffmpegX to ffmpeg :!:
If I encode an MPEG-1 with the keyframe set to 240, my encoded MPEG has a long GOP :!:
Look at the values going above 24:

http://www.digitalfaq.com/archives/error.gif

And look at the GOP when I change it to 24:

http://www.digitalfaq.com/archives/error.gif

-kwag

major4 09-05-2003 11:17 PM

I meant mpeg-2 with mpeg2enc uses 12 as GOP. For ffmpeg you should go through the "fast mpeg-1" preset which also sets GOP to 12.

kwag 09-05-2003 11:55 PM

Ok, thanks :)

-kwag


All times are GMT -5. The time now is 06:20 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.