[FFmpeg-user] question about color filter

Liam Condron-Farnos 23liam at googlemail.com
Mon Jan 14 23:37:03 CET 2013


`-filter_complex 'color=c=red'` or `-filter_complex 'color=color=red'` both
work perfectly well, but I can confirm that the example given in the
documentation doesn't work in my version of FFmpeg either.

On 14 January 2013 22:27, johnd <john at jjdev.com> wrote:

> this page http://ffmpeg.org/ffmpeg.html
>
>
>
> says:
>
> To generate 5 seconds of pure red video using lavfi color source:
>
>
> ffmpeg -filter_complex 'color=red' -t 5 out.mkv
>
>
> when I run the command I get this output
>
> bash-4.2$ ffmpeg -filter_complex 'color=red' -t 5 out.mkv
> ffmpeg version N-48732-g2c16bf2 Copyright (c) 2000-2013 the FFmpeg
> developers
>   built on Jan 14 2013 14:12:16 with gcc 4.7.1 (GCC)
>   configuration: --enable-filter=color --enable-libx264 --enable-gpl
> --enable-libfdk-aac --enable-nonfree
>   libavutil      52. 13.100 / 52. 13.100
>   libavcodec     54. 86.100 / 54. 86.100
>   libavformat    54. 59.107 / 54. 59.107
>   libavdevice    54.  3.102 / 54.  3.102
>   libavfilter     3. 32.100 /  3. 32.100
>   libswscale      2.  1.103 /  2.  1.103
>   libswresample   0. 17.102 /  0. 17.102
>   libpostproc    52.  2.100 / 52.  2.100
> [color @ 0x19ba360] Missing key or no key/value separator found after key
> 'red'
> [AVFilterGraph @ 0x19ba100] Error initializing filter 'color' with args
> 'red'
> Error configuring filters.
>
>
>
>
>
> I was just guesing and found this:
>
> ffmpeg -filter_complex   color -t 5 out.mp4
>
> this makes a video that is black (this is actually what I need)
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list