[MEncoder-users] Stutter after EDL cut

mencoder at swinehood.com mencoder at swinehood.com
Sun Jun 24 13:50:45 CEST 2007


> > So, it does look to me as though mencoder can't accurately 
> seek in an
> > mpeg-2 clip. 
> 
> Usually not.  Perhaps you'll have better luck if you remux 
> the video and
> audio into an AVI file (seeking is more accurate), and try an EDL on
> that.

Yeah, though I'm trying to avoid having to encode everything twice - for
reasons of quality and of execution time. Still, I may go that route anyway
in the hope of using Avisynth in the final stage for a little further
processing (well, fading of cuts).

> > As mentioned previously the use of -hr-edl-seek for more precise
> > seeking causes total loss of audio after the first edit.
> 
> Verbose output of Mencoder?

Having pared back my command-line to the basics, though the errors are the
same, mencoder gets through the first cut (which starts at the first frame),
then the first clip, then at the next cut starts to output lots of errors
along the lines of...

"Too many video packets in the buffer: (4096 in 8256489 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Broken frame at 0xD9AA2"

The command-line options were...

mencoder.exe -edl tmp.edl -o tmp.avi tmp.mpeg -hr-edl-seek -oac mp3lame
-lameopts mode=2:cbr:br=192 -ffourcc XVID -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1200

And the initial mencoder output was (apologies for length)...

MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (Family: 15, Model: 4, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0xae4b004
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  15000.0 kbps (1875.0
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Forcing output FourCC to 44495658 [XVID].
MP3 audio selected.
Read 5 EDL actions.
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=44495658 [XVID])
Writing header...1f (24%)  0.06fps Trem:   0min   0mb  A-V:0.000 [0:0]
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.

	/mel/



More information about the MEncoder-users mailing list