[MEncoder-users] Error "FATAL: Cannot initialize video driver" when trying to encode to h.264

Jan Ott jan.ott at gmx.de
Wed Jan 20 11:49:31 CET 2010


Jan Ott schrieb:

> Kubuntu 9.10, KDE 4.3.4, MEncoder SVN-r29643-Ubuntu-RVM 
> 
> [mencoder-based skript named "x264-enc-3p.sh" from 
> <http://torrents.ru/forum/viewtopic.php?t=1571623#e4III> 
> does not work because of error "FATAL: Cannot initialize 
> video driver"] 

Answering to my own post:

I found out that the error is related to x264 encoding option
"direct_8x8=-1". Without this option the script works.

Does anyone know what this option is good for? In the man pages I found
nothing about it.

Maybe so far you were deterred by the script mentioned in my first post
so I peeled out the command as such:

mencoder dvd://n -dvd-device /path/to/dvd -oac copy -channels 6 -vf
pullup,softskip,crop=688:336:16:114,harddup -ovc x264 -x264encopts
threads=auto:psnr:ssim:b_adapt=2:deblock:cabac:chroma_me:subq=9:partitions=all:8x8dct:me=umh:nofast_pskip:nodct_decimate:me_range=32:trellis=2:frameref=16:bframes=16:b_pyramid:weight_b:mixed_refs:direct_pred=auto:keyint=750:keyint_min=25:direct_8x8=-1:aq_mode=1:aq_strength=1.0:psy_rd=1.0,0.0:bitrate=1600:pass=1 

-o filename.avi

Jan


More information about the MEncoder-users mailing list