Skip to content

buffer dropped when decode h264 25fps video #6864

@haohaozaici

Description

@haohaozaici

[REQUIRED] Searched documentation and issues

According to #2159, I checked the ffmpeg, VP9 and av1 extension related code.

[REQUIRED] Question

I am trying to implement a ffmpeg video renderer extension. When decoding h264 25fps video, I found that a large number of buffers are dropped, but it does not happen when decoding h264 60fps video.

In the decode method, one frame is indeed decoded every 40ms, but I don't know why a lot of buffers are dropped and the video does not look smooth.

I tried to modify the code for dropping the buffer in SimpleDecoderVideoRenderer. Even if the buffer is not dropped, the video(25fps) still does not look smooth. What is causing the buffer to be dropped?

thank in advance!

A full bug report captured from the device

bugreport-gemini-QQ1B.191205.011-2020-01-13-01-02-30.zip

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions