LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-28-2016, 03:14 PM   #1
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Rep: Reputation: 48
Need help ripping DVDs at their original quality


Hey guys, I'm trying to rip a set of workout DVDs I've got so I can stream them through my TiVo with the built in Plex server it has. I've checked the forums and googled this to death and the couple things I've tried that work rip them but at a crappy quality that looks bad enough I just keep using my DVD player (It was ffmpeg but I just copied their arguments so that may have been the prob) . A couple other things that looked promising turned out to be software that doesn't exist any more (really old posts).

Anybody ripping DVDs at their ORIGINAL quality that cares to share? If it makes any difference I'm on Mint 17 and it will need to be a compatible format with Plex which I'm pretty sure is most of them? A GUI based program would be nice but I don't have an issue in the terminal if thats what it takes either.

Thanks

Last edited by snatale1; 05-28-2016 at 03:15 PM.
 
Old 05-28-2016, 03:44 PM   #2
reinfro555
LQ Newbie
 
Registered: May 2016
Posts: 7

Rep: Reputation: Disabled
Handbrake

It can rip your dvd and encode the video to mp4 or mkv. Handbrake can be run as a GUI or from the terminal. The terminal command is HandBrakeCLI.

To select video quality, click the video tab. On the right, you will see a RF scale. The default is 20. The lower the RF number, the higher the video quality and file size. A RF scale between 0-5 should give you the best quality.

Other program you can use to rip dvds is VLC media player.

Last edited by reinfro555; 05-28-2016 at 04:04 PM.
 
Old 05-28-2016, 04:02 PM   #3
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Original Poster
Rep: Reputation: 48
I've tried Handbrake in the past, but will give it another go. So if I wanted to rip to the DVDs actual quality I should turn that setting all the way to 1?


Quote:
Originally Posted by reinfro555 View Post
Handbrake

It can rip your dvd and encode the video to mp4 or mkv. Handbrake can be run as a GUI or from the terminal. The terminal command is HandBrakeCLI.

To select video quality, click the video tab. On the right, you will see a RF scale. The default is 20. The lower the RF number, the higher the video quality and file size.

Other program you can use to rip dvds is VLC media player.
 
Old 05-28-2016, 04:06 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
Do not transcode them then. Just copy. For instance mplayer can dump the whole title into a file on your hard drive.
 
Old 05-28-2016, 04:10 PM   #5
reinfro555
LQ Newbie
 
Registered: May 2016
Posts: 7

Rep: Reputation: Disabled
@snatale1 You can go as low as zero on the RF scale.

Also, on the bottom you can choose Preset and choose the desired bitrate. The default is 2500k/s which is good. A typical dvd has a bitrate of 9600k/s. You can use this bitrate value and should give you as close as possible video quality of the dvd title.
 
Old 05-28-2016, 04:16 PM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
Quote:
Originally Posted by reinfro555 View Post
@snatale1 You can go as low as zero on the RF scale.

Also, on the bottom you can choose Preset and choose the desired bitrate. The default is 2500k/s which is good. A typical dvd has a bitrate of 9600k/s. You can use this bitrate value and should give you as close as possible video quality of the dvd title.
You cannot get the same quality when transcoding for very simple reason - the codecs are lossy. Every time you re-code you lose some details.
 
Old 05-28-2016, 04:27 PM   #7
reinfro555
LQ Newbie
 
Registered: May 2016
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
You cannot get the same quality when transcoding for very simple reason - the codecs are lossy. Every time you re-code you lose some details.
Maybe so. But when I use a RF scale of zero. The video quality is very good at the cost of a larger file size. Also, when I rip my dvds, the purpose of the video file is to be use as a compsumption medium to play on my computer and phone. It is not to replace my dvd.

@snatale1

If you want to use Emerson suggestion, you can do a raw copy of the title like this

mplayer -dumpfile outputfile.vob -dumpstream dvd://<title number>

Whichever you choose, I hope it does what you want

Last edited by reinfro555; 05-28-2016 at 04:36 PM.
 
Old 05-30-2016, 12:58 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 10,277

Rep: Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827
Quote:
Originally Posted by Emerson View Post
Do not transcode them then. Just copy. For instance mplayer can dump the whole title into a file on your hard drive.
Last time I checked this (which was a decade ago), vobcopy and transcode could also do that.

I give the transcode command-line here:

http://duganchen.ca/writings/linux/video-editing/

The idea it to rip to.vob, and not to some converted format like mp4.
 
Old 05-30-2016, 04:05 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,274

Rep: Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458
I downloaded a 30 day trial of a windows program and used it in wine. Seemed to get past some issues.
 
Old 05-30-2016, 04:25 PM   #10
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 3,765
Blog Entries: 4

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
Quote:
Need help ripping DVDs at their original quality
I'll give you some examples.

Use lsdvd to find the chapter that you want, then dump the .vob to file.
Code:
mplayer dvd://2 -dumpstream -dumpfile output.vob
mpv starts at 0, so dvd://2 in mplayer is dvd://1 for mpv
Code:
mpv dvd://1 --stream-dump=outout.vob
Unencrypted dvd with ffmpeg, same q, change containers.
Code:
ffmpeg -i file.vob -c:a copy -c:v copy output.mp4
Or dump the disk image to an .iso, mount the .iso loopback and play it like a dvd. If it has content protection you'll still have to run it through libdvdcss.
Code:
dd if=/dev/sr0 of=image.iso bs=2048
Code:
mount -o loop image.iso /mounting/point
Code:
mplayer -dvd-device /mounting/point dvd://2
Or stream the file from /mounting/point with ffserver.
https://trac.ffmpeg.org/wiki/ffserver

All of those are duplicates of original dvd.

look at the man pages for lsdvd, mplayer, mpv, ffserver, dd, mount
 
Old 05-30-2016, 04:31 PM   #11
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
And the vob file is almost a mpg file, lots of players will play it no complaints. You can use mkvtoolnix to remux them to mkv if you wish. Or you can use some other app as Avidemux to remux them to whatever container you want.
 
Old 05-30-2016, 04:38 PM   #12
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 10,277

Rep: Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827Reputation: 4827
Quote:
Originally Posted by Emerson View Post
And the vob file is almost a mpg file
Technically, it's an MPEG2 file.
 
Old 05-30-2016, 04:43 PM   #13
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
Technically, it contains MPEG-2 audio and video. VOB is similar to MPEG stream container, although not exactly. Everyone interested in more details feel free to use your favorite search engine.
 
  


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
ripping DVDs rudecam Linux - Newbie 4 04-10-2012 12:30 PM
Ripping Original DVD Mhlomuli Linux - Newbie 4 08-02-2010 02:01 PM
Ripping High Quality DVDs kromberg Linux - Software 2 06-30-2010 10:51 PM
Ripping DVDs glore2002 Slackware 13 10-09-2008 08:26 AM
CD ripping quality gogogadgetearl Linux - Newbie 4 10-16-2005 02:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:51 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
Open Source Consulting | Domain Registration