Page 1 of 1

how to play UDP multicast stream with muted audio

Posted: 10 Jul 2020 07:37
by SubContractor
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

Re: how to play UDP multicast stream with muted audio

Posted: 10 Jul 2020 11:38
by #thweiss
Add --no-sout-audio in your Commandline.

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

Re: how to play UDP multicast stream with muted audio

Posted: 10 Jul 2020 14:15
by SubContractor
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?

Re: how to play UDP multicast stream with muted audio

Posted: 10 Jul 2020 22:08
by #thweiss
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

Re: how to play UDP multicast stream with muted audio

Posted: 11 Jul 2020 07:24
by SubContractor
Great! Thanks a lot Thweiss!!

I dont think I would ever have figured that out.