[FFmpeg-trac] #1895(undetermined:open): targa: huge memory usage

FFmpeg trac at avcodec.org
Tue Nov 6 23:39:00 CET 2012


#1895: targa: huge memory usage
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * version:  unspecified => git-master
 * reproduced:  0 => 1


Comment:

 {{{
 $ valgrind ./ffmpeg_g -i tga.mov -f null -
 ==6399== Memcheck, a memory error detector
 ==6399== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
 ==6399== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
 ==6399== Command: ./ffmpeg_g -i tga.mov -f null -
 ==6399==
 ffmpeg version N-46501-g29d46d7 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Nov  6 2012 23:16:24 with gcc 4.7 (SUSE Linux)
   configuration: --disable-indev=jack --enable-gpl --enable-libvorbis
   libavutil      52.  5.100 / 52.  5.100
   libavcodec     54. 71.100 / 54. 71.100
   libavformat    54. 36.100 / 54. 36.100
   libavdevice    54.  3.100 / 54.  3.100
   libavfilter     3. 21.106 /  3. 21.106
   libswscale      2.  1.102 /  2.  1.102
   libswresample   0. 16.100 /  0. 16.100
   libpostproc    52.  1.100 / 52.  1.100
 [targa @ 0x6fce460] Bit depth 46 is not supported
 [targa @ 0x6fce460] Not enough data to read header
     Last message repeated 1 times
 [targa @ 0x6fce460] Bit depth 180 is not supported
 [targa @ 0x6fce460] Bit depth 148 is not supported
 [targa @ 0x6fce460] Bit depth 36 is not supported
 [targa @ 0x6fce460] Bit depth 148 is not supported
 [targa @ 0x6fce460] Bit depth 101 is not supported
 [targa @ 0x6fce460] Bit depth 177 is not supported
 [targa @ 0x6fce460] Bit depth 117 is not supported
 [targa @ 0x6fce460] Bit depth 75 is not supported
 [targa @ 0x6fce460] Bit depth 165 is not supported
     Last message repeated 1 times
 [targa @ 0x6fce460] Bit depth 65 is not supported
 [targa @ 0x6fce460] Bit depth 202 is not supported
 [targa @ 0x6fce460] Bit depth 100 is not supported
 [targa @ 0x6fce460] Bit depth 252 is not supported
 [targa @ 0x6fce460] Bit depth 148 is not supported
 [targa @ 0x6fce460] Bit depth 93 is not supported
 [targa @ 0x6fce460] Bit depth 122 is not supported
 [targa @ 0x6fce460] Bit depth 240 is not supported
 [targa @ 0x6fce460] Bit depth 104 is not supported
 [targa @ 0x6fce460] Bit depth 27 is not supported
 [targa @ 0x6fce460] Bit depth 37 is not supported
 [targa @ 0x6fce460] Bit depth 161 is not supported
 [targa @ 0x6fce460] Bit depth 148 is not supported
 [targa @ 0x6fce460] [IMGUTILS @ 0x7feffdd90] Picture size 23643x31063 is
 invalid
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tga.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     encoder         : Lavf54.35.100
   Duration: 00:00:56.00, start: 0.000000, bitrate: 202 kb/s
     Stream #0:0(eng): Video: targa (tga  / 0x20616774), pal8, 160x240, 201
 kb/s, 15 fps, 15 tbr, 15360 tbn, 15360 tbc
     Metadata:
       handler_name    : DataHandler
 Output #0, null, to 'pipe:':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     encoder         : Lavf54.36.100
     Stream #0:0(eng): Video: rawvideo, pal8, 160x240, q=2-31, 200 kb/s,
 90k tbn, 15 tbc
     Metadata:
       handler_name    : DataHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (targa -> rawvideo)
 Press [q] to stop, [?] for help
 [targa @ 0x6fce460] Bit depth 46 is not supported
 Error while decoding stream #0:0: Operation not permitted
 [targa @ 0x6fce460] Not enough data to read header
 Error while decoding stream #0:0: Invalid data found when processing input
 [targa @ 0x6fce460] Not enough data to read header
 Error while decoding stream #0:0: Invalid data found when processing input
 [targa @ 0x6fce460] Bit depth 180 is not supported
 Error while decoding stream #0:0: Operation not permitted
 [targa @ 0x6fce460] Bit depth 148 is not supported
 Error while decoding stream #0:0: Operation not permitted
 [targa @ 0x6fce460] Bit depth 36 is not supported
 Error while decoding stream #0:0: Operation not permitted
 [targa @ 0x6fce460] Bit depth 148 is not supported
 Error while decoding stream #0:0: Operation not permitted
 [targa @ 0x6fce460] Bit depth 101 is not supported
 Error while decoding stream #0:0: Operation not permitted

 ...

 [targa @ 0x6fce460] Bit depth 147 is not supported
 Error while decoding stream #0:0: Operation not permitted
 [targa @ 0x6fce460] Bit depth 238 is not supported
 Error while decoding stream #0:0: Operation not permitted
 [targa @ 0x6fce460] Bit depth 61 is not supported
 Error while decoding stream #0:0: Operation not permitted
 [targa @ 0x6fce460] Bit depth 93 is not supported
 Error while decoding stream #0:0: Operation not permitted
 [targa @ 0x6fce460] Bit depth 5 is not supported
 Error while decoding stream #0:0: Operation not permitted
 frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=
 0.0kbits/s
 video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -nan%
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 ==6399==
 ==6399== HEAP SUMMARY:
 ==6399==     in use at exit: 0 bytes in 0 blocks
 ==6399==   total heap usage: 2,353 allocs, 2,353 frees, 2,052,369,316
 bytes allocated
 ==6399==
 ==6399== All heap blocks were freed -- no leaks are possible
 ==6399==
 ==6399== For counts of detected and suppressed errors, rerun with: -v
 ==6399== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1895#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list