Command line save stream with only 1 language

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
vlc_cli_newbie
Blank Cone
Blank Cone
Posts: 12
Joined: 06 Nov 2022 14:48

Command line save stream with only 1 language

Postby vlc_cli_newbie » 06 Nov 2022 14:56

Hello there,

I tried to save a stream from a DVD, but it always saves the file with all languages available. How can I save the stream with only 1 language, or if not possible, set the default language to a different one?

I tried the following:
"C:/Program Files/VLC/vlc.exe" dvd:///F:/#3 --sout="#transcode{alang=de}:std{access=file,mux=ps,dst=video.mpg}"

Any ideas?

Thanks.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Command line save stream with only 1 language

Postby mederi » 06 Nov 2022 17:03

--no-sout-all --audio-track=0 --audio-track-id=-1
Problem similar to subtitles https://forum.videolan.org/viewtopic.ph ... 33#p532547

vlc_cli_newbie
Blank Cone
Blank Cone
Posts: 12
Joined: 06 Nov 2022 14:48

Re: Command line save stream with only 1 language

Postby vlc_cli_newbie » 06 Nov 2022 19:56

Thanks. That works! Great.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests