[mythtv-users] Since upgrade to fc9 mencoder/xvid transcode script fails...

jb17bsome jb17bsome at bellsouth.net
Tue Jun 24 01:27:18 UTC 2008


On Mon, 23 Jun 2008 20:59:02 -0400
James Pifer <jep at obrien-pifer.com> wrote:

> I upgraded my mythbackend to fc9 and now my custom transcoding with
> mencoder fails. Here's an example:
> 
> mencoder -o
> "/mythtv/recordings/xvid/Mickey_Mouse_Clubhouse_-_Mickey_and_Minnies_Jungle_Safari_-_1054_20080621085500.avi"
> -oac mp3lame -lameopts abr:br=128 -ovc lavc -lavcopts
> vcodec=xvid:vbitrate=1500:vhq:vpass=2 -passlogfile
> "/mythtv/recordings/Mickey_Mouse_Clubhouse_-_Mickey_and_Minnies_Jungle_Safari_-_1054_20080621085500.avi.log"
> "/mythtv/recordings/1054_20080621085500.mpg" MEncoder 1.0rc2-4.3.0
> (C) 2000-2007 MPlayer Team CPU: Intel(R) Xeon(TM) CPU 1.80GHz
> (Family: 15, Model: 2, Stepping: 7) CPUflags: Type: 15 MMX: 1 MMX2: 1
> 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU
> detection. 115 audio & 237 video codecs success: format: 0  data: 0x0
> - 0x35318804 MPEG-PS file format detected. VIDEO:  MPEG2  720x480
> (aspect 2)  29.970 fps  6000.0 kbps (750.0 kbyte/s) [V] filefmt:2
> fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000
> Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000) Selected
> audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> Cannot find codec 'xvid' in libavcodec... Couldn't open video filter
> 'lavc'. Failed to open the encoder.
> 
> 
> 
> I have these packages installed:
> 
> libxvidcore4-1.1.3-11.fc9.i386
> xvidcore-devel-1.1.3-11.fc9.i386
> xvidcore-1.1.3-11.fc9.i386
> mplayer-fonts-1.0-7.at.noarch
> mplayer-1.0-63.01_rc2.fc8_92.i386
> libavcodec51-0.4.9-26_r12135.fc9.i386
> 
> Any idea what packages I'm missing?
> 
> Thanks,
> James
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

I believe the mencoder command line params changed.  
Remove the -ovc lavc and -lavcopts params.
And try:
 -ovc xvid -xvidencopts bitrate=1500:vhq:pass=2


More information about the mythtv-users mailing list