[FFmpeg-user] Insert black frames -- How?

Carl Zwanzig cpz at tuunq.com
Tue Feb 9 03:24:55 EET 2021


On 2/8/2021 5:10 PM, Mark Filipak (ffmpeg) wrote:
> I want to insert black frames into a stream on a regular basis.
> #1, Is that an input device? I think so. Or,

I think what you want is based on "-f lavfi color=c=black" although it will 
depend on whether you want to insert the black frame between existing frames 
or on top of one of them (whether to just periodically overlay or to create 
segments).

see also 
https://ffmpeg.org/ffmpeg-filters.html#allrgb_002c-allyuv_002c-color_002c-haldclutsrc_002c-nullsrc_002c-pal75bars_002c-pal100bars_002c-rgbtestsrc_002c-smptebars_002c-smptehdbars_002c-testsrc_002c-testsrc2_002c-yuvtestsrc

z!




More information about the ffmpeg-user mailing list