[MEncoder-users] First 111 frames duplicated

Jorge Martinez S. jorge_martinez_s at yahoo.es
Fri Oct 31 23:14:33 CET 2008


On Friday 31 October 2008 02:04, double wrote:
> Hi,
>
> If I transcode a wmv2,wmav2 video to whatever, mencoder will
> duplicate the first 111 frames:
> 111 duplicate frame(s)!
>
> As a result A/V is completly out of sync. Is there anything I can
> to to prevent this duplicate frames on startup?

-noskip


>
> Command line:
>
> mencoder http://doppelbauer.name/error.wmv -of lavf -ofps 25 -vf
> scale=320:240 -ovc lavc -oac lavc -lavcopts
> vcodec=wmv1:vqscale=2:acodec=wmav1:abitrate=128:autoaspect -mc 0
> -channels 2 -srate 44100 -o test.wmv >txt 2>&1
>
> Output:
>
> MEncoder dev-SVN-r27659-4.2.3 (C) 2000-2008 MPlayer Team
> CPU: Quad-Core AMD Opteron(tm) Processor 2344 HE (Family: 16, Model: 2,
> Stepping: 3)
> CPUflags: Type: 16 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
>
> Resolving doppelbauer.name for AF_INET...
> Connecting to server doppelbauer.name[209.59.152.123]: 80...
> Cache size set to 320 KBytes
> success: format: 0  data: 0x0 - 0x47a6ee
>
> ASF file format detected.
> [asfheader] Audio stream found, -aid 1
> [asfheader] Video stream found, -vid 2
> VIDEO:  [WMV2]  320x240  24bpp  1000.000 fps  256.0 kbps (31.2 kbyte/s)
> [V] filefmt:6  fourcc:0x32564D57  size:320x240  fps:1000.000  ftime:=0.0010
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16005->176400)
> Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
> ==========================================================================
> ** MUXER_LAVF
> *****************************************************************
> REMEMBER: MEncoder's libavformat muxing is presently broken and can
> generate INCORRECT files in the presence of B-frames. Moreover, due to bugs
> MPlayer will play these INCORRECT files as if nothing were wrong!
> ***************************************************************************
>**** OK, exit.
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> Opening video filter: [scale w=320 h=240]
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffwmv2] vfm: ffmpeg (FFmpeg WMV2/WMV8)
> ==========================================================================
> VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> [swscaler @ 0x8e6edf0]using unscaled yuv420p -> yuv420p special converter
> videocodec: libavcodec (320x240 fourcc=31564d57 [WMV1])
> [VE_LAVC] Using constant qscale = 2.000000 (VBR).
> New_Face failed. Maybe the font path is wrong.
> Please supply the text font file (~/.mplayer/subfont.ttf).
> subtitle font: load_sub_face failed.
> New_Face failed. Maybe the font path is wrong.
> Please supply the text font file (~/.mplayer/subfont.ttf).
> subtitle font: load_sub_face failed.
> VIDEO CODEC ID: 18
> AUDIO CODEC ID: 15007, TAG: 0
> Writing header...
>
> *111 duplicate frame(s)!*
> Pos:   4.5s      1f ( 0%)  0.00fps Trem:   0min   1mb  A-V:0.000 [10:0]
> [...snip...]
> Pos:  95.5s   2279f (100%) 106.76fps Trem:   0min   7mb  A-V:-0.035
> [508:128]
> Flushing video frames.
> Writing index...
>
> Video stream:  508.550 kbit/s  (63568 B/s)  size: 6072084 bytes  95.520
> secs  2279 frames
>
> Audio stream:  128.000 kbit/s  (16000 B/s)  size: 1536524 bytes  96.033
> secs
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users




More information about the MEncoder-users mailing list