Split-Screen View

Red Prince wrote on 10/29/2018, 6:32 PM

Is it possible to include the split-screen view in the final render and, if so, how? It would be useful when creating video tutorials, so I could show what an effect does in one half of the screen while keeping the other half intact. I know I can use two tracks and a mask, but I was wondering if it was possible to do in the rendered video the same way we do it in the preview while editing.

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

Comments

OldSmoke wrote on 10/29/2018, 8:48 PM

Can’t you capture the preview with OBS?

Proud owner of Sony Vegas Pro 7, 8, 9, 10, 11, 12 & 13 and now Magix VP15&16.

System Spec.:
Motherboard: ASUS X299 Prime-A

Ram: G.Skill 4x8GB DDR4 2666 XMP

CPU: i7-9800x @ 4.6GHz (custom water cooling system)
GPU: 1x AMD Vega Pro Frontier Edition (water cooled)
Hard drives: System Samsung 970Pro NVME, AV-Projects 1TB (4x Intel P7600 512GB VROC), 4x 2.5" Hotswap bays, 1x 3.5" Hotswap Bay, 1x LG BluRay Burner

PSU: Corsair 1200W
Monitor: 2x Dell Ultrasharp U2713HM (2560x1440)

Red Prince wrote on 10/29/2018, 10:45 PM

Thanks, I can do a lot of things, but that is not what I am asking. All I am asking is if there is a way to include the split-screen view in a render. Not whether there are workarounds (I know there are), only whether Vegas has a way to export the split-screen view directly into a Vegas render.

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

Musicvid wrote on 10/29/2018, 11:26 PM

Another place to float that idea is in the scripting forum.

I do like it.

Red Prince wrote on 10/30/2018, 2:23 PM

It was not mean as an idea, just a simple question. Is it possible? Yes or no, and if yes, how. If not, fine, I’ll figure something out.

I am ready to release my color-grading plug-in and need to make videos that show its use. If there is a way to use the split-screen view in the final render as it is in the preview, I will use it. If not, I will do something else (perhaps add something to my plug-in, but that will add an unnecessary layer to it, slowing it down, so perhaps I’ll just make a mask and use two tracks, one with the plug-in and one without it).

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

Musicvid wrote on 10/30/2018, 2:39 PM

Red Prince wrote on 10/30/2018, 1:23 PM

It was not mean as an idea, just a simple question. Is it possible?

Yes, that is what I was hoping you'd ask in the scripting forum. I'm pretty sure it's never been documented as an existing or hidden feature in the user interface or preferences; however, I haven't tried since VP8.

Red Prince wrote on 10/30/2018, 3:27 PM

I have not seen it either. It just seemed that if the programming logic existed already, it might have been applied as an option for rendering. But given that no one from Magix has replied by now, I am going to assume the option does not exist.

Thanks!

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

jetdv wrote on 10/30/2018, 4:53 PM

Yes you can but you'll have to manually do it. Make one track with the effect and one track without the effect. Then mask the top track so that the bottom track shows through half of it. It's the same net result, just not as easy as just "clicking" a button.

Red Prince wrote on 10/30/2018, 5:04 PM

Well, yes, I know that and that is what I am planning to do now that what I was asking seems not available. I was hoping, however, that I could do it the same way as with the preview.

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

Red Prince wrote on 10/30/2018, 7:07 PM

And just in case anyone else needs it, I made an SVG graphic for such a mask for a frame of any size (SVG is a vector format) as long as it uses the 16:9 width-to-height ration, and uploaded it to this site. It can be exported to PNG, or any other bitmap, in any suitable size.

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

OldSmoke wrote on 10/30/2018, 8:25 PM

Thanks, I can do a lot of things, but that is not what I am asking. All I am asking is if there is a way to include the split-screen view in a render. Not whether there are workarounds (I know there are), only whether Vegas has a way to export the split-screen view directly into a Vegas render.

I think you misunderstood me. In OBS you can select the area you want to have captured. As such, make the preview window as big as you like/can and capture that area. This certainly works best in a dual or more monitor setup.

Last changed by OldSmoke on 10/30/2018, 8:26 PM, changed a total of 1 times.

Proud owner of Sony Vegas Pro 7, 8, 9, 10, 11, 12 & 13 and now Magix VP15&16.

System Spec.:
Motherboard: ASUS X299 Prime-A

Ram: G.Skill 4x8GB DDR4 2666 XMP

CPU: i7-9800x @ 4.6GHz (custom water cooling system)
GPU: 1x AMD Vega Pro Frontier Edition (water cooled)
Hard drives: System Samsung 970Pro NVME, AV-Projects 1TB (4x Intel P7600 512GB VROC), 4x 2.5" Hotswap bays, 1x 3.5" Hotswap Bay, 1x LG BluRay Burner

PSU: Corsair 1200W
Monitor: 2x Dell Ultrasharp U2713HM (2560x1440)

Red Prince wrote on 10/30/2018, 9:03 PM

But why OBS? For my tutorials, I just hook up my Blackmagic Video Assist 4k to the HDMI output of my video card and can do the same without having OBS bring my system to its knees (yes, it takes up so many resources nothing else can work; I certainly cannot run Vegas 15 and OBS at the same time, as both are resource hogs). the video Assist, on the other hand, has no effect on the performance of my system because it just records whatever my video card sends to it.

