Page 1 of 1

dvdsimple decoding with --audio-track selection

Posted: 30 Sep 2016 10:49
by bonnelt
vlc command line does everything I need ... but not at the same time.
I can select the audio track when viewing the vidio on the screen:

Code: Select all

vlc.exe --audio-track=0 dvdsimple:///D:#1 --start-time=38 --stop-time=90 vlc://quit
I can decode the dvd to a file

Code: Select all

vlc.exe --sout "#standard{access=file,mux=ts,dst=j6.mpg}" dvdsimple:///D:#1 --start-time=38 --stop-time=90 vlc://quit
BUT ... I cant find the correct command line syntax to select the correct audio language track when I create a decoded file. I've tried inserting --audio-track=0 in the above command line in all conceivable places, and cant find an --sout-standard-audio-track type option. If anyone can point me at a section of the manual that explains the rules for combining options on the command line I would be very greatful.

I must admit that I've been looking for a tool to rip DVDs from the command line for about 2 years on and off, and I had never realised that my old friend VLC has all the tools I ever needed.
I'm looking forward to watching my favorite movies on my phone on long journeys in the near future.

Re: dvdsimple decoding with --audio-track selection

Posted: 07 Oct 2016 23:20
by Jean-Baptiste Kempf
First, use mux=ps.
Then, you should use #select for this

Re: dvdsimple decoding with --audio-track selection

Posted: 10 Oct 2016 23:04
by bonnelt
I suspect there are some undocumented bugs with parsing the command line in vlc, which is a huge shame. Its an absoultely brilliant video player and transcoder, but without being simple (and consistent) to program, it demonstrates a weakness. Maybe I can offer some assistance in this area some time soon.

As you suggested I tried the following, but with no change
vlc.exe --sout "#standard{access=file,mux=ts,dst=j6.mpg},select="audio-track=0"" dvdsimple:///D:#1 --start-time=38 --stop-time=90 vlc://quit

Re: dvdsimple decoding with --audio-track selection

Posted: 27 Dec 2016 11:24
by Jean-Baptiste Kempf
Because this is not how it should look like :)

Re: dvdsimple decoding with --audio-track selection

Posted: 14 Mar 2017 17:05
by opitobay
I have the same problem, can you drop an example command to be able to select the audio-track?
Thanks in advance

Re: dvdsimple decoding with --audio-track selection

Posted: 11 Jun 2017 16:03
by Jean-Baptiste Kempf
As I said, use the select code.

Re: dvdsimple decoding with --audio-track selection

Posted: 08 Sep 2017 03:50
by DavidPierson
Might be some help here if you still have trouble selecting the audio track ... https://forum.videolan.org/viewtopic.php?t=139862
Seems to need --no-sout-all in addition to the audio-track=0