How to tell if an I frame is seekable? » Wireless » Forum
Forum

Forum



ПоискПоиск   Users   Registration   Entrance
Today: 05.06.2025 - 16:49:12
Pages:  1  

How to tell if an I frame is seekable?

Advertising

/
AuthorMessage

xing6666

users




Statistics:
Messages: 831
Registration: 02.21.2002

Encoders that generate seekable non-IDR frames are recommended to insert "recovery point" SEI messages. But there is no required syntax element that inherently marks every seekable frame.

---------------------
Kai Xing -85 M635CSi - Diamondschwartz -08 M5 6-Speed - Black Sapphire -70 Chang Jiang 750 Sidecar - Army Green Southeast Sharkfest 2018 - April 26th - April 29th - Spartanburg, SC
Message # 1 16.05.20 - 09:21:12
RE: How to tell if an I frame is seekable?

axion911

users




Statistics:
Messages: 80
Registration: 03.13.2001

Thank you. That's what I was afraid of. Would it be possible to inspect the P frame itself to check its references or something like that? Failing that, I'll have to add an option "Treat I Frames as IDR Frames" to make it possible to support these streams. Any other thoughts?

---------------------
92 awd talon Buschur 2.5 inch turbo back exhaust, no cat, free mods, autometer a/f and boost gauges
Message # 2 16.05.20 - 09:30:54
RE: How to tell if an I frame is seekable?

ICTBMW

users




Statistics:
Messages: 2,817
Registration: 02.04.2003

For most normal streams, it should be possible to start at an I-frame, assume an empty DPB, run the DPB update algorithm for each subsequent frame, and check whether any frame refers to frames that aren't in your assumed DPB (either explicitly by MMCO, or implicitly by num_ref_idx_l0_active) until the DPB is full. But even that isn't guaranteed: A sufficiently perverse stream could keep a long-term ref from before the I-frame. That would change the DPB update algorithm without ever being explicitly mentioned again, and you'd never know.

---------------------
97 M3/4
Message # 3 16.05.20 - 09:35:31
RE: How to tell if an I frame is seekable?

cobalt

users




Statistics:
Messages: 125
Registration: 08.03.2002

I'll go with the option then. :)

---------------------
Message # 4 16.05.20 - 09:47:06
RE: How to tell if an I frame is seekable?

bmwdirtracer

users




Statistics:
Messages: 24,112
Registration: 06.10.2002

Not sure if this is helpful. Handbrake determines if a non-IDR frame is an I-frame using the following code. Are you already doing something similar? Code:

---------------------
Chris Powell Racer and Instructor since, well. decades, ok?
Message # 5 16.05.20 - 09:50:40
RE: How to tell if an I frame is seekable?

bonk5327

users




Statistics:
Messages: 225
Registration: 09.21.2002

Thanks, but the problem is not recognizing I frames; it is determining whether any following P frames reference frames prior to the I frame, i.e., is the I frame seekable.

---------------------
-Mike 1987 325 'eta' / 5-speed
Message # 6 16.05.20 - 09:57:28
RE: How to tell if an I frame is seekable?
Which Setup? : Previous topic
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants