[MEncoder-users] Stutter after EDL cut

mencoder at swinehood.com mencoder at swinehood.com
Sun Jun 17 13:26:46 CEST 2007


I'm using Mencoder to convert from MPEG-2 to AVI, and using EDL edit
decision lists. The results are less than satisfactory. If I use the
-hr-edl-seek option for more precise seeking any output after the first cut
has no audio. If I omit the -hr-edl-seek option the audio is fine, but video
stutters briefly a second or two after a cut. I've tried tinkering with a
number of options, but I'm fast running out of ideas.

Edit: specifying the option -mc 0 stops the post-cut stutter, but the audio
is out of sync thereafter. I'd have thought that with both the video and the
audio being re-encoded there's not be a sync problem if cuts occurred at
non-keyframes in the source.

Any help gratefully accepted!

I'm running Mencoder 1.0rc1-3.4.2 on XPP/SP2. A typical set of commands
would be ('scuse the wrap)...

set command="Compressing" /min /LOW /B /WAIT /D "C:\Program Files\mplayer\"
"C:\Program Files\mplayer\mencoder.exe"
set files=-edl %inputfile%.edl -o %outputfile% %inputfile%
set options=%extra% -quiet -noodml -sws 2 -vf scale=720:405,pp=lb/hb/vb/dr
set video=-ffourcc XVID -ovc lavc
set audio=-oac mp3lame -lameopts mode=2:cbr:br=192

start %command% %files% %options% -nosound %video% -lavcopts
vpass=1:vcodec=mpeg4:mbd=2:trell:v4mv:keyint=100:turbo
start %command% %files% %options% %audio% %video% -lavcopts
vpass=2:vcodec=mpeg4:mbd=2:trell:v4mv:keyint=100:vbitrate=1200

 /mel/




More information about the MEncoder-users mailing list