[mythtvnz] Cutting H.264 DVB-T files with ffmpeg without transcoding

David Moore dmoo1790 at ihug.co.nz
Thu Jul 22 01:01:08 BST 2010


Ross and Jemima Knudsen wrote:
> 
> David Moore wrote:
>> I guess so. What exactly would you like to do? If you mean a myth user 
>> job that runs automatically for every recording then I'm not sure what 
>> you have in mind. Or do you mean a script you run from the command line, 
>> e.g., to trim recordings or join recordings?
>>
> 
> See this link:
> 
> http://www.mythtv.org/wiki/User_Jobs
> 
> Basically you write a script in what ever language you want and what you
> would normally type into the command line is what you would put into the
> user job setup and Myth will run the job either automatically or you can
> manually select it to run.  The above link shows that there are some
> variables which Myth can provide to make it work generically (eg
> filename, filepath)
> 

Yes I understand that. Sorry but what I meant was what is your end 
objective of running the user job? Transcode? Cut? Something else? 
Wouldn't be too hard to script the transcoding using a similar technique 
to Craig B's hdvideo2ipod.sh script. Cutting would be harder because (I 
think) it would involve sql to access the cutlist in the myth database. 
I'm a fairly basic sql user and I haven't used it from a script yet so 
this would be a bit of a learning curve for me.



More information about the mythtvnz mailing list