[mythtvnz] what codecs are supported by mythfrontend?

Nick Rout nick.rout at gmail.com
Wed Jun 6 02:35:51 BST 2012


On Wed, Jun 6, 2012 at 1:19 PM, Nick Rout <nick.rout at gmail.com> wrote:
> On Wed, Jun 6, 2012 at 12:36 PM, Jason Haar
> <jhaar-ourshack-com at whanau.org> wrote:
>> Hi there
>>
>> I'm calling a User-job converter script to convert my HD recordings into
>> a MPEG-2 format (don't ask) and re-inject them into the recordings
>> database via some code I poached from  x264_transcode_high.pl
>>
>> Anyway, it mostly worked: I got out a MPEG-2 file that plays fine under
>> xine, and I have two "versions" of the recording show up in mythfrontend
>> (that's what I wanted). But when I go to view it under mythfrontend, I
>> get "Couldn't find an A/V decoder for..." on both the frontend and the
>> backend. The backend error is caused by mythpreviewgen not being able to
>> create a preview image, and mythfrontend creates the frontend error
>>
>> I'm using ffmpeg to create the file, so I'm guessing the codec
>> combination is not supported by core myth libraries? But they are
>> mp3lame and mpeg2video - I wouldn't think you could choose more generic.
>> Can someone take a look and tell me what's at fault?
>>
>> ffmpeg -y -i original.mpg -acodec libmp3lame -ar 48000 -ac 2 -ab 160k
>> -async 1 -copyts -vcodec mpeg2video -b:v 7500000 -threads 2 -deinterlace
>> output.mpg
>>
>
> It's getting pretty good at playing anything, but I wonder if you need
> to specify the output format (as opposed to codec, which you have
> done). I think the option would be -f mpegts
>
> I will find a small file to play with and test your script. It's
> snowing and work is closed...(benefit of being married to the boss!)

-f mpegts made it work for me (in mythavtest anyway - 0.24 fixes)



More information about the mythtvnz mailing list