Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Edit decision list file

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


tom_a_sparks at yahoo

Jul 30, 2010, 5:05 AM

Post #1 of 12 (580 views)
Permalink
Edit decision list file

Is there a way to save the Edit decision list into a file?

<http://wiki.xbmc.org/?title=EDL_%28commercial_skipping%29_and_SceneMarker_support>


tom_a_sparks
Light travels faster then sound, which is why some people appear bright, until you hear them speak



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


raymond at wagnerrp

Jul 30, 2010, 5:45 AM

Post #2 of 12 (572 views)
Permalink
Re: Edit decision list file [In reply to]

On 7/30/2010 08:05, Tom Sparks wrote:
> Is there a way to save the Edit decision list into a file?
>
> <http://wiki.xbmc.org/?title=EDL_%28commercial_skipping%29_and_SceneMarker_support>

Mythfrontend can read that data out of the database, so there has never
been any need for that capability. If you want some custom file in a
3rd party format, you're going to have to go into the database
(recordedmarkup) and generate it yourself.

MythTV uses frame accurate markup, and was actually the basis of
comskip.exe, so that one would probably be the easiest to do. Anything
else, and you either have to parse the video file to get the framerate,
or fake it from the seekdata (recordedseek) framecount and file
duration, and use that to estimate timestamps.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Jul 30, 2010, 10:25 AM

Post #3 of 12 (561 views)
Permalink
Re: Edit decision list file [In reply to]

On 07/30/2010 08:05 AM, Tom Sparks wrote:
> Is there a way to save the Edit decision list into a file?
>
> <http://wiki.xbmc.org/?title=EDL_%28commercial_skipping%29_and_SceneMarker_support>

mythcommflag --help

see, particularly, --getcutlist and --getskiplist . Transforming it for
<random 3rd-party program> is your responsibility.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


nick.rout at gmail

Jul 30, 2010, 5:34 PM

Post #4 of 12 (557 views)
Permalink
Re: Edit decision list file [In reply to]

On Sat, Jul 31, 2010 at 5:25 AM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:
>  On 07/30/2010 08:05 AM, Tom Sparks wrote:
>>
>> Is there a way to save the Edit decision list into a file?
>>
>>
>> <http://wiki.xbmc.org/?title=EDL_%28commercial_skipping%29_and_SceneMarker_support>
>
> mythcommflag --help
>
> see, particularly, --getcutlist and --getskiplist .  Transforming it for
> <random 3rd-party program> is your responsibility.

Is there any raeson in a PAL world that

frame_number / 25 = seconds

would not be valid?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


belcampo at zonnet

Jul 30, 2010, 9:48 PM

Post #5 of 12 (553 views)
Permalink
Re: Edit decision list file [In reply to]

Nick Rout wrote:
> On Sat, Jul 31, 2010 at 5:25 AM, Michael T. Dean
> <mtdean [at] thirdcontact> wrote:
>> On 07/30/2010 08:05 AM, Tom Sparks wrote:
>>> Is there a way to save the Edit decision list into a file?
>>>
>>>
>>> <http://wiki.xbmc.org/?title=EDL_%28commercial_skipping%29_and_SceneMarker_support>
>> mythcommflag --help
>>
>> see, particularly, --getcutlist and --getskiplist . Transforming it for
>> <random 3rd-party program> is your responsibility.
>
> Is there any raeson in a PAL world that
>
> frame_number / 25 = seconds
>
> would not be valid?
No. NoxNo = Yes. frame_numbers / 25 = seconds
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


belcampo at zonnet

Jul 30, 2010, 11:05 PM

Post #6 of 12 (553 views)
Permalink
Re: Edit decision list file [In reply to]

Tom Sparks wrote:
> Is there a way to save the Edit decision list into a file?
>
> <http://wiki.xbmc.org/?title=EDL_%28commercial_skipping%29_and_SceneMarker_support>
>
>
> tom_a_sparks
> Light travels faster then sound, which is why some people appear bright, until you hear them speak
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Cutlist to chapter-file which, when imported in an mkv gets you what you
are after, as far as I can see.

