Ticket #1895 (closed defect: fixed)
targa: huge memory usage
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | git-master | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
http://www.datafilehost.com/download-398a783f.html
C:\>ffmpeg -i tga.mov -f null -
ffmpeg version N-46283-g1475815 Copyright (c) 2000-2012 the FFmpeg developers
built on Nov 2 2012 02:31:20 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
libavutil 52. 1.100 / 52. 1.100
libavcodec 54. 70.100 / 54. 70.100
libavformat 54. 35.100 / 54. 35.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 @ 0x1fc08e0] Bit depth 46 is not supported
[targa @ 0x1fc08e0] Not enough data to read header
Last message repeated 1 times
[targa @ 0x1fc08e0] Bit depth 180 is not supported
[targa @ 0x1fc08e0] Bit depth 148 is not supported
[targa @ 0x1fc08e0] Bit depth 36 is not supported
[targa @ 0x1fc08e0] Bit depth 148 is not supported
[targa @ 0x1fc08e0] Bit depth 101 is not supported
[targa @ 0x1fc08e0] Bit depth 177 is not supported
[targa @ 0x1fc08e0] Bit depth 117 is not supported
[targa @ 0x1fc08e0] Bit depth 75 is not supported
[targa @ 0x1fc08e0] Bit depth 165 is not supported
Last message repeated 1 times
[targa @ 0x1fc08e0] Bit depth 65 is not supported
[targa @ 0x1fc08e0] Bit depth 202 is not supported
[targa @ 0x1fc08e0] Bit depth 100 is not supported
[targa @ 0x1fc08e0] Bit depth 252 is not supported
[targa @ 0x1fc08e0] Bit depth 148 is not supported
[targa @ 0x1fc08e0] Bit depth 93 is not supported
[targa @ 0x1fc08e0] Bit depth 122 is not supported
[targa @ 0x1fc08e0] Bit depth 240 is not supported
[targa @ 0x1fc08e0] Bit depth 104 is not supported
[targa @ 0x1fc08e0] Bit depth 27 is not supported
[targa @ 0x1fc08e0] Bit depth 37 is not supported
[targa @ 0x1fc08e0] Bit depth 161 is not supported
[targa @ 0x1fc08e0] Bit depth 148 is not supported
[targa @ 0x1fc08e0] [IMGUTILS @ 0x22f524] 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.35.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 @ 0x1fc08e0] Bit depth 46 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Not enough data to read header
Error while decoding stream #0:0: Invalid data found when processing input
[targa @ 0x1fc08e0] Not enough data to read header
Error while decoding stream #0:0: Invalid data found when processing input
[targa @ 0x1fc08e0] Bit depth 180 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 148 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 36 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 148 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 101 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 177 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 117 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 75 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 165 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 165 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 65 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 202 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 100 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 252 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 148 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 93 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 122 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 240 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 104 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 27 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 37 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 161 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 148 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] [IMGUTILS @ 0x22f514] Picture size 23643x31063 is invalid
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 160 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 130 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 244 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 48 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 160 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 136 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 182 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 232 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 100 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 78 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 31 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 142 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 235 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 63 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 38 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 123 is not supported
[cut]
[targa @ 0x1fc08e0] Bit depth 93 is not supported
Error while decoding stream #0:0: Error number -1 occurred
[targa @ 0x1fc08e0] Bit depth 5 is not supported
Error while decoding stream #0:0: Error number -1 occurred
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 i
f used)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.




$ 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)