View Single Post
Old 14th October 2014, 20:16   #1  |  Link
fredrum
Registered User
 
Join Date: Oct 2014
Posts: 5
Noob Searching for better interactive stream settings

Hi All,
this is my very first post on this forum and I am also a noob at looking into the nitty gritty internals of h264 video stream making/decoding. So sorry in advance for my ignorance, I am trying to read up on articles and are doing a lot of searches on this forum and elsewhere.

I am looking for any advice into improving a 'realtime' streaming program I am trying to put together. I am basing it off this article here that seems widely referenced, http://x264dev.multimedia.cx/archives/249 and I started by using pieces of the code here https://github.com/oau/streamer.


My absolute priority is Latency. (Then of course, image quality)
Source materials might vary from screen sharing to films. (probably have to have different sets of settings?)

That article and also the code is now a few years old, are they still good guides to how to do this? Or are there new methods or additions I should try out?

My current code is achieving about 67ms from screengrab acquisition through encode, send to localhost client for decode and finally display.
A good start I feel but the article cites that 10ms should be possible and that was some years ago.

The image quality I am having at the moment is not great a lot of the time. Blocky, mushy text and wide compression bands going both horizontally and vertically across the screen now and then.
Sometimes it seems to get 'stuck' and not refresh the image much for a second or two with mushy blocky edges.

Doubtlessly I have to keep learning to understand better but I was wondering if anyone had any general advice?

I would be much grateful for any such.

Cheers
Fred
fredrum is offline   Reply With Quote