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
petlof  
#1 Posted : Sunday, April 3, 2022 6:28:38 AM(UTC)
petlof

Rank: Newbie

Groups: Registered
Joined: 4/3/2022(UTC)
Posts: 5
Sweden

To be able to build your own multiview easy it would be great to have the ability to add Preview as an input in the same way you can do with Output today.
doggy  
#2 Posted : Sunday, April 3, 2022 7:55:10 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: petlof Go to Quoted Post
To be able to build your own multiview easy it would be great to have the ability to add Preview as an input in the same way you can do with Output today.


Which can easely be done with a preview to NDI and back in as an input or a small script
petlof  
#3 Posted : Monday, April 4, 2022 11:10:22 PM(UTC)
petlof

Rank: Newbie

Groups: Registered
Joined: 4/3/2022(UTC)
Posts: 5
Sweden

Sure, but that could also be done in the same way for Output but there a direct input routing of Output is added.
To save encoding/decoding resources and latency i would be great to be able to do the same for Preview
jeepndave  
#4 Posted : Wednesday, December 14, 2022 12:48:55 PM(UTC)
jeepndave

Rank: Newbie

Groups: Registered
Joined: 12/14/2022(UTC)
Posts: 6
United States
Location: Colorado

+1
eterelle  
#5 Posted : Thursday, December 15, 2022 10:46:53 AM(UTC)
eterelle

Rank: Member

Groups: Registered
Joined: 1/10/2022(UTC)
Posts: 10

Thanks: 1 times
+1
would also be nice if you'd be able to get the previews of other mixes
Howlswolf  
#6 Posted : Thursday, December 15, 2022 11:33:43 PM(UTC)
Howlswolf

Rank: Advanced Member

Groups: Registered
Joined: 9/22/2020(UTC)
Posts: 44
Canada

Thanks: 1 times
Was thanked: 5 time(s) in 5 post(s)
RobertBeemanNYC  
#7 Posted : Friday, December 23, 2022 2:59:03 PM(UTC)
RobertBeemanNYC

Rank: Newbie

Groups: Registered
Joined: 12/23/2022(UTC)
Posts: 1
United States
Location: New York

This may help. I wrote this script to emulate preview of Mix 1, including the ability to preview overlays. This way you don't need to burn one of the 4 outputs to look preview back in.

Create a color/transparent input, and name it "Preview" and run this script. It should work.

Quote:
Do While True
Dim doc As New XmlDocument()
doc.LoadXml(API.Xml)
Dim root As XmlNode = doc.DocumentElement

Dim node1 As XmlNode = root.SelectSingleNode("/vmix/preview")
Dim previewNumber As Integer = node1.InnerXml
API.Function("SetMultiViewOverlay","Preview", "1," & previewNumber)

' Overlay 1
Dim node2 As XmlNode = root.SelectSingleNode("/vmix/overlays/overlay[1]")
If node2 IsNot Nothing And node2.Attributes("preview") IsNot Nothing Then
Dim inputNumber As Integer = node2.InnerXml
API.Function("SetMultiViewOverlay","Preview", "2," & inputNumber)
Else
API.Function("SetMultiViewOverlay","Preview", "2,None")
End If

' Overlay 2
Dim node3 As XmlNode = root.SelectSingleNode("/vmix/overlays/overlay[2]")
If node3 IsNot Nothing And node3.Attributes("preview") IsNot Nothing Then
Dim inputNumber As Integer = node3.InnerXml
API.Function("SetMultiViewOverlay","Preview", "3," & inputNumber)
Else
API.Function("SetMultiViewOverlay","Preview", "3,None")
End If

' Overlay 3
Dim node4 As XmlNode = root.SelectSingleNode("/vmix/overlays/overlay[3]")
If node4 IsNot Nothing And node4.Attributes("preview") IsNot Nothing Then
Dim inputNumber As Integer = node4.InnerXml
API.Function("SetMultiViewOverlay","Preview", "4," & inputNumber)
Else
API.Function("SetMultiViewOverlay","Preview", "4,None")
End If

' Overlay 4
Dim node5 As XmlNode = root.SelectSingleNode("/vmix/overlays/overlay[4]")
If node5 IsNot Nothing And node5.Attributes("preview") IsNot Nothing Then
Dim inputNumber As Integer = node5.InnerXml
API.Function("SetMultiViewOverlay","Preview", "5," & inputNumber)
Else
API.Function("SetMultiViewOverlay","Preview", "5,None")
End If

Sleep(66)
Loop
Roy Sinclair  
#8 Posted : Sunday, January 1, 2023 10:21:26 AM(UTC)
Roy Sinclair

Rank: Advanced Member

Groups: Registered
Joined: 11/23/2020(UTC)
Posts: 170
United States
Location: Wichita

Thanks: 10 times
Was thanked: 24 time(s) in 20 post(s)

Added to vMix 26, most recent beta.

https://forums.vmix.com/...view-Released#post106368

Give thanks to the vMix team.
Users browsing this topic
Guest (4)
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.