[Live-devel] stream webcam using ffmpeg and live555

Ross Finlayson finlayson at live555.com
Mon Jun 23 13:46:38 PDT 2014


> I want to stream my webcam from a windows 7 (64-bit) machine behind home LAN using ffmpeg as the encoder to a live555 server running on a Debian 64-bit linux machine in a data center over the WAN. I want to send a H.264 RTP/UDP stream from ffmpeg and the "testOnDemandRTSPServer" should send out RTSP streams to clients that connect to it.
> I am using the following ffmpeg command which sends UDP data to port 1234, IP address AA.BB.CC.DD
> .\ffmpeg.exe -f dshow -i video="Webcam C170":audio="Microphone (3- Webcam C170)" -an 
>  -vcodec libx264 -f mpegts udp://AA.BB.CC.DD:1234
> On the linux server I am running the testOnDemandRTSPServer on port 5555 which expects raw UDP data from from AA:BB:CC:DD:1234. I try to open the rtsp stream in VLC using rtsp://AA.BB.CC.DD:5555/mpeg2TransportStreamFromUDPSourceTest
> But I get nothing in VLC.
Are you sure that UDP packets from your "ffmpeg" computer are reaching your "testOnDemandRTSPServer" computer?  Perhaps there's a firewall somewhere inbetween that's blocking UDP packets?  That's the first thing that you should check.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140623/3b25db30/attachment.html>


More information about the live-devel mailing list