Remove "Stereo 3D adjust" FX from all event?

Marton wrote on 1/26/2012, 5:51 AM
I created a 1 hour long project with many events, adjusted 3D fx, etc.
Now i have to render to 2D version also.
But i want to do this without the stereo3d fx on the clips, because it degrade the quality a little. Is there any quicker way than manualy remove from all events? Maybe with scripting? Would be good a checkbox in the renderpanel for this..

Comments

cybercom wrote on 1/26/2012, 8:58 AM
What format is your original 3D footage?

How is the quality degraded?

What format is your rendered 3D?

< ")%%%><<
johnmeyer wrote on 1/26/2012, 9:18 AM
You can use one of many scripts. Here's an old one. I edited it so it will remove an effect labeled "Sony Stereoscopic 3D Adjust". However, you need to go to the fX dialog and make sure that this is exactly the correct name before you execute this script.

Copy/paste the following into Notepad, and then save it with whatever file name you want, but with the extension "js". Then, run the script from within Vegas. It will delete all instances of that fX from every event in the project.

/**
* This script will remove all effects from ALL events, even those not selected
*
*
* Based on a script written By: Edward Troxel
* www.jetdv.com/tts
* Modified: 07-23-2003
* Modified by John Meyer on 1-26-2012 to remove event selection requirement
**/

import System;
import System.Collections;
import System.Text;
import System.IO;
import System.Drawing;
import System.Windows.Forms;
import Sony.Vegas;

try {

var plugInName = "Sony Stereoscopic 3D Adjust";
var trackEnum = new Enumerator(Vegas.Project.Tracks);
while (!trackEnum.atEnd()) {
var track : Track = Track(trackEnum.item());

//Go through the list of Events
var eventEnum = new Enumerator(track.Events);
while (!eventEnum.atEnd()) {
var evnt : TrackEvent = TrackEvent(eventEnum.item());

if (evnt.IsVideo()) {
var videoEvent = VideoEvent(evnt);
var i;
for (i=videoEvent.Effects.Count - 1; i >= 0; i--) {
var effect = videoEvent.Effects[i];

if (plugInName == effect.PlugIn.Name) {
videoEvent.Effects.Remove(effect);
}
}
}

eventEnum.moveNext();
}

trackEnum.moveNext();
}


} catch (e) {
MessageBox.Show(e);
}


Marton wrote on 1/26/2012, 9:58 AM
Thank you very much, i will try.

Original files on the timeline are different:
- M2TS from Sony NX3D1
- paired mp4 files from Gopro 3D
- paired video files from two Canon HF11

Life is so easy :)

When i correct some event with zoom or rotation, the quality will degrade because we are in digital world.

The rendered 3D is Sony MVC 24p for authoring 3D Bluray.
Marton wrote on 4/1/2012, 3:31 PM
Johnmeyer
I just want to say thanks again, your script works like it should! :-)
Wolfgang S. wrote on 4/2/2012, 2:02 AM
I ask myself 2 thinks:

- why do you use the 3D plugin as an event fx, but not as a track fx? Would also be easier to remove

- do you really render 1080 50i/60i to 1080 24p and are satisfied with the quality? I know that some people are happy with rendering 1080 60i to 24p, but for 50i I never was satisfied with the result?

Desktop: PC AMD 3960X, 24x3,8 Mhz * RTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

Marton wrote on 4/2/2012, 5:53 AM
Hmm
Different shots need different corrections, how can i solve this
with just a simple track fx?

50i to 24p is acceptable, but i still search the easiest method
for 50i->25p>slowdown without any interpolated frames to 23,976

In fact i don't like 24p even when recorded in 24p, especially in 3D.
So i view my films at 50i (projector, lcd tv, etc), and create a 3D Bluray in 24p format for distribution.
Oh, and still wonder why 3D Bluray in 1080/50i format not exist?!
Wolfgang S. wrote on 4/2/2012, 11:45 AM
Well I use the 3D plugin on the track only, and I use keyframes to adjust convergence or levels or color correction. It is much too much work to add those things to every event, you know I am a lazy guy! :)

To avoid the interpolation of frames you have to disable resample. So it makes sense to render the 50i project to one file, stretch it tot he correct length and disable resample to avoid the interpolation of frames.

I do not record any more in 50i for 3D, if I can avoid that - and with the Z10K I can avoid that. Only when I have to use the TD10 as second camcorder I will use 50i. But to acquire the footage in 1080 24p avoids the conversion steps and maintains high quality.

Only the Blu Ray consortia will be able to answer why they have not included 1080 50i/60i in the 3D BD profile 5 for 3D-BD.

Desktop: PC AMD 3960X, 24x3,8 Mhz * RTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

Marton wrote on 4/2/2012, 12:18 PM
Thanks,
i will try your method: fx only on track only and use keyframes, but to me it sounds it need more click than mine :)
I have a hotkey for show event fx dialog, and can copy/paste settings to multiple events, etc.

I think the consortia made the 3dbluray standard mainly for hollywood films, not for home users :(
Wolfgang S. wrote on 4/3/2012, 3:49 AM
Cannot be that you have more clicks, since you adjust only in ONE window the convergence ...

.... but it is up to you what method and workflow you use.

Desktop: PC AMD 3960X, 24x3,8 Mhz * RTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

Marton wrote on 4/3/2012, 4:30 AM
But keyframes makes an interpolation.
Or do you set always all keyframes to hold type?
What if i change my mind, and place one event to a different place
on the timeline? The adjusted settings remain with it?
What if i have a 3 sec cross dissolve, and the two events need different settings?

thx
Wolfgang S. wrote on 4/3/2012, 10:45 AM
You are right, I put the keyframes to hold. And keyfames can be moved at least with ripple edit.

And yes, the sequence of the events should be fixed for such a workflow. What is a question of the overall workflow too - convergence adjustment is something that I tend to do after some other standardized steps like adjustment of levels and colors - and then convergence.

For a cross dissolve you should anyway stick to a depth continuity, what means that you will adjust convergence in a way that the events fit together. If the base is quite different, then this may be one clear case where you would need an event fx.

If you adjust the timeline new

Desktop: PC AMD 3960X, 24x3,8 Mhz * RTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems