[MPlayer-users] Usage error OR mencoder limitation ?
belcampo
belcampo at zonnet.nl
Sun Nov 29 12:41:55 CET 2009
hippallium-mplayer at yahoo.com wrote:
> Hello everybody,
>
> When I try to encode movies for my iPhone, I sometimes get the following error message with WMV files, and always with FLV (Flash Video) and RMVB (RealMedia Variable Bitrate) files. What does it mean? Is it me not using the right options an is it a limitation of mencoder?
>
> $ file myfile.wmv
>
> myfile.wmv: Microsoft ASF
>
> $ mencoder "myfile.wmv" -subcp cp1252 -sub-fuzziness 1 -aid 1 -vf scale=480:320:0:0:0.00:0.50,dsize=480:320,harddup -sws 2 -of lavf -lavfopts format=mp4 -ovc x264 -x264encopts bitrate=1024:qcomp=0.6:qp_min=10:qp_max=51:qp_step=4:vbv_maxrate=1500:vbv_bufsize=2000:level_idc=30:dct_decimate:me=umh:me_range=16:keyint=250:keyint_min=25:nofast_pskip:global_header:nocabac:direct_pred=auto:nomixed_refs:trellis=1:nobrdo:nobime:nob_pyramid:nob_adapt:no8x8dct:noweight_b:bframes=0:threads=auto:frameref=1:subq=6 -af channels=2 -oac faac -faacopts br=128:mpeg=4:object=2:tns:raw -af volnorm=1 -ofps 25 -o "myfile.mp4"
>
> MEncoder UNKNOWN-4.0.1 (C) 2000-2009 MPlayer Team
> 141 audio & 304 video codecs
> Option x264encopts: Unknown suboption nobrdo
> Option x264encopts: Unknown suboption nobime
> success: format: 0 data: 0x0 - 0xd5310c
> ASF file format detected.
> [asfheader] Audio stream found, -aid 1
> [asfheader] Video stream found, -vid 2
> VIDEO: [WMV3] 320x240 24bpp 1000.000 fps 393.2 kbps (48.0 kbyte/s)
> [V] filefmt:6 fourcc:0x33564D57 size:320x240 fps:1000.000 ftime:=0.0010
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->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: 0
> Opening video filter: [harddup]
> Opening video filter: [dsize=480:320]
> Opening video filter: [scale w=480 h=320 interlaced=0 chr-drop=0 param=0.00 param2=0.50]
> ==========================================================================
> Opening video decoder: [dmo] DMO video codecs
> WARNING: Attempting to use DLL codecs but environment variable
> DYLD_BIND_AT_LAUNCH not set. This will likely crash.
> DMO dll supports VO Optimizations 0 1
> DMO dll might use previous sample when requested
> Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
> Decoder is capable of YUV output (flags 0x1b)
> VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> [swscaler @ 0x14f6000]BICUBIC scaler, from yuv420p to yuv420p using MMX2
> FATAL: Cannot initialize video driver.
> VDecoder init failed :(
> Opening video decoder: [dmo] DMO video codecs
> WARNING: Attempting to use DLL codecs but environment variable
> DYLD_BIND_AT_LAUNCH not set. This will likely crash.
> DMO dll supports VO Optimizations 0 1
> DMO dll might use previous sample when requested
you are probably missing binary dll etc to work. Have a look here:
http://www.mplayerhq.hu/design7/dload.html#binary_codecs
> Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
> Decoder is capable of YUV output (flags 0x1b)
> VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> FATAL: Cannot initialize video driver.
> VDecoder init failed :(
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)
> ==========================================================================
> VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
> VDec: using Planar I420 as output csp (no 1)
> Movie-Aspect is undefined - no prescaling applied.
> FATAL: Cannot initialize video driver.
> VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
> VDec: using Planar I420 as output csp (no 1)
> Movie-Aspect is undefined - no prescaling applied.
> FATAL: Cannot initialize video driver.
>
> Exiting...
>
>
>
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list