[FFmpeg-trac] #7325(avcodec:new): PNG decoder not found in FFmpeg 4.0.2
FFmpeg
trac at avcodec.org
Mon Jul 23 13:35:04 EEST 2018
#7325: PNG decoder not found in FFmpeg 4.0.2
-------------------------------------+-------------------------------------
Reporter: Anatol | Type: defect
Status: new | Priority: important
Component: avcodec | Version: git-
Keywords: | master
png,codec,missing | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
PNG decoder not found in FFmpeg 4.0.2
FFmpeg 4.0.2 fails to decode PNG files. Same behavior occurs on 3.4 and
4.0 as well.
FFmpeg 3.2 works fine with PNG.
Cmd-line - ffmpeg -i 2.png -y a.jpg
Source PNG file -
https://bellard.org/bpg/2.png
Full printout -
ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 4.9.4 (Ubuntu 4.9.4-2ubuntu1~12.04)
configuration: --prefix=/opt/ffmpeg-4.0.2 --libdir=/opt/ffmpeg-4.0.2/lib
--shlibdir=/opt/ffmpeg-4.0.2/lib --extra-cflags='-static -static-libstdc++
-static-libgcc -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC'
--pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-
version3 --disable-devices --enable-indev=lavfi --enable-avfilter
--enable-filter=movie --enable-postproc --enable-pthreads --enable-swscale
--disable-bzlib --enable-libx264 --enable-libx265 --enable-libvpx
--enable-libfdk-aac --enable-libmp3lame --enable-libgsm --enable-libtheora
--enable-libvorbis --enable-libspeex --enable-libxvid --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libass --enable-libfreetype --enable-fontconfig --enable-avisynth
--disable-autodetect --disable-vdpau --extra-libs='-lm -ldl -lpthread -lz
-lrt' --extra-cxxflags='-static -static-libstdc++ -static-libgcc'
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
[png_pipe @ 0x4c70f80] Could not find codec parameters for stream 0
(Video: png, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, png_pipe, from '2.png':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: png, none, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (? (?) -> mjpeg (native))
Decoder (codec png) not found for input stream #0:0
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7325>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list