mardend
Posts: 6
Joined: Thu Aug 13, 2015 11:41 pm

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

Thu Aug 13, 2015 11:56 pm

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 :/)

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

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

Fri Aug 14, 2015 12:39 am

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

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

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

Fri Aug 14, 2015 12:51 am

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.
There are 10 types of people: those who understand binary and those who don't.

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

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

Fri Aug 14, 2015 1:11 am

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'.

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

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

Fri Aug 14, 2015 3:02 am

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

mardend
Posts: 6
Joined: Thu Aug 13, 2015 11:41 pm

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

Fri Aug 14, 2015 11:06 pm

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 :)

tvjon
Posts: 786
Joined: Mon Jan 07, 2013 9:11 am

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

Sat Aug 15, 2015 5:03 pm

"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 :)

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

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

Sat Aug 15, 2015 5:11 pm

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.
There are 10 types of people: those who understand binary and those who don't.

drgeoff
Posts: 10831
Joined: Wed Jan 25, 2012 6:39 pm

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

Sat Aug 15, 2015 5:14 pm

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.
Quis custodiet ipsos custodes?

tvjon
Posts: 786
Joined: Mon Jan 07, 2013 9:11 am

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

Sat Aug 15, 2015 6:01 pm

"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".

mardend
Posts: 6
Joined: Thu Aug 13, 2015 11:41 pm

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

Sat Aug 15, 2015 6:26 pm

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.

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

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

Sat Aug 15, 2015 6:54 pm

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.

mikerr
Posts: 2827
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

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

Sat Aug 15, 2015 6:57 pm

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
Last edited by mikerr on Sat Aug 15, 2015 7:07 pm, edited 2 times in total.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

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

Sat Aug 15, 2015 7:01 pm

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.
There are 10 types of people: those who understand binary and those who don't.

mikerr
Posts: 2827
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

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

Sat Aug 15, 2015 7:05 pm

You can dump the whole 4GB with

Code: Select all

mplayer dvd://1 -dumpstream -dumpfile dvd.mpg
Should be faster with a pi2
Android app - Raspi Card Imager - download and image SD cards - No PC required !

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

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

Sat Aug 15, 2015 7:20 pm

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.
There are 10 types of people: those who understand binary and those who don't.

mardend
Posts: 6
Joined: Thu Aug 13, 2015 11:41 pm

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

Sat Aug 15, 2015 9:49 pm

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+

fruitoftheloom
Posts: 23548
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

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

Sat Aug 15, 2015 9:58 pm

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 ?
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

User avatar
DougieLawson
Posts: 39302
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

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

Sat Aug 15, 2015 10:10 pm

For command line CD/DVD writing look at wodim
https://wiki.debian.org/BurnCd
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

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

Sun Aug 16, 2015 7:07 am

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.

mardend
Posts: 6
Joined: Thu Aug 13, 2015 11:41 pm

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

Sun Aug 16, 2015 5:27 pm

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

Return to “Beginners”