[FFmpeg-user] Filter Question

Michael Koch astroelectronic at t-online.de
Tue Jan 4 22:23:04 EET 2022

Am 04.01.2022 um 21:12 schrieb Hanna Frangiyyeh:
> Hi Guys;
> I'm new to ffmpeg and I'm trying to figure out what is wrong with the below
> filter.  It keep erroring out with the following error:
> Unable to find a suitable output format for '[rgb_in][alpha_in][rgb_in]'
> ffpmpeg -i "D:\TEMP\Source Files\720E\MLB21_INT_PLAYER_720.mov" -i
> "D:\TEMP\Source Files\Audio\file_example_WAV_1MG.wav" -vf scale=1920:1080
> -filter_complex 'split [rgb_in][alpha_in][rgb_in] lutrgb=a=minval
> [rgb_out][alpha_in] format=rgba, split [T1], fifo,
> lutrgb=r=maxval:g=maxval:b=maxval, [T2] overlay [rgb_out][T1] fifo,
> lutrgb=r=minval:g=minval:b=minval [T2][alpha_out]' -map '[rgb_out]'
> "D:\TEMP\Source Files\Done\MLB21_INT_PLAYER_720_ProRes422-1080_ST_F.MOV"
> -map '[alpha_out]' "D:\TEMP\Source
> Files\Done\MLB21_INT_PLAYER_720_ProRes422-1080_ST_M.MOV" -acodec copy -map
> 0:0 -map 1:a:0 -y

[rgb_in][alpha_in] are the two output lables of the split filter. After that you must insert a comma.
The next [rgb_in] is the input label of the lutrgb=a=minval filter.
The lutrgb=a=minval filter has [rgb_out] as its output lable, after that you must also insert a comma.

There may be more errors, but that's what I saw immediately.


More information about the ffmpeg-user mailing list