[MPlayer-users] (help) mencoder fails: FATAL: Cannot initialize video driver
Christopher J. Bottaro
cjbottaro at alumni.cs.utexas.edu
Sun Jun 12 05:17:58 CEST 2005
I'm simply trying to encode one of my DVDs to play on my iAudio X5. It
fails saying that it can't initialize the video driver. Why does it need
to initialize the video driver, I'm not trying to watch the movie, just
encode it in XVID.
The rest of this post is the complete mencoder output. Thank you very much
for the help.
[cjb at mobile ~]$ mencoder dvd://1 -o OUT.avi -oac mp3lame -lameopts
mode=2:cbr:br=96:vol=0 -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=100:vhq:vpass=2 -ffourcc XVID -vf scale=160:128 -ofps
14.985
MEncoder 1.0pre7-3.4.3 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 6, Stepping: 8)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.
File not found: 'frameno.avi'
Failed to open frameno.avi
libdvdread: Using libdvdcss version 1.2.8 for DVD access
Reading disc structure, please wait...
*** libdvdread: CHECK_VALUE failed in ifo_read.c:851 ***
*** for tt_srpt->title[i].pb_ty.zero_1 == 0 ***
*** libdvdread: CHECK_VALUE failed in ifo_read.c:851 ***
*** for tt_srpt->title[i].pb_ty.zero_1 == 0 ***
*** libdvdread: CHECK_VALUE failed in ifo_read.c:851 ***
*** for tt_srpt->title[i].pb_ty.zero_1 == 0 ***
There are 11 titles on this DVD.
There are 6 chapters in this DVD title.
There are 1 angles in this DVD title.
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000130
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000170
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000001c5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000001da
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x00000230
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x00002966
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0021f830
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0021f848
libdvdread: Elapsed time 0
libdvdread: Found 5 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
success: format: 0 data: 0x7263A800 - 0x99e2d800
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 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
AC3: 2.0 (dolby) 48000 Hz 192.0 kbit/s
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 (-1=autodetect) osd: 1
Opening video filter: [scale w=160 h=128]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
The selected video_out device is incompatible with this codec.
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 44495658 [XVID]
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 19 -> 20
SwScaler: reducing / aligning filtersize 19 -> 20
SwScaler: reducing / aligning filtersize 16 -> 15
SwScaler: reducing / aligning filtersize 16 -> 15
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (160x128 fourcc=44495658 [XVID])
High quality encoding selected (non real time)!
2pass failed: filename=divx2pass.log
FATAL: Cannot initialize video driver.
Exiting...
More information about the MPlayer-users
mailing list