Can't get VLC to play a UDP stream

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
danny2009
New Cone
New Cone
Posts: 1
Joined: 09 Dec 2009 01:53

Can't get VLC to play a UDP stream

Postby danny2009 » 09 Dec 2009 02:06

Ok, I'm very new to the whole encoding/decoding process, so take it easy on me.

I've got a situation where I have a camera streaming H264 video over a UDP port. I can get the video to play on my computer with the following ffplay command:
ffplay.exe -f h264 -port 1234

However, using VLC I cannot get it to play, here's the command line I'm using
vlc.exe udp://@192.1.1.1:1234
where 192.1.1.1:1234 is my IP address and where the stream is being sent by the camera hardware)

Using Wireshark I can verify that the video is actually streaming to my machine.

Can someone please direct me on how to start debugging this issue? I've looked through the command line arguments for VLC and didn't see anything jump out to me that I need to be setting. I really want to get this working through VLC if possible and would also really like to understand what's going on.

Thanks

3breadt
Big Cone-huna
Big Cone-huna
Posts: 827
Joined: 19 Mar 2006 11:37
Operating System: Win7 Pro / OS X 10.7
Location: Paderborn, Germany
Contact:

Re: Can't get VLC to play a UDP stream

Postby 3breadt » 14 Dec 2009 10:24

I assume the camera is streaming on your PC, as you do not give ffplay any IP address to use.

So try upd://localhost:1234 instead of your IP in the network.

Using your network IP might not work, as your firewall might not allow the camera stream into the network.
-- 3breadt (aka altglass)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 41 guests