Opened 12 years ago

Closed 12 years ago

#1239 closed defect (fixed)

rv20: crash with lowres

Reported by: ami_stuff Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: lowres rv20
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

the file encoded with "Compression: G2" works ok:

G2_320_240.rm

the file encoded with "Compression: G2 with SVT" crashes:

G2_with_SVT_320_240.rm

(gdb) r -vlowres 2 -i G2_with_SVT_320_240.rm out.avi
Starting program: d:\mingw\msys\1.0\ffmpeg-head-7432bcf\ffmpeg_g.exe -vlowres 2
-i G2_with_SVT_320_240.rm out.avi
[New Thread 2860.0x7a8]
ffmpeg version 0.10.2.git-7432bcf Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 15 2012 01:02:52 with gcc 4.6.1
  configuration: --disable-ffprobe
  libavutil      51. 46.100 / 51. 46.100
  libavcodec     54. 14.101 / 54. 14.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 70.100 /  2. 70.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
[rm @ 039d2340] Unsupported stream type 00000180
[rm @ 039d2340] max_analyze_duration 5000000 reached at 5000000
Input #0, rm, from 'G2_with_SVT_320_240.rm':
  Metadata:
    title           :
    author          :
    copyright       :
    comment         :
  Duration: 00:00:05.90, start: 0.000000, bitrate: 984 kb/s
    Stream #0:0: Video: rv20 (RV20 / 0x30325652), yuv420p, 80x60, 1000 kb/s, 15
fps, 15 tbr, 1k tbn, 1k tbc
    Stream #0:1: Data: none
w:80 h:60 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:flags=2
Output #0, avi, to 'out.avi':
  Metadata:
    INAM            :
    author          :
    ICOP            :
    ICMT            :
    ISFT            : Lavf54.3.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 80x60, q=2-31, 200 k
b/s, 15 tbn, 15 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rv20 -> mpeg4)
Press [q] to stop, [?] for help

Program received signal SIGSEGV, Segmentation fault.
0x7c919d6f in ntdll!RtlpUnWaitCriticalSection ()
   from C:\WINDOWS\system32\ntdll.dll
(gdb) bt
#0  0x7c919d6f in ntdll!RtlpUnWaitCriticalSection ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c96fb98 in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#2  0x7c94b244 in ntdll!LdrFindEntryForAddress ()
   from C:\WINDOWS\system32\ntdll.dll
#3  0x039d0000 in ?? ()
#4  0x7c919c0c in ntdll!RtlpUnWaitCriticalSection ()
   from C:\WINDOWS\system32\ntdll.dll
#5  0x77c1c3c9 in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
#6  0x039d0000 in ?? ()
#7  0x77c1c3e7 in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
#8  0x00003030 in ?? ()
#9  0x0022e178 in ?? ()
#10 0x77c1c42e in msvcrt!malloc () from C:\WINDOWS\system32\msvcrt.dll
#11 0x00a88cdf in av_malloc (size=12304) at libavutil/mem.c:86
#12 0x004ff02c in video_get_buffer (pic=0x3f5a140, s=0x3f36520)
    at libavcodec/utils.c:482
#13 avcodec_default_get_buffer (avctx=0x3f36520, frame=0x3f5a140)
    at libavcodec/utils.c:540
#14 0x005a97f3 in alloc_frame_buffer (s=0x3f30060, pic=0x3f5a140)
    at libavcodec/mpegvideo.c:260
#15 0x005b6229 in ff_alloc_picture (s=0x3f30060, pic=0x3f5a140, shared=0)
    at libavcodec/mpegvideo.c:312
#16 0x00684372 in load_input_picture (pic_arg=0x22e4a8, s=0x3f30060)
    at libavcodec/mpegvideo_enc.c:992
#17 ff_MPV_encode_picture (avctx=0x3f36520, pkt=0x22e610, pic_arg=0x22e4a8,
    got_packet=0x22e6dc) at libavcodec/mpegvideo_enc.c:1419
#18 0x0050053d in avcodec_encode_video2 (avctx=0x3f36520, avpkt=0x22e610,
    frame=0x22e4a8, got_packet_ptr=0x22e6dc) at libavcodec/utils.c:1274
#19 0x0040628b in do_video_out (s=0x3f36020, ost=0x39e6120,
    in_picture=0x39ea6e0, ist=<optimized out>) at ffmpeg.c:1632
#20 0x0040825c in transcode_video (pkt_pts=<optimized out>,
    got_output=<optimized out>, pkt=<optimized out>, ist=<optimized out>)
    at ffmpeg.c:2203
#21 output_packet (ist=0x39e5c10, ost_table=0x39e6120, nb_ostreams=1,
    pkt=0x22fbf0) at ffmpeg.c:2292
#22 0x0040ca68 in transcode (output_files=0x39e6280, nb_output_files=1,
    input_files=0x39e5d20, nb_input_files=1) at ffmpeg.c:3163
#23 0x0022ff48 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further

Attachments (2)

G2_320_240.rm (764.9 KB ) - added by ami_stuff 12 years ago.
G2_with_SVT_320_240.rm (709.2 KB ) - added by ami_stuff 12 years ago.

Download all attachments as: .zip

Change History (6)

by ami_stuff, 12 years ago

Attachment: G2_320_240.rm added

by ami_stuff, 12 years ago

Attachment: G2_with_SVT_320_240.rm added

comment:1 by Carl Eugen Hoyos, 12 years ago

Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Crashes badly without valgrind.

$ valgrind ffmpeg_g -threads 1 -vlowres 2 -i G2_with_SVT_320_240.rm -vframes 3 -f null -
==21203== Memcheck, a memory error detector.
==21203== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==21203== Using LibVEX rev 1732, a library for dynamic binary translation.
==21203== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==21203== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==21203== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==21203== For more details, rerun with: -v
==21203==
ffmpeg version N-39995-g9750254 Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 20 2012 15:13:14 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --disable-optimizations --disable-yasm --disable-asm
  libavutil      51. 46.100 / 51. 46.100
  libavcodec     54. 14.101 / 54. 14.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 71.101 /  2. 71.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
[rm @ 0x44166f0] Unsupported stream type 00000180
[rm @ 0x44166f0] max_analyze_duration 5000000 reached at 5000000
Input #0, rm, from 'G2_with_SVT_320_240.rm':
  Metadata:
    title           :
    author          :
    copyright       :
    comment         :
  Duration: 00:00:05.90, start: 0.000000, bitrate: 984 kb/s
    Stream #0:0: Video: rv20 (RV20 / 0x30325652), yuv420p, 80x60, 1000 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
    Stream #0:1: Data: none
[buffer @ 0x44d9340] w:80 h:60 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:flags=2
[buffersink @ 0x44d9810] No opaque field provided
Output #0, null, to 'pipe:':
  Metadata:
    title           :
    author          :
    copyright       :
    comment         :
    encoder         : Lavf54.3.100
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 80x60, q=2-31, 200 kb/s, 90k tbn, 15 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rv20 -> rawvideo)
Press [q] to stop, [?] for help
[null @ 0x44c9c70] Encoder did not produce proper pts, making some up.
==21203== Invalid read of size 1
==21203==    at 0x828B233: h263_h_loop_filter_c (dsputil.c:1485)
==21203==    by 0x830242F: ff_h263_loop_filter (h263.c:187)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577306 is 10 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid read of size 1
==21203==    at 0x828B249: h263_h_loop_filter_c (dsputil.c:1486)
==21203==    by 0x830242F: ff_h263_loop_filter (h263.c:187)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577307 is 9 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid read of size 1
==21203==    at 0x828B25C: h263_h_loop_filter_c (dsputil.c:1487)
==21203==    by 0x830242F: ff_h263_loop_filter (h263.c:187)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577308 is 8 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid read of size 1
==21203==    at 0x828B272: h263_h_loop_filter_c (dsputil.c:1488)
==21203==    by 0x830242F: ff_h263_loop_filter (h263.c:187)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577309 is 7 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B34B: h263_h_loop_filter_c (dsputil.c:1502)
==21203==    by 0x830242F: ff_h263_loop_filter (h263.c:187)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577307 is 9 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B35C: h263_h_loop_filter_c (dsputil.c:1503)
==21203==    by 0x830242F: ff_h263_loop_filter (h263.c:187)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577308 is 8 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B3C7: h263_h_loop_filter_c (dsputil.c:1509)
==21203==    by 0x830242F: ff_h263_loop_filter (h263.c:187)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577306 is 10 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B3E3: h263_h_loop_filter_c (dsputil.c:1510)
==21203==    by 0x830242F: ff_h263_loop_filter (h263.c:187)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577309 is 7 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid read of size 1
==21203==    at 0x828B233: h263_h_loop_filter_c (dsputil.c:1485)
==21203==    by 0x83024EC: ff_h263_loop_filter (h263.c:197)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577302 is 14 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid read of size 1
==21203==    at 0x828B249: h263_h_loop_filter_c (dsputil.c:1486)
==21203==    by 0x83024EC: ff_h263_loop_filter (h263.c:197)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577303 is 13 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid read of size 1
==21203==    at 0x828B25C: h263_h_loop_filter_c (dsputil.c:1487)
==21203==    by 0x83024EC: ff_h263_loop_filter (h263.c:197)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577304 is 12 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid read of size 1
==21203==    at 0x828B272: h263_h_loop_filter_c (dsputil.c:1488)
==21203==    by 0x83024EC: ff_h263_loop_filter (h263.c:197)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577305 is 11 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B34B: h263_h_loop_filter_c (dsputil.c:1502)
==21203==    by 0x83024EC: ff_h263_loop_filter (h263.c:197)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577303 is 13 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B35C: h263_h_loop_filter_c (dsputil.c:1503)
==21203==    by 0x83024EC: ff_h263_loop_filter (h263.c:197)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577304 is 12 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B3C7: h263_h_loop_filter_c (dsputil.c:1509)
==21203==    by 0x83024EC: ff_h263_loop_filter (h263.c:197)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577302 is 14 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B3E3: h263_h_loop_filter_c (dsputil.c:1510)
==21203==    by 0x83024EC: ff_h263_loop_filter (h263.c:197)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4577305 is 11 bytes before a block of size 80 free'd
==21203==    at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21203==    by 0x8697B74: av_free (mem.c:174)
==21203==    by 0x82073C8: av_destruct_packet (avpacket.c:46)
==21203==    by 0x8207933: av_free_packet (avpacket.c:169)
==21203==    by 0x81BB47C: av_interleaved_write_frame (utils.c:3553)
==21203==    by 0x804E3F5: write_frame (ffmpeg.c:1377)
==21203==    by 0x80510A3: do_video_out (ffmpeg.c:1967)
==21203==    by 0x8051A70: poll_filters (ffmpeg.c:2082)
==21203==    by 0x805825A: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Conditional jump or move depends on uninitialised value(s)
==21203==    at 0x828B2AD: h263_h_loop_filter_c (dsputil.c:1491)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Conditional jump or move depends on uninitialised value(s)
==21203==    at 0x828B2C0: h263_h_loop_filter_c (dsputil.c:1492)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Conditional jump or move depends on uninitialised value(s)
==21203==    at 0x828B2D7: h263_h_loop_filter_c (dsputil.c:1493)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Conditional jump or move depends on uninitialised value(s)
==21203==    at 0x828B315: h263_h_loop_filter_c (dsputil.c:1499)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Conditional jump or move depends on uninitialised value(s)
==21203==    at 0x828B32C: h263_h_loop_filter_c (dsputil.c:1500)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Conditional jump or move depends on uninitialised value(s)
==21203==    at 0x8257AD4: av_clip_c (common.h:117)
==21203==    by 0x828B3A6: h263_h_loop_filter_c (dsputil.c:1507)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Conditional jump or move depends on uninitialised value(s)
==21203==    at 0x8257AE4: av_clip_c (common.h:118)
==21203==    by 0x828B3A6: h263_h_loop_filter_c (dsputil.c:1507)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==
==21203== Invalid read of size 1
==21203==    at 0x828B233: h263_h_loop_filter_c (dsputil.c:1485)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4579E00 is not stack'd, malloc'd or (recently) free'd
==21203==
==21203== Invalid read of size 1
==21203==    at 0x828B249: h263_h_loop_filter_c (dsputil.c:1486)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4579E01 is not stack'd, malloc'd or (recently) free'd
==21203==
==21203== Invalid read of size 1
==21203==    at 0x828B25C: h263_h_loop_filter_c (dsputil.c:1487)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4579E02 is not stack'd, malloc'd or (recently) free'd
==21203==
==21203== Invalid read of size 1
==21203==    at 0x828B272: h263_h_loop_filter_c (dsputil.c:1488)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4579E03 is not stack'd, malloc'd or (recently) free'd
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B34B: h263_h_loop_filter_c (dsputil.c:1502)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4579E01 is not stack'd, malloc'd or (recently) free'd
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B35C: h263_h_loop_filter_c (dsputil.c:1503)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4579E02 is not stack'd, malloc'd or (recently) free'd
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B3C7: h263_h_loop_filter_c (dsputil.c:1509)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4579E00 is not stack'd, malloc'd or (recently) free'd
==21203==
==21203== Invalid write of size 1
==21203==    at 0x828B3E3: h263_h_loop_filter_c (dsputil.c:1510)
==21203==    by 0x83026C2: ff_h263_loop_filter (h263.c:223)
==21203==    by 0x849CFE7: rv10_decode_packet (rv10.c:649)
==21203==    by 0x849D443: rv10_decode_frame (rv10.c:725)
==21203==    by 0x8513EE0: avcodec_decode_video2 (utils.c:1432)
==21203==    by 0x80538EB: transcode_video (ffmpeg.c:2540)
==21203==    by 0x80542D4: output_packet (ffmpeg.c:2703)
==21203==    by 0x8058251: transcode (ffmpeg.c:3589)
==21203==    by 0x8060270: main (ffmpeg.c:5824)
==21203==  Address 0x4579E03 is not stack'd, malloc'd or (recently) free'd
frame=    3 fps=0.0 q=0.0 size=       0kB time=00:00:00.20 bitrate=   0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
==21203==
==21203== ERROR SUMMARY: 2186 errors from 31 contexts (suppressed: 3 from 1)
==21203== malloc/free: in use at exit: 0 bytes in 0 blocks.
==21203== malloc/free: 723 allocs, 723 frees, 1,450,018 bytes allocated.
==21203== For counts of detected errors, rerun with: -v
==21203== All heap blocks were freed -- no leaks are possible.

comment:2 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavcodec
Keywords: lowres added

comment:3 by Carl Eugen Hoyos, 12 years ago

Priority: normalimportant

comment:4 by Michael Niedermayer, 12 years ago

Keywords: rv20 added
Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.