[FFmpeg-user] Set a background color to a mosaic

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Aug 28 13:14:04 EEST 2017


2017-08-28 12:07 GMT+02:00 Grégory S <texel3d at gmail.com>:
> Hi,
>
> i use FFMpeg to create a mosaic.
> It works but the background color of the mosaic of my output video is green
> by default.
> How can i modify my command line in order to have a black color as
> background for my mosaic ?
>
> "ffmpeg.exe -i C:/source/video1.mp4 -i C:/source/video2.mp4 -filter_complex
> "nullsrc=size=1920x1080 [base]

Did you try using the color filter instead of nullsrc for the background?

Carl Eugen


More information about the ffmpeg-user mailing list