Opened 13 years ago

Last modified 12 years ago

#1022 open enhancement

Muxing more than two streams in rm

Reported by: Rodney Baker Owned by: Michael Niedermayer
Priority: wish Component: avformat
Version: git-master Keywords: real
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Attempted to download Real Media rtsp stream with 2x video streams and one audio stream using the following:

ffmpeg -i rtsp://str4.nlenet.net/broadcast/live-video.rm -vcodec copy -acodec copy -map 0:0 -map 0:1 -map 0:2 20120225-ffmpeg.rm

Output as follows:

ffmpeg version N-38204-gb93c915 Copyright (c) 2000-2012 the FFmpeg developers

built on Feb 25 2012 12:36:46 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585]
configuration: --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libx264 --enable-pthreads --prefix=/usr --enable-postproc --enable-avfilter --enable-libxvid --enable-libschroedinger --enable-shared --enable-libvorbis --enable-libtheora
libavutil 51. 40.100 / 51. 40.100
libavcodec 54. 4.100 / 54. 4.100
libavformat 54. 1.100 / 54. 1.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.101 / 2. 62.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100

[rtsp @ 0x806eac0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://str4.nlenet.net/broadcast/live-video.rm':

Metadata:

title : [Server 3/4] Live Services
comment : B'nai Shalom <No copyright>

Duration: N/A, start: 0.000000, bitrate: 350 kb/s

Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, 318 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
Stream #0:2: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, flt, 32 kb/s

File '20120225-ffmpeg.rm' already exists. Overwrite ? [y/N] y
Output #0, rm, to '20120225-ffmpeg.rm':

Metadata:

title : [Server 3/4] Live Services
comment : B'nai Shalom <No copyright>
encoder : Lavf54.1.100
Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, q=2-31, 318 kb/s, 29.97 fps, 90k tbn, 1k tbc
Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, q=2-31, 29.97 fps, 90k tbn, 1k tbc
Stream #0:2: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, 32 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)

Press [q] to stop, ? for help
pts < dts in stream 0=-1.0 q=-1.0 size= 1kB time=00:00:00.00 bitrate= 0.0kbits/s
av_interleaved_write_frame(): Invalid argument
* glibc detected * ffmpeg: corrupted double-linked list: 0x08070ac0 *
======= Backtrace: =========
/lib/libc.so.6(+0x6de2b)[0xb67e9e2b]
/lib/libc.so.6(+0x6ece0)[0xb67eace0]
/lib/libc.so.6(cfree+0x6d)[0xb67eea6d]
/usr/lib/libavutil.so.51(av_freep+0x12)[0xb693ff42]
======= Memory map: ========
08048000-08066000 r-xp 00000000 08:07 351944 /usr/bin/ffmpeg
08066000-08067000 r--p 0001d000 08:07 351944 /usr/bin/ffmpeg
08067000-08068000 rw-p 0001e000 08:07 351944 /usr/bin/ffmpeg
08068000-0811a000 rw-p 00000000 00:00 0 [heap]
b5c00000-b5c21000 rw-p 00000000 00:00 0
b5c21000-b5d00000 ---p 00000000 00:00 0
b5dad000-b5db0000 rw-p 00000000 00:00 0
b5db0000-b5e3a000 r-xp 00000000 08:07 552814 /usr/lib/liborc-0.4.so.0.11.0
b5e3a000-b5e3b000 r--p 00089000 08:07 552814 /usr/lib/liborc-0.4.so.0.11.0
b5e3b000-b5e3f000 rw-p 0008a000 08:07 552814 /usr/lib/liborc-0.4.so.0.11.0
b5e3f000-b5e40000 rw-p 00000000 00:00 0
b5e40000-b5e46000 r-xp 00000000 08:07 553201 /usr/lib/libogg.so.0.7.1
b5e46000-b5e47000 r--p 00005000 08:07 553201 /usr/lib/libogg.so.0.7.1
b5e47000-b5e48000 rw-p 00006000 08:07 553201 /usr/lib/libogg.so.0.7.1
b5e48000-b5e64000 r-xp 00000000 08:05 514551 /lib/libgcc_s.so.1
b5e64000-b5e65000 r--p 0001b000 08:05 514551 /lib/libgcc_s.so.1
b5e65000-b5e66000 rw-p 0001c000 08:05 514551 /lib/libgcc_s.so.1
b5e66000-b5e69000 r-xp 00000000 08:05 515043 /lib/libdl-2.11.3.so
b5e69000-b5e6a000 r--p 00002000 08:05 515043 /lib/libdl-2.11.3.so
b5e6a000-b5e6b000 rw-p 00003000 08:05 515043 /lib/libdl-2.11.3.so
b5e6b000-b5e73000 r-xp 00000000 08:05 515074 /lib/librt-2.11.3.so
b5e73000-b5e74000 r--p 00007000 08:05 515074 /lib/librt-2.11.3.so
b5e74000-b5e75000 rw-p 00008000 08:05 515074 /lib/librt-2.11.3.so
b5e75000-b5f58000 r-xp 00000000 08:07 553582 /usr/lib/libstdc++.so.6.0.14
b5f58000-b5f5c000 r--p 000e2000 08:07 553582 /usr/lib/libstdc++.so.6.0.14
b5f5c000-b5f5d000 rw-p 000e6000 08:07 553582 /usr/lib/libstdc++.so.6.0.14
b5f5d000-b5f65000 rw-p 00000000 00:00 0
b5f65000-b5fa9000 r-xp 00000000 08:07 552475 /usr/lib/libmp3lame.so.0.0.0
b5fa9000-b5faa000 r--p 00043000 08:07 552475 /usr/lib/libmp3lame.so.0.0.0
b5faa000-b5fac000 rw-p 00044000 08:07 552475 /usr/lib/libmp3lame.so.0.0.0
b5fac000-b5fdf000 rw-p 00000000 00:00 0
b5fdf000-b609f000 r-xp 00000000 08:07 554170 /usr/lib/libschroedinger-1.0.so.0.10.0
b609f000-b60a0000 ---p 000c0000 08:07 554170 /usr/lib/libschroedinger-1.0.so.0.10.0
b60a0000-b60a1000 r--p 000c0000 08:07 554170 /usr/lib/libschroedinger-1.0.so.0.10.0
b60a1000-b60a3000 rw-p 000c1000 08:07 554170 /usr/lib/libschroedinger-1.0.so.0.10.0
b60a3000-b60bc000 r-xp 00000000 08:07 284526 /usr/lib/libtheoradec.so.1.1.4
b60bc000-b60bd000 r--p 00018000 08:07 284526 /usr/lib/libtheoradec.so.1.1.4
b60bd000-b60be000 rw-p 00019000 08:07 284526 /usr/lib/libtheoradec.so.1.1.4
b60be000-b60ff000 r-xp 00000000 08:07 284804 /usr/lib/libtheoraenc.so.1.1.2
b60ff000-b6100000 r--p 00040000 08:07 284804 /usr/lib/libtheoraenc.so.1.1.2
b6100000-b6101000 rw-p 00041000 08:07 284804 /usr/lib/libtheoraenc.so.1.1.2
b6101000-b612a000 r-xp 00000000 08:07 284433 /usr/lib/libvorbis.so.0.4.5
b612a000-b612b000 r--p 00028000 08:07 284433 /usr/lib/libvorbis.so.0.4.5
b612b000-b612c000 rw-p 00029000 08:07 284433 /usr/lib/libvorbis.so.0.4.5
b612c000-b612d000 rw-p 00000000 00:00 0
b612d000-b6292000 r-xp 00000000 08:07 555746 /usr/lib/libvorbisenc.so.2.0.8
b6292000-b62a3000 r--p 00165000 08:07 555746 /usr/lib/libvorbisenc.so.2.0.8
b62a3000-b62a4000 rw-p 00176000 08:07 555746 /usr/lib/libvorbisenc.so.2.0.8
b62a4000-b63c2000 r-xp 00000000 08:07 552885 /usr/lib/libx264.so.120
b63c2000-b63c3000 r--p 0011d000 08:07 552885 /usr/lib/libx264.so.120
b63c3000-b63c4000 rw-p 0011e000 08:07 552885 /usr/lib/libx264.so.120
b63c4000-b643f000 rw-p 00000000 00:00 0
b643f000-b64ec000 r-xp 00000000 08:07 252375 /usr/lib/libxvidcore.so.4.3
b64ec000-b64ed000 r--p 000ad000 08:07 252375 /usr/lib/libxvidcore.so.4.3
b64ed000-b64f7000 rw-p 000ae000 08:07 252375 /usr/lib/libxvidcore.so.4.3
b64f7000-b6560000 rw-p 00000000 00:00 0
b6560000-b6572000 r-xp 00000000 08:07 553492 /usr/lib/libva.so.1.0.14
b6572000-b6573000 r--p 00011000 08:07 553492 /usr/lib/libva.so.1.0.14
b6573000-b6574000 rw-p 00012000 08:07 553492 /usr/lib/libva.so.1.0.14
b6574000-b658c000 rw-p 00000000 00:00 0
b658c000-b65a1000 r-xp 00000000 08:05 514504 /lib/libz.so.1.2.5
b65a1000-b65a2000 r--p 00014000 08:05 514504 /lib/libz.so.1.2.5
b65a2000-b65a3000 rw-p 00015000 08:05 514504 /lib/libz.so.1.2.5
b65a3000-b65a4000 rw-p 00000000 00:00 0
b65a4000-b65b2000 r-xp 00000000 08:05 514646 /lib/libbz2.so.1.0.6
b65b2000-b65b3000 r--p 0000d000 08:05 514646 /lib/libbz2.so.1.0.6
b65b3000-b65b4000 rw-p 0000e000 08:05 514646 /lib/libbz2.so.1.0.6
b65b4000-b6627000 r-xp 00000000 08:07 552090 /usr/lib/libSDL-1.2.so.0.11.3
b6627000-b6628000 r--p 00073000 08:07 552090 /usr/lib/libSDL-1.2.so.0.11.3
b6628000-b6629000 rw-p 00074000 08:07 552090 /usr/lib/libSDL-1.2.so.0.11.3
b6629000-b6655000 rw-p 00000000 00:00 0
b6655000-b6736000 r-xp 00000000 08:07 553443 /usr/lib/libasound.so.2.0.0
b6736000-b6739000 r--p 000e0000 08:07 553443 /usr/lib/libasound.so.2.0.0
b6739000-b673a000 rw-p 000e3000 08:07 553443 /usr/lib/libasound.so.2.0.0
b673a000-b677a000 r-xp 00000000 08:07 236101 /usr/lib/libjack.so.0.1.0
b677a000-b677b000 r--p 0003f000 08:07 236101 /usr/lib/libjack.so.0.1.0
b677b000-b677c000 rw-p 00040000 08:07 236101 /usr/lib/libjack.so.0.1.0
b677c000-b68e2000 r-xp 00000000 08:05 514112 /lib/libc-2.11.3.so
b68e2000-b68e3000 ---p 00166000 08:05 514112 /lib/libc-2.11.3.so
b68e3000-b68e5000 r--p 00166000 08:05 514112 /lib/libc-2.11.3.so
b68e5000-b68e6000 rw-p 00168000 08:05 514112 /lib/libc-2.11.3.so
b68e6000-b68e9000 rw-p 00000000 00:00 0
b68e9000-b6911000 r-xp 00000000 08:05 515046 /lib/libm-2.11.3.so
b6911000-b6912000 r--p 00027000 08:05 515046 /lib/libm-2.11.3.so
b6912000-b6913000 rw-p 00028000 08:05 515046 /lib/libm-2.11.3.so
b6913000-b6914000 rw-p 00000000 00:00 0
b6914000-b692b000 r-xp 00000000 08:05 514450 /lib/libpthread-2.11.3.so
b692b000-b692c000 r--p 00016000 08:05 514450 /lib/libpthread-2.11.3.so
b692c000-b692d000 rw-p 00017000 08:05 514450 /lib/libpthread-2.11.3.so
b692d000-b692f000 rw-p 00000000 00:00 0
b692f000-b6950000 r-xp 00000000 08:07 556246 /usr/lib/libavutil.so.51.40.100
b6950000-b6951000 r--p 00020000 08:07 556246 /usr/lib/libavutil.so.51.40.100
b6951000-b6952000 rw-p 00021000 08:07 556246 /usr/lib/libavutil.so.51.40.100
b6952000-b6955000 rw-p 00000000 00:00 0
b6955000-b69a2000 r-xp 00000000 08:07 553220 /usr/lib/libswscale.so.2.1.100
b69a2000-b69a3000 r--p 0004c000 08:07 553220 /usr/lib/libswscale.so.2.1.100Aborted

Attachments (1)

defect_1022.txt (38.6 KB ) - added by Rodney Baker 13 years ago.
Added --show-reachable flag and ran it again.

Download all attachments as: .zip

Change History (16)

comment:1 by reimar, 13 years ago

That URL is 404 now. Running it under valgrind should give more useful output than gdb in this case.

comment:2 by Rodney Baker, 13 years ago

Yes, unfortunately that URL is only available once a week from 7:30pm Eastern (USA) time. I will try it again next weekend with valgrind and see if I can get something more useful.

comment:3 by Carl Eugen Hoyos, 13 years ago

Component: avutilundetermined
Priority: criticalimportant

comment:4 by Rodney Baker, 13 years ago

Update - I ran it under valgrind today - output is as follows:

11:32:03 bakerr@mako:~> valgrind --leak-check=full ffmpeg -i rtsp://str4.nlenet.net/broadcast/live-video.rm -vcodec copy -acodec copy -map 0:0 -map 0:1 -map 0:2 20120317-ffmpeg.rm
==6401== Memcheck, a memory error detector
==6401== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==6401== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==6401== Command: ffmpeg -i rtsp://str4.nlenet.net/broadcast/live-video.rm -vcodec copy -acodec copy -map 0:0 -map 0:1 -map 0:2 20120317-ffmpeg.rm
==6401==
ffmpeg version N-38726-gad029c2 Copyright (c) 2000-2012 the FFmpeg developers

built on Mar 11 2012 21:23:27 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585]
configuration: --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libx264 --enable-pthreads --prefix=/usr --enable-postproc --enable-avfilter --enable-libxvid --enable-libschroedinger --enable-shared --enable-libvorbis --enable-libtheora
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 64.101 / 2. 64.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100

