Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2007 10:31:29 +0530
From:      Girish Venkatachalam <girishvenkatachalam@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problem with mkisofs -dvd-video
Message-ID:  <20071203050129.GC578@saraswathy.susmita.org>
In-Reply-To: <87f7f4170712021842r4336f596x7ce599e6f6a22740@mail.gmail.com>
References:  <87f7f4170712021842r4336f596x7ce599e6f6a22740@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21:42:47 Dec 02, Jeremy Gransden wrote:
> HI List,
> 
> What is the correct procedure to create a dvd-video iso. I have tried the
> following and receive an error:
> 
> [jeremy@icipher ~]$ mkisofs -dvd-video -o ~/develip.iso -R ~/develop_spin/
> Using PSA07000.VOB;1 for  /PSA074781-2.VOB (PSA074781-1.VOB)
> mkisofs: Unable to make a DVD-Video image.
> [jeremy@icipher ~]$
> 
> I searched google and did not find much of information. I read several
> articles about the case of the file names, but my files are uppercase as
> they suggested. I can create iso's without the -dvd-video switch, but not
> with.
> 

Check the mencoder documentation. Install mplayer, dvdauthor and
growisofs (dvd+rw-tools).

And set cranking. :)

If you already have DVD compliant VOB, my stuff will not apply. If you
don't then this is what you have to do.

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
  -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
  -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 \
  -o movie.mpg movie.avi

Now movie.mpg contains MPEG-2 video befitting the DVD profile.

Now just use a simple config file with dvdauthor and write it with
growisofs.

Something like this perhaps?

$ cat foo.xml

<dvdauthor>
    <vmgm />
    <titleset>
        <titles>
            <pgc>
                <vob file="movie.mpg" />
            </pgc>
        </titles>
    </titleset>
</dvdauthor>


$ dvdauthor -x foo.xml -o myvideo

dvdauthor will create a directory "myvideo" with dvd structure that can be
directly given to growisofs or you could create an ISO with mkisofs with
the -dvd-video switch.

Hope this helps.

-Girish




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071203050129.GC578>