The only reason I even have OBS installed is because a gentleman living in the UK wants to interview me over the Internet, for which I hook up the camera to the Blackmagic Web Presenter which, unfortunately, only sends the video to the computer via USB, so I still need OBS as the intermediary between the Web Presenter and the Internet, a major flaw in the design of the Web Presenter. But beyond that, I avoid OBS like a plague.

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

OldSmoke wrote on 10/30/2018, 9:26 PM

@Red Prince

I am not sure what system you have but I have no issue with OBS on may aging 3930k, I can hardly feel it. But anyways, it was just a suggestion.

Proud owner of Sony Vegas Pro 7, 8, 9, 10, 11, 12 & 13 and now Magix VP15&16.

System Spec.:
Motherboard: ASUS X299 Prime-A

Ram: G.Skill 4x8GB DDR4 2666 XMP

CPU: i7-9800x @ 4.6GHz (custom water cooling system)
GPU: 1x AMD Vega Pro Frontier Edition (water cooled)
Hard drives: System Samsung 970Pro NVME, AV-Projects 1TB (4x Intel P7600 512GB VROC), 4x 2.5" Hotswap bays, 1x 3.5" Hotswap Bay, 1x LG BluRay Burner

PSU: Corsair 1200W
Monitor: 2x Dell Ultrasharp U2713HM (2560x1440)

Red Prince wrote on 10/30/2018, 9:53 PM

That’s OK, thanks.

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

Musicvid wrote on 10/31/2018, 4:24 AM

Are you 100% certain the pre-effects buss is not exposed in the scripting API?

If it's not there, it won't be accessible elsewhere.

Have you shared your inquiry with JR and the Vegasaur team?

There must be a reason you're not pursuing that possibility, however unlikely.

Red Prince wrote on 10/31/2018, 10:55 AM

There must be a reason you're not pursuing that possibility, however unlikely.

I’m sorry, I really don’t understand what you are talking about. For one, I know absolutely nothing about scripting in Vegas. More importantly, I have already made my mask, as mentioned above, as it is clear that the answer to my original question is simply no. So, I consider the question answered.

I guess I’m just going to tag my own post about that mask graphic as the solution.

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

Musicvid wrote on 10/31/2018, 12:01 PM

 I know I can use two tracks and a mask, but I was wondering if it was possible to do in the rendered video the same way we do it in the preview while editing.

Yes, it appears it is possible in the framework of your original question, by adding to an existing script. However, I guess we'll never know until someone asks the question.....

 https://www.vegascreativesoftware.info/us/forum/bypass-video-fx--48988/#ca259211

Credit: jetdv aka Ed

P.S. -- I still like your idea.

Red Prince wrote on 10/31/2018, 12:18 PM

 I guess we'll never know until someone asks the question.....

P.S. -- I still like your idea.

Then ask the question. ;)

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

Musicvid wrote on 10/31/2018, 12:34 PM

OK I will. I already suspect a lurking Muse about this Hallow's Eve.

"Ed, is it possible to do a split screen emulator to the master buss using lines from your original script?"

Red Prince, meet jetdv.

jetdv, meet Red Prince

Ed is one of the nicest guys on this planet, and time permitting, should be able to point you in the right direction.

We really don't have to understand much about scripting to start experimenting. I taught myself a smattering of Perl back in the day, the conditional line Im about to post below actually runs. I bet Ed will know straightaway what it does.

Red Prince wrote on 10/31/2018, 1:15 PM

Oh, I know who Ed is. I think everybody does.

I have written my share of scripts, mostly under Unix. It is the Vegas scripts I know nothing about.

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

Musicvid wrote on 10/31/2018, 1:46 PM

Me either. But I know that a farm boy can teach himself to do it if he sets his mind to it.

$string =~ s/\x00-\x1F\x7F//g; # Strip control chars

    $string =~ s/&#(x0*1?([0-9]?|[A-Fa-f]?)|x0*7[Ff]|0*([1-2]?[0-9]?|3[0-1]|127));//g; # Strip control chars

    $string =~ s/&(?!(#x\w{2,5}|#\d{2,6});)/&/g; # Escape the "&" sign except in valid entities

    return($string);

    }

jetdv wrote on 10/31/2018, 2:18 PM

Not really. The script you are referring to removed the effects. A script might also be able to "disable" an effect but I'd have to look again for that. Either way, it will remove it from the entire video - not just half of the video. The only way I know to really do it is to duplicate the video, remove the effects from one of them, and then do a split screen effect in one of several available methods. Personally, I'd use the "Split Screen" generated media instead of creating an image to use.

 

Track 1 - change the compositing mode to "Multiply Mask", add the Media Generator - Checkerboard - Split Screen, and add the "VEGAS Mask Generator" to the media generator.

Track 2 - What you want on the left hand side. Make Track 2 a "Child" to track 1

Track 3 - What you want on the right hand side

 

Yes, a script could be written to take the selected video event, duplicate it on a track below, remove the effects, add a new track above, change the new track's "Compositing Mode" to Multiply Mask, add the "Checkerboard" media generator, add the Mask Generator effect to the media generator, and make the original track a "child" to the new checkerboard track. But it can't just do what the "Split Screen" button above the preview screen does.

Red Prince wrote on 10/31/2018, 3:14 PM

I was not thinking about the Media Generator - Checkerboard - Split Screen part, which, I agree, would be easier than the separate image I have made. So, thanks, Ed.

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

Musicvid wrote on 10/31/2018, 3:41 PM

Yes, and thank you, Edward. I learned something.

Former users wrote on 10/31/2018, 4:19 PM

You could also do a split screen using the MASK in Pan/Crop.