logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
grDancer  
#1 Posted : Wednesday, November 22, 2023 2:09:13 AM(UTC)
grDancer

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

mavik  
#2 Posted : Wednesday, November 22, 2023 2:56:15 AM(UTC)
mavik

Rank: Advanced Member

Groups: Registered
Joined: 4/23/2017(UTC)
Posts: 1,214
Man
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.
thanks 1 user thanked mavik for this useful post.
grDancer on 11/22/2023(UTC)
grDancer  
#3 Posted : Wednesday, November 22, 2023 3:13:50 AM(UTC)
grDancer

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 Go to Quoted Post
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.
doggy  
#4 Posted : Wednesday, November 22, 2023 4:08:18 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,221
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: grDancer Go to Quoted Post
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
thanks 1 user thanked doggy for this useful post.
grDancer on 11/22/2023(UTC)
mavik  
#5 Posted : Wednesday, November 22, 2023 5:27:13 AM(UTC)
mavik

Rank: Advanced Member

Groups: Registered
Joined: 4/23/2017(UTC)
Posts: 1,214
Man
Location: Germany

Thanks: 3 times
Was thanked: 168 time(s) in 150 post(s)
You can download Davinci Resolve (free) for video edits.
grDancer  
#6 Posted : Wednesday, November 22, 2023 5:28:01 AM(UTC)
grDancer

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 Go to Quoted Post
Originally Posted by: grDancer Go to Quoted Post
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?
grDancer  
#7 Posted : Wednesday, November 22, 2023 5:29:33 AM(UTC)
grDancer

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 Go to Quoted Post
You can download Davinci Resolve (free) for video edits.


so is there no way to do it in Vmix?
doggy  
#8 Posted : Wednesday, November 22, 2023 6:22:31 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,221
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: grDancer Go to Quoted Post
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: grDancer Go to Quoted Post
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
thanks 1 user thanked doggy for this useful post.
grDancer on 11/22/2023(UTC)
grDancer  
#9 Posted : Wednesday, November 22, 2023 8:05:26 AM(UTC)
grDancer

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 Go to Quoted Post
Originally Posted by: grDancer Go to Quoted Post
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: grDancer Go to Quoted Post
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)

kross  
#10 Posted : Wednesday, November 22, 2023 4:29:13 PM(UTC)
kross

Rank: Advanced Member

Groups: Registered
Joined: 10/31/2020(UTC)
Posts: 147
United States

Thanks: 2 times
Was thanked: 28 time(s) in 28 post(s)
Originally Posted by: grDancer Go to Quoted Post

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.
nikosman88  
#11 Posted : Wednesday, November 22, 2023 9:59:33 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 516
Greece
Location: athens

Thanks: 125 times
Was thanked: 71 time(s) in 67 post(s)
Originally Posted by: grDancer Go to Quoted Post
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: grDancer Go to Quoted Post
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: grDancer Go to Quoted Post
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.
piyushupload1  
#12 Posted : Saturday, November 25, 2023 12:56:18 AM(UTC)
piyushupload1

Rank: Newbie

Groups: Registered
Joined: 11/25/2023(UTC)
Posts: 1
Albania
Location: dv

I have a very big horizontal image that I'd like vmix to pan on from left to right over a 3 minute period.
https://jjsploit.click/
https://indigocard.ltd/
doggy  
#13 Posted : Saturday, November 25, 2023 3:57:35 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,221
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: piyushupload1 Go to Quoted Post
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 ;-)
Users browsing this topic
Guest
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.