Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support PNG codecs #2

Open
elin72215 opened this issue Dec 24, 2020 · 0 comments
Open

No support PNG codecs #2

elin72215 opened this issue Dec 24, 2020 · 0 comments

Comments

@elin72215
Copy link

Hi,
The image don't support some image codecs, like png.
Will this be supported?
I try to use a png file as a watermark of the video, but it shows "Decoder (codec png) not found for input stream #1:0".
And then I try to get the png info by command "ffmpeg -i logo.png", it shows follow:

ffmpeg version N-91067-g1c2e5fc Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
  configuration: --enable-nonfree --disable-shared --enable-nvenc --enable-cuda --enable-cuvid --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/cuda/lib64
  libavutil      56. 18.102 / 56. 18.102
  libavcodec     58. 19.101 / 58. 19.101
  libavformat    58. 13.102 / 58. 13.102
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 22.100 /  7. 22.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
[png_pipe @ 0x3ca5280] 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 'data/logo.png':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: png, none, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

Will the image codecs be supported in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant