Re: [Live-devel] using stdin for live555MediaServer

2020-08-25 Thread Simon Brown
On 25/08/2020 16:41, Ross Finlayson wrote: ... (In any case, this will be my last posting on this topic.) Ross Finlayson Understood, and many thanks for your help. Simon -- Microvideo Copley Hill Business Park Cambridge Road Babraham CB22 3GN tel: +44 1223 834119 _

Re: [Live-devel] using stdin for live555MediaServer

2020-08-25 Thread Ross Finlayson
> On Aug 25, 2020, at 9:51 PM, Simon Brown wrote: > > On 25/08/2020 10:44, Ross Finlayson wrote: >>> It would transpire that the onDemandRTSP server doesn't open stdin or pull >>> data from it until it gets an RTSP request from the outside world. But our >>> encoder is pushing data out on st

Re: [Live-devel] using stdin for live555MediaServer

2020-08-25 Thread Simon Brown
On 25/08/2020 10:51, Simon Brown wrote: On 25/08/2020 10:44, Ross Finlayson wrote: It would transpire that the onDemandRTSP server doesn't open stdin or pull data from it until it gets an RTSP request from the outside world.  But our encoder is pushing data out on stdout continuously. Why is it

Re: [Live-devel] using stdin for live555MediaServer

2020-08-25 Thread Simon Brown
On 25/08/2020 10:44, Ross Finlayson wrote: It would transpire that the onDemandRTSP server doesn't open stdin or pull data from it until it gets an RTSP request from the outside world. But our encoder is pushing data out on stdout continuously. Why is it doing that? Is it doing non-blocking

Re: [Live-devel] using stdin for live555MediaServer

2020-08-25 Thread Ross Finlayson
> It would transpire that the onDemandRTSP server doesn't open stdin or pull > data from it until it gets an RTSP request from the outside world. But our > encoder is pushing data out on stdout continuously. Why is it doing that? Is it doing non-blocking writes to ’stdout’? If so, then it pr

Re: [Live-devel] using stdin for live555MediaServer

2020-08-25 Thread Simon Brown
On 24/08/2020 16:29, Simon Brown wrote: On 24/08/2020 15:08, Ross Finlayson wrote: Is there any reason why or how test testOnDemandRTSPServer would be blocking my main program from running? No, but it sounds like there’s something wrong in the way that you’re “spawning the testOnDemandRTSPSer

Re: [Live-devel] using stdin for live555MediaServer

2020-08-24 Thread Simon Brown
On 24/08/2020 15:08, Ross Finlayson wrote: Is there any reason why or how test testOnDemandRTSPServer would be blocking my main program from running? No, but it sounds like there’s something wrong in the way that you’re “spawning the testOnDemandRTSPServer from within my main program and conn

Re: [Live-devel] using stdin for live555MediaServer

2020-08-24 Thread Ross Finlayson
> On Aug 25, 2020, at 1:33 AM, Simon Brown wrote: > >> I suggest doing the following, in order (making sure that each step works OK >> before moving to the next step): >> 1/ Capture ‘stdin’ into a “.ts” file - e.g., running >> cat < your-encoder-source > source.ts >> 2/

Re: [Live-devel] using stdin for live555MediaServer

2020-08-24 Thread Simon Brown
On 21/08/2020 17:33, Ross Finlayson wrote: The main difference between “testMPEG2TransportStreamer” and the “LIVE555 Media Server” (and “testOnDemandRTSPServer”; see below) is that the former streams RTP over UDP multicast, whereas the latter streams (by default) RTP over UDP unicast. It sou

Re: [Live-devel] using stdin for live555MediaServer

2020-08-21 Thread Ross Finlayson
> On Aug 22, 2020, at 2:11 AM, Simon Brown wrote: > > Hi, > > I'm trying to send a live transport stream over RTSP. I initially tested > with testMPEG2TransportStreamer having modified it to pull from stdin and got > results, though there was significant picture break up/dropped frames beca