Comments (6)
There is no maximum in reality except numerical limit, but Shotcut has limit to keep the user from doing something probably insane. It is wrong to include a maximum for this parameter in metadata/docs.
Solution to what?
from mlt.
There is no maximum in reality except numerical limit, but Shotcut has limit to keep the user from doing something probably insane. It is wrong to include a maximum for this parameter in metadata/docs. Solution to what?
The maximum value is the official documentation content. I have tried setting the outline in MLT, but once it exceeds 3, it becomes ineffective, whereas in Shotcut, it can be set up to 200. How can I make the outline in MLT have a larger setting range like in Shotcut?
from mlt.
The dyanamictext
filter uses either the qtext
or text
filter to generate the text. The text
filter uses either the qtext
or pango
(GDK) producer to generate the text. Which one it chooses depends on your build of MLT. If it includes Qt, qtext
is used; otherwise, pango
is used. It is the pango
producer that has this maximum of 3 because pango does not include outline drawing, and MLT's code does the drawing with this maximum. Qt does not have this maximum. So, the solution is to ensure the MLT qt
or qt6
module is built and working.
from mlt.
The
dyanamictext
filter uses either theqtext
ortext
filter to generate the text. Thetext
filter uses either theqtext
orpango
(GDK) producer to generate the text. Which one it chooses depends on your build of MLT. If it includes Qt,qtext
is used; otherwise,pango
is used. It is thepango
producer that has this maximum of 3 because pango does not include outline drawing, and MLT's code does the drawing with this maximum. Qt does not have this maximum. So, the solution is to ensure the MLTqt
orqt6
module is built and working.
Thank you very much for your response. I found that Qt6 was missing during compilation. However, after recompiling and testing the command 'melt short.mp4 -attach dynamictext:argument="Your Dynamic" olcolour="red" outline=10 size=100 -consumer avformat:output.mp4', I still observe that the outline effect remains limited to 3. Below is the cmake information, and most of the dependencies have been installed. Is there any problem?
from mlt.
I believe that the Qt 6 module is building for you, but that it is not working. You need to pay attention to the text output of melt
to look for errors and maybe use -verbose
to get more info. There might be a runtime problem with your Qt 6 installation. I tested your command line, and it is working for me (outline=10 is thicker than outline=3). If you are trying to use a headless (no screen) system, then Qt will not initialize, and melt will show an error message like:
"The MLT Qt module requires a X11 or Wayland environment.\n"
"Please either run melt from a session with a display server or use a "
"fake X server like xvfb:\n"
"xvfb-run -a melt (...)\n");
You can try using the melt that comes with Shotcut on your desktop system to verify that your command line works.
Also, you can make a test using the qtext
producer directly to verify it works:
melt -verbose qtext text=hello
from mlt.
I believe that the Qt 6 module is building for you, but that it is not working. You need to pay attention to the text output of
melt
to look for errors and maybe use-verbose
to get more info. There might be a runtime problem with your Qt 6 installation. I tested your command line, and it is working for me (outline=10 is thicker than outline=3). If you are trying to use a headless (no screen) system, then Qt will not initialize, and melt will show an error message like:"The MLT Qt module requires a X11 or Wayland environment.\n" "Please either run melt from a session with a display server or use a " "fake X server like xvfb:\n" "xvfb-run -a melt (...)\n");
You can try using the melt that comes with Shotcut on your desktop system to verify that your command line works. Also, you can make a test using the
qtext
producer directly to verify it works:melt -verbose qtext text=hello
"I solved the problem a few hours ago following your suggestion, exactly as you mentioned. I want to express my special thanks for your patient assistance."
from mlt.
Related Issues (20)
- MLT geometric shape support HOT 1
- How to solve the aliasing problem in video mixing process? HOT 1
- Watermark Chinese garbled code HOT 2
- 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
- How to change the spacing of wrapped text? HOT 3
- how to use gpu decode video? 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.