Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 14th October 2014, 20:16   #1  |  Link
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.

fredrum is offline   Reply With Quote

latency, realtime, streaming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 00:28.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.