Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #181573 > unrolled thread
| Started by | hobbes@poukram.net |
|---|---|
| First post | 2017-05-29 21:30 +0200 |
| Last post | 2017-05-29 23:10 +0200 |
| Articles | 9 — 5 participants |
Back to article view | Back to linux.debian.user
transcode replacement to rip audio from video dvd hobbes@poukram.net - 2017-05-29 21:30 +0200
Re: transcode replacement to rip audio from video dvd <tomas@tuxteam.de> - 2017-05-29 21:40 +0200
Re: transcode replacement to rip audio from video dvd hobbes@poukram.net - 2017-05-29 22:30 +0200
Re: transcode replacement to rip audio from video dvd The Wanderer <wanderer@fastmail.fm> - 2017-05-29 22:40 +0200
Re: transcode replacement to rip audio from video dvd <tomas@tuxteam.de> - 2017-05-29 22:50 +0200
Re: transcode replacement to rip audio from video dvd <tomas@tuxteam.de> - 2017-05-29 22:50 +0200
Re: transcode replacement to rip audio from video dvd Brian <ad44@cityscape.co.uk> - 2017-05-30 01:30 +0200
Re: transcode replacement to rip audio from video dvd <tomas@tuxteam.de> - 2017-05-30 09:30 +0200
Re: transcode replacement to rip audio from video dvd songbird <songbird@anthive.com> - 2017-05-29 23:10 +0200
| From | hobbes@poukram.net |
|---|---|
| Date | 2017-05-29 21:30 +0200 |
| Subject | transcode replacement to rip audio from video dvd |
| Message-ID | <tMywy-4rU-11@gated-at.bofh.it> |
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.
Any idea ?
Thanks,
--
Rémi
[toc] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2017-05-29 21:40 +0200 |
| Message-ID | <tMyGd-4w8-1@gated-at.bofh.it> |
| In reply to | #181573 |
-----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-----
[toc] | [prev] | [next] | [standalone]
| From | hobbes@poukram.net |
|---|---|
| Date | 2017-05-29 22:30 +0200 |
| Message-ID | <tMzsB-58C-11@gated-at.bofh.it> |
| In reply to | #181574 |
<tomas@tuxteam.de> writes: > 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. yes this would work if I had a file as input. But I have a dvd, and ffmpeg seems unable to read properly from a dvd. Properly meaning selecting individual titels, chapters, and audio streams. So basically, what I'm missing is the ripping tool, something that can rip an individual chapter from a dvd title and pipe it to ffmpeg. Thanks, -- Rémi
[toc] | [prev] | [next] | [standalone]
| From | The Wanderer <wanderer@fastmail.fm> |
|---|---|
| Date | 2017-05-29 22:40 +0200 |
| Message-ID | <tMzCh-5cQ-9@gated-at.bofh.it> |
| In reply to | #181575 |
[Multipart message — attachments visible in raw view] — view raw
On 2017-05-29 at 16:25, hobbes@poukram.net wrote: > <tomas@tuxteam.de> writes: > >> 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. > > yes this would work if I had a file as input. But I have a dvd, and > ffmpeg seems unable to read properly from a dvd. Properly meaning > selecting individual titels, chapters, and audio streams. > > So basically, what I'm missing is the ripping tool, something that > can rip an individual chapter from a dvd title and pipe it to ffmpeg. Maybe try 'mplayer -dumpstream -dumpfile FILENAME dvd://CHAPTERNUM', or the same with 'dvdnav://' if you can get that working? Or 'mencoder -oac copy -novideo -o FILENAME dvd://CHAPTERNUM', similarly, and possibly with an appropriate '-of' option if one is not selected automatically? (Per the man page, you may need '-vc null' instead of '-novideo', but I haven't seen that in practice.) I haven't done much with this sort of thing recently, but once upon a time those are the sorts of things I'd have tried. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2017-05-29 22:50 +0200 |
| Message-ID | <tMzLX-5h0-3@gated-at.bofh.it> |
| In reply to | #181576 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, May 29, 2017 at 04:36:49PM -0400, The Wanderer wrote: > On 2017-05-29 at 16:25, hobbes@poukram.net wrote: > > > <tomas@tuxteam.de> writes: > > > >> 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. > > > > yes this would work if I had a file as input. But I have a dvd, and > > ffmpeg seems unable to read properly from a dvd. Properly meaning > > selecting individual titels, chapters, and audio streams. > > > > So basically, what I'm missing is the ripping tool, something that > > can rip an individual chapter from a dvd title and pipe it to ffmpeg. > > Maybe try 'mplayer -dumpstream -dumpfile FILENAME dvd://CHAPTERNUM', or > the same with 'dvdnav://' if you can get that working? > > Or 'mencoder -oac copy -novideo -o FILENAME dvd://CHAPTERNUM', > similarly, and possibly with an appropriate '-of' option if one is not > selected automatically? (Per the man page, you may need '-vc null' > instead of '-novideo', but I haven't seen that in practice.) Yes, "mencoder" was the magic word I was looking for, mplayer's transcoder sibling. Thanks, Wanderer :) cheers - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlksh4EACgkQBcgs9XrR2kaihgCaAj0SXMAKnyHFSa4HrmYcNUmP rgoAn1suqAKYG/5wukgLMDsDyGaJE+Dk =8vke -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2017-05-29 22:50 +0200 |
| Message-ID | <tMzLX-5h0-5@gated-at.bofh.it> |
| In reply to | #181575 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, May 29, 2017 at 10:25:05PM +0200, hobbes@poukram.net wrote: > <tomas@tuxteam.de> writes: > > > 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. > > yes this would work if I had a file as input. But I have a dvd, and > ffmpeg seems unable to read properly from a dvd. Properly meaning > selecting individual titels, chapters, and audio streams. > > So basically, what I'm missing is the ripping tool, something that can > rip an individual chapter from a dvd title and pipe it to ffmpeg. No DVDs here to play with at the moment. I know mplayer can do DVDs and it can extract streams (that is, the audio channels, among others). Ffmpeg seems to need some help to concatenate the .VOB chunks, see [1] cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlkshxUACgkQBcgs9XrR2kbuAACfftzDMur+4Kq5e4XLYJsEsvPU JEMAn1iMrf4xR4qLy3jXu0PWo+zchFxc =hJ0h -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2017-05-30 01:30 +0200 |
| Message-ID | <tMCgO-7aQ-5@gated-at.bofh.it> |
| In reply to | #181574 |
On Mon 29 May 2017 at 21:38:53 +0200, tomas@tuxteam.de wrote:
> 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.
I successfully used vobcopy and then your command with output.ac3 as
<output file>.
--
Brian.
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2017-05-30 09:30 +0200 |
| Message-ID | <tMJLl-4dg-23@gated-at.bofh.it> |
| In reply to | #181580 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, May 30, 2017 at 12:24:53AM +0100, Brian wrote: > On Mon 29 May 2017 at 21:38:53 +0200, tomas@tuxteam.de wrote: [...] > > 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>. Thanks, now I'm smarter too :) cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlktHsYACgkQBcgs9XrR2kZnQwCeOnks1rddC1ASWLrjfoNOHleQ /XMAn1KprfOOix3tWKkpv2e8sX5GfA8E =eAXd -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | songbird <songbird@anthive.com> |
|---|---|
| Date | 2017-05-29 23:10 +0200 |
| Message-ID | <tMA5j-5Ez-11@gated-at.bofh.it> |
| In reply to | #181573 |
hobbes@poukram.net wrote: ... > 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. not directly related to dvd ripping but for the encoding parts: pacpl is one i've used. when downloading the file check for alternative formats which may make a lot of sense to avoid having to download unneeded bytes and then convert. $ youtube-dl -F will list them. songbird
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web