dvdsimple decoding with --audio-track selection

About encoding, codec settings, muxers and filter usage
bonnelt
New Cone
New Cone
Posts: 2
Joined: 30 Sep 2016 10:31

dvdsimple decoding with --audio-track selection

Postby bonnelt » 30 Sep 2016 10:49

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: dvdsimple decoding with --audio-track selection

Postby Jean-Baptiste Kempf » 07 Oct 2016 23:20

First, use mux=ps.
Then, you should use #select for this
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

bonnelt
New Cone
New Cone
Posts: 2
Joined: 30 Sep 2016 10:31

Re: dvdsimple decoding with --audio-track selection

Postby bonnelt » 10 Oct 2016 23:04

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: dvdsimple decoding with --audio-track selection

Postby Jean-Baptiste Kempf » 27 Dec 2016 11:24

Because this is not how it should look like :)
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

opitobay
New Cone
New Cone
Posts: 1
Joined: 14 Mar 2017 16:57

Re: dvdsimple decoding with --audio-track selection

Postby opitobay » 14 Mar 2017 17:05

I have the same problem, can you drop an example command to be able to select the audio-track?
Thanks in advance

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: dvdsimple decoding with --audio-track selection

Postby Jean-Baptiste Kempf » 11 Jun 2017 16:03

As I said, use the select code.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

DavidPierson
New Cone
New Cone
Posts: 4
Joined: 08 Sep 2017 02:39

Re: dvdsimple decoding with --audio-track selection

Postby DavidPierson » 08 Sep 2017 03:50

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: Bing [Bot] and 31 guests