[Live-devel] stream webcam using ffmpeg and live555
--- Begin Message --- I am new to live555. 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 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:/mpeg2TransportStreamFromUDPSourceTest But I get nothing in VLC. What am I doing wrong? How can I fix it?--- End Message --- ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel
[Live-devel] proxy server timing issues
--- Begin Message --- I am streaming a video only back end live rtsp stream (H264 + RTP) to the proxy server. When I kill all clients that are connected to my live555 proxy server and restart them I notice that the clients (VLC for eg.) start at a video position where the displayed video is 1 minute or older. The longer I wait the more severe this problem gets. When I leave one client always connected and kill other clients and restart them there are no issues. How can I fix this? I mean when I restart all my clients any number of times I want the video displayed to be not more than 2-3 seconds old. Regards John--- End Message --- ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel
Re: [Live-devel] stream webcam using ffmpeg and live555
--- Begin Message --- 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 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 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:/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@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel--- End Message --- ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel
Re: [Live-devel] stream webcam using ffmpeg and live555
--- Begin Message --- How can I fix it? I am new here. Any suggestions? Much appreciate your pointing me in the right direction. On Thursday, 26 June 2014, 4:44, Ross Finlayson wrote: 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. Why didn't you mention this before? That's your problem: The UDP stream that you're generating (using "ffmpeg") does not contain proper MPEG Transport Stream data. That's what you need to fix. Ross Finlayson Live Networks, Inc. http://www.live555.com/ --- End Message --- ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel
[Live-devel] testOnDemandRTSPServer timing issues
--- Begin Message --- I am sending a RTP + MPEG-TS live stream from a windows machine over the WAN to a server machine which is running "testMPEG2TransportReceiver" and piping its output to "testOnDemandRTSPServer". I then connect a client to receive the RTSP stream. I noticed that the "testOnDeamandRTSPServer" buffers data if no client is connected to it. So if I connect a client after a minute of starting the stream I see the stream from a minute back. I want to turn off this buffering in the "testOnDemandRTSPServer" when no client is connected to it. I want to see live stream in the client from the instant it connects to the server. How can I do this? Regards John--- End Message --- ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel