Quote:
Originally Posted by videoh
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.