View Single Post
Old 16th September 2019, 05:43   #5  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by videoh View Post
DGSource(...,show=true) will show the frame coding type. Make sure you have the top left corner of the video showing. Why is this not enough for you?
Good to know, thanks. [I've never used DGSource].

Would not be such a bad thing if DGSource exposed frame type similar to FFVideoSource [something to consider for some future update].

Set some named Global or Local variable [your choice], maybe let user select some prefix to the variable name.
A bit easier if return type Int as FFVideoSource does, string return swallows string memory [at every frame EDIT: unless you know for sure its maximum possible length] and requires messing about with
env->SaveString() for the string variable value, but still need to env->SaveString() for the variable Name [if Global, can do once in constructor so that
you know that the variable name already exists EDIT: or can check for already existing name before setting variable].

EDIT: ApparentFPS() sets some variables for user script use.

Would not be out of order if LSmashSource() did the same too.
__________________
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; 16th September 2019 at 08:03.
StainlessS is offline   Reply With Quote