[FFmpeg-user] Apply format with overlay and -ss in front of inputfile is strange?

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Jul 12 17:43:05 CEST 2015


nicolab <robelt2525 <at> gmail.com> writes:

> Output is gray format. This is OK.
                 ^^^^^^

> ffmpeg -i rgbtestsrc.avi -ss 1 -vf
> split[x][z];[x]format=gray[x1];[z][x1]overlay 
> -vcodec libx264 3.mkv

The "format" of the output of the overlay filter 
is yuva420p. This is not supported by x264, so 
the output "format" file-wise is yuv420p.
The output is visually gray because you 
overlayed a gray frame (x1) over another 
frame (of the same size).

Sorry if I misunderstand your issue, please 
remember that not everybody is a native 
speaker (actually most are not).

Carl Eugen



More information about the ffmpeg-user mailing list