Opened 6 years ago
Closed 6 years ago
#7325 closed defect (invalid)
PNG decoder not found in FFmpeg 4.0.2
Reported by: | Anatol Schwarz | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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:
Decoder (codec png) not found for input stream #0:0
Change History (1)
comment:1 by , 6 years ago
Component: | avcodec → undetermined |
---|---|
Keywords: | png codec missing removed |
Priority: | important → normal |
Resolution: | → invalid |
Status: | new → closed |
Version: | git-master → unspecified |
Needs zlib, please understand that only current FFmpeg git head is supported here and that this is a bug tracker, not a support forum, you can get help with build issues on the user mailing list.