[mythtv-users] mythtranscode cutlist argument?

John Pilkington J.Pilk at tesco.net
Sat Jul 17 16:38:03 UTC 2010


On 17/07/10 16:58, jlistspam wrote:
> On 7/17/2010 11:45 AM, John Pilkington wrote:
>> On 14/07/10 03:38, jlistspam wrote:
>>> On 7/9/2010 5:00 PM, Christopher Meredith wrote:
>>>> According to the help output, mythtranscode can be used with the
>>>> --infile and --honorcutlist flags and the latter "Optionally takes a
>>>> cutlist as an argument when used with --infile." Can anyone tell me
>>>> what format this argument should be? I've tried creating a plaintext
>>>> file with this:
>>>>
>>>> 1836,13700-18207,29554-36778,50077-54307,55801-
>>>>
>>>> and passing the text file as an argument, and I've tried passing that
>>>> whole string as an argument. In both cases, the file is transcoded but
>>>> no cuts are honored. How should this argument be formatted?
>>>>
>>>> Thanks!
>>>> _______________________________________________
>>>> mythtv-users mailing list
>>>> mythtv-users at mythtv.org
>>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>>>
>>> I use getcustlist to get the cut list: mythcommflag --getcutlist -f
>>> /video/2054_20100124170000.mpg
>>>
>>> with the output of: Cutlist:
>>> 0-163,9630-18820,28905-37340,50045-58484,74368-82668
>>>
>>> I then pass it to mythtranscode as: --honorcutlist "0-163 9630-18820
>>> 28905-37340 50045-58484 74368-82668" replacing the commas with spaces.
>>>
>>> John
>>>
>>
>> Hi: I saw an earlier very similar post from you about this, although
>> they don't appear in the same thread in my reader. I'm not clear why
>> you would want to do this if you are getting the cutlist from
>> mythcommflag, because mythtranscode --honorcutlist ought to use the
>> internal cutlist as default anyway. Is it just an example or do you
>> actually use it like this? - and if so, why? Just curious.
>>
>> John P
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
> Sorry for the duplicate. I had never replied before to a posting and
> didn't see it actually post. So I resent it.
>
> Personally, I use the --honorcutlist to split music videos into separate
> files. Before I figured out how to get --honorcutlist to work, I had to
> mark the videos one at a time, run the mythtranscode, mark the next one,
> etc. Now I mark the whole file, getcutlist, edit the list, and then send
> the pieces I want through a loop in a script to split into the separate
> files. After some more scripts, I have video and mp3 files for my iPod.
>
> I couldn't initially get the --honorcutlist to work because of having to
> replace the commas with spaces. I thought it might be same issue for
> this person. It was very confusing to find the right format for the
> cutlist as were no error messages or examples of the exact format needed
> in a help file. I had found it from someone else's posting.
>
> John


Yes, OK, that looks good, and the commas/spaces thing is a real gotcha. 
  Thanks for the explanation.

John P


More information about the mythtv-users mailing list