Page 1 of 1

teacher - Can't display video on my desktop while streaming

Posted: 14 Sep 2006 06:32
by sam63
This works great to my 5th grade class on 32 laptops but I can't get duplicate to work to display the same video I'm streaming on my desktop at the same time.

c:\utl\vlc\vlc.exe :\movies\test.mp4 :sout=udp://224.0.0.2

Can anyone help?

Posted: 14 Sep 2006 07:09
by xpdamus
Are you clicking "play locally" in the "stream to" options, or are you using the wizard?

If that doesn't work, try having a fiddle with the in the options in the video output section. As far as i am aware, directx video overlay does not alow two instances of the same video to be played locally, as for playing one locally and sending the same video out to stream, i am unsure.

HTH

Posted: 14 Sep 2006 07:18
by sam63
Thanks for your reply. I have a shortcut on the desktop with that phrase in my last post in it (I left out the F: in the middle of the phrase but it is in the shortcut.)
I'm not trying to play two locally - only one local while it is being streamed to the network. Thanks for helping.

Posted: 14 Sep 2006 10:19
by Jean-Baptiste Kempf
Have you tried to launch another VLC on your computer to read the feed and not play locally on the one that streams ?

Thanks

Posted: 14 Sep 2006 23:28
by sam63
Thanks J-b, I can't believe I didn't think about that. I was so focused, for hours. on trying to do it the "Elegant" way, that I missed such a simple solution. I tried it and it works. Just for kicks, do you know what the command line should be so you can see the video displaying while streaming it to the other computers? thanks again

Posted: 16 Sep 2006 22:35
by dionoea

Code: Select all

vlc <input> --sout "#duplicate{dst=display,dst=std{<streaming stuff>}}"
Nice to hear that VLC is being used in 5th grade classes :)

Posted: 16 Sep 2006 23:26
by sam63
thanks dionoea for your help. I tried your suggestion but I don't think I'm doing it right because it does display now on my screen but it doesn't stream. Here is the line that I'm currently using to stream. Could you give me back a line with the exact words to enter: F:\vlc\vlc.exe F:\movies\math1 sout=udp://224.0.0.3 That line streams but no display while streaming on my desktop.

Yes, I can have 3 or more different movies streaming at the same time depending on the level of my students and their interest. They think it really is neat that they all don't have to watch the same movie (and fall asleep.) Thanks again for your help

Posted: 16 Sep 2006 23:30
by dionoea
This should work:

Code: Select all

F:\vlc\vlc.exe F:\movies\math1 --sout=#duplicate{dst=display,dst=std{access=udp,mux=ts,url=224.0.0.3}}

Posted: 18 Sep 2006 00:31
by sam63
thanks dionoea, At first it didn't work but then I looked at your previous line of code and saw the quotes. That did it and it works perfectly. I can't tell you how many hours I have spent in the past 4 months searching the internet for this answer and you did it in minuets. Thank you again. You seem like you know VLC. If I have a future problem in the classroom, could I ask you for a quick solution? thank you

Posted: 19 Sep 2006 23:55
by dionoea
We're here to help :)

Next time you have a question, post it in the forums (i hate getting private messages with questions :p)

Posted: 20 Sep 2006 06:56
by sam63
That's a good idea. Thanks for your help. It really worked.

Posted: 20 Sep 2006 10:20
by Jean-Baptiste Kempf
That is great. :D