[FFmpeg-devel] Attention FATE maintainers

Ramiro Polla ramiro.polla
Fri Jan 22 17:42:08 CET 2010


On Fri, Jan 22, 2010 at 1:57 PM, Ramiro Polla <ramiro.polla at gmail.com> wrote:
> But now the SIFF test fails. The output from:
> ./ffmpeg -i INTRO_B.VB -f rawvideo -y output
> is bit-identical. I haven't checked in depth but I suspect it's the
> pal8->rgb24 conversion that screws up the first video frame.

$ valgrind ./ffmpeg_g -i INTRO_B.VB -f framecrc -y /dev/null
==10673== Memcheck, a memory error detector.
==10673== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==10673== Using LibVEX rev 1884, a library for dynamic binary translation.
==10673== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==10673== Using valgrind-3.4.1-Debian, a dynamic binary
instrumentation framework.
==10673== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==10673== For more details, rerun with: -v
==10673==
FFmpeg version SVN-r21380, Copyright (c) 2000-2010 Fabrice Bellard, et al.
  built on Jan 22 2010 14:04:26 with gcc 4.3.3
  configuration: --cc='ccache gcc'
  libavutil     50. 7. 0 / 50. 7. 0
  libavcodec    52.48. 0 / 52.48. 0
  libavformat   52.47. 0 / 52.47. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 9. 0 /  0. 9. 0
[siff @ 0x66e26e0]max_analyze_duration reached
[siff @ 0x66e26e0]Estimating duration from bitrate, this may be inaccurate
Input #0, siff, from 'INTRO_B.VB':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: vb, pal8, 320x240, 12 fps, 12 tbr, 12 tbn, 12 tbc
    Stream #0.1: Audio: pcm_u8, 22050 Hz, 1 channels, u8, 176 kb/s
Output #0, framecrc, to '/dev/null':
    Stream #0.0: Video: rawvideo, pal8, 320x240, q=2-31, 200 kb/s, 90k
tbn, 12 tbc
    Stream #0.1: Audio: pcm_s16le, 22050 Hz, 1 channels, s16, 352 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
==10673== Conditional jump or move depends on uninitialised value(s)
==10673==    at 0x8452DF: av_adler32_update (adler32.c:43)
==10673==    by 0x44804A: framecrc_write_packet (framecrcenc.c:27)
==10673==    by 0x41E6D3: av_interleaved_write_frame (utils.c:2797)
==10673==    by 0x405FDC: write_frame (ffmpeg.c:550)
==10673==    by 0x4083AB: output_packet (ffmpeg.c:771)
==10673==    by 0x40B76C: av_encode (ffmpeg.c:2314)
==10673==    by 0x40C0FD: main (ffmpeg.c:4018)
==10673==
==10673== Use of uninitialised value of size 8
==10673==    at 0x5809F09: (within /lib/libc-2.9.so)
==10673==    by 0x580D243: vfprintf (in /lib/libc-2.9.so)
==10673==    by 0x58C1737: __vsnprintf_chk (in /lib/libc-2.9.so)
==10673==    by 0x58C167A: __snprintf_chk (in /lib/libc-2.9.so)
==10673==    by 0x44807E: framecrc_write_packet (stdio2.h:65)
==10673==    by 0x41E6D3: av_interleaved_write_frame (utils.c:2797)
==10673==    by 0x405FDC: write_frame (ffmpeg.c:550)
==10673==    by 0x4083AB: output_packet (ffmpeg.c:771)
==10673==    by 0x40B76C: av_encode (ffmpeg.c:2314)
==10673==    by 0x40C0FD: main (ffmpeg.c:4018)
==10673==
==10673== Conditional jump or move depends on uninitialised value(s)
==10673==    at 0x5809F10: (within /lib/libc-2.9.so)
==10673==    by 0x580D243: vfprintf (in /lib/libc-2.9.so)
==10673==    by 0x58C1737: __vsnprintf_chk (in /lib/libc-2.9.so)
==10673==    by 0x58C167A: __snprintf_chk (in /lib/libc-2.9.so)
==10673==    by 0x44807E: framecrc_write_packet (stdio2.h:65)
==10673==    by 0x41E6D3: av_interleaved_write_frame (utils.c:2797)
==10673==    by 0x405FDC: write_frame (ffmpeg.c:550)
==10673==    by 0x4083AB: output_packet (ffmpeg.c:771)
==10673==    by 0x40B76C: av_encode (ffmpeg.c:2314)
==10673==    by 0x40C0FD: main (ffmpeg.c:4018)
==10673==
==10673== Conditional jump or move depends on uninitialised value(s)
==10673==    at 0x580D2C7: vfprintf (in /lib/libc-2.9.so)
==10673==    by 0x58C1737: __vsnprintf_chk (in /lib/libc-2.9.so)
==10673==    by 0x58C167A: __snprintf_chk (in /lib/libc-2.9.so)
==10673==    by 0x44807E: framecrc_write_packet (stdio2.h:65)
==10673==    by 0x41E6D3: av_interleaved_write_frame (utils.c:2797)
==10673==    by 0x405FDC: write_frame (ffmpeg.c:550)
==10673==    by 0x4083AB: output_packet (ffmpeg.c:771)
==10673==    by 0x40B76C: av_encode (ffmpeg.c:2314)
==10673==    by 0x40C0FD: main (ffmpeg.c:4018)
frame=  100 fps=  0 q=0.0 Lsize=       0kB time=8.33 bitrate=   0.0kbits/s
video:7600kB audio:391kB global headers:0kB muxing overhead -99.999988%
==10673==
==10673== ERROR SUMMARY: 5594 errors from 4 contexts (suppressed: 8 from 1)
==10673== malloc/free: in use at exit: 0 bytes in 0 blocks.
==10673== malloc/free: 452 allocs, 452 frees, 11,321,611 bytes allocated.
==10673== For counts of detected errors, rerun with: -v
==10673== Use --track-origins=yes to see where uninitialised values come from
==10673== All heap blocks were freed -- no leaks are possible.


Those uninitialized values come from the output of the decoder.
Kostya, could you please check the first frame of this sample and if
all the values are initialized?



More information about the ffmpeg-devel mailing list