Dali Lama
29th October 2002, 00:51
Hello,
While taking the advice of the wise manono, concerning lowering Divx 5's keyframe threshold to better detect scene changes. I was wondering if the same could be done with Xvid? I remember -h saying that Xvid will only use I-frames when its smaller in size than P-frames.
However, what about the scene changes? Is it a myth that I-frames are needed at every scene change?
I was thinking about using aviutl's scene change filter, which finds scene changes and forces the MPEG-4 codec to use that as keyframes. This might turn out to be a lot of uneeded work, though.
Manono and another fellow at the divx forums, Eckard, suggested setting max keyframes to 600-900 to prevent the codec from inserting unneeded keyframes. Makes sense, but what about the MPEG-4 spec? -h has said that anything over 132 max is a violation.
Sorry I have so many questions and few answers. But I can say that lowering the max keyframe interval to anything below 10s is asking for trouble when it comes to compressability. Also, I remember TMPG having a pretty good scene change detection filter that allowed you to see the frames detected as keyframes and adjust accordingly. I actually did that for a trailer once and noticed marked improvement at the places the regular codec did not pick up. I was encoding to MPEG1/2 though.
Please share your thoughts and experiences on the issue,
Dali
P.S. Right now I am using max keyframe interval of 600 and min of 5 and Koepi's regular settings of consecutive I-frame reduction.
While taking the advice of the wise manono, concerning lowering Divx 5's keyframe threshold to better detect scene changes. I was wondering if the same could be done with Xvid? I remember -h saying that Xvid will only use I-frames when its smaller in size than P-frames.
However, what about the scene changes? Is it a myth that I-frames are needed at every scene change?
I was thinking about using aviutl's scene change filter, which finds scene changes and forces the MPEG-4 codec to use that as keyframes. This might turn out to be a lot of uneeded work, though.
Manono and another fellow at the divx forums, Eckard, suggested setting max keyframes to 600-900 to prevent the codec from inserting unneeded keyframes. Makes sense, but what about the MPEG-4 spec? -h has said that anything over 132 max is a violation.
Sorry I have so many questions and few answers. But I can say that lowering the max keyframe interval to anything below 10s is asking for trouble when it comes to compressability. Also, I remember TMPG having a pretty good scene change detection filter that allowed you to see the frames detected as keyframes and adjust accordingly. I actually did that for a trailer once and noticed marked improvement at the places the regular codec did not pick up. I was encoding to MPEG1/2 though.
Please share your thoughts and experiences on the issue,
Dali
P.S. Right now I am using max keyframe interval of 600 and min of 5 and Koepi's regular settings of consecutive I-frame reduction.