Stream your webcam to a second VLC player instance through UDP with no transcoding

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
billouparis
New Cone
New Cone
Posts: 1
Joined: 21 Nov 2021 20:28

Stream your webcam to a second VLC player instance through UDP with no transcoding

Postby billouparis » 21 Nov 2021 22:39

Hi guyz,

I know this subject has been discussed several times, I have been parsing all posts, but couldn't find a satisfying answer just as yet.
Goal: Stream your webcam from a first VLC player instance to a second VLC player instance through UDP with no transcoding on a local network.
1-
run a first VLC player instance.
select your webcam in the Capture Device option, through DirectShow capture mode.
select your video ratio, 16:9 in my case, and the input Chroma format, YUYV in my case.
select UDP legacy, select your the local host IP 127.0.0.1 and default port 1234 for example.
deactivate the transcode option, because I don't want to touch the video format the webcam outputs (not sure what it is by the way, maybe mjpeg, maybe something else), also if we want to keep a local display of the webcam, we can duplicate the stream just as in the command line below.
in the end I reach a command like this one:
:sout=#duplicate{dst=udp{mux=ts,dst=127.0.0.1:1234},dst=display} :no-sout-all :sout-keep --no-sout-audio

2-
run a second VLC player instance.
select the 'open a network stream' option, and select udp://127.0.0.1:1234

ISSUE: nothing gets shown on the second VLC player instance, and I can not figure it out why.
Any hints would be welcome.

Thank you for helping out!

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 34 guests