[mythtv-users] User Job fails.

Alec Leamas leamas.alec at gmail.com
Thu Jan 14 09:47:47 UTC 2016


On 14/01/16 10:38, John Pilkington wrote:
> On 14/01/16 08:42, Mark Perkins wrote:

>>
>> My suggestion would be to create a basic script that takes the %FILE%
>> as input and does the sed (or equivalent for your preferred script
>> language) conversion to create the desired command line. I imagine it
>> should only be a few lines long.

Not tested (and certainly no bash guru) but if saved as myth2mpeg.sh and 
invoked as "myth2mpeg <file>":

#!/usr/bin/bash
exec nice -n 20 mythffmpeg -i $1.mpg -target ntsc-dvd ${1}SD.mpg

Cheers!

--alec





More information about the mythtv-users mailing list