Saturday, 7 April 2018

video - Need to concat two ffmpeg commands

First command - add watermark to my video:


"-y", "-i", videoUrl, "-strict", "experimental", "-vf", "movie=" + watermarkImagePath + "[watermark];[in][watermark]overlay=15:main_h-overlay_h[out]", "-s", "360*480", "-r", "20", "-b", "15496k", "-vcodec", "mpeg4", "-ab", "48000", "-ac", "2", "-ar", "22050", outputVideoUrl

Second command - concat other video along with watermarked video (first command video as input):


"-i",inputFile1,"-i",inputFile2,"-v","debug","-strict”,”-2”,”-filter_complex","[0:v][0:a:0][1:v][1:a:0]concat=n=2:v=1:a=1[v][a]","-map","[v]","-map","[a]",outUrl

Please help on merging this as single command.

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...