GEORGE BUG? tv_FrameRate

A forum dedicated to George scripting questions
Post Reply
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

GEORGE BUG? tv_FrameRate

Post by Svengali »

ScreenHunter 442.png
EDIT:
tv_FrameRate 0 INFO doesn't return FrameRateProject or FrameRatePlayback values as expected. BUG.
tv_FrameRate NewFrameRate but without the TIMESTRETCH parameter does update the FrameRateProject, but also ZOOMs UP the project window - an undesirable side-effect.

Bottom LIne, Despite these two versions of the tv_FrameRate command having problems, I found a workaround that resolves my scripting needs.
Also, if someone could quickly test and confirm the bug&side-effect, so they could then be added to the GEORGE COMMAND BUG LIST.

Thanks, sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: GEORGE BUG? tv_FrameRate

Post by Svengali »

Could someone please check this "bug"? (Mike, are you around these days?)
tv_frameratebug.png
tv_frameratebug.png (14.64 KiB) Viewed 1915 times
syntax for the tv_FrameRate command.png
syntax for the tv_FrameRate command.png (58.31 KiB) Viewed 1915 times
1. Create a button with the command as shown above and save it.
2. click the button.
3. Does the screen display ZOOM IN? (clicking 1:1 on the display frame will restore the normal window size).
4. Note that your project's default frame rate will have changed to 10 fps. To recover your actual project frame rate, just change the tv_framerate COMMAND LINE in the button from 10 to the fps your project normally uses and press the button again (which will probably rezoom the window :? :?: )

I'm uncertain as to the proper tv_FrameRate command syntax... but it appears that if the "TIMESTRETCH" parameter isn't included, the side-effect is the screen display ZOOMS IN, clearly a bug I'd say...

workaround: For the moment, I am using the tv_MenuShow CENTERDISPLAY command in my script to UNZOOM the screen display side-effect.

Thanks for testing,
sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
User avatar
Mike
Posts: 1050
Joined: 16 Feb 2006, 08:58

Re: GEORGE BUG? tv_FrameRate

Post by Mike »

Svengali wrote: 01 Apr 2019, 16:37 tv_FrameRate 0 INFO doesn't return FrameRateProject or FrameRatePlayback values as expected. BUG.
Ok, you can use every numbers >= 0.
(It doesn't matter with "info")
Svengali wrote: 01 Apr 2019, 16:37 tv_FrameRate NewFrameRate but without the TIMESTRETCH parameter does update the FrameRateProject, but also ZOOMs UP the project window - an undesirable side-effect.
It's the same with or without "timestretch" parameter.
But you don't see it because with "timestretch" parameter, a new project is create.
It can't be easily fix, to maintain the coherence of the command and the current project.
TVPaint Team
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: GEORGE BUG? tv_FrameRate

Post by Svengali »

Thanks Mike... I see what you are saying about TIMESTRETCH. My " tv_MenuShow CENTERDISPLAY" workaround corrects the problem well enough.

Sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Post Reply