LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2010, 08:53 PM   #1
MooseMagnet
Member
 
Registered: Oct 2007
Location: U.S.
Distribution: Ubuntu 14.04
Posts: 183
Blog Entries: 1

Rep: Reputation: 15
Creating DVDs from the Terminal (Ubuntu 8.1)


Trying to COPY some of my DVDs, I've had tons of problems with the various applications such as K3B and Brasero (not putting them down though, just my experience).

Recently I found the commands to use dvdbackup, and it worked perfectly. I can copy my DVDs easily and flawlessly. Really happy about that.

Is there a command-line way of creating DVDs? I've got to say that using the terminal has been the most reliable and robust for me.

Is there a way to create DVDs via the terminal?

I'm running Ubuntu 8.1 on a Dell laptop.

thanks in advance,
moose
 
Old 08-20-2010, 09:05 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,848
Blog Entries: 36

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
mkisofs is good for creating ISO images for burning.
cdrecord is a decent terminal burning utility.

I enjoy the benefits of being a terminal ninja. You'll find you can do a lot of things faster in the terminal than you could ever do in the GUI.

Enjoy
SAM
 
Old 08-20-2010, 09:08 PM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
And here's a command I've used many times to burn bootable ISO images (like a Linux OS), such as those made by `mkisofs`:

Code:
growisofs -speed=2 -dvd-compat -Z /dev/sr0=imagefile.iso
Just replace /dev/sr0 with your own DVD writer drive, and put the real name of your .ISO file.
 
Old 08-22-2010, 05:08 AM   #4
memet
LQ Newbie
 
Registered: May 2010
Distribution: Distrohopper, Debian Squeeze
Posts: 1

Rep: Reputation: 0
I use wodim for burning dvd images. Example command:
wodim -v -dao speed=4 dev=/dev/scd0 image.iso
Used successfully with bootable and normal dvd's both in Ubuntu 10.04 and Debian.
I don't know if it works with bootable media but for creating iso files, I take (possibly) the simplest way, the cat command:
cat /dev/cdrom > image.iso
It worked with data and video dvd's.
 
Old 08-27-2010, 05:57 PM   #5
MooseMagnet
Member
 
Registered: Oct 2007
Location: U.S.
Distribution: Ubuntu 14.04
Posts: 183
Blog Entries: 1

Original Poster
Rep: Reputation: 15
I'm confused. What I'd like to do is make a DVD from a .avi or .divx or etc. file.
I can create a .iso from these, but am not understanding how to make a DVD from them.
For example: I have a .avi movie. Is there a command line way of making a DVD from that file?
 
Old 09-21-2010, 12:25 AM   #6
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,848
Blog Entries: 36

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Check out http://www.dvdstyler.org/
It may have a CLI but I've never used it.

Also I came across this post on LQ.
 
Old 09-21-2010, 12:40 AM   #7
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,143
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up

Create the ISO image
Code:
# mkisofs -r -o /tmp/var-www-disk1.iso /var/www
The growisofs command to write the ISO onto the DVD:
Code:
# growisofs -Z /dev/dvd=/tmp/var-www-disk1.iso
Append more data for same DVD:
Code:
# growisofs -M /dev/dvd  /tmp/file.1
Format (erase) a DVD:
Code:
# dvd+rw-format  -force  /dev/dvd


Other Commands :


Code:
# dvd+rw-format  -force=full /dev/dvd
dvd+rw-format command formats dvd disk



Display information about dvd drive and disk using dvd+rw-mediainfo command:
Code:
# dvd+rw-mediainfo /dev/dvd
 
Old 09-22-2010, 09:29 AM   #8
MooseMagnet
Member
 
Registered: Oct 2007
Location: U.S.
Distribution: Ubuntu 14.04
Posts: 183
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Thank you for the answers. It is all way beyond my understanding. No way I could do it.
 
Old 09-22-2010, 05:07 PM   #9
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Install ffmpeg. Run:
ffmpeg -i video-filename.avi -target ntsc-dvd final.mpg
ffmpeg will take a while. then run:
dvdauthor -t -f final.mpg -o final-dvd-fs
then:
dvdauthor -T -o final-dvd-fs
then:
growisofs -Z /dev/sr0 -speed=1 -dvd-video final-dvd-fs
the "/dev/sr0" assuming your dvd burner is device sr0 and not sr1. Hope this helps.

Last edited by SharpyWarpy; 09-22-2010 at 05:09 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Home Movie and Photo Slideshow DVDs Mountain Man LinuxAnswers Discussion 0 07-27-2009 01:45 PM
Creating ISO Files from DVDs atheist Linux - Software 8 08-01-2008 11:09 AM
Roxio is not creating usable slackware dvds or cds. Damase Slackware 12 02-21-2008 11:27 PM
Creating multiple distro live dvds thekid Linux - Software 4 10-16-2007 01:01 PM
Creating DVDs sweetnsourbkr Linux - Software 9 03-14-2006 12:15 AM


All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration