You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
Hello,
I updated to libyami tag 1.3.0 to bring in the LowLatency mode for AVC/H264 playback.
I am playing a mp4 file: 'Serenity_720p.mp4' AVC High profile 1280x720 and I don't see any difference when playing in low latency.
According to my logging, It takes between 1 to 8 input frames to generate an output frame.
To test low latency, I am just setting the VideoConfigBuffer enableLowLatency to true.
Do I need to do anything else?
Thanks
Angelo
The text was updated successfully, but these errors were encountered:
@xuguangxin
Thanks, adding the VIDEO_DECODE_BUFFER_FLAG_FRAME_END improves decoding latency.
Our application always feeds the codec full frames. Can we set the flag all the time or only when enableLowLatency is set ?
Hi @angelo-p ,
It depends on your use case. Without this flag, we need to search the bitstream and detect frame boundary. We only start to decode current frame when we see next frame started. This introduces one frame delay. But in some case you know exactly we have the entire frame.So you can pass the flag to the decoder.
No need be an entire frame at one time. A frame contains N units, you can send N-1 nal unit without this flags. send Nth nal with this flag.
Hello,
I updated to libyami tag 1.3.0 to bring in the LowLatency mode for AVC/H264 playback.
I am playing a mp4 file: 'Serenity_720p.mp4' AVC High profile 1280x720 and I don't see any difference when playing in low latency.
According to my logging, It takes between 1 to 8 input frames to generate an output frame.
To test low latency, I am just setting the VideoConfigBuffer enableLowLatency to true.
Do I need to do anything else?
Thanks
Angelo
The text was updated successfully, but these errors were encountered: