[Live-devel] stream webcam using ffmpeg and live555
John Q
john_q61 at yahoo.com
Tue Jun 24 03:18:49 PDT 2014
Hi Ross,
That's what I thought too. The "testOnDemandRTSPServer" prints "missing sync byte" on the console when I try to grab frames from it using VLC.
On Tuesday, 24 June 2014, 2:29, Ross Finlayson <finlayson at live555.com> wrote:
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/
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140624/d947b797/attachment-0001.html>
More information about the live-devel
mailing list