New submission from Tim Nicholson <tim.nichol...@bbc.co.uk>: > ffmpeg -v 9 -loglevel 99 -i in.avi \ > -vf "movie=logo.png [logo]; [in][logo] overlay=10:main_h-overlay_h-10 [out]" \ > -vcodec dvvideo -s 720x576 -an -y out.mov FFmpeg version git-b0294c8, Copyright (c) 2000-2011 the FFmpeg developers built on Feb 11 2011 11:56:58 with gcc 4.5.0 20100604 [gcc-4_5-branch revision 160292] configuration: --prefix=/usr/local --shlibdir=/usr/local/lib64 --libdir=/usr/local/lib64 --mandir=/usr/local/man --incdir=/usr/local/include --enable-gpl --enable-nonfree --enable-version3 --enable-x11grab --enable-libdc1394 --enable-avfilter --enable-pthreads --enable-postproc --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdirac --enable-libschroedinger --enable-libmp3lame --enable-libfaac --enable-libtheora --enable-libvorbis --enable-static --disable-shared libavutil 50. 37. 0 / 50. 37. 0 libavcore 0. 16. 1 / 0. 16. 1 libavcodec 52.112. 0 / 52.112. 0 libavformat 52. 99. 0 / 52. 99. 0 libavdevice 52. 2. 3 / 52. 2. 3 libavfilter 1. 75. 0 / 1. 75. 0 libswscale 0. 12. 0 / 0. 12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [NULL @ 0x11be780] Probed with size=2048 and score=100 st:1 removing common factor 4 from timebase [avi @ 0x11be780] All info found Input #0, avi, from 'in.avi': Duration: 00:00:13.04, start: 0.000000, bitrate: 1815 kb/s Stream #0.0, 1, 1/25: Video: mpeg4, yuv420p, 640x368 [PAR 1:1 DAR 40:23], 1/25, 25 tbr, 25 tbn, 25 tbc Stream #0.1, 1, 256/8055: Audio: adpcm_ima_wav, 32000 Hz, 2 channels, s16, 256 kb/s [buffer @ 0x11c04f0] w:640 h:368 pixfmt:yuv420p [movie @ 0x11c0bf0] seek_point:0 format_name:(null) file_name:logo.png stream_index:0 [overlay @ 0x11d9430] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed filter 0 movie' and the filter 'Parsed filter 1 overlay' [scale @ 0x11c0860] w:640 h:368 fmt:yuv420p -> w:720 h:576 fmt:yuv420p flags:0xa0000004 [scale @ 0x11d70c0] w:100 h:89 fmt:pal8 -> w:100 h:89 fmt:yuva420p flags:0xa0000004 [overlay @ 0x11d9430] main w:720 h:576 fmt:yuv420p overlay x:10 y:477 w:100 h:89 fmt:yuva420p [overlay @ 0x11d9430] main_tb:1/1000000 overlay_tb:1/25 -> tb:1/1000000 exact:1 Output #0, mov, to 'out.mov': Metadata: encoder : Lavf52.99.0 Stream #0.0, 0, 1/25: Video: dvvideo, yuv420p, 720x576 [PAR 32:23 DAR 40:23], 1/25, q=2-31, 200 kb/s, 25 tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding frame= 326 fps= 67 q=0.0 Lsize= 45846kB time=13.04 bitrate=28801.2kbits/s video:45844kB audio:0kB global headers:0kB muxing overhead 0.004248% ==================================================================== Results in an overlay with the png transparency missing.
---------- messages: 13657 priority: normal status: new substatus: new title: Indexed png loses transparency type: bug ________________________________________________ FFmpeg issue tracker <iss...@roundup.ffmpeg.org> <https://roundup.ffmpeg.org/issue2602> ________________________________________________