Menu

#1 mencoder fails on Fedora 10

closed
nobody
None
5
2009-08-14
2009-08-13
No

Hi.

On my Fedora 10 system every h264enc job is failing with a mencoder error:

Starting to encode in: 5 4 3 2 1
MEncoder SVN-r28461-4.3.2 (C) 2000-2009 MPlayer Team
CPU: AMD Athlon(tm) XP 2200+ (Family: 6, Model: 8, Stepping: 0)
Option x264encopts: Unknown suboption psy_rd
Option x264encopts: Bad argument b_adapt=2
success: format: 0 data: 0x0 - 0x24bb4800
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 15000.0 kbps (1875.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [softskip]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
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: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar I420 as output csp (no 1)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
FATAL: Cannot initialize video driver.

Exiting...
-> MEncoder has exited with a non-zero value!
-> Exiting in function: mencoder_exit()

Used packages:
h264enc-8.9.9
mencoder-1.0-0.104.20090204svn.fc10.i386
x264-libs-0.0.0-0.20.20080905.fc10.i386

I don't know much about codecs, but on a Fedora 11 system with newer mencoder and x264 the problem don't exist. So maybe it's related to some codec options?
This is the mencoder line:
/usr/bin/mencoder "/daten/3x14 - Meine Schuld.mpg" -o "/daten/3x14 - Meine Schuld.avi" -vf softskip,harddup -oac pcm -ovc x264 -x264encopts crf=20:me=umh:me_range=24:nodct_decimate:nointerlaced:no8x8dct:nofast_pskip:trellis=1:partitions=p8x8,b8x8,i4x4:mixed_refs:keyint=250:keyint_min=25:psy_rd=0.5,0.2:frameref=3:bframes=3:b_adapt=2:nob_pyramid:weight_b:direct_pred=auto:subq=7:chroma_me:cabac:aud:deblock:vbv_maxrate=10000:vbv_bufsize=5000:level_idc=30:threads=auto:ssim:psnr

Discussion

  • microchip

    microchip - 2009-08-14

    Hi,

    your x264 is way too old, from 2008. Please upgrade to latest Git x264 - git clone git://git.videolan.org/x264.git and recompile mplayer to pick up the new library.

     
  • microchip

    microchip - 2009-08-14
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB