[mythtv-users] trouble transcoding to FLV

Jeff volckaert jvolckaert at gmail.com
Sat Dec 23 02:41:37 UTC 2006

>  It looks like for some reason ffmpeg isn't recognizing the codec from
> MythTV recordings.  The version of ffmpeg is recent (compiled from SVN on
> 12/20), not one of the outdated versions found packaged with some distros.
> My MythTV version is 0.20 (compiled from source tarball).  BE is running
> Debian 3.1, FE is FC3.
>  Something that looks very strange to me from the ffmpeg output is the
> "Duration: 04:34:57.9" part - the recording that I'm trying to transcode is
> only 32 minutes long and plays back properly in Myth.  I tried playing the
> recording back with ffplay and got the correct audio, but the video was just
> a black frame.
>  Have I missed something obvious or is this possibly a bug in ffmpeg or
> Myth?
I use the following with my script for a program I call Mythtube:
mencoder -ofps 12 -of lavf -lavfopts
i_certify_that_my_video_stream_does_not_use_b_frames -oac lavc
-lavcopts acodec=mp3:abitrate=32 -channels 1 -srate 22050 -ovc lavc
-lavcopts vcodec=flv:vbitrate=200:cbp:mv0:mbd=2:trell:v4mv:predia=2:dia=2:last_pred=3
-vop spp,scale=360:240,harddup -o
/data/www/html/mythtube/$TITLE-$STARTTIME.flv $VIDEODIR/$FILENAME

Here's the post I did if your interested in the flash streaming
(Mythtube) I setup:



More information about the mythtv-users mailing list