[FFmpeg-trac] #4404(avcodec:new): Cannot decode PNG or TIF files with libavcodec.
FFmpeg
trac at avcodec.org
Tue Mar 31 23:31:44 CEST 2015
#4404: Cannot decode PNG or TIF files with libavcodec.
-------------------------------------+-------------------------------------
Reporter: sgan | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: unspecified | Resolution:
Keywords: PNG | Blocked By:
avcodec_decode_video2 | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by sgan):
I am following investigations!!
In fact, the original code
[http://ffmpeg.org/doxygen/trunk/lavfutils_8c_source.html#l00024] is
working for PNG if we set the AVCodecContext::thread_count attribute to 1.
ex at line 59: format_ctx->streams[0]->codec->thread_count=1;
This is a workaround and I do not know why it is working. Problem should
be analyse now deeply by developers.
The problem is connected to the following point:
[http://stackoverflow.com/questions/22930109/call-to-avformat-find-stream-
info-prevents-decoding-of-simple-png-image/22994263#22994263]
Regards
Sebastien.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4404#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list