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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th December 2016, 15:25   #1  |  Link
Supercairos
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.
Supercairos is offline   Reply With Quote
Reply

Tags
h264, h264 patching, hack

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.