On Mon 29 May 2017 at 21:38:53 +0200, to...@tuxteam.de wrote:

> On Mon, May 29, 2017 at 09:25:53PM +0200, hob...@poukram.net wrote:
> > Hello,
> > 
> > in the past I used a nice little script to rip the audio part of video
> > dvds (mostly concerts) to mp3 files.
> > 
> > That script used the tool transcode, here is the main line:
> > 
> > for i in {1..$NUM}; do transcode -x null,dvd -y null,tcaud -i $DEVICE -T 
> > $TITLE,$i,$ANGLE -a $AUDIO --lame_preset standard -E 44100,16,2 -m 
> > $NOM$i.mp3; done
> > 
> > So it ripped the audio part of each chapter of the main title, and
> > converted it to mp3 files.
> > 
> > But transcode has been removed from debian because «replacements exist»:
> > 
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817199
> > 
> > I have searched a lot, but I can't find a tool to just rip the audio
> > part of dvd chapters. ffmpeg is more than capable to do the encoding
> > part, but it lacks dvd ripping capabilities. HandbrakeCli could be a
> > contender, but it absolutely wants to rip and encode video, which in my
> > case is a waste of ressources.
> 
> You can try (caution: untested!) something like
> 
>   ffmpeg -i <input file> -vn -acodec copy <output file>
> 
> This would leave the audio format unchanged. By playing with the
> "-acodec copy" you can change the output audio format.
> 
> I'm sure other programs, like mplayer are also capable to do the
> trick.

I successfully used vobcopy and then your command with output.ac3 as
<output file>.

--
Brian.

Reply via email to