[Ffmpeg-devel] [BUG] mp3 and png format

Christian Bienia cbienia
Mon Sep 18 19:04:59 CEST 2006


Hello V?ctor,

> I forgot to mention that besides applying the patch, you should use
> -f image2 in your command line.
> 
> Here is your PNG recognized:
> 
> $ ffmpeg -f image2 -i 02350.png
> FFmpeg version SVN-r6254, Copyright (c) 2000-2004 Fabrice Bellard
>   configuration:  --enable-mp3lame --enable-a52 --disable-static
> --enable-shared --enable-pthreads --enable-swscaler --enable-avisynth
> --enable-gpl
>   libavutil version: 49.0.0
>   libavcodec version: 51.14.0
>   libavformat version: 50.5.0
>   built on Sep 15 2006 09:56:49, gcc: 3.4.4 (cygming special) (gdc 0.12,
> using dmd 0.125)
> Input #0, image2, from '02350.png':
>   Duration: 00:00:00.0, start: 0.000000, bitrate: N/A
>   Stream #0.0: Video: png, rgb24, 640x360, 25.00 fps(r)
> Must supply at least one output file

The patch worked, but ffmpeg still doesn't recognize the png format. I
used the latest SVN version, and libpng is also available on my system.
Here's the exact error which I get:

$ ffmpeg -f image2 -i 02350.png
FFmpeg version SVN-r6287, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-pthreads --enable-a52 --enable-gpl
--disable-ffserver --disable-ffplay --prefix=/home/cbienia/ffmpeg
  libavutil version: 49.0.0
  libavcodec version: 51.14.0
  libavformat version: 50.5.0
  built on Sep 18 2006 13:53:29, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)
[image2 @ 0x83475a0]Could not find codec parameters (Video: 0x0000)
02350.png: could not find codec parameters


Did you modify anything else besides libavformat/mp3.c?

- Chris





More information about the ffmpeg-devel mailing list