Hi Tomas, my take in the tail

Am 2016-10-02 um 23:29 schrieb Tomas Hlavaty:
> I simply write a shell script, something like:
>
> example.sh:
> melt \
>   -profile atsc_720p_25 \
>   color:black out=24 \
>   pic1.png out=115 \
>     -mix 25 -mixer luma \
>   vid1.mp4 in=5260 out=6775 \
>     -mix 25 -mixer luma \
>   vid2.mp4 in=7538 out=10210 \
>     -mix 50 -mixer luma -mixer mix:-1 \
>   -consumer avformat:output.mp4 f=mp4 acodec=aac vcodec=mpeg4 b=6000k
>
> and call it:
> $ bash example.sh
>
> It would be nicer, if I could create a file:
>
> example.melt:
> -profile atsc_720p_25
> color:black out=24
> pic1.png out=115
>   -mix 25 -mixer luma
> vid1.mp4 in=5260 out=6775
>   -mix 25 -mixer luma
> vid2.mp4 in=7538 out=10210
>   -mix 50 -mixer luma -mixer mix:-1
> -consumer avformat:output.mp4 f=mp4 acodec=aac vcodec=mpeg4 b=6000k
>
> and call it:
> $ melt melt:example.melt
>
> with the ability to comment out things in the melt file and include
> other melt files, something like:
>
> example.melt:
> -profile atsc_720p_25
> color:black out=24
> pic1.png out=115
>   -mix 25 -mixer luma
> vid1.mp4 in=5260 out=6775
>   -mix 25 -mixer luma
> #vid2.mp4 in=7538 out=10210
> #  -mix 50 -mixer luma -mixer mix:-1
> melt:example2.melt
> -consumer avformat:output.mp4 f=mp4 acodec=aac vcodec=mpeg4 b=6000k
>
> Then cli melt would be almost perfect:-)

The only difference between the perfect and what is in existence that I 
can spot is the escaping of newlines ;)

-- 
Peter

------------------------------------------------------------------------------
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