[MEncoder-users] Each frame a keyframe?
Thorsten Pferdekämper
thorsten-mailbox at thorsten-pferdekaemper.de
Thu May 19 21:20:20 CEST 2005
Hi,
I have some recordings made with mencoder 1.0pre3. They are bigger than 2GB,
so mencoder did not produce a useful index.
Here is what the command to record them looked like:
mencoder -tv
driver=v4l2:input=0:norm=PAL:chanlist=europe-west:width=720:height=576:device=/dev/video0:adevice=/dev/dsp1:audiorate=32000:forceaudio:buffersize=64:volume=80
-sws 0 -vf pp=lb,crop=700:556,denoise3d,scale=384:288 -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=2400:keyint=25 -ffourcc divx -oac mp3lame -lameopts
br=192:cbr:mode=1 -endpos $TIME -o "$NAME.avi" tv://$CHAN
(With $TIME, $NAME, $CHAN properly set)
Now, I am using mencoder 1.0pre7-3.3.5 with odml support, so I thought I could
give these files a proper index with
mencoder -idx -oac copy -ovc copy -o $OUTNAME $INNAME
This seemed to work at first, but then each frame was a key frame. I thought,
only the I frames should be key frames. Otherwise, seeking looks very ugly
and tools like VirtualDub (or even mencoder itself) do not really work.
I thought that this problem could be caused of some problems with the codec,
i.e the codec perhaps does not tell which is an I frame, but I have then
tried to repair the index with avidemux2, which worked.
Regards,
Thorsten
More information about the MEncoder-users
mailing list