Rank: Advanced Member
Groups: Registered
Joined: 5/12/2016(UTC) Posts: 53
Thanks: 30 times Was thanked: 1 time(s) in 1 post(s)
|
I have a very big horizontal image that I'd like vmix to pan on from left to right over a 3 minute period. I'd hoped i could do this with the merge function, between an input that has the leftmost side of the image, and a virtual input that his the rightmost side, and then merge, but the maximum merge time is about 2 or 3 seconds, which is obviously too fast. Is there a better way to do it, to slowly pan over an image? I'm on HD 25.0.0.34
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 4/23/2017(UTC) Posts: 1,214 Location: Germany Thanks: 3 times Was thanked: 168 time(s) in 150 post(s)
|
I would suggest create an image sequence or video and use that instead. This way you are not blocking the transition of vmix allowing for further freedom.
|
1 user thanked mavik for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/12/2016(UTC) Posts: 53
Thanks: 30 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: mavik I would suggest create an image sequence or video and use that instead. This way you are not blocking the transition of vmix allowing for further freedom. How would I do that with an image sequence/video? I'm just not sure of the steps.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: grDancer I have a very big horizontal image that I'd like vmix to pan on from left to right over a 3 minute period. I'd hoped i could do this with the merge function, between an input that has the leftmost side of the image, and a virtual input that his the rightmost side, and then merge, but the maximum merge time is about 2 or 3 seconds, which is obviously too fast. Is there a better way to do it, to slowly pan over an image? I'm on HD 25.0.0.34
Could also use a script to pan the image (layer) in small steps over time
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 4/23/2017(UTC) Posts: 1,214 Location: Germany Thanks: 3 times Was thanked: 168 time(s) in 150 post(s)
|
You can download Davinci Resolve (free) for video edits.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/12/2016(UTC) Posts: 53
Thanks: 30 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: doggy Originally Posted by: grDancer I have a very big horizontal image that I'd like vmix to pan on from left to right over a 3 minute period. I'd hoped i could do this with the merge function, between an input that has the leftmost side of the image, and a virtual input that his the rightmost side, and then merge, but the maximum merge time is about 2 or 3 seconds, which is obviously too fast. Is there a better way to do it, to slowly pan over an image? I'm on HD 25.0.0.34
Could also use a script to pan the image (layer) in small steps over time How is that done? Can you link me to the process that I should be looking into?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/12/2016(UTC) Posts: 53
Thanks: 30 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: mavik You can download Davinci Resolve (free) for video edits. so is there no way to do it in Vmix?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: grDancer Originally Posted by: doggy Originally Posted by: grDancer I have a very big horizontal image that I'd like vmix to pan on from left to right over a 3 minute period. I'd hoped i could do this with the merge function, between an input that has the leftmost side of the image, and a virtual input that his the rightmost side, and then merge, but the maximum merge time is about 2 or 3 seconds, which is obviously too fast. Is there a better way to do it, to slowly pan over an image? I'm on HD 25.0.0.34
Could also use a script to pan the image (layer) in small steps over time How is that done? Can you link me to the process that I should be looking into? Check the post "scripting for dummies" basically set up a for next loop in the script that increments a pan functions value for the movement add some time delay between each step to get a total time needed for the for next loop to finish Code:
'below code is for fullframe pan from left to right
'adjust A value for start/end max pan position related to zoom of input
'adjust sleep value to achieve total duration time
For A as double = -2 to 2 step 0.001
API.Function("SetPanX",Input:="Input Name",Value:=A)
sleep(50)
next
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/12/2016(UTC) Posts: 53
Thanks: 30 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: doggy Originally Posted by: grDancer Originally Posted by: doggy Originally Posted by: grDancer I have a very big horizontal image that I'd like vmix to pan on from left to right over a 3 minute period. I'd hoped i could do this with the merge function, between an input that has the leftmost side of the image, and a virtual input that his the rightmost side, and then merge, but the maximum merge time is about 2 or 3 seconds, which is obviously too fast. Is there a better way to do it, to slowly pan over an image? I'm on HD 25.0.0.34
Could also use a script to pan the image (layer) in small steps over time How is that done? Can you link me to the process that I should be looking into? Check the post "scripting for dummies" basically set up a for next loop in the script that increments a pan functions value for the movement add some time delay between each step to get a total time needed for the for next loop to finish Code:
'below code is for fullframe pan from left to right
'adjust A value for start/end max pan position related to zoom of input
'adjust sleep value to achieve total duration time
For A as double = -2 to 2 step 0.001
API.Function("SetPanX",Input:="Input Name",Value:=A)
sleep(50)
next
I don't think I have the scripting capability in my version. It doesn't seem to have that menu in the settings (won't appear when I choose from the settings dropdown either)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/31/2020(UTC) Posts: 147 Thanks: 2 times Was thanked: 28 time(s) in 28 post(s)
|
Originally Posted by: grDancer I don't think I have the scripting capability in my version. It doesn't seem to have that menu in the settings (won't appear when I choose from the settings dropdown either)
Scripting is available in the 4K, Pro, and Max versions. I guess your best option is to download Davinci Resolve for free, and make a video with your image slowly panning the way you like, and just play the video.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 516 Location: athens Thanks: 125 times Was thanked: 71 time(s) in 67 post(s)
|
Originally Posted by: grDancer Originally Posted by: doggy Originally Posted by: grDancer Originally Posted by: doggy Originally Posted by: grDancer I have a very big horizontal image that I'd like vmix to pan on from left to right over a 3 minute period. I'd hoped i could do this with the merge function, between an input that has the leftmost side of the image, and a virtual input that his the rightmost side, and then merge, but the maximum merge time is about 2 or 3 seconds, which is obviously too fast. Is there a better way to do it, to slowly pan over an image? I'm on HD 25.0.0.34
Could also use a script to pan the image (layer) in small steps over time How is that done? Can you link me to the process that I should be looking into? Check the post "scripting for dummies" basically set up a for next loop in the script that increments a pan functions value for the movement add some time delay between each step to get a total time needed for the for next loop to finish Code:
'below code is for fullframe pan from left to right
'adjust A value for start/end max pan position related to zoom of input
'adjust sleep value to achieve total duration time
For A as double = -2 to 2 step 0.001
API.Function("SetPanX",Input:="Input Name",Value:=A)
sleep(50)
next
I don't think I have the scripting capability in my version. It doesn't seem to have that menu in the settings (won't appear when I choose from the settings dropdown either) Yes HD version doesnt have script function. But because even with scripting the job is done with vmix api, if you want to try, you can do a python external script that will do this thing. Im using the technology to do such things by simply try and error.. But yes as others said more simple to do it in a non linear software Α python script that does something like this Code:
import requests
import time
vmix_ip = "127.0.0.1"
vmix_port = "8088"
vmix_api_path = "/api"
def set_pan_x(input_number, value):
url = f"http://{vmix_ip}:{vmix_port}{vmix_api_path}/?Function=SetPanX&Input={input_number}&Value={value}"
response = requests.get(url)
if response.status_code == 200:
print(f"Επιτυχής εκτέλεση. {response.text}")
else:
print(f"Σφάλμα κατά την εκτέλεση. Κωδικός σφάλματος: {response.status_code}")
import decimal
# Αρχική τιμή για το Value
current_value = decimal.Decimal("-2.000")
# Βήμα για το Value
step = decimal.Decimal("0.050")
# Τελική τιμή για το Value
final_value = decimal.Decimal("2.000")
while current_value <= final_value:
set_pan_x(input_number=51, value=float(current_value))
time.sleep(0.5) # Καθυστέρηση 500 milliseconds
current_value += step
chatgpt made it for me after some tries. If you want to try it,you have to install python in your pc. Here how to install https://forums.vmix.com/...e-way-for-vmix-scripting in the line set_pan_x(input_number=51 the 51 is the input number. you can change it whatever you need.If you want to change speed of pan you can go to the code step = decimal.Decimal("0.050") and change the 0.050 to something smaller. If you feel like working on it, you can provide the code to ChatGPT and tell it the changes you want, then experiment until you achieve the desired result.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/25/2023(UTC) Posts: 1 Location: dv
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: piyushupload1 I have a very big horizontal image that I'd like vmix to pan on from left to right over a 3 minute period. You too ? then read what's above ;-)
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close