[mythtv-users] execute custom transcode scripts?

Bryan Mayland bmayland+mythtv at capnbry.net
Wed Oct 3 18:22:02 UTC 2007


Paul Miller wrote:
> How can I use my own script to transcode recorded programs?  I would like
> to call a script with two parameters, one parameter indicating the input
> file and one parameter indicating the output file.  Stdio may work.  I do
> not want to use mythtv's built-in algorithms.
>   

Just set up a User Job for it.  You enter a command line to be executed
in mythtv-setup, something like
/usr/local/bin/mytranscodescript  %DIR%/%FILE%

Then kick off the user job either manually from the recording list, or
do it automatically by checking Auto User Job in the recording profile
for the show.  Check out http://mythtv.org/wiki/index.php/User_Jobs if
you need more info about what variables you can use.



More information about the mythtv-users mailing list