[MPlayer-users] Codec Failed Message

J. Alexander Jacocks jjacocks at gmail.com
Mon Feb 26 01:37:33 CET 2007


I've been experimenting with trying to convert video for my handhelp
device, a Nokia N800.  I'm using mencoder, from current CVS, checked
out on 2/24/2007, and get the following:

ajacocks at agamemnon[Movies]$ ~/src/mplayer-checkout-2007-02-24/mencoder
/Users/ajacocks/Movies/movie.VOB -oac mp3lame -lameopts abr:br=64 -af
volnorm -ovc lavc -lavcopts
vcodec=mpeg4:dark_mask=0.15:autoaspect:vbitrate=512:trell=yes:v4mv=yes
-vf scale=400:240 -idx -ffourcc DIVX -ofps 29.97 -ni -o
/Users/ajacocks/Movies/movie.avi
MEncoder dev-SVN-r22329-4.0.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Xeon(R) CPU            5150  @ 2.66GHz (Family: 6,
Model: 15, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0xa4f41000
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  7500.0 kbps (937.5 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 6 ch, s16le, 1536.0 kbit/33.33% (ratio: 192000->576000)
Selected audio codec: [ffdts] afm: ffmpeg (DTS)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=400 h=240]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
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 58564944 [DIVX].
MP3 audio selected.
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x667110]SwScaler: BICUBIC scaler, from yuv420p to yuv420p
using MMX2
[swscaler @ 0x667110]SwScaler: using 8-tap MMX scaler for horizontal
luminance scaling
[swscaler @ 0x667110]SwScaler: using 8-tap MMX scaler for horizontal
chrominance scaling
[swscaler @ 0x667110]SwScaler: using n-tap MMX scaler for vertical
scaling (YV12 like)
[swscaler @ 0x667110]SwScaler: 720x480 -> 400x240
videocodec: libavcodec (400x240 fourcc=58564944 [DIVX])
Pos:   0.0s      1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
1 duplicate frame(s)!
Writing header...
ODML: vprp aspect is 16384:9208.
Writing header...
ODML: vprp aspect is 16384:9208.
Writing header...2f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.003 [0:0]
ODML: vprp aspect is 16384:9208.

1 duplicate frame(s)!
Pos:   0.2s      5f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.013 [0:0]
1 duplicate frame(s)!
Pos:   0.3s      7f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.020 [0:0]
1 duplicate frame(s)!
Pos:   0.5s     12f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.037 [0:0]
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.

1 duplicate frame(s)!
Pos:   0.5s     13f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.040 [0:0]
1 duplicate frame(s)!
Pos:   0.7s     17f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.057 [0:32]
1 duplicate frame(s)!
Pos:   0.8s     20f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.069 [0:32]
1 duplicate frame(s)!
Pos:   0.9s     21f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.040 [0:31]
1 duplicate frame(s)!
Pos:   1.1s     25f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.057 [17:32]
1 duplicate frame(s)!
Pos:   1.2s     28f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.069 [16:32]
1 duplicate frame(s)!

<snip>

Pos:  76.1s   1660f ( 0%) 105.02fps Trem:  27min 445mb  A-V:-0.069 [403:60]
1 duplicate frame(s)!
Pos:  76.1s   1661f ( 0%) 105.02fps Trem:  27min 445mb  A-V:-0.040 [403:60]
1 duplicate frame(s)!
Pos:  76.2s   1662f ( 0%) 105.01fps Trem:  27min 445mb  A-V:-0.044 [403:60]
Too many audio packets in the buffer: (4096 in 8245248 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.

Too many audio packets in the buffer: (4096 in 8245248 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.

Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16384:9208.

Video stream:  403.571 kbit/s  (50446 B/s)  size: 3844497 bytes
76.210 secs  1662 frames

Audio stream:   60.294 kbit/s  (7536 B/s)  size: 578280 bytes  76.728 secs

As you can see, I'm already using "-ni", to try to work around that error.

Any suggestions?  I've also tried "-ofps 24000/1001", as this is
progressive scan content.

Thanks!

J. Alexander Jacocks



More information about the MPlayer-users mailing list