[FFmpeg-trac] #1139(avfilter:new): 'fade' filter initial color is not black!
FFmpeg
trac at avcodec.org
Wed Mar 28 14:18:23 CEST 2012
#1139: 'fade' filter initial color is not black!
--------------------------------+------------------------------------
Reporter: ssp43 | Owner:
Type: defect | Status: new
Priority: normal | Component: avfilter
Version: 0.10 | Resolution:
Keywords: fade | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+------------------------------------
Comment (by ssp43):
The color is the same - - dark gray!
{{{
user at tux:> 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 -y any.file
ffmpeg version N-39360-g7a5e587 Copyright (c) 2000-2012 the FFmpeg
developers
built on Mar 28 2012 15:45:52 with gcc 4.5.1 20101208 [gcc-4_5-branch
revision 167585]
configuration: --shlibdir=/usr/lib64 --prefix=/usr
--mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --disable-
static --enable-debug --disable-stripping --extra-cflags='-fmessage-
length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -fPIC -I/usr/include/gsm' --enable-gpl
--enable-x11grab --enable-version3 --enable-pthreads --enable-avfilter
--enable-libvpx --enable-libmp3lame --enable-libvorbis --enable-libtheora
--enable-libspeex --enable-libxvid --enable-libx264 --enable-
libschroedinger --enable-libdirac --enable-libgsm --enable-libopencore-
amrnb --enable-libopencore-amrwb --enable-postproc --enable-libdc1394
--enable-librtmp --enable-libfreetype
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 66.100 / 2. 66.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, image2, from 'any_picture.png':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgba, 236x1080, 23.98 fps, 23.98 tbr, 23.98
tbn, 23.98 tbc
[buffer @ 0x631020] w:236 h:1080 pixfmt:rgba tb:1/1000000 sar:0/1
sws_param:
[fade @ 0x62bbe0] type:in start_frame:65 nb_frames:48 alpha:0
[fade @ 0x62c740] type:out start_frame:3120 nb_frames:48 alpha:0
[fade @ 0x62c740] auto-inserting filter 'auto-inserted scale 0' between
the filter 'Parsed_fade_0' and the filter 'Parsed_fade_1'
[scale @ 0x62da40] w:236 h:1080 fmt:rgba sar:0/1 -> w:236 h:1080
fmt:yuv420p sar:0/1 flags:0x4
Output #0, yuv4mpegpipe, to 'any.file':
Metadata:
encoder : Lavf54.3.100
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 236x1080,
q=2-31, 200 kb/s, 90k tbn, 23.98 tbc
Stream mapping:
Stream #0:0 -> #0:0 (png -> rawvideo)
Press [q] to stop, [?] for help
[yuv4mpegpipe @ 0x630860] Encoder did not produce proper pts, making some
up.
frame= 3168 fps= 56 q=0.0 Lsize= 1182821kB time=00:02:12.13
bitrate=73333.3kbits/s dup=0 drop=1
video:0kB audio:0kB global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1139#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list