DIYbanter

DIYbanter (https://www.diybanter.com/)
-   UK diy (https://www.diybanter.com/uk-diy/)
-   -   Ripping DVD to hard drive (https://www.diybanter.com/uk-diy/678160-ripping-dvd-hard-drive.html)

Graeme[_7_] July 28th 20 06:40 PM

Ripping DVD to hard drive
 

A long time since I have copied a DVD film, and have forgotten which
program I used! Any thoughts?

Something basic to copy a commercial DVD so that I can watch it direct
from PC rather than faff about finding the DVD. No need for super high
quality - just need to end up with a 720p avi or mp4 file, usually
around 800MB. I already have Windows and VLC media players, which may
suit?

Thanks.
--
Graeme

Andy Burns[_13_] July 28th 20 06:48 PM

Ripping DVD to hard drive
 
Graeme wrote:

A long time since I have copied a DVD film, and have forgotten which
program I used!Â* Any thoughts?


makeMKV ?

Andy Burns[_13_] July 28th 20 06:59 PM

Ripping DVD to hard drive
 
Jethro_uk wrote:

Handbrake ?


Doesn't (at least didn't used to) do decryption

[email protected] July 28th 20 07:38 PM

Ripping DVD to hard drive
 
Ive been using MakeMKV, but I find the resulting files are between 4 and 5 GB.

Am I doing something wrong?

Robin July 28th 20 07:51 PM

Ripping DVD to hard drive
 
On 28/07/2020 17:40, Graeme wrote:

A long time since I have copied a DVD film, and have forgotten which
program I used!Â* Any thoughts?

Something basic to copy a commercial DVD so that I can watch it direct
from PC rather than faff about finding the DVD.Â* No need for super high
quality - just need to end up with a 720p avi or mp4 file, usually
around 800MB.Â* I already have Windows and VLC media players, which may
suit?


try this recent thread

https://groups.google.com/d/topic/uk...ZOc/discussion



--
Robin
reply-to address is (intended to be) valid

The Natural Philosopher[_2_] July 28th 20 08:09 PM

Ripping DVD to hard drive
 
On 28/07/2020 17:40, Graeme wrote:

A long time since I have copied a DVD film, and have forgotten which
program I used!Â* Any thoughts?

Something basic to copy a commercial DVD so that I can watch it direct
from PC rather than faff about finding the DVD.Â* No need for super high
quality - just need to end up with a 720p avi or mp4 file, usually
around 800MB.Â* I already have Windows and VLC media players, which may
suit?

Thanks.


VLC will do it but Handbrake is better


--
A lie can travel halfway around the world while the truth is putting on
its shoes.

The Natural Philosopher[_2_] July 28th 20 08:10 PM

Ripping DVD to hard drive
 
On 28/07/2020 17:59, Andy Burns wrote:
Jethro_uk wrote:

Handbrake ?


Doesn't (at least didn't used to) do decryption

Does on linux. depends what libraries are installed


--
A lie can travel halfway around the world while the truth is putting on
its shoes.

jkn July 28th 20 08:27 PM

Ripping DVD to hard drive
 
On Tuesday, July 28, 2020 at 6:38:45 PM UTC+1, wrote:
Ive been using MakeMKV, but I find the resulting files are between 4 and 5 GB.

Am I doing something wrong?


Probably not. MakeMKV 'only' does the decryption and extraction'; you are
getting the full content of the DVD/Blu-ray (including, potentially, all audio
tracks, director's commentary, etc, etc).

You might then choose to transcode to somethings smaller with a separate program

I tend to use (on Linux) MakeMKV for 'difficult' content extraction, and then
Handbrake for transcoding.

PeterC July 28th 20 11:39 PM

Ripping DVD to hard drive
 
On Tue, 28 Jul 2020 17:40:44 +0100, Graeme wrote:

A long time since I have copied a DVD film, and have forgotten which
program I used! Any thoughts?

Something basic to copy a commercial DVD so that I can watch it direct
from PC rather than faff about finding the DVD. No need for super high
quality - just need to end up with a 720p avi or mp4 file, usually
around 800MB. I already have Windows and VLC media players, which may
suit?

Thanks.


Done a couple with FormatFactory - it's on Softpedia.
--
Peter.
The gods will stay away
whilst religions hold sway

Paul[_46_] July 29th 20 01:52 AM

Ripping DVD to hard drive
 
wrote:
Ive been using MakeMKV, but I find the resulting files are between 4 and 5 GB.

Am I doing something wrong?


That's a single layer DVD.

A single layer DVD holds about 4.7GB.

Chapters, by convention, are a gigabyte a piece.

Two hour Hollywood content uses dual layer DVD
and holds 8.5GB or so. The disc has 9.4GB capacity,
but it need not be filled right out to the end.

On the dual layer DVD, the "layer split" has to be
placed so the two sides of the DVD are "relatively
close in size". If you see odd sizes for the
chapters, part of that is engineering the layer split.

When people rip Hollywood content (8.5GB), they re-code
and either change CODEC or change bitrate in the encoder
to further compress the movie. This then, allows a new
DVD to be prepared using 4.7GB single-sided media.

*******

At a bare minimum, the ripper uses DeCSS to remove the Content
Scrambling System. Hollywood media has encryption, and DeCSS
can remove it. Medias are protected with all sorts of other
stuff. Maybe Casino Royale has a kind of Windows malware on it.

But for junk, like a DVD from the delete bin, just DeCSS is
sufficient for those. I'm not a movie collector, and my
"test disc" is Animal House, and that rips fine using
just DeCSS in the selected tool.

This will give some names and things to research. Makemkv
is mentioned in the first one. I may have tried that at
some point, and it ripped the two "features" on my disc OK.

https://en.wikipedia.org/wiki/Blu-ray_ripper

https://en.wikipedia.org/wiki/Compar...ipper_software

My video card has a nice encoder... if you don't care about
quality, it goes quick as snot (11x real time). When someone
asked the other day, "how to compress 1TB of noisy non-descript
video", that's what I suggested. Video purists don't really
like hardware encoded content all that much. They like CPU
encoding (2-pass) better.

Paul

Paul[_46_] July 29th 20 01:56 AM

Ripping DVD to hard drive
 
The Natural Philosopher wrote:
On 28/07/2020 17:40, Graeme wrote:

A long time since I have copied a DVD film, and have forgotten which
program I used! Any thoughts?

Something basic to copy a commercial DVD so that I can watch it direct
from PC rather than faff about finding the DVD. No need for super
high quality - just need to end up with a 720p avi or mp4 file,
usually around 800MB. I already have Windows and VLC media players,
which may suit?

Thanks.


VLC will do it but Handbrake is better


FFMPEG is better.

The GUI tools just get in the way.

If something has quirks, you need overrides to fix it.

I got NVENC working on FFMPEG the other day, on Ubuntu 2004,
using the source in the tree and just recompiling with
different options to ./configure. I've been trying to
fix that for eons, and now it works. And NVENC under Linux
is faster than NVENC under Windows, which was the reason
I wanted to test that stuff. It still doesn't go as fast
as the developer at NVidia said it would.

Paul

Graeme[_7_] August 2nd 20 10:17 AM

Ripping DVD to hard drive
 
In message , The Natural Philosopher
writes
On 28/07/2020 17:40, Graeme wrote:
A long time since I have copied a DVD film, and have forgotten which
program I used!* Any thoughts?


VLC will do it but Handbrake is better


Thanks for all the suggestions. Handbrake is apparently 64 bit only,
and I installed Format Factory which refused to run.

Been playing with VLC which works, although I had forgotten how long the
whole process takes.
--
Graeme

The Natural Philosopher[_2_] August 2nd 20 01:53 PM

Ripping DVD to hard drive
 
On 02/08/2020 09:17, Graeme wrote:
In message , The Natural Philosopher
writes
On 28/07/2020 17:40, Graeme wrote:
Â*A long time since I have copied a DVD film, and have forgotten which
program I used!Â* Any thoughts?


VLC will do it but Handbrake is better


Thanks for all the suggestions.Â* Handbrake is apparently 64 bit only,
and I installed Format Factory which refused to run.


handbrake 1.3.3 is 32 bit available.

https://handbrake.en.lo4d.com/windows


Been playing with VLC which works, although I had forgotten how long the
whole process takes.



--
Gun Control: The law that ensures that only criminals have guns.

Graeme[_7_] August 5th 20 12:13 PM

Ripping DVD to hard drive
 
In message , The Natural Philosopher
writes
On 02/08/2020 09:17, Graeme wrote:
Thanks for all the suggestions.* Handbrake is apparently 64 bit only


handbrake 1.3.3 is 32 bit available.

https://handbrake.en.lo4d.com/windows


Thanks for that. I'm going round in circles, though. The link is
described as x32-x64 yet whenever I download and try to install, an
error message appears, telling me Handbrake is 64 bit only :-(
--
Graeme

The Natural Philosopher[_2_] August 5th 20 12:49 PM

Ripping DVD to hard drive
 
On 05/08/2020 11:13, Graeme wrote:
In message , The Natural Philosopher
writes
On 02/08/2020 09:17, Graeme wrote:
Â*Thanks for all the suggestions.Â* Handbrake is apparently 64 bit only


handbrake 1.3.3 is 32 bit available.

https://handbrake.en.lo4d.com/windows


Thanks for that.Â* I'm going round in circles, though.Â* The link is
described as x32-x64 yet whenever I download and try to install, an
error message appears, telling me Handbrake is 64 bit only :-(


I give up! install Linux and wipe 32 bit windows from the universe!

Or send it to me and I'll rip it for ya

--
"If you dont read the news paper, you are un-informed. If you read the
news paper, you are mis-informed."

Mark Twain

Paul[_46_] August 5th 20 07:34 PM

Ripping DVD to hard drive
 
Graeme wrote:
In message , The Natural Philosopher
writes
On 02/08/2020 09:17, Graeme wrote:
Thanks for all the suggestions. Handbrake is apparently 64 bit only


handbrake 1.3.3 is 32 bit available.

https://handbrake.en.lo4d.com/windows


Thanks for that. I'm going round in circles, though. The link is
described as x32-x64 yet whenever I download and try to install, an
error message appears, telling me Handbrake is 64 bit only :-(


x86 32 bit

x64 \___ 64 bit
x86_64 /

x86/x64 Both (and not standardized either, as a descriptor)
Some softwares, when they mean both, just remove those numbers entirely.

*******

https://en.wikipedia.org/wiki/HandBrake

[On the right, is a synopsis]

Platform x64 === berp!!!

That would be "not encouraging" in my book.
That must be why there's no Handbrake on this WinXP setup.
WinXP does have a x64 version, it stopped at SP2, and it sucks (drivers).

*******

I checked my collection, and the Zeranoe one I'm using
is from 2014.

This site on the other hand, did some builds that work in WinXP.

The particular one I'm using here, was from a test back in 2019
and what seemed to work at the time. It's a nightly from 2018.

https://msfn.org/board/topic/177308-...ws-xp-in-2017/

https://rwijnsma.home.xs4all.nl/files/ffmpeg/?C=M;O=D

ffmpeg-N-92765-g2744d6b-win32-static_legacy.7z 2018-12-22 03:00 29M

Open with 7ZIP to unpack.

ffplay.exe 64,577,536 bytes SHA1= A1C381A41142E2FBF82553A5C0794E2E242D4BC9

Clean

https://www.virustotal.com/#/file/12...230a/detection

ffplay some.mp4

*******

The ffmpeg.exe executable can be renamed. The program detects
its name at runtime. If you call the file ffplay.exe then it
adopts the ffplay.exe personality. That's why the three files you
typically find in the downloaded ZIP are the same size. The compression
tool doesn't care, and the compression tool can see they're the same, such
that extra storage space is not needed. Only space on disk is used
when you unpack.

So when I virustotal scanned as in that example, I've actually
scanned ffmpeg.exe as well, because it's the same exact executable.

*******

What I didn't manage to figure out, is what format I should be
aiming for, to meet your 800MB target. I presume H.264 or H.265,
but I don't know if there's something better. For talking head
videos, it's possible VP9 or Ogg/Theora might be better. For
action movies, a Hollywood codec might be better.

These are some examples of FFMPEG in action.

The first, uses the profile concept.

ffmpeg -i input.avi -target pal-dvd output.mpg

Or, you can go "nerd" and spell it out completely.

http://todayiwantedtoprogram.tumblr....vd-actually-do

ffmpeg -i input.avi -c:v mpeg2video -f dvd -s 720x576 -r 25
-pix_fmt yuv420p -g 15 -b:v 4100k -maxrate 8000000 -minrate 0
-bufsize 1835008 -packetsize 2048 -pass 1 -an -y NUL

ffmpeg -i input.avi -c:v mpeg2video -c:a ac3 -f dvd -s 720x576 -r 25
-pix_fmt yuv420p -g 15 -b:v 4100k -maxrate 8000000 -minrate 0
-bufsize 1835008 -packetsize 2048
-muxrate 10080000 -b:a 448000 -ar 48000 -pass 2 output.mpg

That's high-quality DVD preparation, using two passes. The first
pass computes the bandwidth required. The second pass reads the info file
passed by the first pass, and using the bandwidth data, it can plan
the Q (quality) setting as a function of time. This improves the
overall quality, so that explosions aren't full of macroblocks
or the like.

*******

These are examples of using the video SIP in a newer video card.
This is hardware accelerated transcoding.

../ffmpeg -hwaccel nvdec -i "fedora.mkv" -y -acodec aac -vcodec h264_nvenc -crf 23 "output2.mp4"

# https://developer.nvidia.com/blog/nv...scoding-guide/
# preset slow is for quality

../ffmpeg -hwaccel cuvid -c:v h264_cuvid -i KEY01.mp4 -c:v nvenc_hevc -preset slow -c:a copy output.mp4

in GPU memory GPU decode GPU encode

The commands are from different generations. "acodec" is the old notation.
The "-c:a" is newer.

I can rewrite the last command. I want to stop using the video card. The first
command stores the video in GPU memory and uses the video card decoder to
decompress the KEY01.mp4 file. The second -c:v was for the encoding phase.
The command would be one pass. It's using *some* default profile, but I don't
know which one. So I don't know whether it's using 2 megabits/sec for the
target bitrate or not.

../ffmpeg -hwaccel cuvid -c:v h264_cuvid -i KEY01.mp4 -c:v nvenc_hevc -preset slow -c:a copy output.mp4
../ffmpeg -i KEY01.mp4 -c:v hevc -preset slow -c:a copy output.mp4

Using the commands though, and rework for Windows, I can dump just about
anything in there. I can read in an AVI container if I want, and
change just the video codec to HEVC before output into an MP4
container. The containers do not accept arbitrary CODEC choices,
and sometimes the tool will complain if you're doing something naughty.

ffmpeg.exe -i some.avi -c:v hevc -preset fast -c:a copy output.mp4

ffmpeg -h # dumps important command summaries
ffmpeg -codecs # shows names that should be used for codecs in commands.
# Like the hevc one I might have got wrong.
# The scrollback on WinXP isn't deep enough, so...

ffmpeg -codecs 2NUL | findstr hevc # dump just the hevc line in the info...

Summary: When GUI tools jerk you around, there is always FFMPEG.

It may take a lot of time to learn how to use, but it's
better than having Handbrake crash on you while doing a
default MP4. I don't mind software that crashes. I do
mind when there is no crash log that I can use to figure
out my mistake setting the controls.

Try out rwijnsma's build and see what you think of it.
I tested my Zeranoe collection, and so far only the 2014
one I've got, was in good shape on WinXP. The rest were missing
DLLs like bcrypt.dll on WinXP (it doesn't have one of those).

Paul


All times are GMT +1. The time now is 01:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2014 DIYbanter