Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old May 21st, 2007   #1
NumPy
5 Cups of Ubuntu
 
Join Date: Nov 2006
Location: Texas - US
Beans: 18
Kubuntu 9.10 Karmic Koala
Send a message via AIM to NumPy Send a message via Yahoo to NumPy
HowTo Convert (extract) VCD to DVD

Hello all,
I am sure this has been covered before in some form. However, I wanted to make a tutorial that would outline this specific area.

First off, this is a collection of information gathered from many different sources.
Secondly you will need a few tools installed to achieve the end result.

There may be some better UI's out there to achieve this, but I find doing things in the command line more appealing.

Lets start by installing the right packages for the job:
Code:
#sudo aptitude install  ffmpeg mencoder mplayer lame ligogg
All this should go well, if not leave a reply

All packages are now installed.

Lets get our movie. Insert your VCD cdrom/dvdrom into your drive, and open K3B, and select copy cd. This will make an ISO of the disk. Save this somewhere on your local drive. Now mount the ISO.

First lets make a temporary directory to mount the iso in.
Code:
# mkdir /your/home/dir/iso
Change to your home directory
Code:
# cd /your/home/dir/
Mount the ISO to the directory we just created
Code:
# sudo mount -o loop -t iso9660 /path/where/you/saved/iso.iso /path/to/home/ISO
Code:
# cd iso
Locate your MPEGAV folder and cd to it. Make sure there is a *.DAT file there, remember this path/location, we will need it shortly!

Now on to the meat of this solution/tut:

1. Convert VCD files to mpeg; you can convert as many sequences as you want.
ffmpeg -i /path/to/your/AVSEQ01.DAT -target ntsc-dvd /path/to/your/movie.mpg;
(change the "/path/to" part to the location of your origination VCD file/image)

2. Verify that the mpg file works:
xine /tmp/2.mpg;

3. Create DVD structure as file dvd.xml. you can create menus, backgrounds, chapters etc. the simple structure is:
<dvdauthor dest="/path/to/dvd/">
<vmgm />
<titleset>
<titles>
<pgc pause="inf">
<vob file="1.mpg" />
<vob file="2.mpg" />
<vob file="3.mpg" />
</pgc>
</titles>
</titleset>
</dvdauthor>

4. Author the DVD
dvdauthor -x dvd.xml

5. Burn the DVD
growisofs -dvd-compat -Z /dev/scd0 -speed=256 -dvd-video /path/to/dvd

And thats about it.. there may be some things I will add later. This is my first tut on this forum, and my first venture in video editing, so suggestions are welcome.

take care
~NumPy
NumPy is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:27 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry