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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 3rd June 2021, 12:36   #1  |  Link
Mitra
Registered User
 
Join Date: Mar 2021
Posts: 84
The first IDR-frame as reference for the first 2 B-frames

H.264 specs says :
Quote:
8.2.4.2.3 Initialization process for reference picture lists for B slices in frames: When this process is invoked, there shall be at least one reference entry that is currently marked as "used for reference" (i.e., as "used for short-term reference" or "used for long-term reference") and is not marked as "non-existing"
(thanks to nobody555 from the stackoverflow for find it)

As you can see ,only one I/P frame can be used as reference for B-frames. it means the same reference frame can use for both RefPicList0 and RefPicList1, but the document does not have enough details about it.( or it is difficalt to understand at least to me)


my question:
How to set the first IDR-frame as the only reference for the first B-frames in the open-GOP stream with this pattern:BBIBBPBB...? / How to implement it in the x264/libx264 source code?

Note: I want this to be done for the first two B-frames , not the rest of the stream.

(sorry if my English is bad)

Last edited by Mitra; 6th June 2021 at 18:41.
Mitra is offline   Reply With Quote
 

Tags
h.264 encoder, libx264.dll, video codec, x264

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 15:45.


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