Page 1 of 1

Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Thu Aug 13, 2015 11:56 pm
by mardend
Hello.
I think i'm going to buy Raspberry Pi 1 or 2. I need to know, if Raspberry Pi can burn CD/DVD on external DVD burner. Well, i sometimes watch the film or burn DVD's so i don't to want to use my laptop which is to working :D

(Sorry for my very bad English, i'm still learning :/)

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Fri Aug 14, 2015 12:39 am
by asandford
mardend wrote:Hello.
I think i'm going to buy Raspberry Pi 1 or 2. I need to know, if Raspberry Pi can burn CD/DVD on external DVD burner. Well, i sometimes watch the film or burn DVD's so i don't to want to use my laptop which is to working :D

(Sorry for my very bad English, i'm still learning :/)
Answers here

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Fri Aug 14, 2015 12:51 am
by kusti8
It's going to be slow, but you can do it.

You can't really rip DVDs, it would take a week for that to happen on a Pi or more.

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Fri Aug 14, 2015 1:11 am
by asandford
kusti8 wrote:It's going to be slow, but you can do it.

You can't really rip DVDs, it would take a week for that to happen on a Pi or more.
DVDs are only ~5GB, so it could copy that in less than an hour, transcoding may take a while tho'.

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Fri Aug 14, 2015 3:02 am
by JimmyN
You don't really need to transcode them, they're just mpg files. You can change the extension from .vob to .mpg and play them just fine, but they won't chain together. So you'd have to play each 1gig segment in turn.

You can use "cat" though to string them together and change the extension to .mpg and you'll have a 4~5gig DVD movie in a single file. And it's much faster than doing any transcoding if you're OK with the mpg format. Look in the VIDEO_TS directory for the number sequence that has 4 or more 1gig files, plus maybe a smaller one. That is the main movie.

Code: Select all

cat VTS_02_1.VOB VTS_02_2.VOB VTS_02_3.VOB VTS_02_4.VOB > movie.mpg

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Fri Aug 14, 2015 11:06 pm
by mardend
asandford wrote:
kusti8 wrote:It's going to be slow, but you can do it.

You can't really rip DVDs, it would take a week for that to happen on a Pi or more.
DVDs are only ~5GB, so it could copy that in less than an hour, transcoding may take a while tho'.
DVDs are 4.7GB (not Dual Layer disk)
I'm going only to burn cd/dvd images to disk. And also i want good answer :)

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 5:03 pm
by tvjon
"A week or more"?

Well, I did the unthinkable, & actually tested this...

pi@p3 /media/toshf $ sudo dd bs=1M if=/dev/sr1 of=/media/toshf/gt.img

3185+1 records in
3185+1 records out
3339857920 bytes (3.3 GB) copied, 251.401 s, 13.3 MB/s

pi@p3 /media/toshf $

4 minutes to copy 3.3 Gigabytes from a usb DVD drive to a HD seems quite respectable to me.

No mpeg2 license for this Rpi on this µSD card, so opened up the image in mplayer, & it looks ok :)

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 5:11 pm
by kusti8
I said ripping, as in removing the copy protection from DVDs and copying that. It takes an hour on my i7 computer, I shudder to think how long it will take on a Pi.

But I plan to try it.

And yes, normal copying of DVDs will be fine.

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 5:14 pm
by drgeoff
tvjon wrote:"A week or more"?

Well, I did the unthinkable, & actually tested this...

pi@p3 /media/toshf $ sudo dd bs=1M if=/dev/sr1 of=/media/toshf/gt.img

3185+1 records in
3185+1 records out
3339857920 bytes (3.3 GB) copied, 251.401 s, 13.3 MB/s

pi@p3 /media/toshf $

4 minutes to copy 3.3 Gigabytes from a usb DVD drive to a HD seems quite respectable to me.

No mpeg2 license for this Rpi on this µSD card, so opened up the image in mplayer, & it looks ok :)
But doesn't answer the original question. Which was about BURNING discs not reading them.

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 6:01 pm
by tvjon
"I'm going only to burn cd/dvd images to disk"

It's unclear what kind of "disk" & indeed what is understood by "burn".

However, continuing the test:

pi@p3 /media/toshf $ sudo dd bs=1M of=/dev/sr0 if=/media/toshf/gt.img

3185+1 records in
3185+1 records out
3339857920 bytes (3.3 GB) copied, 608.517 s, 5.5 MB/s

pi@p3 /media/toshf $

Took a bit longer to write the DVD image of course, especially as all I had handy was a 4* DVD R/W.

