how to play UDP multicast stream with muted audio

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.
SubContractor
New Cone
New Cone
Posts: 3
Joined: 10 Jul 2020 07:10

how to play UDP multicast stream with muted audio

Postby SubContractor » 10 Jul 2020 07:37

Hi

I need to start multiple VLC sessions to play live UDP streams, but I need to mute most instances and have audio only from one main window. It seems streams are handled differently to local files. I can select audio track to "disable" once it plays, but I need it to be like this when the stream starts, as there will be no user intervention.

I'm using commands like this:

Code: Select all

.\vlc.exe udp://@239.255.42.32:1234
--no-audio, --directx-volume=0, --audio-track=0 don't seem to do anything.

How can I do this?

Thanks a lot

Andrew

#thweiss
Cone that earned his stripes
Cone that earned his stripes
Posts: 136
Joined: 07 Nov 2017 07:13
Location: Germany

Re: how to play UDP multicast stream with muted audio

Postby #thweiss » 10 Jul 2020 11:38

Add --no-sout-audio in your Commandline.

Have a look in the Commandline Help.
- https://wiki.videolan.org/VLC_command-line_help/

SubContractor
New Cone
New Cone
Posts: 3
Joined: 10 Jul 2020 07:10

Re: how to play UDP multicast stream with muted audio

Postby SubContractor » 10 Jul 2020 14:15

Hi

Thanks, but that fails to start and gives an error. Checking the docs, sout seems to be for streaming output.

I need to get the streams that already exist on the network and show them on screen. Any idea on how to show the video from a stream but not have the audio from the stream?

#thweiss
Cone that earned his stripes
Cone that earned his stripes
Posts: 136
Joined: 07 Nov 2017 07:13
Location: Germany

Re: how to play UDP multicast stream with muted audio

Postby #thweiss » 10 Jul 2020 22:08

Try the following Commandline Example for 64-Bit VLC-Player.

Code: Select all

@echo off start "" "C:\Program Files\VideoLAN\VLC\vlc.exe" https://593aed234297b.streamlock.net/gotvsjoerd/gotvsjoerd/playlist.m3u8 --no-audio :sout-keep

SubContractor
New Cone
New Cone
Posts: 3
Joined: 10 Jul 2020 07:10

Re: how to play UDP multicast stream with muted audio

Postby SubContractor » 11 Jul 2020 07:24

Great! Thanks a lot Thweiss!!

I dont think I would ever have figured that out.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 56 guests