- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, all!
Just implemented sample app which captures video from camera, encodes it using IPP H.264 encoder (128 Kbps), then decodes and plays back. I noticed that there is latency in 5 frames, which as far as I understood are buffered somewhere in encoder processing pipeline. I not very familiar with H.264 standard, so may be mistaken about this. I'm using "high profile". Tested with "baseline" and "main" profiles (had to turn off transform8x8 flag), but situation is just the same.
Is there any way to decrease the latency? Although 5 frames may seem not very high - for VoIP application latency is a serious issue.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, all!
Just implemented sample app which captures video from camera, encodes it using IPP H.264 encoder (128 Kbps), then decodes and plays back. I noticed that there is latency in 5 frames, which as far as I understood are buffered somewhere in encoder processing pipeline. I not very familiar with H.264 standard, so may be mistaken about this. I'm using "high profile". Tested with "baseline" and "main" profiles (had to turn off transform8x8 flag), but situation is just the same.
Is there any way to decrease the latency? Although 5 frames may seem not very high - for VoIP application latency is a serious issue.
Are you sure that the latency is not in the decoder. There are couple thread in this forum that describe latency issue.
Emmanuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The H264 decoder waits for additional frames for start decoding in order to improve the threading performance.
Check method TaskBroker::IsEnoughForStartDecoding().
you can change the following code:
if (au_count >= m_iConsumerNumber || (force && au_count)) decoding
return true;

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page