Questions tagged [mlt]
MLT is an open source multimedia framework, designed and developed for television broadcasting. It provides a toolkit for broadcasters, video editors, media players, transcoders, web streamers and many more types of applications.
103
questions
0
votes
1
answer
22
views
mlt failing after upgrade to fedora 36
Since upgrading my PC from Fedora 35 to Fedora 36, kdenlive has failed to render. I traced the problem to mlt-melt.
$ mlt-melt export.mlt
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----...
0
votes
2
answers
25
views
Melt throws “Property without service 'property'”
When building certain mlt files with melt 7.1.0, they run just fine, but when building them with melt 6.24.0, the error message
[producer_xml] Property without service 'property'?
[producer_xml] ...
3
votes
1
answer
116
views
Melt: How to convert vertical video with black sides, to video 16:9, with blurred background sides
I saw many discussions on how to do this with ffmpeg, but how can I do it with melt command line?
I'm using the below command to merge video and audio and to resize any video to 1280x720 which is ...
0
votes
1
answer
29
views
Is X11 required for adding text overlay?
I'm trying to run the below command in a script and it seems it's not adding any text layout to the video, I'm sure I didn't it before and it was fine.
My question is, do I need to set up X11 ...
0
votes
1
answer
21
views
Crop filter isn't applied to mixing transitions?
When I apply a -filter crop parameter to my melt script, it only seems to crop each clip - not the -mix mixing between clips.
melt \
clip1.mp4 in=180 out=360 \
-mix 20 -mixer luma -mixer mix:-1 \
...
0
votes
0
answers
27
views
h264_qsv leads to memory leak
I use h264_qsv encoder to export a video.
The mlt xml :
<consumer mlt_service="avformat" target="10.mp4" strict="experimental" vn="0" vcodec="h264_qsv&...
0
votes
1
answer
82
views
pass ffmpeg options through mlt xml
I'm looking at an MLT XML file that I created with kdenlive and would like to tweak the command line options passed to ffmpeg.
If I understand correclty, this is the part that I need to edit:
<...
-1
votes
1
answer
28
views
mlt: format dynamictext timecode?
Is there a way to format the #timecode# argument in the dynamictext filter, like there is with the #localtime# argument? I’d like to display only the minutes and seconds of the timecode, but entering ...
0
votes
1
answer
36
views
mlt: image distortion using lossless codec
I have two 1920x1080 PNG files, center.png and right.png, which are identical except that the image in right.png is shifted horizontally by 325 pixels.
With mlt XML, I made a two-second long video ...
0
votes
1
answer
35
views
Side by side video with slideshow and change sizes in MLT
I have a specific task I'm attempting to do. Unfortunately I am not an expert in MLT and was given this project and told to "go do it"
The end goal is to have video plus a slideshow side by ...
-1
votes
2
answers
170
views
MLT melt slideshow on Windows: unable to control output video length and problems with using wildcards
I am using the following command within a batch script to, hopefully, eventually programmatically create simple video slideshows with transitions:
melt 131.jpg 132.jpg 133.jpg ttl=75 -attach crop ...
0
votes
1
answer
59
views
What is the difference between MLT profiles and MLT presets?
MLT profiles and MLT presets
They're both text files of thing=thing\n which apply to an MLT thing, which change how the 'mlt service' works.
And how can I add a new profile? And a new preset?
0
votes
1
answer
109
views
How to compile a simple MLT example in C?
I am trying to compile an example code from the MLT Framework website that shows how consumer/producer work. The code is as follows:
#include <stdio.h>
#include <unistd.h>
#include <...
-1
votes
2
answers
545
views
MLT query video_codecs not listing libx264
Querying video codecs does not list libx264 as an available codec
[terry@localhost ~]$ melt -query video_codecs | grep 264
- h264_nvenc
- h264_v4l2m2m
- h264_vaapi
- nvenc_h264
- h264
- ...
1
vote
1
answer
100
views
MLT XML: specifying codec for input data
I'd like to change the codec ffmpeg inside MLT is using to decode the producer file from native opus to libopus.
The FFmpeg command should be like: ffmpeg -acodec libopus -i 851515232352539900.mkv....
...
0
votes
1
answer
43
views
Using mlt framework to export flac file play time error
I use the mlt framework to convert aac to flac files,and the code as follows:
'''
consumer.set("acodec", "flac");
consumer.set("ab","1030k");
consumer.set("ar",44100);
consumer.set("channels",2);
'''...
0
votes
1
answer
45
views
The exception caused by modify FPS
I use the mlt++ modify FPS as follows:
consumer->set("frame_rate_num", 60.0);
consumer->set("frame_rate_den", 1);
producer->profile()->set_frame_rate(60, 1);
producer->set("length", ...
0
votes
2
answers
115
views
generate video containing scrolling image using MLT
I want to generate a video [let's say 1920x1020] from a 1920x10000 still image.
The image has to scroll, from top to bottom as if someone was actually scrolling a page.
Found answers how to make it ...
0
votes
2
answers
134
views
MLT/XML: optimizing repetitive attribute lists in a tag
I'm working on a project that will produce MLT files based on user input. A typical case may produce an MLT file containing thousands of nearly-similar filters. Each filter will have 11 attributes, ...
0
votes
1
answer
97
views
MLT transparency of watermarks and tracks not working
I am trying to get melt to work, but it seems, it doesn't support transparency (alpha channels)! Using the official watermarking example, I get a black background behind the PNG and don't see any ...
0
votes
1
answer
97
views
mlt: why is dynamictext working, but not text or qtext?
Here's a minimal MLT file that writes some text to the video output:
<?xml version="1.0"?>
<mlt>
<profile width="320" height="240"/>
<multitrack>
<playlist>
...
-1
votes
1
answer
43
views
Melt composite transition is slightly blending
Note: Output size is 10x10 for demonstration, since blending is consistently 2 pixels. I then scaled the output to 100x100 for easier web viewing.
Output vs Expected output:
melt \
-video-track ...
0
votes
1
answer
173
views
melt failed to load filter and transition qtblend
I've installed melt from sources in Ubuntu 18.10, codename:cosmic
Everything seems to be fine but when I'm trying to play some kdenlive file I got
[producer_xml] failed to load filter "qtblend"
[...
-1
votes
1
answer
100
views
MLT Framework. Make sliding transition with blur
Need to make transition between two video clips with sliding from top to bottom and add blur effect:
https://www.dropbox.com/s/epavjs1zbo12hc7/test%20down%20transition.mp4?dl=0
melt 1.mp4 2.mp4 -mix ...
0
votes
0
answers
19
views
Found a issue with watermark. It adds a 1 pixel black line at the bottom of image, when backgound of uses light color
[Source image does not contain bottom black line ][1]
1
vote
0
answers
209
views
Understanding MLT melt mixer luma mix (fade) duration?
Related to Understanding/controlling MLT melt slideshow?, I am trying to understand how does melt's luma mixer work, especially in context of short (small frame number) durations.
For instance, if I ...
3
votes
1
answer
833
views
Understanding/controlling MLT melt slideshow?
Consider the following bash script (on Ubuntu 18.04, melt 6.6.0), which uses melt to make a slideshow and play it locally in a window (SDL consumer), mostly copied from https://mltframework.org/blog/...
0
votes
1
answer
273
views
Get data of similar record in elastic search in million records
Can We use MLT concept of ES to filter documents with similar fields.Is it possible to give weight to the individual field. What is elastic search recommendations.
-1
votes
1
answer
68
views
No sound after merging two videos using melt tool
I am using melt tool to merge videos. It merges videos but in the output file sound is missing. Bot video1.mp4 and video2.mp4 have sound so I would expect output file to have it too. Could somebody ...
0
votes
1
answer
135
views
MLT - 10-bit LUT support
I'm an MLT user via several open source NLE video editors (kdenlive).
It appears that MLT is unable to process a 10 bit LUT.
Prior to MLT 6.10 applying a 10 bit LUT like the DJI Mavic 2 Pro DLOG-M ...
1
vote
1
answer
300
views
MLT - How to add easing to transition or filter?
Is it possible to make some smooth movement with a picture (or anything else)? An acceleration, deceleration...
I know we can use keyframe geometry to move an element but the movement is not smooth. ...
0
votes
1
answer
148
views
MLT timecode with multiple source frame rates and audio sources
I assume that if I specify in and out parameters for an avformat producer, MLT interprets these numbers with respect to the file's intrinsic frame rate. E.g., for a source file at 60fps, 00:00:01:10 ...
1
vote
2
answers
472
views
mlt melt image slideshow from text file
On my site I have ffmpeg set up to convert a list of image paths from a text file into a slideshow like so --
My text looks something like this (actual file names are not sequential) -
ffconcat ...
1
vote
1
answer
150
views
mlt melt slideshow with audio is not playing sound
I am trying to run a melt/mlt command and so far it seems to work EXCEPT there's no audio sound being played. I know the audio track is being added because the length of the video. Here's what I have -...
0
votes
1
answer
51
views
Mov file playback error using MLT Melt on OSX
I'm trying to playback a Mov file on OSX using the command:
$melt MVI_3001.mov
However, there's a momentary flash and the following error:
libc++abi.dylib: terminating with uncaught exception of ...
0
votes
1
answer
321
views
MLT Framework: How to add zomm animation to all the tracks?
I have three tracks as follow:
track0: [---------------------black-----------------------]
track1: [-------------------in.mp4------------------------]
track2: [-----][1.jpg][----------][1.jpg]
...
-1
votes
1
answer
373
views
how to apply consumer info to a mlt file as shotcut does
I'm using both melt command line and shotcut to do video editing.
I'd like to check the xml by right click on the Jobs window, which sits on the right side of shotcut Application window, and click ...
0
votes
0
answers
208
views
how to use melt to do video overlay? It's just like a PiP(picture in picture)
I want to use melt.exe (command line video editor) to do something with video overlay. It's like overlay a video on the other that I can control the size and position of the video which will be placed....
1
vote
1
answer
180
views
MLT time specification format
I'm looking for documentation on how MLT parses time specification strings. I see what appears to be two styles:
hh:mm:ss.fraction
frames
I think the number to the right of the decimal in m:s format ...
0
votes
1
answer
149
views
MLT XML voiceover
I have two video clips and two audio clips. I want to combine them such that each audio overlays on top of its video, and the results run sequentially:
[video0 ][video1 ]
[audio0 ] [...
1
vote
1
answer
94
views
Is there any way to specify clip length instead of using `out` parameter?
I can play a video with melt if I do the command:
melt video.mp4 in=50 out=1000
The in parameter lets me specify that I want the video to start at frame 50. The out parameter lets me specify that I ...
0
votes
1
answer
76
views
mlt double tent fade in and fade out
Yesterday I saw the wonderfull screen transition effect of a samsung smartphone, where the fade out and fade in was not just all screen getting black and coming back, butthe black color is arriving ...
0
votes
1
answer
46
views
Putting a vertical PNG in a horizontal project in KDEnlive result a black bar
Here's the problem
Here's something else
This is a KDEnlive problem on Windows (maybe on other OS as well). When I try to put put a vertical screenshot (PNG if that matter) it will display a black ...
0
votes
2
answers
482
views
Mlt Framework - 32 bit Windows build is not functional
I'm evaluating using the MLT framework to process and concatenate some videos. I would need to integrate it with a 32 bit C# application, and also apply some dynamic, custom overlay to the data based ...
0
votes
1
answer
309
views
MLT Move video upper?
Had to make something like this, but i can't find way how to move video which is at middle a bit upper...
melt in.mp4
-filter watermark:"title.jpg" composite.progressive=1 producer.align=centre ...
0
votes
1
answer
192
views
ffmpeg copy command in MLT Multimedia Framework
Regards,
What is the equivalent of this ffmpeg command
ffmpeg -i in.mp4 -c copy out.mp4
in MLT Multimedia Framework MLT?
Thank very much!
1
vote
1
answer
462
views
MLT framework. Need to mix soundtracks with volume changes
Need to merge for example 3 videos with/without sound and add soundtrack from mp3 to those who doesn't have sound (videos with sound is known before):
melt 1.mp4 2sound.mp4 -mix 30 -mixer luma 3.mp4 -...
1
vote
1
answer
713
views
Need Preset that will make mp4 H264 with MP3 Encoding
Working With KDEnlive 16.12 on a Ubuntu Mate 16.04.2 i7-920 System
From what I understand KDEnlive 16.12 uses the Melt Framework to compose the video presets.
Am trying to define a preset for
MP4 ...
0
votes
1
answer
253
views
MLT Framework. Insert zoomin text on video
Need to achieve effect something like that: put zoomingIn text on video background (black with some animation) between other videos.
Demo: https://www.dropbox.com/s/ehqwkjgu5u5e9rp/4%20Cultivar%20Road%...
0
votes
1
answer
797
views
MLT Framework. How to add text or image watermark on the center of video and add zoomIn animation to it?
Tried this:
-filter watermark:"welcome.jpg" in=0 out=320 composite.progressive=1 producer.align=centre composite.valign=middle composite.halign=center crop_to_fill=1 composite.geometry="0=0,0:80%x80%:...