Re: [Live-devel] Zero Latency Live Streaming

2018-12-31 Thread Kevin Bailey
I am fairly confident that I am slicing my NAL units, but is there any chance you might be able to link me to an example of how to appropriately slice NAL units with x264? Figured you might know where an example might be considering you've dealt with that kind of issue on many occasions. I will lo

Re: [Live-devel] Zero Latency Live Streaming

2018-12-31 Thread Ross Finlayson
> On Jan 1, 2019, at 10:14 AM, Kevin Bailey wrote: > > Thank you again for the support. I have split up my h264 key frames into > smaller NAL slices and I am still seeing artifacts on the screen. It is also > important to note that my h264 key frame sizes were already smaller than > 100,000

Re: [Live-devel] Zero Latency Live Streaming

2018-12-31 Thread Kevin Bailey
Thank you again for the support. I have split up my h264 key frames into smaller NAL slices and I am still seeing artifacts on the screen. It is also important to note that my h264 key frame sizes were already smaller than 100,000 bytes each (closer to 20,000 bytes each). Could this be the cause o

Re: [Live-devel] Zero Latency Live Streaming

2018-12-28 Thread Ross Finlayson
> If you need to use H.264 and must achieve low latency, you’ll have to modify > your encoder to use a very conservative GOP structure. Best to use no B > frames at all. > > You can make an argument for no P frames, either. That is, I-frame-only > video, like MJPEG, but with about 20 years of

Re: [Live-devel] Zero Latency Live Streaming

2018-12-28 Thread Ross Finlayson
First, please properly trim old text (from the replied-to message) when replying to emails. Second, you don’t need to go to random third-party sites (like ‘github’) to get “testRTSPClient”. It is already part of the “LIVE555 Streaming Media” software; see http://live555.com/liveMedia/#

Re: [Live-devel] Zero Latency Live Streaming

2018-12-28 Thread Kevin Bailey
Thank you all for your feedback. So with Ross's suggestion I implemented a rtsp client based on this live555 example: https://github.com/rgaufman/live555/blob/master/testProgs/testRTSPClient.cpp. The latency may have gone down a bit actually (looks like my client may have been at fault for some amo

Re: [Live-devel] Zero Latency Live Streaming

2018-12-28 Thread Warren Young
On Dec 28, 2018, at 10:31 AM, Ross Finlayson wrote: > > 1/ In your H.264 encoder - i.e., between the creation of a raw video frame, > and the time that it is encoded into (one or more) H.264 NAL units. Ross didn’t go into any detail on this point, Kevin, so I thought I’d weigh in on it. I th

Re: [Live-devel] Zero Latency Live Streaming

2018-12-28 Thread Ross Finlayson
First, you haven’t said specifically how you are using the “LIVE555 Streaming Media” software. (Remember that the software includes a RTSP server, a RTSP client, a RTSP proxy server, and many other things.) But from the context of your message, I assume that you are using it as a RTSP server,