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.
111
questions
-1
votes
1
answer
48
views
Render dynamic animated editable text
I am working on one web application development where i need to render glsl which can support editable animated text.
Whereas User can edit the animated text which can be rendered through webgl.
Can ...
0
votes
0
answers
14
views
Media Lovin Toolkit in Node.JS
I want to create an application in Node.JS that uses MLT(Media Lovin Toolkit) for mixing some videos and streaming through RTMP.
I found one package that generates XML instructions for MLT, but it ...
0
votes
1
answer
88
views
add custom ffmpeg avfilter in mlt [closed]
I created one custom filter under av filter and added it into ffmpeg.
I build the ffmpeg and in ffmpeg its working fine and visible in ffmpeg filter list.
Now I tried to build mlt with this custom ...
0
votes
1
answer
13
views
Mlt: change profile to current clip
In order to get the length of a clip in the MLT framework, I need to configure the mlt profile to 24fps like my clip. So I tried to do (python binding):
In [1]: import mlt
In [2]: mlt.Factory.init()
...
0
votes
0
answers
29
views
Melt: frame precise concatenation
I tried to concatenate a number of video files:
$ melt file01.mp4 file02.mp4 filen.mp4 170_ot_proof.mp4 170_thanks.mp4 -consumer "avformat:total.mp4" acodec=libmp3lame vcodec=libx264
+-----+ ...
0
votes
0
answers
36
views
MLT 3 ENCODING question is causing confusion
How does the expression mod(cumsum([1 0 1 1 0 0 1]),4) perform MLT-3 encoding?
Currently trying this out in Octave to get a better understanding but can't seem to wrap my head around it.
0
votes
0
answers
24
views
Solr MoreLikeThis find documents that are near identical
I have index with documents that are basically scraped website content. I need to be able to serve documents that are nearly identical. This requirement arises when one website copies content from ...
0
votes
1
answer
99
views
Melt framework - Add a background persisten between videos
I need to merge videos in a ratio of 16:9 with a png image to use instead of the black borders.
I'm running this command:
melt vid_1.mp4 vid_2.mp4 -mix 30 -mixer luma -consumer avformat:finish.mp4
I ...
0
votes
1
answer
110
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
43
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
228
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
45
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
37
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
34
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
223
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
38
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
58
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
61
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
238
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
87
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
151
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
817
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
154
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
56
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
48
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
144
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
156
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
135
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
123
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
74
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
215
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
177
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
25
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
269
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
1k
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
333
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
103
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
159
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
390
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
172
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
527
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
179
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
58
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
389
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
454
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
269
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
221
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
163
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
116
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
78
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 ...