Coder Social home page Coder Social logo

Comments (4)

ddennedy avatar ddennedy commented on May 14, 2024

This works for me using melt or qmelt from Shotcut 16.04. You must make sure that both the MLT qt module and WebVfx are built against the same version of Qt. Where did you get the WebVfx source? From https://github.com/mltframework/webvfx (not rectalogic)? You should try also with qmelt.

What is "DISPLAY=:1.0"? Are you using a headless system?

from mlt.

geoffroymontel avatar geoffroymontel commented on May 14, 2024

Thanks for your quick reply !

Yes, I'm using a headless system, compiling MLT on a bare Ubuntu 14.04 TLS server.

I'm building MLT and WebVfx with melt build-melt.sh script.
I just set ENABLE_WEBVFX=1 in build-melt.conf

I'm not yet familiar with qmelt, I will try it out, and will try to find out whether qt and webvfx are built against the same version of Qt.

Wil keep you posted.

from mlt.

ddennedy avatar ddennedy commented on May 14, 2024

What is DISPLAY pointing to exactly?

On a headless system, when using Qt, you typically use xvfb-run -a melt ... (or qmelt). qmelt is simply a melt wrapper provided by webvfx that addresses the warning you are getting "QApplication was not created in the main() thread." It creates a QApplication in the main thread.

I think whatever you are trying to do with DISPLAY is not working and causing your error "GLib-CRITICAL **: g_main_context_push_thread_default: assertion 'acquired_context' failed"

If you plan to use WebGL in WebVfx, there is more work to be done to ensure you have mesa with llvmpipe and add -s '-screen 0 640x480x24' to the xvfb-run command.

from mlt.

geoffroymontel avatar geoffroymontel commented on May 14, 2024

Dan, you were right once again ! It was a problem of compatibility between QT4 and QT5.
I reinstalled my dev box with QT5 development libraries only, recompiled melt and webvfx and now it's running smoothly.
I haven't tried yet using xvfb-run nor qmelt but I will investigate those too.

Thanks a lot !

from mlt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.