[mythtvnz] what codecs are supported by mythfrontend?

Jason Haar jhaar-ourshack-com at whanau.org
Wed Jun 6 04:24:34 BST 2012


Fantastic Nick - that fixed it for me :-)

BTW, I have noticed libmp3lame seems to be quieter and contains less
background noise than the original (I guess it doesn't have the same
frequency range?). Any ideas how I could improve the sound quality?

Thanks again

Jason


On 06/06/12 13:45, Nick Rout wrote:
> On Wed, Jun 6, 2012 at 1:35 PM, Nick Rout <nick.rout at gmail.com> wrote:
>> 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)
> 
> weirdly mythffplay will play the file created by your version, but
> mythavtest will not.
> 
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

-- 




More information about the mythtvnz mailing list