Re: [Live-devel] Unable to proxy mjpeg with live555ProxyServer

2013-03-31 Thread Ross Finlayson
FYI, I've now installed a new version (2013.04.01) of the "LIVE555 Streaming Media" code that now (with a bit of hackery) supports proxying JPEG/RTP streams. (Roman, thanks again for making your test stream available.) Ross Finlayson Live Networks, Inc. http://www.live555.com/

Re: [Live-devel] Unable to proxy mjpeg with live555ProxyServer

2013-03-30 Thread Ross Finlayson
OK, I figured out the problem - and it's bad news. Our proxying code currently cannot handle the proxying of JPEG video (or, incidentally, AMR audio) streams. The basic problem with proxying MJPEG is that the output of the "RTPSource" object is a complete JPEG frame, which is not the data form

Re: [Live-devel] Unable to proxy mjpeg with live555ProxyServer

2013-03-30 Thread Ross Finlayson
MJPEG streaming is tolerable if you're in a high-bandwidth environment with very little packet loss. It's when people try to use it outside such environments that they run into trouble. And 'ONVIF' is an industry consortium (that we do not belong to) - not a standards organizations. The relev

Re: [Live-devel] Unable to proxy mjpeg with live555ProxyServer

2013-03-30 Thread Alexandr Němec
ay.   Alex     __ Od: "Ross Finlayson" Komu: "LIVE555 Streaming Media - development & use" Datum: 30.03.2013 01:25 Předmět: Re: [Live-devel] Unable to proxy mjpeg with live555ProxyServer I have an IP camera that gives MJ

Re: [Live-devel] Unable to proxy mjpeg with live555ProxyServer

2013-03-30 Thread Ross Finlayson
> No change :( > > After recompiling with OutPacketBuffer::maxSize = 20; at the start of > main(), I get this: Are your JPEG frames less than 20 bytes in size? If so, then I can't explain your problem. Sorry. Ross Finlayson Live Networks, Inc. http://www.live555.com/ __

Re: [Live-devel] Unable to proxy mjpeg with live555ProxyServer

2013-03-30 Thread Roman Gaufman
No change :( After recompiling with OutPacketBuffer::maxSize = 20; at the start of main(), I get this: $ live555ProxyServer -V rtsp://192.168.0.221/live2.sdp LIVE555 Proxy Server (LIVE555 Streaming Media library version 2013.03.23) Opening connection to 192.168.0.221, port 554... RTSP stre

Re: [Live-devel] Unable to proxy mjpeg with live555ProxyServer

2013-03-29 Thread Ross Finlayson
OK, I think what's happening here is that although your JPEG frame rate is low, your JPEG frame sizes are exceeding 6 bytes - the default buffer size that's used by the proxy's "RTPSink"s. Try adding the following line to "live555ProxyServer.cpp" - at the start of "main()": OutPacke

Re: [Live-devel] Unable to proxy mjpeg with live555ProxyServer

2013-03-29 Thread Roman Gaufman
The MJPEG stream is only 3fps, there is no packet loss, it's a 1gbit network and nothing else is streaming on the network. Opening the camera RTSP stream with VLC works fine, no errors, opening the RTSPRoxy stream with VLC, I get audio only. Opening direct from the camera with openRTSP works just

Re: [Live-devel] Unable to proxy mjpeg with live555ProxyServer

2013-03-29 Thread Ross Finlayson
> I have an IP camera that gives MJPEG over RTSP, I'm trying to proxy the > stream with: > > $ live555ProxyServer rtsp://192.168.0.221/live2.sdp > > When I use the openRTSP client like so: > > $ ./openRTSP rtsp://127.0.0.1:10110/proxyStream > > The output looks like this: http://pastie.org/716

Re: [Live-devel] Unable to proxy mjpeg with live555ProxyServer

2013-03-29 Thread Roman Gaufman
The debug output from live555ProxyServer looks like this: $ live555ProxyServer -V rtsp://192.168.0.221/live2.sdp LIVE555 Proxy Server (LIVE555 Streaming Media library version 2013.03.07) Opening connection to 192.168.0.221, port 554... RTSP stream, proxying the stream "rtsp://192.168.0.221/live

[Live-devel] Unable to proxy mjpeg with live555ProxyServer

2013-03-29 Thread Roman Gaufman
Hi there, I have an IP camera that gives MJPEG over RTSP, I'm trying to proxy the stream with: $ live555ProxyServer rtsp://192.168.0.221/live2.sdp When I use the openRTSP client like so: $ ./openRTSP rtsp://127.0.0.1:10110/proxyStream The output looks like this: http://pastie.org/7167135 - liv