[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: transcode replacement to rip audio from video dvd



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, May 29, 2017 at 09:25:53PM +0200, hobbes@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.

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlkseM0ACgkQBcgs9XrR2kaKhQCggCT3Xz7sHc/nRsVuT/CfnHu2
cIcAn3gImZeQFrR4Z/SGrMySELFYA8mJ
=cZHc
-----END PGP SIGNATURE-----


Reply to: