I'm trying to use FFMPEG to overlay one video on another. I'm using the following:
ffmpeg \
-i avi1.mp4 -i avi2.mp4 \
-filter_complex " \
[0:v]setpts=PTS-STARTPTS, scale=480x360[top]; \
[1:v]setpts=PTS-STARTPTS, scale=480x360, \
format=yuva420p,colorchannelmixer=aa=0.5[bottom]; \
[top][bottom]overlay=shortest=1" \
-acodec libvo_aacenc -vcodec libx264 out.mp4
The resulting video seem to have the colours of the original videos washed out.
Here is an image of the two videos before the merge:
And here is an image of the output after merging them together:
I'm wondering why the resulting video has the colours altered in this way and how I can merge the two videos together without the colours being altered in this way.