[rtsp @ 0x5ac9ba0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://str4.nlenet.net/broadcast/live-video.rm':

Metadata:

title : [Server 3/4] Live Services
comment : B'nai Shalom <No copyright>

Duration: N/A, start: 0.000000, bitrate: 350 kb/s

Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, 318 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
Stream #0:2: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, flt, 32 kb/s

File '20120317-ffmpeg.rm' already exists. Overwrite ? [y/N] y
==6401== Invalid write of size 4
==6401== at 0x41BFAAC: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6401== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6401==
==6401== Invalid write of size 4
==6401== at 0x41BFAAE: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5744 is not stack'd, malloc'd or (recently) free'd
==6401==
==6401== Invalid write of size 4
==6401== at 0x41BFAB4: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6401==
==6401== Invalid write of size 4
==6401== at 0x41BFAB7: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6401== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6401==
==6401== Invalid write of size 4
==6401== at 0x41BFB72: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
==6401== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6401==
==6401== Invalid write of size 4
==6401== at 0x41BFB79: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5738 is 4 bytes after a block of size 84 alloc'd
==6401== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BEF49: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6401== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BEF63: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
==6401== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BEF75: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5738 is 4 bytes after a block of size 84 alloc'd
==6401== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BF29B: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BF316: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6401== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BF32D: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6401== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BF3A6: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
==6401== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BF440: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BF7FC: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BF821: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BF884: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6401==
==6401== Invalid read of size 4
==6401== at 0x41BF8A2: ??? (in /usr/lib/libavformat.so.54.2.100)
==6401== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6401==
Output #0, rm, to '20120317-ffmpeg.rm':

Metadata:

title : [Server 3/4] Live Services
comment : B'nai Shalom <No copyright>
encoder : Lavf54.2.100
Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, q=2-31, 318 kb/s, 29.97 fps, 90k tbn, 1k tbc
Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, q=2-31, 29.97 fps, 90k tbn, 1k tbc
Stream #0:2: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, 32 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)

Press [q] to stop, ? for help
pts < dts in stream 0=-1.0 q=-1.0 size= 1kB time=00:00:00.00 bitrate= 0.0kbits/s
av_interleaved_write_frame(): Invalid argument
==6401==
==6401== HEAP SUMMARY:
==6401== in use at exit: 28,718 bytes in 15 blocks
==6401== total heap usage: 835 allocs, 820 frees, 2,221,569 bytes allocated
==6401==
==6401== 28,015 (72 direct, 27,943 indirect) bytes in 1 blocks are definitely lost in loss record 6 of 6
==6401== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6401== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6401==
==6401== LEAK SUMMARY:
==6401== definitely lost: 72 bytes in 1 blocks
==6401== indirectly lost: 27,943 bytes in 11 blocks
==6401== possibly lost: 0 bytes in 0 blocks
==6401== still reachable: 703 bytes in 3 blocks
==6401== suppressed: 0 bytes in 0 blocks
==6401== Reachable blocks (those to which a pointer was found) are not shown.
==6401== To see them, rerun with: --leak-check=full --show-reachable=yes
==6401==
==6401== For counts of detected and suppressed errors, rerun with: -v
==6401== ERROR SUMMARY: 24 errors from 19 contexts (suppressed: 3 from 3)

comment:5 by Rodney Baker, 13 years ago

This may be more useful - output of valgrind -v --leak-check=full...

11:33:10 bakerr@mako:~> valgrind -v --leak-check=full ffmpeg -i rtsp://str4.nlenet.net/broadcast/live-video.rm -vcodec copy -acodec copy -map 0:0 -map 0:1 -map 0:2 20120317-ffmpeg.rm
==6497== Memcheck, a memory error detector
==6497== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==6497== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==6497== Command: ffmpeg -i rtsp://str4.nlenet.net/broadcast/live-video.rm -vcodec copy -acodec copy -map 0:0 -map 0:1 -map 0:2 20120317-ffmpeg.rm
==6497==
--6497-- Valgrind options:
--6497-- -v
--6497-- --leak-check=full
--6497-- Contents of /proc/version:
--6497-- Linux version 3.1.0-3-desktop-vk5ztv (bakerr@mako) (gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) ) #1 SMP PREEMPT Tue Nov 1 01:37:54 CST 2011
--6497-- Arch and hwcaps: X86, x86-sse1-sse2
--6497-- Page sizes: currently 4096, max supported 4096
--6497-- Valgrind library directory: /usr/lib/valgrind
--6497-- Reading syms from /lib/ld-2.11.3.so (0x4000000)
--6497-- Considering /usr/lib/debug/.build-id/b6/b00f5560b849cf9fac5e6efb9f403c21f508dd.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /usr/bin/ffmpeg (0x8048000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000)
--6497-- object doesn't have a symbol table
--6497-- object doesn't have a dynamic symbol table
--6497-- Reading suppressions file: /usr/lib/valgrind/default.supp
--6497-- REDIR: 0x4017010 (index) redirected to 0x3804084f (???)
--6497-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so (0x4022000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4025000)
--6497-- object doesn't have a symbol table
==6497== WARNING: new redirection conflicts with existing -- ignoring it
--6497-- new: 0x04017010 (index ) R-> 0x040295b0 index
--6497-- REDIR: 0x40171b0 (strlen) redirected to 0x40299f0 (strlen)
--6497-- Reading syms from /usr/lib/libavdevice.so.53.4.100 (0x4071000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libavfilter.so.2.64.101 (0x407f000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libavformat.so.54.2.100 (0x4101000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libavcodec.so.54.10.100 (0x4230000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libpostproc.so.52.0.100 (0x4eaa000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libswresample.so.0.7.100 (0x4ec3000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libswscale.so.2.1.100 (0x4ecc000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libavutil.so.51.42.100 (0x4f1b000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /lib/libpthread-2.11.3.so (0x4f42000)
--6497-- Considering /usr/lib/debug/.build-id/16/aeafd6eb4202cf8cad27078a8f294503aff1eb.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /lib/libm-2.11.3.so (0x4f5d000)
--6497-- Considering /usr/lib/debug/.build-id/f8/e95f6424bafd41f505d4a5b113c5100ffa03be.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /lib/libc-2.11.3.so (0x4f87000)
--6497-- Considering /usr/lib/debug/lib/libc-2.11.3.so.debug ..
--6497-- .. CRC mismatch (computed c2cfbf3e wanted d416458b)
--6497-- Reading syms from /usr/lib/libjack.so.0.1.0 (0x50f4000)
--6497-- Considering /usr/lib/debug/.build-id/8c/69bab5819456dcbcd7719395bd48cddb5c7763.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /usr/lib/libasound.so.2.0.0 (0x5136000)
--6497-- Considering /usr/lib/debug/.build-id/c5/575104a055af1016a0241c4ba518c9a81baf3d.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /usr/lib/libSDL-1.2.so.0.11.3 (0x521b000)
--6497-- Considering /usr/lib/debug/.build-id/d3/e59658f40edeba20bd7596938d9fb6f1874c08.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /lib/libbz2.so.1.0.6 (0x52bd000)
--6497-- Considering /usr/lib/debug/.build-id/72/ecd7f568208a3bf73c63863418e87f9a1eec8d.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /lib/libz.so.1.2.5 (0x52cd000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libva.so.1.0.14 (0x52e4000)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libxvidcore.so.4.3 (0x5310000)
--6497-- Considering /usr/lib/debug/usr/lib/libxvidcore.so.4.3.debug ..
--6497-- .. CRC mismatch (computed f5ed85b9 wanted bd509a95)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libx264.so.120 (0x5431000)
--6497-- Reading syms from /usr/lib/libvorbisenc.so.2.0.8 (0x55cd000)
--6497-- Considering /usr/lib/debug/.build-id/aa/b4cad4c2b04fac6d5c25a9f0cc8c6c1d2034e7.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /usr/lib/libvorbis.so.0.4.5 (0x5744000)
--6497-- Considering /usr/lib/debug/.build-id/f0/588d7b2538d13f04a53b81b624f30616a0e476.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /usr/lib/libtheoraenc.so.1.1.2 (0x576f000)
--6497-- Considering /usr/lib/debug/usr/lib/libtheoraenc.so.1.1.2.debug ..
--6497-- .. CRC mismatch (computed 4cf20faf wanted c1b9bf33)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libtheoradec.so.1.1.4 (0x57b2000)
--6497-- Considering /usr/lib/debug/usr/lib/libtheoradec.so.1.1.4.debug ..
--6497-- .. CRC mismatch (computed 06c906c5 wanted 28159263)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libschroedinger-1.0.so.0.10.0 (0x57cd000)
--6497-- Considering /usr/lib/debug/.build-id/b6/9314a58c8e9dcc5b7d87c65a52e7ee1d096fc2.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /usr/lib/libmp3lame.so.0.0.0 (0x5892000)
--6497-- Considering /usr/lib/debug/usr/lib/libmp3lame.so.0.0.0.debug ..
--6497-- .. CRC mismatch (computed 051f5c45 wanted 151d4741)
--6497-- object doesn't have a symbol table
--6497-- Reading syms from /usr/lib/libstdc++.so.6.0.14 (0x590c000)
--6497-- Considering /usr/lib/debug/.build-id/84/53e4914f5934a3f095451dadbdb2dbdbb90c43.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /lib/librt-2.11.3.so (0x59fb000)
--6497-- Considering /usr/lib/debug/.build-id/b1/88ebbfa6da0b124a758c32c79dd602f6ee5d47.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /lib/libdl-2.11.3.so (0x5a05000)
--6497-- Considering /usr/lib/debug/.build-id/78/5eb60d6a7a2b4828cd93c6738f00065322f20d.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /lib/libgcc_s.so.1 (0x5a0a000)
--6497-- Reading syms from /usr/lib/libogg.so.0.7.1 (0x5a29000)
--6497-- Considering /usr/lib/debug/.build-id/1c/c5f47c3e0d14ecafc5de593fb93ec9cb81b03f.debug ..
--6497-- .. build-id is valid
--6497-- Reading syms from /usr/lib/liborc-0.4.so.0.11.0 (0x5a31000)
--6497-- Considering /usr/lib/debug/.build-id/fd/861d76147c9588720e9ac1bdeb99d51a46d65e.debug ..
--6497-- .. build-id is valid
--6497-- REDIR: 0x50042b0 (strstr) redirected to 0x40224e0 (_vgnU_ifunc_wrapper)
--6497-- REDIR: 0x4ffd530 (strlen) redirected to 0x40224e0 (_vgnU_ifunc_wrapper)
--6497-- REDIR: 0x4ffdb90 (strpbrk) redirected to 0x40224e0 (_vgnU_ifunc_wrapper)
--6497-- REDIR: 0x4ffcfc0 (strcspn) redirected to 0x40224e0 (_vgnU_ifunc_wrapper)
--6497-- REDIR: 0x5003ea0 (GI_strstr) redirected to 0x402bad0 (strstr)
--6497-- REDIR: 0x4ffd9d0 (rindex) redirected to 0x4029420 (rindex)
--6497-- REDIR: 0x4ffd5f0 (
GI_strlen) redirected to 0x40299d0 (GI_strlen)
--6497-- REDIR: 0x4ffcf30 (strcmp) redirected to 0x402a4f0 (strcmp)
--6497-- REDIR: 0x59bfd60 (operator new(unsigned int)) redirected to 0x4028bb0 (operator new(unsigned int))
--6497-- REDIR: 0x4ff9a00 (free) redirected to 0x4028210 (free)
--6497-- REDIR: 0x4ffaee0 (posix_memalign) redirected to 0x40276a0 (posix_memalign)
--6497-- REDIR: 0x4ffe780 (memset) redirected to 0x402b4d0 (memset)
--6497-- REDIR: 0x4ffcdc0 (index) redirected to 0x40294f0 (index)
--6497-- REDIR: 0x4ffd570 (
strlen_sse2) redirected to 0x40299b0 (strlen)
--6497-- REDIR: 0x4ffd800 (strncmp) redirected to 0x4029eb0 (strncmp)
--6497-- REDIR: 0x4fffe20 (strchrnul) redirected to 0x402b690 (strchrnul)
--6497-- REDIR: 0x4ffe7e0 (mempcpy) redirected to 0x402b7c0 (mempcpy)
--6497-- REDIR: 0x4ffcfa0 (strcpy) redirected to 0x4029a30 (strcpy)
ffmpeg version N-38726-gad029c2 Copyright (c) 2000-2012 the FFmpeg developers

built on Mar 11 2012 21:23:27 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585]
configuration: --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libx264 --enable-pthreads --prefix=/usr --enable-postproc --enable-avfilter --enable-libxvid --enable-libschroedinger --enable-shared --enable-libvorbis --enable-libtheora
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 64.101 / 2. 64.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100

--6497-- REDIR: 0x4ffecd0 (memcpy) redirected to 0x402a670 (memcpy)
--6497-- REDIR: 0x4ff9530 (malloc) redirected to 0x40290b0 (malloc)
--6497-- REDIR: 0x4ff9ae0 (realloc) redirected to 0x4029180 (realloc)
--6497-- REDIR: 0x4fffd50 (rawmemchr) redirected to 0x402b6c0 (rawmemchr)
--6497-- REDIR: 0x4ffe280 (memchr) redirected to 0x402a630 (memchr)
[rtsp @ 0x5ac9ba0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://str4.nlenet.net/broadcast/live-video.rm':

Metadata:

title : [Server 3/4] Live Services
comment : B'nai Shalom <No copyright>

Duration: N/A, start: 0.000000, bitrate: 350 kb/s

Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, 318 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
Stream #0:2: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, flt, 32 kb/s

File '20120317-ffmpeg.rm' already exists. Overwrite ? [y/N] y
==6497== Invalid write of size 4
==6497== at 0x41BFAAC: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497== Invalid write of size 4
==6497== at 0x41BFAAE: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5744 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497== Invalid write of size 4
==6497== at 0x41BFAB4: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497== Invalid write of size 4
==6497== at 0x41BFAB7: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497== Invalid write of size 4
==6497== at 0x41BFB72: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497== Invalid write of size 4
==6497== at 0x41BFB79: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5738 is 4 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BEF49: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BEF63: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BEF75: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5738 is 4 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BF29B: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BF316: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BF32D: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BF3A6: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BF440: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BF7FC: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BF821: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BF884: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497== Invalid read of size 4
==6497== at 0x41BF8A2: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
Output #0, rm, to '20120317-ffmpeg.rm':

Metadata:

title : [Server 3/4] Live Services
comment : B'nai Shalom <No copyright>
encoder : Lavf54.2.100
Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, q=2-31, 318 kb/s, 29.97 fps, 90k tbn, 1k tbc
Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, q=2-31, 29.97 fps, 90k tbn, 1k tbc
Stream #0:2: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, 32 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)

Press [q] to stop, ? for help
--6497-- REDIR: 0x4ffe710 (memmove) redirected to 0x402b570 (memmove)trate= 0.0kbits/s
pts < dts in stream 0
--6497-- REDIR: 0x4ffe980 (stpcpy) redirected to 0x402b1d0 (stpcpy)
av_interleaved_write_frame(): Invalid argument
==6497==
==6497== HEAP SUMMARY:
==6497== in use at exit: 52,882 bytes in 47 blocks
==6497== total heap usage: 779 allocs, 732 frees, 2,158,671 bytes allocated
==6497==
==6497== Searching for pointers to 47 not-freed blocks
==6497== Checked 7,612,756 bytes
==6497==
==6497== 52,179 (72 direct, 52,107 indirect) bytes in 1 blocks are definitely lost in loss record 6 of 6
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497== LEAK SUMMARY:
==6497== definitely lost: 72 bytes in 1 blocks
==6497== indirectly lost: 52,107 bytes in 43 blocks
==6497== possibly lost: 0 bytes in 0 blocks
==6497== still reachable: 703 bytes in 3 blocks
==6497== suppressed: 0 bytes in 0 blocks
==6497== Reachable blocks (those to which a pointer was found) are not shown.
==6497== To see them, rerun with: --leak-check=full --show-reachable=yes
==6497==
==6497== ERROR SUMMARY: 24 errors from 19 contexts (suppressed: 3 from 3)
==6497==
==6497== 1 errors in context 1 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BF8A2: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497==
==6497== 1 errors in context 2 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BF884: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497==
==6497== 1 errors in context 3 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BF821: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497==
==6497== 1 errors in context 4 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BF7FC: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497==
==6497== 1 errors in context 5 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BF440: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497==
==6497== 1 errors in context 6 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BF3A6: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497==
==6497== 1 errors in context 7 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BF32D: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497==
==6497== 1 errors in context 8 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BF316: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497==
==6497== 1 errors in context 9 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BF29B: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497==
==6497== 1 errors in context 10 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BEF75: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5738 is 4 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497==
==6497== 1 errors in context 11 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BEF63: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497==
==6497== 1 errors in context 12 of 19:
==6497== Invalid read of size 4
==6497== at 0x41BEF49: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497==
==6497== 1 errors in context 13 of 19:
==6497== Invalid write of size 4
==6497== at 0x41BFB79: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5738 is 4 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497==
==6497== 1 errors in context 14 of 19:
==6497== Invalid write of size 4
==6497== at 0x41BFB72: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497==
==6497== 1 errors in context 15 of 19:
==6497== Invalid write of size 4
==6497== at 0x41BFAB7: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
==6497==
==6497== 1 errors in context 16 of 19:
==6497== Invalid write of size 4
==6497== at 0x41BFAB4: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497==
==6497== 1 errors in context 17 of 19:
==6497== Invalid write of size 4
==6497== at 0x41BFAAE: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5744 is not stack'd, malloc'd or (recently) free'd
==6497==
==6497==
==6497== 6 errors in context 18 of 19:
==6497== Invalid write of size 4
==6497== at 0x41BFAAC: ??? (in /usr/lib/libavformat.so.54.2.100)
==6497== Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
==6497== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6497== by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
==6497==
--6497--
--6497-- used_suppression: 3 U1004-ARM-_dl_relocate_object
==6497==
==6497== ERROR SUMMARY: 24 errors from 19 contexts (suppressed: 3 from 3)

in reply to:  5 ; comment:6 by Carl Eugen Hoyos, 13 years ago

Replying to vk5ztv:

==6497== Invalid write of size 4
==6497== at 0x41BFAAE: ??? (in /usr/lib/libavformat.so.54.2.100)

Please recompile without --enable-shared to get useful information at that point (or install debug versions of the shared libraries which may be slightly more difficult).

in reply to:  6 comment:7 by Rodney Baker, 13 years ago

Replying to cehoyos:

Replying to vk5ztv:

==6497== Invalid write of size 4
==6497== at 0x41BFAAE: ??? (in /usr/lib/libavformat.so.54.2.100)

Please recompile without --enable-shared to get useful information at that point (or install debug versions of the shared libraries which may be slightly more difficult).

OK - will have to wait another week to test it because that live stream only happens once a week.

comment:8 by Rodney Baker, 13 years ago

Output from Valgrind on latest git-master with --disable-shared:

valgrind -v --track-origins=yes --leak-check=full /usr/local/src/ffmpeg/ffmpeg_g -y -i rtsp://str4.nlenet.net/broadcast/live-video.rm -vcodec copy -acodec copy -map 0:0 -map 0:1 -map 0:2 20120324.rm
==28681== Memcheck, a memory error detector
==28681== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==28681== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==28681== Command: /usr/local/src/ffmpeg/ffmpeg_g -y -i rtsp://str4.nlenet.net/broadcast/live-video.rm -vcodec copy -acodec copy -map 0:0 -map 0:1 -map 0:2 20120324.rm
==28681==
--28681-- Valgrind options:
--28681-- -v
--28681-- --track-origins=yes
--28681-- --leak-check=full
--28681-- Contents of /proc/version:
--28681-- Linux version 3.1.0-3-desktop-vk5ztv (bakerr@mako) (gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) ) #1 SMP PREEMPT Tue Nov 1 01:37:54 CST 2011
--28681-- Arch and hwcaps: X86, x86-sse1-sse2
--28681-- Page sizes: currently 4096, max supported 4096
--28681-- Valgrind library directory: /usr/lib/valgrind
--28681-- Reading syms from /lib/ld-2.11.3.so (0x4000000)
--28681-- Considering /usr/lib/debug/.build-id/b6/b00f5560b849cf9fac5e6efb9f403c21f508dd.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/local/src/ffmpeg/ffmpeg_g (0x8048000)
--28681-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000)
--28681-- object doesn't have a symbol table
--28681-- object doesn't have a dynamic symbol table
--28681-- Reading suppressions file: /usr/lib/valgrind/default.supp
--28681-- REDIR: 0x4017010 (index) redirected to 0x3804084f (???)
--28681-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so (0x4022000)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4025000)
--28681-- object doesn't have a symbol table
==28681== WARNING: new redirection conflicts with existing -- ignoring it
--28681-- new: 0x04017010 (index ) R-> 0x040295b0 index
--28681-- REDIR: 0x40171b0 (strlen) redirected to 0x40299f0 (strlen)
--28681-- Reading syms from /usr/lib/libva.so.1.0.14 (0x4071000)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /usr/lib/libjack.so.0.1.0 (0x409d000)
--28681-- Considering /usr/lib/debug/.build-id/8c/69bab5819456dcbcd7719395bd48cddb5c7763.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libasound.so.2.0.0 (0x40df000)
--28681-- Considering /usr/lib/debug/.build-id/c5/575104a055af1016a0241c4ba518c9a81baf3d.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libSDL-1.2.so.0.11.3 (0x41c5000)
--28681-- Considering /usr/lib/debug/.build-id/d3/e59658f40edeba20bd7596938d9fb6f1874c08.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /lib/libpthread-2.11.3.so (0x4266000)
--28681-- Considering /usr/lib/debug/.build-id/16/aeafd6eb4202cf8cad27078a8f294503aff1eb.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libxvidcore.so.4.3 (0x4281000)
--28681-- Considering /usr/lib/debug/usr/lib/libxvidcore.so.4.3.debug ..
--28681-- .. CRC mismatch (computed f5ed85b9 wanted bd509a95)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /usr/lib/libx264.so.122 (0x43a2000)
--28681-- Reading syms from /usr/lib/libvorbisenc.so.2.0.8 (0x453e000)
--28681-- Considering /usr/lib/debug/.build-id/aa/b4cad4c2b04fac6d5c25a9f0cc8c6c1d2034e7.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libvorbis.so.0.4.5 (0x46b6000)
--28681-- Considering /usr/lib/debug/.build-id/f0/588d7b2538d13f04a53b81b624f30616a0e476.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libtheoraenc.so.1.1.2 (0x46e1000)
--28681-- Considering /usr/lib/debug/usr/lib/libtheoraenc.so.1.1.2.debug ..
--28681-- .. CRC mismatch (computed 4cf20faf wanted c1b9bf33)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /usr/lib/libtheoradec.so.1.1.4 (0x4724000)
--28681-- Considering /usr/lib/debug/usr/lib/libtheoradec.so.1.1.4.debug ..
--28681-- .. CRC mismatch (computed 06c906c5 wanted 28159263)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /usr/lib/libschroedinger-1.0.so.0.10.0 (0x473f000)
--28681-- Considering /usr/lib/debug/.build-id/b6/9314a58c8e9dcc5b7d87c65a52e7ee1d096fc2.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libmp3lame.so.0.0.0 (0x4803000)
--28681-- Considering /usr/lib/debug/usr/lib/libmp3lame.so.0.0.0.debug ..
--28681-- .. CRC mismatch (computed 051f5c45 wanted 151d4741)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /lib/libm-2.11.3.so (0x487d000)
--28681-- Considering /usr/lib/debug/.build-id/f8/e95f6424bafd41f505d4a5b113c5100ffa03be.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /lib/libbz2.so.1.0.6 (0x48a8000)
--28681-- Considering /usr/lib/debug/.build-id/72/ecd7f568208a3bf73c63863418e87f9a1eec8d.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /lib/libz.so.1.2.5 (0x48b8000)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /lib/libc-2.11.3.so (0x48cf000)
--28681-- Considering /usr/lib/debug/lib/libc-2.11.3.so.debug ..
--28681-- .. CRC mismatch (computed c2cfbf3e wanted d416458b)
--28681-- Reading syms from /lib/libdl-2.11.3.so (0x4a3c000)
--28681-- Considering /usr/lib/debug/.build-id/78/5eb60d6a7a2b4828cd93c6738f00065322f20d.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libstdc++.so.6.0.14 (0x4a41000)
--28681-- Considering /usr/lib/debug/.build-id/84/53e4914f5934a3f095451dadbdb2dbdbb90c43.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /lib/librt-2.11.3.so (0x4b30000)
--28681-- Considering /usr/lib/debug/.build-id/b1/88ebbfa6da0b124a758c32c79dd602f6ee5d47.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /lib/libgcc_s.so.1 (0x4b3b000)
--28681-- Reading syms from /usr/lib/libogg.so.0.7.1 (0x4b59000)
--28681-- Considering /usr/lib/debug/.build-id/1c/c5f47c3e0d14ecafc5de593fb93ec9cb81b03f.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/liborc-0.4.so.0.11.0 (0x4b61000)
--28681-- Considering /usr/lib/debug/.build-id/fd/861d76147c9588720e9ac1bdeb99d51a46d65e.debug ..
--28681-- .. build-id is valid
--28681-- REDIR: 0x494c2b0 (strstr) redirected to 0x40224e0 (_vgnU_ifunc_wrapper)
--28681-- REDIR: 0x4945530 (strlen) redirected to 0x40224e0 (_vgnU_ifunc_wrapper)
--28681-- REDIR: 0x4945b90 (strpbrk) redirected to 0x40224e0 (_vgnU_ifunc_wrapper)
--28681-- REDIR: 0x494bea0 (GI_strstr) redirected to 0x402bad0 (strstr)
--28681-- REDIR: 0x49459d0 (rindex) redirected to 0x4029420 (rindex)
--28681-- REDIR: 0x49455f0 (
GI_strlen) redirected to 0x40299d0 (GI_strlen)
--28681-- REDIR: 0x4944f30 (strcmp) redirected to 0x402a4f0 (strcmp)
--28681-- REDIR: 0x4af4d60 (operator new(unsigned int)) redirected to 0x4028bb0 (operator new(unsigned int))
--28681-- REDIR: 0x4941a00 (free) redirected to 0x4028210 (free)
--28681-- REDIR: 0x4942ee0 (posix_memalign) redirected to 0x40276a0 (posix_memalign)
--28681-- REDIR: 0x4946780 (memset) redirected to 0x402b4d0 (memset)
--28681-- REDIR: 0x4944dc0 (index) redirected to 0x40294f0 (index)
--28681-- REDIR: 0x4945570 (
strlen_sse2) redirected to 0x40299b0 (strlen)
--28681-- REDIR: 0x4945800 (strncmp) redirected to 0x4029eb0 (strncmp)
--28681-- REDIR: 0x4947e20 (strchrnul) redirected to 0x402b690 (strchrnul)
--28681-- REDIR: 0x49467e0 (mempcpy) redirected to 0x402b7c0 (mempcpy)
--28681-- REDIR: 0x4944fa0 (strcpy) redirected to 0x4029a30 (strcpy)
ffmpeg version N-39193-g71c2a70 Copyright (c) 2000-2012 the FFmpeg developers

built on Mar 24 2012 10:03:57 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585]
configuration: --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libx264 --enable-pthreads --prefix=/usr --enable-postproc --enable-avfilter --enable-libxvid --enable-libschroedinger --disable-shared --enable-libvorbis --enable-libtheora
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 65.102 / 2. 65.102
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100

--28681-- REDIR: 0x4946cd0 (memcpy) redirected to 0x402a670 (memcpy)
--28681-- REDIR: 0x4941530 (malloc) redirected to 0x40290b0 (malloc)
--28681-- REDIR: 0x4941ae0 (realloc) redirected to 0x4029180 (realloc)
--28681-- REDIR: 0x4947d50 (rawmemchr) redirected to 0x402b6c0 (rawmemchr)
--28681-- REDIR: 0x4946280 (memchr) redirected to 0x402a630 (memchr)
[rtsp @ 0x4bf8ba0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://str4.nlenet.net/broadcast/live-video.rm':

Metadata:

title : [Server 3/4] Live Services
comment : B'nai Shalom <No copyright>

Duration: N/A, start: 0.000000, bitrate: 350 kb/s

Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, 318 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
Stream #0:2: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, flt, 32 kb/s

==28681== Invalid write of size 4
==28681== at 0x818D60C: rm_write_header (rmenc.c:316)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid write of size 4
==28681== at 0x818D60E: rm_write_header (rmenc.c:317)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4764 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid write of size 4
==28681== at 0x818D614: rm_write_header (rmenc.c:319)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid write of size 4
==28681== at 0x818D617: rm_write_header (rmenc.c:318)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid write of size 4
==28681== at 0x818D6D2: rm_write_header (rmenc.c:328)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid write of size 4
==28681== at 0x818D6D9: rm_write_header (rmenc.c:324)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4758 is 4 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CAA9: rv10_write_header.clone.3 (rmenc.c:95)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CAC3: rv10_write_header.clone.3 (rmenc.c:101)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CAD5: rv10_write_header.clone.3 (rmenc.c:101)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4758 is 4 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CDFB: rv10_write_header.clone.3 (rmenc.c:146)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CE76: rv10_write_header.clone.3 (rmenc.c:162)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CE8D: rv10_write_header.clone.3 (rmenc.c:163)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CF06: rv10_write_header.clone.3 (rmenc.c:174)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CFA0: rv10_write_header.clone.3 (rmenc.c:182)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid read of size 4
==28681== at 0x818D35C: rv10_write_header.clone.3 (rmenc.c:226)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid read of size 4
==28681== at 0x818D381: rv10_write_header.clone.3 (rmenc.c:228)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid read of size 4
==28681== at 0x818D3E4: rv10_write_header.clone.3 (rmenc.c:230)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid read of size 4
==28681== at 0x818D402: rv10_write_header.clone.3 (rmenc.c:232)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
Output #0, rm, to '20120324.rm':

Metadata:

title : [Server 3/4] Live Services
comment : B'nai Shalom <No copyright>
encoder : Lavf54.2.100
Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, q=2-31, 318 kb/s, 29.97 fps, 90k tbn, 1k tbc
Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, q=2-31, 29.97 fps, 90k tbn, 1k tbc
Stream #0:2: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, 32 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)

Press [q] to stop, ? for help
==28681== Warning: set address range perms: large range [0x96a0060, 0x2a839c41) (undefined)
==28681== Invalid read of size 4
==28681== at 0x818D83D: rm_write_packet (rmenc.c:291)
==28681== by 0x81C2E58: av_write_trailer (utils.c:3528)
==28681== by 0x8093ECF: transcode (ffmpeg.c:3153)
==28681== by 0x809835A: main (ffmpeg.c:5219)
==28681== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== Process terminating with default action of signal 11 (SIGSEGV)
==28681== Access not within mapped region at address 0x0
==28681== at 0x818D83D: rm_write_packet (rmenc.c:291)
==28681== by 0x81C2E58: av_write_trailer (utils.c:3528)
==28681== by 0x8093ECF: transcode (ffmpeg.c:3153)
==28681== by 0x809835A: main (ffmpeg.c:5219)
==28681== If you believe this happened as a result of a stack
==28681== overflow in your program's main thread (unlikely but
==28681== possible), you can try to increase the size of the
==28681== main thread stack using the --main-stacksize= flag.
==28681== The main thread stack size used in this run was 8388608.
==28681==
==28681== HEAP SUMMARY:
==28681== in use at exit: 555,776,137 bytes in 111 blocks
==28681== total heap usage: 729 allocs, 618 frees, 557,394,766 bytes allocated
==28681==
==28681== Searching for pointers to 111 not-freed blocks
==28681== Checked 7,979,660 bytes
==28681==
==28681== LEAK SUMMARY:
==28681== definitely lost: 0 bytes in 0 blocks
==28681== indirectly lost: 0 bytes in 0 blocks
==28681== possibly lost: 0 bytes in 0 blocks
==28681== still reachable: 555,776,137 bytes in 111 blocks
==28681== suppressed: 0 bytes in 0 blocks
==28681== Reachable blocks (those to which a pointer was found) are not shown.
==28681== To see them, rerun with: --leak-check=full --show-reachable=yes
==28681==
==28681== ERROR SUMMARY: 24 errors from 19 contexts (suppressed: 3 from 3)
==28681==
==28681== 1 errors in context 1 of 19:
==28681== Invalid read of size 4
==28681== at 0x818D83D: rm_write_packet (rmenc.c:291)
==28681== by 0x81C2E58: av_write_trailer (utils.c:3528)
==28681== by 0x8093ECF: transcode (ffmpeg.c:3153)
==28681== by 0x809835A: main (ffmpeg.c:5219)
==28681== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 2 of 19:
==28681== Invalid read of size 4
==28681== at 0x818D402: rv10_write_header.clone.3 (rmenc.c:232)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 3 of 19:
==28681== Invalid read of size 4
==28681== at 0x818D3E4: rv10_write_header.clone.3 (rmenc.c:230)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 4 of 19:
==28681== Invalid read of size 4
==28681== at 0x818D381: rv10_write_header.clone.3 (rmenc.c:228)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 5 of 19:
==28681== Invalid read of size 4
==28681== at 0x818D35C: rv10_write_header.clone.3 (rmenc.c:226)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 6 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CFA0: rv10_write_header.clone.3 (rmenc.c:182)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 7 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CF06: rv10_write_header.clone.3 (rmenc.c:174)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 8 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CE8D: rv10_write_header.clone.3 (rmenc.c:163)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 9 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CE76: rv10_write_header.clone.3 (rmenc.c:162)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 10 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CDFB: rv10_write_header.clone.3 (rmenc.c:146)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 11 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CAD5: rv10_write_header.clone.3 (rmenc.c:101)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4758 is 4 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 12 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CAC3: rv10_write_header.clone.3 (rmenc.c:101)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 13 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CAA9: rv10_write_header.clone.3 (rmenc.c:95)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 14 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D6D9: rm_write_header (rmenc.c:324)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4758 is 4 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 15 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D6D2: rm_write_header (rmenc.c:328)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 16 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D617: rm_write_header (rmenc.c:318)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 17 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D614: rm_write_header (rmenc.c:319)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 18 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D60E: rm_write_header (rmenc.c:317)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4764 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 6 errors in context 19 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D60C: rm_write_header (rmenc.c:316)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
--28681--
--28681-- used_suppression: 3 U1004-ARM-_dl_relocate_object
==28681==
==28681== ERROR SUMMARY: 24 errors from 19 contexts (suppressed: 3 from 3)
Segmentation fault

comment:9 by Rodney Baker, 13 years ago

PS - stream is currently live for about the next 2 hours.

by Rodney Baker, 13 years ago

Attachment: defect_1022.txt added

Added --show-reachable flag and ran it again.

comment:10 by Carl Eugen Hoyos, 13 years ago

Component: undeterminedavformat
Keywords: rm added
Reproduced by developer: set
Status: newopen

samples.mplayerhq.hu/real/real-bug/no_play/spear.rm

Crashes badly without valgrind.

$ valgrind ./ffmpeg_g -i spear.rm -acodec copy -vcodec copy -map 0:3 -map 0:4 -map 0:5 out.rm
==16544== Memcheck, a memory error detector.
==16544== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==16544== Using LibVEX rev 1732, a library for dynamic binary translation.
==16544== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==16544== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==16544== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==16544== For more details, rerun with: -v
==16544==
ffmpeg version N-39200-gb222c28 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 24 2012 08:09:50 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl
  libavutil      51. 44.100 / 51. 44.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 65.102 /  2. 65.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
[rm @ 0x440ab40] Unsupported stream type 000001a3
[rm @ 0x440ab40] Unsupported stream type 00000431
[rm @ 0x440ab40] Unsupported stream type 00000362
[rm @ 0x440ab40] max_analyze_duration 5000000 reached at 5000000
Input #0, rm, from 'spear.rm':
  Metadata:
    title           : Spear
    author          :
    copyright       : 2512000
    comment         :
  Duration: 00:00:11.14, start: 0.000000, bitrate: 916 kb/s
    Stream #0:0: Data: none
    Stream #0:1: Data: none
    Stream #0:2: Data: none
    Stream #0:3: Audio: cook (cook / 0x6B6F6F63), 22050 Hz, mono, flt, 32 kb/s
    Stream #0:4: Video: rv30 (RV30 / 0x30335652), yuv420p, 320x240, 317 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc
    Stream #0:5: Video: rv30 (RV30 / 0x30335652), yuv420p, 320x240, 230 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc
    Stream #0:6: Video: rv30 (RV30 / 0x30335652), yuv420p, 320x240, 68 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc
    Stream #0:7: Audio: cook (cook / 0x6B6F6F63), 22050 Hz, mono, flt, 32 kb/s
    Stream #0:8: Audio: cook (cook / 0x6B6F6F63), 22050 Hz, mono, flt, 32 kb/s
    Stream #0:9: Video: rv30 (RV30 / 0x30335652), yuv420p, 320x240, 317 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc
    Stream #0:10: Video: rv30 (RV30 / 0x30335652), yuv420p, 320x240, 317 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc
    Stream #0:11: Video: rv30 (RV30 / 0x30335652), yuv420p, 320x240, 317 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc
    Stream #0:12: Video: rv30 (RV30 / 0x30335652), yuv420p, 320x240, 68 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc
==16544== Invalid write of size 4
==16544==    at 0x815A08A: rm_write_header (rmenc.c:316)
==16544==  Address 0x47C0074 is 0 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid write of size 4
==16544==    at 0x815A094: rm_write_header (rmenc.c:317)
==16544==  Address 0x47C0084 is not stack'd, malloc'd or (recently) free'd
==16544==
==16544== Invalid write of size 4
==16544==    at 0x815A09A: rm_write_header (rmenc.c:319)
==16544==  Address 0x47C0088 is not stack'd, malloc'd or (recently) free'd
==16544==
==16544== Invalid write of size 4
==16544==    at 0x815A09D: rm_write_header (rmenc.c:318)
==16544==  Address 0x47C0074 is 0 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid write of size 4
==16544==    at 0x815A0BD: rm_write_header (rmenc.c:336)
==16544==  Address 0x47C0080 is 12 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid write of size 4
==16544==    at 0x815A0CC: rm_write_header (rmenc.c:332)
==16544==  Address 0x47C0078 is 4 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid read of size 4
==16544==    at 0x8159445: rv10_write_header (rmenc.c:95)
==16544==  Address 0x47C0074 is 0 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid read of size 4
==16544==    at 0x8159466: rv10_write_header (rmenc.c:99)
==16544==  Address 0x47C0080 is 12 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid read of size 4
==16544==    at 0x8159472: rv10_write_header (rmenc.c:99)
==16544==  Address 0x47C0078 is 4 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid read of size 4
==16544==    at 0x815975B: rv10_write_header (rmenc.c:146)
==16544==  Address 0x47C0088 is not stack'd, malloc'd or (recently) free'd
==16544==
==16544== Invalid read of size 4
==16544==    at 0x81597F1: rv10_write_header (rmenc.c:162)
==16544==  Address 0x47C0074 is 0 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid read of size 4
==16544==    at 0x8159808: rv10_write_header (rmenc.c:163)
==16544==  Address 0x47C0074 is 0 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid read of size 4
==16544==    at 0x8159888: rv10_write_header (rmenc.c:174)
==16544==  Address 0x47C0080 is 12 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid read of size 4
==16544==    at 0x815990F: rv10_write_header (rmenc.c:182)
==16544==  Address 0x47C0088 is not stack'd, malloc'd or (recently) free'd
==16544==
==16544== Invalid read of size 4
==16544==    at 0x8159963: rv10_write_header (rmenc.c:245)
==16544==  Address 0x47C0088 is not stack'd, malloc'd or (recently) free'd
==16544==
==16544== Invalid read of size 4
==16544==    at 0x81599B5: rv10_write_header (rmenc.c:249)
==16544==  Address 0x47C0088 is not stack'd, malloc'd or (recently) free'd
==16544==
==16544== Invalid read of size 4
==16544==    at 0x81599C7: rv10_write_header (rmenc.c:250)
==16544==  Address 0x47C0088 is not stack'd, malloc'd or (recently) free'd
==16544==
==16544== Invalid read of size 4
==16544==    at 0x81599DC: rv10_write_header (rmenc.c:251)
==16544==  Address 0x47C0078 is 4 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid read of size 4
==16544==    at 0x8159A13: rv10_write_header (rmenc.c:253)
==16544==  Address 0x47C0078 is 4 bytes after a block of size 84 alloc'd
==16544==    at 0x4021A50: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x4021AAA: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16544==    by 0x87C1E4F: av_mallocz (mem.c:94)
==16544==    by 0x63: ???
==16544==
==16544== Invalid read of size 4
==16544==    at 0x8159A5A: rv10_write_header (rmenc.c:259)
==16544==  Address 0x47C0088 is not stack'd, malloc'd or (recently) free'd
Output #0, rm, to 'out.rm':
  Metadata:
    title           : Spear
    author          :
    copyright       : 2512000
    comment         :
    encoder         : Lavf54.2.100
    Stream #0:0: Audio: cook (cook / 0x6B6F6F63), 22050 Hz, mono, 32 kb/s
    Stream #0:1: Video: rv30 (RV30 / 0x30335652), yuv420p, 320x240, q=2-31, 317 kb/s, 30 fps, 90k tbn, 1k tbc
    Stream #0:2: Video: rv30 (RV30 / 0x30335652), yuv420p, 320x240, q=2-31, 230 kb/s, 30 fps, 90k tbn, 1k tbc
Stream mapping:
  Stream #0:3 -> #0:0 (copy)
  Stream #0:4 -> #0:1 (copy)
  Stream #0:5 -> #0:2 (copy)
Press [q] to stop, [?] for help
[rm @ 0x440ab40] DATA tag in middle of chunk, file may be broken.
==16544== Warning: set address range perms: large range 177522203 (undefined)
==16544== Warning: set address range perms: large range 177522235 (noaccess)
==16544== Warning: set address range perms: large range 242554107 (undefined)
==16544== Warning: set address range perms: large range 242554139 (noaccess)
[rm @ 0x47bfae0] pts < dts in stream 1
av_interleaved_write_frame(): Invalid argument
==16544==
==16544== ERROR SUMMARY: 25 errors from 20 contexts (suppressed: 3 from 1)
==16544== malloc/free: in use at exit: 12,867 bytes in 8 blocks.
==16544== malloc/free: 2,271 allocs, 2,263 frees, 424,122,066 bytes allocated.
==16544== For counts of detected errors, rerun with: -v
==16544== searching for pointers to 8 not-freed blocks.
==16544== checked 6,285,892 bytes.
==16544==
==16544== LEAK SUMMARY:
==16544==    definitely lost: 1,746 bytes in 6 blocks.
==16544==      possibly lost: 0 bytes in 0 blocks.
==16544==    still reachable: 11,121 bytes in 2 blocks.
==16544==         suppressed: 0 bytes in 0 blocks.
==16544== Rerun with --leak-check=full to see details of leaked memory.

comment:11 by Carl Eugen Hoyos, 13 years ago

Priority: importantwish
Summary: "Glibc detected corrupted double-linked list" when copying rtsp stream.Muxing more than one audio stream in rm
Type: defectenhancement

Reimar pushed a patch that prints an error message if the user tries to mux more than one audio stream in rm, so this is a feature request now.

comment:12 by Carl Eugen Hoyos, 12 years ago

Keywords: real added; rm removed

comment:13 by Rodney Baker, 12 years ago

Er, I have a question. The original problem was related to downloading a real-media stream with 2 VIDEO streams and 1 Audio stream. So, how did we get from a bug report for a crash to a feature request to be able to mux 2 AUDIO streams into an rm file? Would somebody please explain the logic? Thanks.

comment:14 by Elon Musk, 12 years ago

It looks to me bug that caused crash was in rm muxer. Does crash still happens?

in reply to:  13 comment:15 by Carl Eugen Hoyos, 12 years ago

Summary: Muxing more than one audio stream in rmMuxing more than two streams in rm

Replying to vk5ztv:

Er, I have a question. The original problem was related to downloading a real-media stream with 2 VIDEO streams and 1 Audio stream. So, how did we get from a bug report for a crash to a feature request to be able to mux 2 AUDIO streams into an rm file? Would somebody please explain the logic?

The first sample I found to reproduce the bug (you did not provide a sample iirc) contained two audio and one video stream. (I probably did not search very well.)

But the actual problem is that FFmpeg only supports muxing two streams, either one video and one audio or two audio or two video streams. I fixed the title accordingly, thank you for pointing out the inconsistency.

Note: See TracTickets for help on using tickets.