Again, mplayer seems happy with the resulting "burn".

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 6:26 pm
by mardend
tvjon wrote:"I'm going only to burn cd/dvd images to disk"

It's unclear what kind of "disk" & indeed what is understood by "burn".

However, continuing the test:

pi@p3 /media/toshf $ sudo dd bs=1M of=/dev/sr0 if=/media/toshf/gt.img

3185+1 records in
3185+1 records out
3339857920 bytes (3.3 GB) copied, 608.517 s, 5.5 MB/s

pi@p3 /media/toshf $

Took a bit longer to write the DVD image of course, especially as all I had handy was a 4* DVD R/W.

Again, mplayer seems happy with the resulting "burn".
It's important what kind of disk? Even if i try, i do not buy cheap external Blu-Ray drive. Only DVD -/+ R/RW and CD -/+ R/RW. I don't want just copying to disk, I want to Burn/Write .iso .img etc. images to disk.

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 6:54 pm
by rpdom
It shouldn't matter which type of disc, as long as it is compatible with both the drive it will be written in and the drive it will be read in.

A Pi might not be able to write the disc as fast as a modern PC (I've no idea on timings), but it would certainly be able to write an iso.

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 6:57 pm
by mikerr
kusti8 wrote:I said ripping, as in removing the copy protection from DVDs and copying that. It takes an hour on my i7 computer, I shudder to think how long it will take on a Pi.

But I plan to try it.
Been there, done that about 3 years ago :)
viewtopic.php?f=35&t=17598

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 7:01 pm
by kusti8
mikerr wrote:
kusti8 wrote:I said ripping, as in removing the copy protection from DVDs and copying that. It takes an hour on my i7 computer, I shudder to think how long it will take on a Pi.

But I plan to try it.
Been there, done that :)
viewtopic.php?f=35&t=17598
Nice. I didn't have time to read the entire thread, but it seems like you're playing the DVD, not ripping it, but I expect it wouldn't take that long.

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 7:05 pm
by mikerr
You can dump the whole 4GB with

Code: Select all

mplayer dvd://1 -dumpstream -dumpfile dvd.mpg
Should be faster with a pi2

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 7:20 pm
by kusti8
mikerr wrote:
You can dump the whole 4GB with

Code: Select all

mplayer dvd://1 -dumpstream -dumpfile dvd.mpg
Should be faster with a pi2
:oops:

I'll try it.

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 9:49 pm
by mardend
rpdom wrote:It shouldn't matter which type of disc, as long as it is compatible with both the drive it will be written in and the drive it will be read in.

A Pi might not be able to write the disc as fast as a modern PC (I've no idea on timings), but it would certainly be able to write an iso.
Finally, thanks for good answer ;) I know the Pi is going to be more slow, I have time and i just wanted to know if Pi is going to be able to write disk. Now if someone know how to do this, he can reply now :)

Btw. I was going to use Raspberry Pi 2 B+

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 9:58 pm
by fruitoftheloom
mardend wrote:
rpdom wrote:It shouldn't matter which type of disc, as long as it is compatible with both the drive it will be written in and the drive it will be read in.

A Pi might not be able to write the disc as fast as a modern PC (I've no idea on timings), but it would certainly be able to write an iso.
Finally, thanks for good answer ;) I know the Pi is going to be more slow, I have time and i just wanted to know if Pi is going to be able to write disk. Now if someone know how to do this, he can reply now :)

Btw. I was going to use Raspberry Pi 2 B+
Attach USB CD/DVD Re-writer Drive
Increase USB from 600ma to 1200ma
Install suitable burning software ie xfburn

fyi there is no RPi model 2 B+, did you mean a 2 B ?

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sat Aug 15, 2015 10:10 pm
by DougieLawson
For command line CD/DVD writing look at wodim
https://wiki.debian.org/BurnCd

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sun Aug 16, 2015 7:07 am
by rpdom
For command line DVD writing, also look at growisofs. It can write an iso or it can generate/update a DVD from a directory structure.

Re: Can Raspberry Pi 1 or 2 used to burn cd/dvd?

Posted: Sun Aug 16, 2015 5:27 pm
by mardend
fruitoftheloom wrote:Attach USB CD/DVD Re-writer Drive
Increase USB from 600ma to 1200ma
Install suitable burning software ie xfburn

fyi there is no RPi model 2 B+, did you mean a 2 B ?
Oh right. Not B+ only B xP Thanks for answers. Now i know how to burn cd/dvd on my Raspberry Pi 2 B. Topic to close :D