How to set frame rate, compression method and other option to a saver using python??

User avatar
prabu_7
Posts: 5
Joined: Sat Jul 21, 2018 4:21 am

How to set frame rate, compression method and other option to a saver using python??

#1

Post by prabu_7 » Mon Nov 19, 2018 1:12 am

How to set frame rate, compression method and other option to a saver using python??

Tags:

User avatar
SirEdric
Fusionator
Posts: 1954
Joined: Tue Aug 05, 2014 10:04 am
Answers: 3
Real name: Eric Westphal
Been thanked: 133 times
Contact:

Re: How to set frame rate, compression method and other option to a saver using python??

#2

Post by SirEdric » Mon Nov 19, 2018 10:16 am

Very similar to Lua...:-)

Code: Select all

sv = comp:FindTool("Saver1")
sv.QuickTimeMovies.Compression[1] = "H.264_avc1"
sv.QuickTimeMovies.Quality[1] = 75

User avatar
prabu_7
Posts: 5
Joined: Sat Jul 21, 2018 4:21 am

Re: How to set frame rate, compression method and other option to a saver using python??

#3

Post by prabu_7 » Mon Nov 19, 2018 9:23 pm

SirEdric wrote:
Mon Nov 19, 2018 10:16 am
Very similar to Lua...:-)

Code: Select all

sv = comp:FindTool("Saver1")
sv.QuickTimeMovies.Compression[1] = "H.264_avc1"
sv.QuickTimeMovies.Quality[1] = 75
is there any reference manual for these compression setting, frame rate setting and other list of available options through python or lua because i cannot find these setting in fusion scripting manual

User avatar
prabu_7
Posts: 5
Joined: Sat Jul 21, 2018 4:21 am

Re: How to set frame rate, compression method and other option to a saver using python??

#4

Post by prabu_7 » Mon Nov 19, 2018 11:04 pm

SirEdric wrote:
Mon Nov 19, 2018 10:16 am
Very similar to Lua...:-)

Code: Select all

sv = comp:FindTool("Saver1")
sv.QuickTimeMovies.Compression[1] = "H.264_avc1"
sv.QuickTimeMovies.Quality[1] = 75
It works but how to set frame rates too??

User avatar
SirEdric
Fusionator
Posts: 1954
Joined: Tue Aug 05, 2014 10:04 am
Answers: 3
Real name: Eric Westphal
Been thanked: 133 times
Contact:

Re: How to set frame rate, compression method and other option to a saver using python??

#5

Post by SirEdric » Tue Nov 20, 2018 8:59 am

If you hover with your mouse over any control in Fusion (like i.e. the framerate of the saver), in the lower left of the interface Fusion tells you how to access that control via script.
ScriptCommand.png
You do not have the required permissions to view the files attached to this post.

User avatar
prabu_7
Posts: 5
Joined: Sat Jul 21, 2018 4:21 am

Re: How to set frame rate, compression method and other option to a saver using python??

#6

Post by prabu_7 » Tue Nov 20, 2018 8:38 pm

SirEdric wrote:
Tue Nov 20, 2018 8:59 am
If you hover with your mouse over any control in Fusion (like i.e. the framerate of the saver), in the lower left of the interface Fusion tells you how to access that control via script.
ScriptCommand.png
thanks! that helped a lot!!!

User avatar
SirEdric
Fusionator
Posts: 1954
Joined: Tue Aug 05, 2014 10:04 am
Answers: 3
Real name: Eric Westphal
Been thanked: 133 times
Contact:

Re: How to set frame rate, compression method and other option to a saver using python??

#7

Post by SirEdric » Tue Nov 20, 2018 9:15 pm

You're welcome.
Best Luck on your scripting adventures!