[MPlayer-users] "FATAL: Cannot initialize video driver" when running mencoder with -ovc lavc

SmackleFunky Houston mplayer at smacklefunky.org
Mon Feb 20 11:19:06 CET 2012


I am trying to run mencoder as below, however it simply causes an error as
shown.
What else can I do to try determine what the cause is?


$ mencoder test.mp4 -v -oac pcm -ovc lavc -o test.avi
MEncoder SVN-r34747-4.2.1 (C) 2000-2012 MPlayer Team
get_path('codecs.conf') -> '/share/Jason/.mplayer/codecs.conf'
Reading optional codecs config file /share/Jason/.mplayer/codecs.conf: No
such file or directory
Reading optional codecs config file /opt/etc/mplayer/codecs.conf: 183 audio
& 398 video codecs
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/share/Jason/.mplayer/fonts'
Configuration: --prefix=/opt
[file] File size is 40549304 bytes
STREAM: [file] test.mp4
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x26abbb8
libavformat version 54.1.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: QuickTime/MPEG-4/Motion JPEG 2000 format
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x89e4fa0]ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x89e4fa0]All info found
==> Found audio stream: 0
======= WAVE Format =======
Format Tag: 20557 (0x504D)
Channels: 2
Samplerate: 44100
avg byte/sec: 15663
Block align: 1
bits/sample: 16
cbSize: 2
Unknown extra header dump: [12] [10]
==========================================================================
[lavf] stream 0: audio (aac), -aid 0, -alang und
==> Found video stream: 1
======= VIDEO Format ======
  biSize 81
  biWidth 1280
  biHeight 720
  biPlanes 0
  biBitCount 24
  biCompression 875967048='H264'
  biSizeImage 2764800
Unknown extra header dump: [1] [64] [0] [1f] [ff] [e1] [0] [19] [67] [64]
[0] [1f] [ac] [24] [84] [1] [40] [16] [ec] [4] [40] [0] [0] [3] [0] [40]
[0] [0] [f] [23] [c6] [c] [92] [1] [0] [5] [68] [ee] [32] [c8] [b0]
===========================
[lavf] stream 1: video (h264), -vid 0
LAVF: 1 audio and 1 video streams found
LAVF: build 3539300
VIDEO:  [H264]  1280x720  24bpp  30.000 fps  2005.7 kbps (244.8 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:1280x720  fps:30.000  ftime:=0.0333
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 131072 = 323072 bytes for output buffer.
FFmpeg's libavcodec audio codec
libavcodec version 54.3.100 (internal)
Configuration: --enable-gpl --enable-postproc
INFO: libavcodec "aac" init OK!
AUDIO: 44100 Hz, 2 ch, s16le, 125.3 kbit/8.88% (ratio: 15663->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[file] File size is 0 bytes
STREAM: [file] test.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Increasing filtered audio buffer size from 0 to 90240
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
[ffmpeg] aspect_ratio: 1.777778
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
Trying filter chain: expand lavc
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1280x720->1280x720,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401  req=0x0
videocodec: libavcodec (1280x720 fourcc=34504d46 [FMP4])
[mpeg4 @ 0x8a58100]intra_quant_bias = 0 inter_quant_bias = -64
avcodec init failed (ctx->codec->encode == NULL)!
FATAL: Cannot initialize video driver.

Exiting...


More information about the MPlayer-users mailing list