sample_decode - eliminate latency

sample_decode - eliminate latency

Is it possible to change the decoder "configuration" to output a frame immidiately after the compressed frame was consumed?

I changed the sample_decode sample to decode frames i receive over the net, and it seems like only after ~10 frames are consumed, only then frames start being output.

The raw h264 stream (sequence of NALs basically) was created using the x264 library with flags that include zero_latency and there supposed to be no real need for the decoder to see the next frames.

I would really appreciate help on this since it puzzles me a lot!

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Best Reply


Please check out the following thread on the same topic, let us know if you have any further questions.


Thank you very much!
That's precisely the information i was looking for :)

Leave a Comment

Please sign in to add a comment. Not a member? Join today