[mythtv-users] mythtranscode silently failing

Paul Harrison mythtv at dsl.pipex.com
Tue Oct 9 20:20:40 UTC 2007


Joe Auty wrote:
> Paul Harrison wrote:
>   
>> How exactly are you running mythtranscode? You do need to add either
>> --mpeg2 for a lossless transcode or use the --profile parameter if you
>> want to transcode the file and --output to tell mythtranscode where to
>> save the final file.
>>
>>     
>
> Hmmm.. Well, my main problem is not using mythtranscode over the command
> line, but in MythTV passing off videos to mythtranscode for processing.
> I'm simply trying to isolate the problem using the tool via the command
> line.
>
> Heeding your advice:
>
>
> $ mythtranscode -i 1280_20071004210000.mpg -o testfile.mpg -p "autodetect"
> 2007-10-09 14:32:56.779 Using runtime prefix = /usr
> 2007-10-09 14:32:57.053 New DB connection, total: 1
> 2007-10-09 14:32:57.109 Enabled verbose msgs: important
> 2007-10-09 14:32:57.129 New DB connection, total: 2
> 2007-10-09 14:32:57.285 Using protocol version 31
> 0: start_time: 31.916 duration: 329.249
> 1: start_time: 31.873 duration: 329.257
> stream: start_time: 354.145 duration: 3658.797 bitrate=5189 kb/s
> 2007-10-09 14:32:57.762 New DB connection, total: 3
> 2007-10-09 14:32:57.811 Unknown video codec:
>
>
> Still no luck :(
>   

OK. Have you setup your transcoder profiles properly?

If you run this query in mysql what does it show?
SELECT r.* FROM recordingprofiles r, profilegroups p WHERE
p.name='Transcoders' AND p.id=r.profilegroup;

If the videocodec and audiocodec columns are all  NULL then you need to
setup your profiles properly. TV Settings->Recording Profiles->Transcoders.

Try running mythtranscode using one of the id's you see in the table for
the '-p' parameter rather than using 'autodetect'.

Paul H.




More information about the mythtv-users mailing list