[FFmpeg-trac] #1139(FFmpeg:new): 'fade' filter initial color is not black!

FFmpeg trac at avcodec.org
Wed Mar 28 07:13:27 CEST 2012


#1139: 'fade' filter initial color is not black!
-------------------------------------+-------------------------------------
             Reporter:  ssp43        |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:  FFmpeg       |                  Version:  0.10
             Keywords:  video        |               Blocked By:
  filter fade                        |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Hi!

 I've found following bug I think:
 I try to create simple video file using a picture:

 ffmpeg -loop 1 -f image2 -r 24000/1001 -i any_picture.png -r 24000/1001
 -vframes 3168 -vf "fade=in:65:48,fade=out:3120:48" -f yuv4mpegpipe
 -pix_fmt yuv420p -an -sn -y any.file

 And initial color is not black! It happens if I try to use 'fade in' and
 'fade out' filters together with any output formats and any video codecs!
 At the same time if I do:

 ffmpeg -loop 1 -f image2 -r 24000/1001 -i any_picture.png -r 24000/1001
 -vframes 3168 -vf "fade=in:65:48" -f yuv4mpegpipe -pix_fmt yuv420p -an -sn
 -y any.file

 Initial color is black (without 'fade out')!

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1139>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list