View Single Post
Old 17th September 2019, 01:28   #11  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Are there any standard variables that have been used for this?
As posted previously in post #2 codeblock, FFPICT_TYPE, Type Int.
Single letter ASCII code for frame type, value as Ord('I'), Ord('P'), ord('B'), for I, P and B frames, cant remember if upper or lowercase. See FFMPEGSource docs, may be more defined, (dont know).
EDIT: Think uppercase, I seem to remember code 73 as 'I' frame.

Code:
FN="d:\GetSeq_Test\TEST\tears_of_steel_1080pwebm.webm"
FFVideosource(FN)

SSS=""" Subtitle(String(current_frame,"%.0f] ")+Chr(FFPICT_TYPE)) """

Scriptclip(SSS,After_Frame=True)
Quote:
So, why don't you use that one?
Guess I just expect it not to work, never has been much use at anything else I've tried.

I got a GT220 as well I think (somewhere).
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 17th September 2019 at 01:31.
StainlessS is offline   Reply With Quote