[mythtv-users] transcoding H.264 for slower frontends

John Taylor john at vetsurgeon.org.uk
Wed Apr 22 19:50:32 UTC 2009


Yes vcodec missing (oops!) but still no joy with stock Ubuntu 8.04 ffmpeg

I have checked out SVN-r18660 ffmpeg (which needed ldconfig running to
make install properly btw) and now have a good transcode line.

ffmpeg configuration:
./configure --enable-gpl --enable-pthreads --enable-libvorbis
--enable-libtheora --disable-debug --enable-libmp3lame
--enable-libfaadbin --enable-libfaad --enable-libfaac --enable-libxvid
--enable-libx264 --enable-libamr-nb --enable-libamr-wb --enable-shared
--enable-nonfree

transcode line:
ffmpeg -i infile.mpg -s 1024x576 -sameq  -vcodec mpeg2video -acodec
copy outfile.mpg

Seems to work fine and gives mpeg2 file at about 6mbps which can be
offloaded to cle266 chipset

Many thanks for help

John


> John Taylor wrote:
>>
>> I have a diskless frontend based on an M10k- works brilliantly for
>> standard TV
>>
>> Here in the UK, BBC have recently started broadcasting FTA HD
>> typically at a resolution of 1440x1080i, and encoded in H.264/MPEG-4
>> AVC
>>
>> Obviously this is too much for my little M10000, but I would like to
>> transcode to MPEG-2 and offload it to the the built in hardware
>> decoder which has a max resolution of 1024x768 think)
>>
>> Experimentation with ffmpeg has got me nothing but jerky video; best
>> results so far:
>>
>> ffmpeg -i infile.mpg -s 1024x768 -r 25 -b 6000000 -acodec copy -map
>> 0.0:0.0 -map 0.1:0.1 -f mpegts outfile.mpg
>
> It looks you use an old version of ffmpeg, because of -b 6000000, if my
> assumtion is true, that version won't be able to read the BBC-HD file. You
> need a pretty-recent version of ffmpeg.
> -b 6000k and sameq might give decent results.
> no vcodec mpeg2video defined.
>>
>> Any help appreciated- I would like to transcode the original file so
>> it will still play in the myth internal player
>>
>> John
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>


More information about the mythtv-users mailing list