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

DopeLabs dopelabs at dubstep.fm
Mon Aug 28 20:34:37 EEST 2017


instead of  -filter_complex "nullsrc=size=1920x1080
try  -filter_complex "color=s=1920x1080:c=black


> On Aug 28, 2017, at 3:16 57AM, Grégory S <texel3d at gmail.com> wrote:
> 
> Howard can i do that ?
> 
> Le 28 août 2017 12:14 PM, "Carl Eugen Hoyos" <ceffmpeg at gmail.com> a écrit :
> 
>> 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
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> 
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list