mythcommflag --getcutlist -f $nameoffile | python -c "import sys,re;
cutlist=[re.split('\D+',l)[2:-1] for l in sys.stdin.readlines() if
l.startswith('Cutlist:')][0]; cl=[(i+1,.04*int(l)) for i,l in
enumerate(cutlist)];
cl=['CHAPTER%02d=%02d:%02d:%06.3f\nCHAPTER%02dNAME=Chapter
%d'%(ii,int(i/3600),int((i%3600)/60),i%60,ii,ii) for ii,i in cl]; print
'\n'.join(cl)" > $workdir/chapters$nameoffile
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


nick.rout at gmail

Jul 31, 2010, 6:55 PM

Post #7 of 12 (526 views)
Permalink
Re: Edit decision list file [In reply to]

On Sat, Jul 31, 2010 at 4:48 PM, belcampo <belcampo [at] zonnet> wrote:

>>> mythcommflag --help
>>>
>>> see, particularly, --getcutlist and --getskiplist .  Transforming it for
>>> <random 3rd-party program> is your responsibility.
>>
>> Is there any raeson in a PAL world that
>>
>> frame_number / 25 = seconds
>>
>> would not be valid?
>
> No. NoxNo = Yes. frame_numbers / 25 = seconds

I am not sure that I understand your answer?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


belcampo at zonnet

Jul 31, 2010, 10:07 PM

Post #8 of 12 (528 views)
Permalink
Re: Edit decision list file [In reply to]

Nick Rout wrote:
> On Sat, Jul 31, 2010 at 4:48 PM, belcampo <belcampo [at] zonnet> wrote:
>
>>>> mythcommflag --help
>>>>
>>>> see, particularly, --getcutlist and --getskiplist . Transforming it for
>>>> <random 3rd-party program> is your responsibility.
>>> Is there any raeson in a PAL world that
>>>
>>> frame_number / 25 = seconds
>>>
>>> would not be valid?
>> No. NoxNo = Yes. frame_numbers / 25 = seconds
>
> I am not sure that I understand your answer?
I was not sure I understood the question. If the question would have
been "In PAL world 'frame_number / 25 = seconds', is that correct ? I
could have answered with a Yes.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


nick.rout at gmail

Jul 31, 2010, 11:10 PM

Post #9 of 12 (523 views)
Permalink
Re: Edit decision list file [In reply to]

On Sun, Aug 1, 2010 at 5:07 PM, belcampo <belcampo [at] zonnet> wrote:
> Nick Rout wrote:
>>
>> On Sat, Jul 31, 2010 at 4:48 PM, belcampo <belcampo [at] zonnet> wrote:
>>
>>>>> mythcommflag --help
>>>>>
>>>>> see, particularly, --getcutlist and --getskiplist .  Transforming it
>>>>> for
>>>>> <random 3rd-party program> is your responsibility.
>>>>
>>>> Is there any raeson in a PAL world that
>>>>
>>>> frame_number / 25 = seconds
>>>>
>>>> would not be valid?
>>>
>>> No. NoxNo = Yes. frame_numbers / 25 = seconds
>>
>> I am not sure that I understand your answer?
>
> I was not sure I understood the question. If the question would have been
> "In PAL world 'frame_number / 25 = seconds', is that correct ? I could have
> answered with a Yes.

yeah that may have been a less elliptical way of expressing it.

I was following up from another thread that seemed to express some
doubt as to the correctness of such a simple formula:

( http://www.gossamer-threads.com/lists/mythtv/mythtvnz/444345#444345 )
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


belcampo at zonnet

Aug 1, 2010, 1:13 AM

Post #10 of 12 (510 views)
Permalink
Re: Edit decision list file [In reply to]

Nick Rout wrote:
> On Sun, Aug 1, 2010 at 5:07 PM, belcampo <belcampo [at] zonnet> wrote:
>> Nick Rout wrote:
>>> On Sat, Jul 31, 2010 at 4:48 PM, belcampo <belcampo [at] zonnet> wrote:
>>>
>>>>>> mythcommflag --help
>>>>>>
>>>>>> see, particularly, --getcutlist and --getskiplist . Transforming it
>>>>>> for
>>>>>> <random 3rd-party program> is your responsibility.
>>>>> Is there any raeson in a PAL world that
>>>>>
>>>>> frame_number / 25 = seconds
>>>>>
>>>>> would not be valid?
>>>> No. NoxNo = Yes. frame_numbers / 25 = seconds
>>> I am not sure that I understand your answer?
>> I was not sure I understood the question. If the question would have been
>> "In PAL world 'frame_number / 25 = seconds', is that correct ? I could have
>> answered with a Yes.
>
> yeah that may have been a less elliptical way of expressing it.
>
> I was following up from another thread that seemed to express some
> doubt as to the correctness of such a simple formula:
>
> ( http://www.gossamer-threads.com/lists/mythtv/mythtvnz/444345#444345 )
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
I record from DVB-S for over 3 years. All SD-stuff is 576i, so 25fps or
50 interlaced fields. I use mythcommflag --getcutlist and the
frame-numbers I get are correct for me, always have been.
Dutch/Belgium/English/French/German-stations all work well.
I use it with projectx/tsMuxeR and ffmpeg, the last 2 I have to multiply
the framenumbers by 0.04, which gives me the time in seconds.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


tom_a_sparks at yahoo

Aug 1, 2010, 1:52 AM

Post #11 of 12 (518 views)
Permalink
Re: Edit decision list file [In reply to]

--- On Sun, 1/8/10, Nick Rout <nick.rout [at] gmail> wrote:
> > I was not sure I understood the question. If the
> question would have been
> > "In PAL world 'frame_number / 25 = seconds', is that
> correct ? I could have
> > answered with a Yes.

I do konw of some HD station that use 60 fps in australia (DVB-t PAL)

tom



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


nick.rout at gmail

Aug 1, 2010, 4:07 AM

Post #12 of 12 (505 views)
Permalink
Re: Edit decision list file [In reply to]

On Sun, Aug 1, 2010 at 8:52 PM, Tom Sparks <tom_a_sparks [at] yahoo> wrote:
> --- On Sun, 1/8/10, Nick Rout <nick.rout [at] gmail> wrote:
>> > I was not sure I understood the question. If the
>> question would have been
>> > "In PAL world 'frame_number / 25 = seconds', is that
>> correct ? I could have
>> > answered with a Yes.
>
> I do konw of some HD station that use 60 fps in australia (DVB-t PAL)
>
> tom

yes of course once we get out of SD we aren't really distinguishing
PAL and NTSC are we :)
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.