[FFmpeg-devel] unable to decode png file.

UrdnotFirebug powersheld at gmail.com
Tue Oct 7 09:36:50 CEST 2014


Hi Michael.i'm using FFmpeg 2.4.1 built on gcc 4.4.7
(configuration: --prefix=/usr/local --enable-shared --disable-static
--bindir=/usr/local/bin --enable-gpl --enable-version3 --enable-nonfree
--disable-outdev=sdl --enable-memalign-hack --enable-runtime-cpudetect
--enable-pthreads --extra-cflags=-I/usr/local/include
--extra-ldflags=-L/usr/local/lib --extra-libs=-ldl --enable-zlib
--enable-bzlib --enable-avfilter --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
--enable-libxvid --enable-libfdk_aac --enable-libschroedinger
--enable-libopus --enable-libspeex)

first, i've got well encoded result but with some error when using ffmpeg.

ffmpeg -i src.mp4 -i 200x200.png -filter_complex
"overlay=main_w-10:main_h-10" out.mp4
....
200x200.png: Input/output error
...
frame= 1266 fps= 76 q=-1.0 Lsize=    5595kB time=00:00:42.21
bitrate=1085.8kbits/s
video:4888kB audio:662kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.825544%

second, i've got frame with no error when using
doc/examples/demuxing_decoding. i should keep digging with it :) thanks




On Sun, Oct 5, 2014 at 8:20 AM, Michael Niedermayer <michaelni at gmx.at>
wrote:

> On Sat, Oct 04, 2014 at 05:32:21PM +0900, UrdnotFirebug wrote:
> > hi all. i'm one of developer which using ffmpeg to write program.
> >
> > problem is that it always fails that try to decode png file.
> >
> > with few experience, i found some weird bug. i hope it it my mistake.
> > here's the code.
>
> cant reproduce with either ffmpeg nor doc/examples/demuxing_decoding
>
> with what version of ffmpeg is that ?
>
> [...]
>
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Those who are best at talking, realize last or never when they are wrong.
>



-- 
*"You never know how strong you are until being strong is the only option
you have left."*


More information about the ffmpeg-devel mailing list