PDA

View Full Version : How do I rip a single song to MPG or AVI in a DVD without chapters?


Salva Veritate
2007-06-29, 07:05 PM
I have a DVD show with chapters every 5 minutes, and I want to post one song on Youtube. One song starts at 15:27 and ends at 22:14. I'd rip two chapters and edit it on VirtualDub but that always produces .avi files that are like 4 GB. Is there a program that can rip by time instead of by chapter?

Salva Veritate
2007-06-30, 03:56 PM
Bump.

pixiestix69
2007-06-30, 04:12 PM
dvd decryptor in ifo mode

spidergawd
2015-03-26, 07:11 PM
With ffmpeg you can use the "-ss" option to tell it which second to start with, and the "-t" option to tell it how much time to run. For example, if the entire song is on a single .VOB file:

ffmpeg -ss 927 -i VTS_01_1.VOB -t 407 -acodec copy -vcodec copy -f vob songtitle.mpg

or, since mpeg formats concatenate nicely, for something that spans more that one .VOB:

cat VTS_01_1.VOB VTS_01_2.VOB | ffmpeg -ss 927 -i pipe: -t 407 -acodec copy -vcodec copy -f vob songtitle.mpg

and, of course, if you want to encode it to something else at the same time, for example h264, you could change the audio codec to libfaac, the video codec to h264, and the format to mp4 or matroska.