
I don't know how to proceed from here.There's so many thing you can do with FFMPEG video editing library, for me simple video editing like trimming, cropping, flipping is much more faster doing it on command line or terminal using FFMPEG. I have asked about problems on IRC and got this far. To give a better perspective of what I'm trying to do: trying to add a video as though it was being played on a phone that is moving.

Some of the parameters in the above commands (such as perspective, fade) are arbitrary. I do not want it to be square, but of the dimension specified by perspective filter. The final output has flickering background in the place where the rotated video has margins.Am I adding alpha channels the right way?.In this process, I'm facing a few problems: Define fadein, fadeout, scale, overlay, perspective and rotation then output the video: ffmpeg -y -i demo.mov -i demo2.mov -filter_complex " fade=in:10:1:alpha=1, fade=out:500:1:alpha=1, scale=80:80, perspective=x0=0:y0=0:x1=W:y1=40, rotate=-0.1745:c=none overlay=100:100 " -map "" out.mov.Add alpha channel to both the videos: ffmpeg -i demo.mov -vcodec qtrle -pix_fmt argb demo.mov.I want to rotate, resize and overlay the shorter video on the larger one at defined coordinates.

I have two videos one larger than the other. I'm new to ffmpeg (video encoding in general).
