Thanks Dan, maybe i solved this morning.

I wasn't using MLT directly from a lot of time after switching to
other projects that OTVA, so my memory lacks :D but i remember this
morning the -profile directive ;-)

seems that forcing the dv_pal solved the problems with those clips
that before i cannot reproduce using mel command.

So:
./melt -profile dv_pal -consumer decklink:0 test_clip1.mp4
works well

instead:
./melt  -consumer decklink:0 test_clip1.mp4
fires: [consumer decklink] Profile is not compatible with decklink.

For me is ok, i solved. Hope this could hel otheres.

PS: Dan, i always have to great you for the great job in MLT (and not only :-) )

On 29 March 2018 at 19:43, Dan Dennedy <d...@dennedy.org> wrote:
> On Thu, Mar 29, 2018 at 10:26 AM Federico Allegretti <allegf...@gmail.com>
> wrote:
>>
>> hello.
>>
>> experiemnting with melt by command line.
>>
>> Trying to exit trough the deckink consumer like that:
>> melt -consumer decklink file1 file2 file3 ...
>>
>> I forced the fact really hard i suppose, in fact some files are 1080,
>> some 720, some SD and also i mixed 25fps and 30fps clips :D
>>
>> Seems decklink do not love this mess :D
>>
>
> decklink consumer does not care about mixing the video attributes such as
> this. melt will read the first file, get its attributes, and generate a
> mlt_profile from them. Then, the decklink consumer must try to find one of
> its preset video modes [1] that matches the profile. I do not know what
> happened in your case, but it sounds like perhaps the match failed, and
> decklink failed to initialize.
>
>>
>> Is there a trick to "rescale" all of the incoming video iles to a
>> common size/framerate?
>
>
> Use the "-profile <profile_name>" option and choose a compatible profile
> from the list reported by "melt -query profiles"
>
>>
>>
>> upscale to 1080 if HDMI selected trough blackmagic set util or
>> downscale to SD if analog SD video output was set?
>>
>> I tried with resize e rescale filters .. but nothing changed.
>
>
> Scaling is automatic to the profile. Everything is either scaled up or down,
> preserving aspect ratio, and adding black bar padding where needed (no
> cropping). If you want to center crop to remove black bars you can add
> "-attach crop center=1" following every clip you want to apply it to. If you
> want full control over scaling/pan/crop, you need to apply a filter such as
> affine - see one of the GUI MLT apps for examples of usage.
>
>>
>>
>> PS: this set is know by the user and no need to detect it by system
>> properties.
>>
>> Cheers,
>>
>> Federico
>
>
>>
>> --
>> Open TV Architecture project: http://sourceforge.net/projects/otva/
>>
>> Messagenet VOIP: 5338759
>>
>> YouTube Channel: v1p3r's lab
>>
>> VIMEO HD videos: http://www.vimeo.com/user1912745/videos
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Mlt-devel mailing list
>> Mlt-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mlt-devel



-- 
Open TV Architecture project: http://sourceforge.net/projects/otva/

Messagenet VOIP: 5338759

YouTube Channel: v1p3r's lab

VIMEO HD videos: http://www.vimeo.com/user1912745/videos

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to