[mythtv-users] mythtrascode --inversecut

Anthony Giggins seven at seven.dorksville.net
Mon Feb 20 23:57:00 UTC 2017


On 18 February 2017 at 03:24, John Pilkington <J.Pilk at tesco.net> wrote:

> On 17/02/17 16:26, Mike Perkins wrote:
>
>> On 17/02/17 12:52, John Pilkington wrote:
>>
>>> On 17/02/17 01:52, Anthony Giggins wrote:
>>>
>>>> Is anyone successfully using this option?
>>>>
>>>> When ever I specify --inversecut the transcode fails
>>>>
>>>> This Works
>>>> mythtranscode --infile /storage2/recordings/4093_20160403201000.mpg
>>>> --mpeg2 --honorcutlist "18778 35040" --outfile
>>>> "/storage2/recordings/test2.mpg"
>>>>
>>>> This Fails
>>>> mythtranscode --infile /storage2/recordings/4093_20160403201000.mpg
>>>> --mpeg2 --inversecut --honorcutlist "18778 35040" --outfile
>>>> "/storage2/recordings/test2.mpg"
>>>>
>>>>
>>> It's a long time since I used mythtranscode, and I don't think I've
>>> ever used it with the cutlist
>>> defined like that on the control line  - but perhaps " 0 18778 35040 "
>>> would do what you want.
>>>
>>> I think I would give the two output files different names, too. I'm not
>> sure if mythtranscode deletes any existing files before creating a new
>> one, but different names will help avoid confusion.
>>
>>
> I don't know how the command line is parsed, but it could perhaps be
> inverting the cutlist before it has one.   Does '--honorcutlist " mm nn"
> --inversecut'...  work?
>
> John P
>
>
OK I found the Secret Sauce
mythtranscode --infile /storage2/recordings/4093_20160403201000.mpg --mpeg2
--honorcutlist "18778-35040" --outfile "/storage2/recordings/test2.mpg"

mythtranscode --infile /storage2/recordings/4093_20160403201000.mpg --mpeg2
--honorcutlist "18778-35040" --inversecut --outfile "/storage2/recordings/
test3.mpg"

looks like it requires the dash between the external cutlist I thought from
what I read it needed to be a space.

Thanks everyone for the suggestions.

Cheers,

Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170221/f192d781/attachment.html>


More information about the mythtv-users mailing list