Discussion:
[FFmpeg-user] Throwing error while converting png to iframe using ffmpeg.
shivkumar munugala
2018-10-23 14:42:12 UTC
Permalink
Hi ,
Below text are the logs off ffmpeg,

]$ ffmpeg -async 1 -i bootup.png -vcodec
mpeg2video -r 25 -pix_fmt yuv420p -minrate 50000k -maxrate 50000k -b
50000k -intra -ps 1 -qmin 1 -qmax 3 -top 1 -bufsize 2000000 -an
output_iframe.m2v
ffmpeg version 0.9.2, Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 23 2018 18:04:26 with gcc 4.4.5 20101112 (Red Hat 4.4.5-2)
configuration: --enable-gpl --enable-nonfree --enable-pthreads
--enable-libfaac --enable-libmp3lame --enable-libx264
--enable-decoder=png --enable-encoder=png
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 4 / 53. 42. 4
libavformat 53. 24. 2 / 53. 24. 2
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[image2 @ 0x9107aa0] Could not find codec parameters (Video: png)
bootup.png: could not find codec parameters


Warm regards
Shivkumar
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request@
Paul B Mahol
2018-10-23 14:55:27 UTC
Permalink
Post by shivkumar munugala
Hi ,
Below text are the logs off ffmpeg,
]$ ffmpeg -async 1 -i bootup.png -vcodec
mpeg2video -r 25 -pix_fmt yuv420p -minrate 50000k -maxrate 50000k -b
50000k -intra -ps 1 -qmin 1 -qmax 3 -top 1 -bufsize 2000000 -an
output_iframe.m2v
ffmpeg version 0.9.2, Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 23 2018 18:04:26 with gcc 4.4.5 20101112 (Red Hat 4.4.5-2)
configuration: --enable-gpl --enable-nonfree --enable-pthreads
--enable-libfaac --enable-libmp3lame --enable-libx264
--enable-decoder=png --enable-encoder=png
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 4 / 53. 42. 4
libavformat 53. 24. 2 / 53. 24. 2
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
bootup.png: could not find codec parameters
The input file is not valid.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request
Moritz Barsnick
2018-10-23 21:35:15 UTC
Permalink
Post by shivkumar munugala
ffmpeg version 0.9.2, Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 23 2018 18:04:26 with gcc 4.4.5 20101112 (Red Hat 4.4.5-2)
That version of ffmpeg is six years old. I suggest trying a newer one
first. If you can't find one for your distribution, try one of the
static binaries from here:
https://johnvansickle.com/ffmpeg/

And kindly report back.

If your image still fails, you (or we) would need to check it, whether
it is actually a valid PNG file.

Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "unsubscri

Loading...