Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCIOLut plugin from latest Windows binary not working with Vegas #418

Open
diaasami opened this issue May 19, 2015 · 17 comments
Open

OCIOLut plugin from latest Windows binary not working with Vegas #418

diaasami opened this issue May 19, 2015 · 17 comments

Comments

@diaasami
Copy link

Using the latest binary from http://www.tuttleofx.org/download on Windows with Sony Vegas 13, OCIOLut plugin doesn't work, the previous binary of TuttleOFX used to work but the latest doesn't.

It shows up and everything, but the effect isn't applied at all.

I tried using the free Adobe AfterEffects plugin based on OCIO and it works, so it seems something with the latest build.

Any idea why that might be ?

@diaasami diaasami changed the title OCIOLut plugin not working in latest Windows binary OCIOLut plugin not working with Vegas in latest Windows binary May 21, 2015
@diaasami
Copy link
Author

I have just tried sam to do the same thing and it seems to work, which is surprising.

@diaasami diaasami changed the title OCIOLut plugin not working with Vegas in latest Windows binary OCIOLut plugin from latest Windows binary not working with Vegas May 21, 2015
@cchampet
Copy link
Member

Hi,
So we are looking for something different between Tuttle and Vegas hosts, about openFX plugins.
Do you have an error message from Vegas?

@diaasami
Copy link
Author

Yes it seems so, I've just tried the TuttleBlur plugin and it's the same.

There are no obvious error messages, I went and checked Vegas logs but there are no errors, the logs from both tuttleofx and vegas look OK, I noticed that in the preview thumbnail in Vegas, which shows an image split in half, with the left part untouched and the right part with the plugin applied, the right half shows up as a solid mustard color.

Tell me if you have any ideas, I'll probably try debugging this later today.

@diaasami
Copy link
Author

Turns out that Vegas passes the input to the plugin with UByte bit depth, although the plugin clearly mentions that only float is supported during initialization.

Is this common ? do you have other OFX hosts misbehaving like this ?

@cchampet
Copy link
Member

This is a strange behavior, and I am not aware of other OFX hosts which behave like this.
Like you said, the OCIOLut plugin declares that only float is supported.
Did you try to contact Sony Vegas guys?
In your first message, you told us that the previous version of the plugin worked. Was it with the same version of Vegas?

@diaasami
Copy link
Author

I dug in the history and I found that there was an old version of OCIO that supported all bitdepths and that's the one that worked I believe.

EDIT:
No I haven't contacted Sony, I'll try that.
It used to work with the same version of Sony Vegas (Sony Vegas 13.0)

@cchampet
Copy link
Member

Ok I don't know the reason of these changes.
@fabiencastan ?

@diaasami
Copy link
Author

Let me add more information:

  1. This is how it looks, compared to other plugins: here
  2. Exactly the same happens with tuttleBlur.
  3. I have just tried another non-tuttle OFX plugin that supports only 8bit depth and it works in Vegas.
  4. I tried a few other compositors:
  • DaVinci Resolve 12: Doesn't work.
  • Natron v1.2.1: Works.

@archetyped
Copy link

Hi, I would love to get TuttleOFX plugins working in Sony Vegas Pro as well. Unfortunately, I'm not even seeing them in Vegas' Video FX tab when I add them to Vegas' OFX plugins directory.

Any instructions for using TuttleOFX plugins in an OFX-compatible host such as Sony Vegas Pro would be greatly appreciated.

Thanks.

@cchampet
Copy link
Member

Hello,
What is your platform (Mac OS, Win...) ?
Do you have some log from Sony Vegas Pro ?

The first step to use any OpenFX plugin in any OpenFX host, is to set an environment variable to tell where are the plugins. The variable is OFX_PLUGIN_PATH. After that, each host has its specificities and its ways to manage OpenFX plugins.

But you are right we will describe a bit more how to use TuttleOFX plugins into each famous host.

@archetyped
Copy link

Hi, apologies for not clarifying, Vegas Pro is Windows only.

@archetyped
Copy link

Hi, this may have some information regarding Vegas-specific OFX compatibility: https://github.com/devernay/openfx-vegas

@diaasami
Copy link
Author

Based on my investigation and work, which I can't share unfortunately, there are two problems with Tuttle working in Vegas(please take this with a grain of salt as I am new to OpenFX):

  1. Vegas not providing multithreading support functions, e.g. mutexCreate always returns an error, which causes Tuttle to crash in initialization, I fixed this by replacing calls to mutexCreate with the new C++11 std::mutex class.
  2. Vegas is probably violating OpenFX standard here, it passes image formats that are not supported by the plugin regardless of what the plugin declares during the describe phase, so in my case, because the default for projects in Vegas is 8-bit, it passed 8-bit data to the plugin although the plugin declares that it only supports 32-bit bit-depth, this can be fixed by changing the project bit-depth to 32-bit.

After doing these or changes. I was able to get Tuttle plugins working in Vegas.

@cchampet
Copy link
Member

Thank for your great job @diaasami !
We will do the corresponding updates to use Tuttle plugins on Vegas. But until this work be done, could you share with us your build of Tuttle which works on Vegas?

@diaasami
Copy link
Author

release 0.8

@archetyped
Copy link

I've downloaded release 0.8 and can confirm that the OFX plugins are indeed visible in Sony Vegas.

However, while you can add TuttleOFX's plugins to a video clip, none of the plugins have any effect on the video's image.

@archetyped
Copy link

Quick Update: Just came across Vision Color's OFX LUT Plugin, which is based on TuttleOFX's OCIOLut plugin. Perhaps this might provide some insight on what needs to be done for the official TuttleOFX plugins to work in Vegas.

vision-color_ofx-lut-plugin_about

@cchampet cchampet removed this from the 0.13.0 milestone Oct 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants