Comments (4)
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.
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.
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.
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)
- Video cannot be played on IOS phones HOT 1
- Can't build on MSVC 2019 HOT 1
- Multi track video synthesis is very resource and time consuming
- Shotcut crashes after timeline undo operations with MLT 7.20.0 HOT 2
- Memory leak when Kdenlive project contains clip with changed speed and FX HOT 5
- mlt 7.22.0 does not compile with libxml2 2.12.0
- Exporting AVI format videos is very blurry and clearly mosaic like HOT 2
- 7.22.0 CMakeLists.txt HOT 1
- mlt.so does not specify dependency on libruby.so HOT 1
- [SVT-AV1] MLT does not seem to support any configuration done via Kdenlive interface except "preset". HOT 1
- Discovered a bug regarding image size scaling and rotation
- sdl consumer may require SDL12COMPAT_NO_QUIT_VIDEO
- Protobuf duplicate library causes crash HOT 3
- Melt SIGSEGV when using the -chain flag HOT 5
- "Why does the outline range of fonts in Shotcut span from 0 to 200, while in MLT, the range is only from 0 to 3? Is there any solution?" HOT 6
- How to change the spacing of wrapped text? HOT 3
- how to use gpu decode video? HOT 1
- MLT master fails to build with ffmpeg 7.0 HOT 6
- Is there something wrong with the hash function of mlt_properties_add? HOT 2
- avformat: vbr parameter should also accept integer values HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlt.