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. |
29th December 2016, 15:25 | #1 | Link |
Registered User
Join Date: Dec 2016
Posts: 1
|
Fix decoder pipeline length
Hi All,
I'm trying to build a realtime decoder on Android, I have an issue that some of the Android hardware decoding have a buffer depth (what I call pipeline lenght) that is most of the time not equals to zero. I was wondering if it was possible to fake p frames in the H264 stream to fix the decoder pipeline ? Here an example of the problem: [I (A)] -> [P (B)] -> [P (C)] -> [P (D)] -> [P (E)] -> [P (F)] If decoder has a pipeline of 3, the last 2 pictures (E,F) will never be outputed to the screen (renderer). Here an example of my idea: [I (A)] -> [P (B)] -> [P (C)] -> [P (D)] -> [P (E)] -> [P (F)] -> [P (F')] -> [P (F'')] Insert 2 fake P frames that represent no variation based on latest enqueued frame (F) Sorry if i'm not super clear, I'm quite a beginner in video encoding; Romain. |
Tags |
h264, h264 patching, hack |
|
|