[FFmpeg-trac] #1109(undetermined:new): specifying flags +ildct+ilme produce corrupted png

FFmpeg trac at avcodec.org
Tue Mar 20 17:38:22 CET 2012


#1109: specifying flags +ildct+ilme produce corrupted png
-------------------------------------+-------------------------------------
             Reporter:  verem        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Hi,

 i noticed that producer png files with latest libavcodec has some
 artifacts.

 to reproduce this behavior it is enough to specify flags +ildct+ilme,

 creating broken png file:
 {{{
 [root at dev-5 libavcodec]# /usr/local/enctools/bin/ffmpeg -i
 /home/studio/Videos/TheCore/hd/meta/test0002.mov.png -flags +ildct+ilme -y
 /var/www/html/test_dv_pal_i.png
 ffmpeg version N-38896-gf645132 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Mar 19 2012 17:38:21 with gcc 4.6.2 20111027 (Red Hat 4.6.2-1)
   configuration: --prefix=/usr/local/enctools --extra-
 cflags=-I/usr/local/enctools/include --extra-
 ldflags=-L/usr/local/enctools/lib --enable-shared --enable-gpl --enable-
 version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-
 pthreads --enable-bzlib --enable-zlib --enable-libvo-amrwbenc --enable-
 libfaac --enable-libmp3lame --enable-libspeex --enable-libtheora --enable-
 libvorbis --enable-libx264 --enable-libxvid
   libavutil      51. 42.100 / 51. 42.100
   libavcodec     54. 11.100 / 54. 11.100
   libavformat    54.  2.100 / 54.  2.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 65.101 /  2. 65.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  7.100 /  0.  7.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, image2, from
 '/home/studio/Videos/TheCore/hd/meta/test0002.mov.png':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: png, rgb24, 720x576, 25 tbr, 25 tbn, 25 tbc
 [buffer @ 0x13f0a20] w:720 h:576 pixfmt:rgb24 tb:1/1000000 sar:0/1
 sws_param:
 Output #0, image2, to '/var/www/html/test_dv_pal_i.png':
   Metadata:
     encoder         : Lavf54.2.100
     Stream #0:0: Video: png, rgb24, 720x576, q=2-31, 200 kb/s, 90k tbn, 25
 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (png -> png)
 Press [q] to stop, [?] for help
 frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=
 0.0kbits/s
 video:238kB audio:0kB global headers:0kB muxing overhead -100.000000%
 }}}

 creating correct png file:

 {{{
 [root at dev-5 libavcodec]# /usr/local/enctools/bin/ffmpeg -i
 /home/studio/Videos/TheCore/hd/meta/test0002.mov.png -flags +ildct+ilme -y
 /var/www/html/test_dv_pal_ni.png
 ffmpeg version N-38896-gf645132 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Mar 19 2012 17:38:21 with gcc 4.6.2 20111027 (Red Hat 4.6.2-1)
   configuration: --prefix=/usr/local/enctools --extra-
 cflags=-I/usr/local/enctools/include --extra-
 ldflags=-L/usr/local/enctools/lib --enable-shared --enable-gpl --enable-
 version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-
 pthreads --enable-bzlib --enable-zlib --enable-libvo-amrwbenc --enable-
 libfaac --enable-libmp3lame --enable-libspeex --enable-libtheora --enable-
 libvorbis --enable-libx264 --enable-libxvid
   libavutil      51. 42.100 / 51. 42.100
   libavcodec     54. 11.100 / 54. 11.100
   libavformat    54.  2.100 / 54.  2.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 65.101 /  2. 65.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  7.100 /  0.  7.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, image2, from
 '/home/studio/Videos/TheCore/hd/meta/test0002.mov.png':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: png, rgb24, 720x576, 25 tbr, 25 tbn, 25 tbc
 [buffer @ 0x1256a20] w:720 h:576 pixfmt:rgb24 tb:1/1000000 sar:0/1
 sws_param:
 Output #0, image2, to '/var/www/html/test_dv_pal_ni.png':
   Metadata:
     encoder         : Lavf54.2.100
     Stream #0:0: Video: png, rgb24, 720x576, q=2-31, 200 kb/s, 90k tbn, 25
 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (png -> png)
 Press [q] to stop, [?] for help
 frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=
 0.0kbits/s
 video:238kB audio:0kB global headers:0kB muxing overhead -100.000000%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1109>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list