[MEncoder-users] x264 Encoding problems - Video Driver Initialization

kinsei kinsei at mailinator.com
Sat Apr 11 20:07:28 CEST 2009


Trying to convert my first DVD to AVI using mencoder.  It continued to fail
with the message: "FATAL: Cannot initialize video driver."

I have tried many options and continue to receive the same message.  Below
is the current command I am running and output.  Any advice is appreciated.

Thank you!

$ mencoder dvd://1 -dvd-device /media/cdrom0 -aid 128 -oac faac -ovc x264
-vf pp=de,crop=720:320:0:0,scale=480:-2, -ofps 24000/1001 -o
"/store/Transfer/file.avi"
MEncoder 2:1.0~rc2-0ubuntu19 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz (Family: 6, Model: 26,
Stepping: 4)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
There are 8 titles on this DVD.
There are 2 chapters in this DVD title.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
number of audio channels on disk: 1.
subtitle ( sid ): 1 language: en
subtitle ( sid ): 3 language: es
number of subtitles on disk: 2
success: format: 2  data: 0x0 - 0xe8321800
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=480 h=-2]
Opening video filter: [crop w=720 h=320 x=0 y=0]
Crop: 720 x 320, 0 ; 0
Opening video filter: [pp=de]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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))
==========================================================================
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: CRC check failed!
a52: error at resampling
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0xe1f8d0]SwScaler: BICUBIC scaler, from yuv420p to yuv420p using
MMX2
[swscaler @ 0xe1f8d0]SwScaler: using 8-tap MMX scaler for horizontal
luminance scaling
[swscaler @ 0xe1f8d0]SwScaler: using 8-tap MMX scaler for horizontal
chrominance scaling
[swscaler @ 0xe1f8d0]SwScaler: using n-tap MMX scaler for vertical scaling
(YV12 like)
[swscaler @ 0xe1f8d0]SwScaler: 720x320 -> 480x180
x264 [error]: no ratecontrol method specified
x264_encoder_open failed.
FATAL: Cannot initialize video driver.

Exiting...


More information about the MEncoder-users mailing list