Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Openfx plug-in development

  • Frederic Baumann

    October 29, 2010 at 1:51 pm

    confirmation that VC++ Express 2010 only does 32 bit:

    https://msdn.microsoft.com/en-us/library/hs24szh9.aspx

    So any suggestion to make 32-bit OFX plug-ins work in Vegas 64 bit much much appreciated!!

    Thanks,
    Frédéric


    Want to learn on Sony Vegas Event Pan/Crop tool? Watch my video tutorial:
    https://library.creativecow.net/baumann_frederic/Sony-Vegas_event-pan-crop-tool/1

    Or about Keyframes? https://library.creativecow.net/articles/baumann_frederic/Animating-with-Keyframes-in-Sony-Vegas.php

    French version: https://geo.creativecow.net/fr/a/12999

  • John Rofrano

    October 29, 2010 at 3:36 pm

    [Frederic Baumann] “I am afraid this is because I compiled it as a 32 bit DLL, and I have the 64 bit version of Vegas.

    Would you confirm?”

    Confirmed! 32-bit plug-ins will not with with 64-bit Vegas.

    ~jr

    http://www.johnrofrano.com
    http://www.vasst.com

  • John Rofrano

    October 29, 2010 at 3:40 pm

    [Frederic Baumann] “So any suggestion to make 32-bit OFX plug-ins work in Vegas 64 bit much much appreciated!!”

    Buy the full version of Visual Studio C++. Software development is not cheap. Most people can’t appreciate that; they think we create it for free.

    ~jr

    http://www.johnrofrano.com
    http://www.vasst.com

  • John Rofrano

    October 29, 2010 at 3:43 pm

    Now that I think of it… you could try compiling with GCC (the open source C++ compiler) I have no idea how to use it… I use Visual Studio that I bought.

    ~jr

    http://www.johnrofrano.com
    http://www.vasst.com

  • Frederic Baumann

    October 29, 2010 at 4:18 pm

    Thanks John for your answers!

    Visual Studio Professional is approx. 900 euros, which is way too expensive for me and what I want to do (but I agree this is definitely a great tool). It’s too bad because most of my developments needs are fully covered by the free Express, except for this 64-bit stuff.

    GCC works pretty fine on Linux, I have never used it on Windows. I should give it a try, you are right. However it will not have the cool debugging facilities provided by VS – but still better than nothing. Thanks! will let you know if it is not too nightmare to install it.

    Frédéric

  • John Rofrano

    October 29, 2010 at 7:25 pm

    I think today is your lucky day! I found an article in the MSDN library on how to configure Visual Studio C++ for 64-bit!!! Here is the link:

    How to: Configure Visual C++ Projects to Target 64-Bit Platforms

    It says:

    Note 64-bit tools are not available on Visual C++ Express Edition by default. To enable 64-bit tools on Visual C++ Express Edition, install the .NET Framework SDK in addition to Visual C++ Express Edition. Otherwise, an error occurs when you attempt to configure a project to target a 64-bit platform using Visual C++ Express Edition.

    I hope this means it works for you (let me know).

    ~jr

    http://www.johnrofrano.com
    http://www.vasst.com

  • Frederic Baumann

    October 29, 2010 at 8:43 pm

    That’s really cool! Many thanks once more 🙂

    Meanwhile, I have downloaded an eval of the VS Pro 2010, at least to check I could make the samples work.

    I could compile the ‘basic’ ofx sample, could make it recognized by Vegas in the video effects list, but it crashes when I simply clic on it in the list.

    I did not investigate more (I switched back to my script/extension other stuff…). But since these samples are not devoted to Vegas, they appear to be built in 32-bit by default, presumably for other OFX containers in 32-bit mode.

    According to the error message I got on the crash, I suspect a problem of struct fields alignment when the project is switched to 64bits. I have read here and there that even though OFX was standardized, it was not working perfectly with all containers (too nice to be true, as frequently in computers). Maybe I will have to tweak some compilation settings like byte alignment or so. As a matter of fact, the standard is at the C source level, not at the binary level. So data type definitions or not guaranteed to interoperate between the various providers and consumers of plug-ins.

    To be followed, but now I am no more constrained to the 30-day eval period to investigate this, thanks to your post 🙂

    As usual, if you have any insight on this, I will be interested to read you!

    Frédéric


    Want to learn on Sony Vegas Event Pan/Crop tool? Watch my video tutorial:
    https://library.creativecow.net/baumann_frederic/Sony-Vegas_event-pan-crop-tool/1

    Or about Keyframes? https://library.creativecow.net/articles/baumann_frederic/Animating-with-Keyframes-in-Sony-Vegas.php

    French version: https://geo.creativecow.net/fr/a/12999

  • John Rofrano

    October 30, 2010 at 2:25 pm

    [Frederic Baumann] “As usual, if you have any insight on this, I will be interested to read you! “

    My only suggestion is that you wait for the new Vegas OFX SDK to be released. The one on the Sony site is still the old DirectX SDK. I doubt you will get the standard OFX samples to work in Vegas without the Vegas OFX SDK. I could be wrong but the SDK is probably there for a reason. 😉

    ~jr

    http://www.johnrofrano.com
    http://www.vasst.com

  • Frederic Baumann

    October 30, 2010 at 3:39 pm

    Hi,

    Actually, I managed today to make the sample work. The problem was due to the fact that the code was trying to retrieve a boolean parameter. The storage was as big as a bool, but the API was retrieving an int. I guess in 64 bits (unlike in 32 bits), bool and int do not have the same footprint, so the memory was corrupted.

    I have indeed managed to write my own OFX plug-in, I am testing it right now, and will hopefully publish it if some readers here are interested by the offering. It seems to have everything working fine so far, with graphical parameters adjustment, keyframing/animation, appropriate rendering, persistence of settings into the .veg project file.


    Want to learn on Sony Vegas Event Pan/Crop tool? Watch my video tutorial:
    https://library.creativecow.net/baumann_frederic/Sony-Vegas_event-pan-crop-tool/1

    Or about Keyframes? https://library.creativecow.net/articles/baumann_frederic/Animating-with-Keyframes-in-Sony-Vegas.php

    French version: https://geo.creativecow.net/fr/a/12999

  • Jonathan Thomas

    November 1, 2010 at 12:32 am

    When it’s done. Let us know!!!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy