Ticket #1109 (closed defect: fixed)
specifying flags +ildct+ilme produce corrupted png
| Reported by: | verem | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | avcodec |
| Version: | git-master | Keywords: | png regression |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
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@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@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%
Attachments
Change History
Changed 14 months ago by verem
-
attachment
test_dv_pal_i.png
added
comment:1 Changed 14 months ago by cehoyos
- Status changed from new to open
- Reproduced by developer set
- Component changed from undetermined to avcodec
- Priority changed from normal to important
- Version changed from unspecified to git-master
- Keywords png added
Could you explain how you encoded the correct file?
(The command lines and output above look identical to me.)
Note: See
TracTickets for help on using
tickets.



corrupted output