Fractional-second chapter times?

View: New views
4 Messages — Rating Filter:   Alert me  

Fractional-second chapter times?

by Lawrence D'Oliveiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chapter times must currently be of the form [[hh:]mm:]ss, which means an
integer number of seconds. However, the underlying timestamps, as per
the DVD-Video spec, are in steps of a 90kHz clock frequency.

Would it make sense to allow chapter settings down to the corresponding
fractions of a second?

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: Fractional-second chapter times?

by Giacomo Comes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jul 09, 2009 at 11:12:17PM +1200, Lawrence D'Oliveiro wrote:
> Chapter times must currently be of the form [[hh:]mm:]ss, which means an
> integer number of seconds. However, the underlying timestamps, as per
> the DVD-Video spec, are in steps of a 90kHz clock frequency.
>
> Would it make sense to allow chapter settings down to the corresponding
> fractions of a second?

To my knowledge, dvdauthor does already support chapter settings with
fraction of seconds.
An xml file containing something like:
    <vob file="source.mpg" chapters="0,151.994,300.123" />
or a command line like:
    dvdauthor -c 0,151.994,300.123 source.mpg
has always worked for me.

Also the online help (dvdauthor --help) says:
        --chapter[s][=COPTS] or -c COPTS or -C where COPTS is a comma (,)
            separated list of chapter markers.  Each marker is of the form
            [[h:]mm:]ss[.frac] and is relative to the SCR of the next file
            listed (independent of any timestamp transposing that occurs within
            dvdauthor).  The chapter markers ONLY apply to the next file listed.
            COPTS defaults to 0


Am I missing something?

Giacomo

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: Fractional-second chapter times?

by Scott Smith-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 7/9/09, Lawrence D'Oliveiro <ldo@...> wrote:
> Chapter times must currently be of the form [[hh:]mm:]ss, which means an
>  integer number of seconds. However, the underlying timestamps, as per
>  the DVD-Video spec, are in steps of a 90kHz clock frequency.
>
>  Would it make sense to allow chapter settings down to the corresponding
>  fractions of a second?

The bigger problem is making sure your mpeg has a GOP boundary exactly
where you want the chapter.  And as Giacomo said, you can specify
fractions of a second.
--
        Scott

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: Fractional-second chapter times?

by Lawrence D'Oliveiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Giacomo Comes wrote:

> To my knowledge, dvdauthor does already support chapter settings with
> fraction of seconds.

Ah, you're right. I should have checked the man page for that "strtod"
call in the parsing routine. :)

Did you know it also allows a few other things? Like hexadecimal
representation, infinity and NANs?

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users