#2556: Broken PNG decode -------------------------------------+------------------------------------- Reporter: ubitux | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: png | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Description changed by ubitux:
Old description: > {{{ > % ./ffplay -f lavfi testsrc=s=800x600 -vf > 'movie=Stopwatch-256.png[watermark];[in][watermark]overlay=10:10 [out]' > ffplay version N-52955-g8749649 Copyright (c) 2003-2013 the FFmpeg > developers > built on May 10 2013 18:56:27 with gcc 4.8.0 (GCC) 20130502 > (prerelease) > configuration: --enable-gpl --enable-version3 --enable-fontconfig > --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable- > libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable- > x11grab --enable-libopenjpeg --enable-libass --enable-libmodplug > --enable-libv4l2 --cc=colorgcc --samples=/home/ubitux/fate-samples > --prefix=/tmp/ffinstall --disable-runtime-cpudetect --enable-libcelt > --enable-libopencv --enable-frei0r --enable-libcaca --enable-libiec61883 > --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopus > --enable-libpulse --enable-libspeex --enable-libquvi --enable-memory- > poisoning > libavutil 52. 30.100 / 52. 30.100 > libavcodec 55. 7.100 / 55. 7.100 > libavformat 55. 4.101 / 55. 4.101 > libavdevice 55. 0.100 / 55. 0.100 > libavfilter 3. 63.101 / 3. 63.101 > libswscale 2. 3.100 / 2. 3.100 > libswresample 0. 17.102 / 0. 17.102 > libpostproc 52. 3.100 / 52. 3.100 > nan A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 > ^MInput #0, lavfi, from 'testsrc': > Duration: N/A, start: 0.000000, bitrate: N/A > Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 > [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc > [png @ 0x7fe548001ce0] Missing png signature > [Parsed_movie_0 @ 0x7fe548004160] Decode error: Operation not permitted > [png @ 0x7fe548001ce0] Missing png signature > [Parsed_movie_0 @ 0x7fe548004160] Decode error: Operation not permitted > [png @ 0x7fe548001ce0] Missing png signature > [Parsed_movie_0 @ 0x7fe548004160] Decode error: Operation not permitted > [png @ 0x7fe548001ce0] Missing png signature > [Parsed_movie_0 @ 0x7fe548004160] Decode error: Operation not permitted > [png @ 0x7fe548001ce0] Missing png signature > [Parsed_movie_0 @ 0x7fe548004160] Decode error: Operation not permitted > [png @ 0x7fe548001ce0] Missing png signature > [Parsed_movie_0 @ 0x7fe548004160] Decode error: Operation not permitted > [png @ 0x7fe548001ce0] Missing png signature > [Parsed_movie_0 @ 0x7fe548004160] Decode error: Operation not permitted > [png @ 0x7fe548001ce0] Missing png signature > [Parsed_movie_0 @ 0x7fe548004160] Decode error: Operation not permitted > [png @ 0x7fe548001ce0] Missing png signature > [Parsed_movie_0 @ 0x7fe548004160] Decode error: Operation not permitted > [png @ 0x7fe548001ce0] Missing png signature > [...] > }}} > > Works fine if converting that PNG to GIF first. New description: {{{ % ./ffmpeg -f lavfi -i testsrc=s=800x600 -vf 'movie=/tmp/Stopwatch-256.png[watermark];[in][watermark]overlay=10:10 [out]' -f null - ffmpeg version N-52955-g8749649 Copyright (c) 2000-2013 the FFmpeg developers built on May 10 2013 18:56:27 with gcc 4.8.0 (GCC) 20130502 (prerelease) configuration: --enable-gpl --enable-version3 --enable-fontconfig --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable- libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable- x11grab --enable-libopenjpeg --enable-libass --enable-libmodplug --enable- libv4l2 --cc=colorgcc --samples=/home/ubitux/fate-samples --prefix=/tmp/ffinstall --disable-runtime-cpudetect --enable-libcelt --enable-libopencv --enable-frei0r --enable-libcaca --enable-libiec61883 --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopus --enable-libpulse --enable-libspeex --enable-libquvi --enable-memory- poisoning libavutil 52. 30.100 / 52. 30.100 libavcodec 55. 7.100 / 55. 7.100 libavformat 55. 4.101 / 55. 4.101 libavdevice 55. 0.100 / 55. 0.100 libavfilter 3. 63.101 / 3. 63.101 libswscale 2. 3.100 / 2. 3.100 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 3.100 / 52. 3.100 Input #0, lavfi, from 'testsrc=s=800x600': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 800x600 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc Output #0, null, to 'pipe:': Metadata: encoder : Lavf55.4.101 Stream #0:0: Video: rawvideo (Y4[11][8] / 0x80B3459), yuva420p, 800x600 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream mapping: Stream #0:0 -> #0:0 (rawvideo -> rawvideo) Press [q] to stop, [?] for help [png @ 0x2b7e6c0] Missing png signature [Parsed_movie_0 @ 0x2b7f3c0] Decode error: Operation not permitted [png @ 0x2b7e6c0] Missing png signature [Parsed_movie_0 @ 0x2b7f3c0] Decode error: Operation not permitted [png @ 0x2b7e6c0] Missing png signature [Parsed_movie_0 @ 0x2b7f3c0] Decode error: Operation not permitted [png @ 0x2b7e6c0] Missing png signature [Parsed_movie_0 @ 0x2b7f3c0] Decode error: Operation not permitted [png @ 0x2b7e6c0] Missing png signature [Parsed_movie_0 @ 0x2b7f3c0] Decode error: Operation not permitted [png @ 0x2b7e6c0] Missing png signature [Parsed_movie_0 @ 0x2b7f3c0] Decode error: Operation not permitted [png @ 0x2b7e6c0] Missing png signature [Parsed_movie_0 @ 0x2b7f3c0] Decode error: Operation not permitted [png @ 0x2b7e6c0] Missing png signature [Parsed_movie_0 @ 0x2b7f3c0] Decode error: Operation not permitted [png @ 0x2b7e6c0] Missing png signature [Parsed_movie_0 @ 0x2b7f3c0] Decode error: Operation not permitted [...] }}} Works fine if converting that PNG to GIF first. -- -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2556#comment:1> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac