[FFmpeg-user] question about color filter

Paul B Mahol onemda at gmail.com
Mon Jan 14 23:39:29 CET 2013


On 1/14/13, 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

should be color=c=red

>
>
> 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)

black is default when no argument is specified.

>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list