Bit more detail in case anyone can spot the gremlin and how to deal with
it.
Using Linux. If I use VLC's GUI the key specific settings are that the
source is:
dvdsimple:///dev/sr0#2 (The "#2" tells VLC the source's 'Title' number.
As on many DVDs T1 is the menu, so the '2' means the first actual item of
video, T2.)
The output spec is of the form you'd expect, e.g. something like:
/home/jim/Videos/New/d4t2.mp4
Ths means it will get transcoded into mp4 by VLC as well, and plonked into
the "d4t2.mp4" file.
Doing this works nicely, but I have to go though the fiddling about for
each title on a disc and set these strings as appropriate each time. So
need to come back every 10 - 20 mins to set the next title going or change
the disc in drive /sr0.
Using cvlc (the command for command-line VLC use) the closest I've got to
to this working is
cvlc dvdsimple:///dev/sr0#2 --sout "#standard{access = file, mux = ts, dst
= /home/jim/Videos/New/d4t2.mpg}"
(That is all one line.) It does rip to the d4t2.mpg file. And VLC will
then *start* playing the result. But-
A) File is as big as the DVD content. I'd expect it to be large as there
is no transcoding. Whereas the GUI route transcodes using h264 for the
video, so gives a resulting mp4 which uses less storage space.
B) File seems this big because it actually seems to hold the *entire*
content of the *DVD* - i.e. in this case *five* titles, not just title 2 !
The first title on the DVD is actually the menu, so the result is about
four times the size it would be if only T2 had been ripped to the file.
C) Although the file starts playing from its beginning, its declared
duration is that of one title, not four or five. And any attempt to skip
forwards may or may not work, VLC gets very confused. Implying the
timestamping in the file is obviously garbled.
D) My usual trick with inappropriately timestamped files is to run them
through an ffmpeg 'acopy/vcopy' pass. This generally cleans them fine. But
in this case trying this gives an output that is simply unusuable. So
makes things worse. The shown duration in time is corrected when I try to
play the result, but access gets muddled. i.e. file doesn't play nicely and
any attempt to jump forwards or back causes probems.
Can anyone spot what I'm doing wrong with the cvlc call and how to correct
it so it decently rips a chosen title into an OK file - ideally an mp4 as
the GUI gives me? I've tried some variations on the command line details,
but no cigars thus far. If I can get cvlc to deliver a good .mpg but not
transcode I can do that later. But it would be better to get what the VLC
GUI lets me output. An mp4 with h264 transcoded video, much smaller than
the source data.
Otherwise I'd need to keep setting up a GUI for each title in turn. Unlike
using Handbrake where I can set up a list and come back later with
everything done OK.