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
<https://github.com/mltframework/mlt/blob/master/src/modules/decklink/linux/DeckLinkAPI.h#L82>
[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
>
------------------------------------------------------------------------------
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