Results 1 to 5 of 5

Thread: how do I add chapters in dvdauthor cli

  1. #1

    how do I add chapters in dvdauthor cli

    Hi, all.

    When I author a DVD from an mpeg file, I've always used dvdauthor in terminal. The commands I use are as follows:

    dvdauthor -o /path/to/dvd/folder/ -t movie.mpg
    dvdauthor -o /path/to/dvd/folder/ -T
    This creates a basic DVD, but without chapters--which is fine, since I usually don't want chapters. This time, though, I'd like to have chapters at every 15 minutes of the movie. Does anyone know what parameters I add to do this?

    Any help would be much appreciated. Thanks in advance!

  2. #2
    Join Date
    Mar 2007
    Location
    Missouri
    Beans
    170
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: how do I add chapters in dvdauthor cli

    <dvdauthor dest="your_file">
    <!-- makexml 0.31 -->
    <vmgm>
    </vmgm>

    <titleset>

    <titles>
    <video/>

    <pgc>
    <vob file="your_file.mpg"
    chapters="00:00:00,00:05:00,00:10:00,00:15:00"/>
    </pgc>
    </titles>
    </titleset>
    </dvdauthor>

    this is the xml file format that will create chapters
    open a text editor and save with an extension of .xml

    an easier way is to use Tovid
    it's not in the repos but you can install it from here
    http://tovid.wikia.com/wiki/Installing_tovid/Ubuntu

    then simply use the command

    Code:
    makexml YOUR_FILE.mpg -out YOUR_FILE
    it will spit out an xml file with 5 minute interval chapters
    and then you can simply create a dvd directory and burn to disc

    pop in dvd

    Code:
    makedvd -burn YOUR_FILE.xml

  3. #3
    Join Date
    May 2008
    Beans
    14
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: how do I add chapters in dvdauthor cli

    man dvdauthor

    -c chapterpts

    --chapters=chapterpts

    Specifies 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. Defaults to 0.


    e.g. "dvdauthor -o /path/to/dvd/folder/ -t -c 0,5:0 movie.mpg"
    p.s. 0 should be first in the list.

  4. #4
    Join Date
    Jun 2010
    Beans
    1

    Re: how do I add chapters in dvdauthor cli

    hii,,,

    i am trying to author a dvd using dvdauthor.my subtitle file is:

    <subpictures>
    <stream>
    <spu
    force="yes"
    start="00:00:00.00"
    image="menu1.png"
    select="menu2.png"
    highlight="menu2.png"
    autooutline="infer"
    outlinewidth="6"
    autoorder="rows"
    />
    </stream>
    </subpictures>


    I then used the spumux command

    spumux menu.xml < out1.mpg > out_final2.mpg


    my dvd authoring file is:

    <dvdauthor dest = "DVD7">
    <vmgm>
    <menus>
    <pgc>
    <vob file="out_final2.mpg" pause="inf"/>
    <button>jump title 1;</button>
    <button>jump title 2;</button>
    </pgc>
    </menus>
    </vmgm>
    <titleset>
    <titles>
    <pgc>
    <vob file = "out.mpg" />
    <post> call vmgm menu 1; </post>
    </pgc>
    <pgc>
    <vob file = "out.mpg" />
    <post> call vmgm menu 1; </post>
    </pgc>
    </titles>
    </titleset>
    </dvdauthor>

    when i am sing the command

    dvdauthor -x main1.xml

    but i am getting the error:

    DVDAuthor::dvdauthor, version 0.6.14.
    Build options: gnugetopt magick iconv freetype
    Send bugs to <dvdauthor-users@lists.sourceforge.net>

    INFO: Locale=en_IN
    INFO: Converting filenames to UTF-8
    INFO: dvdauthor creating VTS
    STAT: Picking VTS 01

    STAT: Processing out.mpg...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    WARN: Skipping sector, waiting for first VOBU...
    ERR: SCR moves backwards, remultiplex input.



    please guide me as what to do???

  5. #5
    Join Date
    Aug 2011
    Beans
    1

    Re: how do I add chapters in dvdauthor cli

    Hi,

    First post here (and one year later), so please, take this reply as a reminder :

    dvdauthor is a nice software but you have to give to it a fully compliant mpeg with VOBUS inside (a VOB file in fact).

    You can do this when you mux your mpeg with :

    mplex -f8 input.ac3 input.m2v -o output.mpg

    NOTES :
    A)"-f8" is the most important argument here
    B)input.m2v must have clean headers
    try the command "file input.m2v". It have to return a complet string like this : "input.m2v: MPEG sequence, v2, MP@ML interlaced Y'CbCr 4:2:0 video, CCIR/ITU PAL 625, 16:9, 25 fps"

    David

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •