On Mon, 21 Oct 2019 19:39:32 +0200
Dave Widgery <dave.widg...@gmail.com> wrote:

> Hi again,
> 
> Sorry to ask more questions, I have been doing some experimenting and
> MakeMKV works great to extract from the DVD and create a video file, I
> then can easily use ffmpeg to reduce resolution and create an MP4  by
> doing a.
> 
> ffmpeg -i inputfile.mkv -vf scale=1280:720 outputfile.mp4
> 

DVD resolution is less than 1280x720, something by 480 vertical IIRC.
That command I think is increasing the resolution and transcoding to
h264, ffmpeg's default. Maybe changing the audio to AAC, too.

Yeah, looks like it does here from a test with a Simpson's episode I
ripped from DVD.

...
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfaac))
....

My input mkv is 762meg, my i5 laptop is slow (20fps!) so waiting....
bored, halfway through and the mp4 is 201meg, meaning the final thing
will come in at about 400meg.

> This works great except by default ffmpeg will pick the sound stream
> with the highest number of channels, but I just want the English
> stereo stream. I know how to specify which stream that I want, but I
> first need to find out which stream it is.

When I ripped my DVDs I picked the streams to copy in MakeMKV's UI. IIRC
I used vlc beforehand to see what streams the DVD contained, and then it
wasn't too difficult in MakeMKV to pick what I was after. Personally I
went for the 5.1 if available, even though I only have stereo. In the
future it might be useful?

Rather than fight ffmpeg on Windows, what about a re-rip with MakeMKV?
Might be quicker overall.

> 
> I know that I can use ffmpeg to list the parameters of the input file
> and search for a line with both (eng) and stereo then extract which
> stream number then pass on this information to ffmpeg.
> 
> Unfortunately as I am on a windows machine this is not the simplest
> thing to do on the command line, although I do know of various tools
> that would make it easier. or even install cygwin and dig up my unix
> shell script knowledge from 15 years ago.
> 
> But before I try to re-invent the wheel I thought that I would ask
> first if this can be done directly using ffmpeg command line
> parameters, I have been wading through the help, but as yet not found
> a way of doing this.

IIRC asking the Google for exactly what you want will turn up somewhere
like stack exchange, ubuntu forums or the get_iplayer mailing list where
people are talking about basically what you want. Two thirds of the
results might be helpful :)

This could be a pretext to get on top of ffmpeg somewhat? I have
dabbled with it with a RasPi camera and webcams. I have made a
timelapse video from loads of static images. Each time I turn to ffmpeg
it gets easier, but I am still prone to look elsewhere. Its learning
curve is so steep, and doesn't seem to ever relent.

Nick

> 
> Thanks in advance for any suggestions.
> Dave
> 
> On Mon, 14 Oct 2019 at 10:23, Dave Widgery <dave.widg...@gmail.com>
> wrote:
> >
> > Thanks to all for your helpful responses, going the raspberry Pi
> > route does sound interesting but I am currently working solid on
> > renovating the house so I really do not have the time at the moment
> > to start investigating time new hardware, maybe a project for the
> > future.
> >
> > Also although 8Tb disks are cheap after losing a 2Tb disk recently I
> > have started doubling up on disk space to keep backups and the
> > smaller stuff is the easier and less time consuming it is to make
> > backups.
> >
> > But again thanks for all your help.
> > Dave
> >
> > On Mon, 14 Oct 2019 at 06:43, artisticforge Niemand
> > <artisticfo...@gmail.com> wrote:  
> > >
> > > hello;
> > >
> > > the short answer
> > > Linux, dvdbackup, handbrake commandline interface.
> > > I have been doing this for years using those.
> > > Get a Raspberry Pi 4 with 4GB of RAM  everything you need is
> > > available nearly all open source.
> > > I have nearly all the entire DVD collection ripped to hard drives.
> > > I have numerous shell scripts and perl scripts that make it easy
> > > to rip a DVD to hard drive. E-mail me privately is you want to
> > > chat more.
> > >
> > >
> > > On Sun, Oct 13, 2019 at 10:26 AM Dave Widgery
> > > <dave.widg...@gmail.com> wrote:  
> > > >
> > > > Hi
> > > > I would like to copy some of my DVD collection onto hard disk
> > > > to make them easier to access and I am getting very frustrated
> > > > with downloading programs that claim to be free versions only
> > > > to find out that in fact that it is a trial version, or in the
> > > > case of a comprehensive program like Handbrake that is free but
> > > > takes for ever to run on my pc.
> > > > ffmpeg seams to be a very efficient program for converting
> > > > video, is it possible to use it to extract video directly from
> > > > the DVD video files, if so can anyone point me in the direction
> > > > of a tutorial that explains how to do it.
> > > >
> > > > I realise that it is unlikely to work directly from the DVD so
> > > > I am using DVDshrink which allows me to create a hard disk
> > > > decrypted version of the DVD ahead of any other video
> > > > processing.
> > > >
> > > > thanks in advance
> > > > Dave
> > > >
> > > > _______________________________________________
> > > > get_iplayer mailing list
> > > > get_iplayer@lists.infradead.org
> > > > http://lists.infradead.org/mailman/listinfo/get_iplayer  
> > >
> > >
> > >
> > > --
> > > terry l. ridder ><>  
> 
> _______________________________________________
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer


_______________________________________________
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to