On 1/12/10, Reinhard Tartler wrote: > On Mo, Jan 11, 2010 at 23:25:12 (CET), jumbophut wrote: > >> Package: vlc >> Version: 0.8.6.h-4+lenny2 >> >> When I attempt to transcode a video from Quicktime to OGG theora, vlc >> segfaults. > > does this also happen with non quicktime formats? I've tried with > another format with a newer vlc and I couldn't reproduce the issue. I'd > therefore assume that this defect is not present in 1.0.4-2. >
Transcoding to theora in 0.8.6.h-4+lenny2 succeeds with MJPEG input (actually I lose sound and it does segfault when done, but the resulting theora video is fine). MJPEG is the only other (non-QT) format I have to hand. Command and output follow: $ vlc -vvv -I dummy test.avi --sout '#transcode{venc=theora,aenc=vorbis,scale=0.5,channels=2}:std{access=file,mux=ogg,dst="/tmp/lowquality.ogg"}' vlc://quit VLC media player 0.8.6h Janus [00000001] main private debug: checking builtin modules [00000001] main private debug: checking plugin modules [00000001] main private debug: loading plugins cache file /home/ct/.vlc/cache/plugins-04041e.dat [00000001] main private debug: recursively browsing `/usr/lib/vlc' [00000001] main private debug: module bank initialized, found 217 modules [00000001] main private debug: opening config file /home/ct/.vlc/vlcrc [00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE FPU [00000001] main private debug: looking for memcpy module: 1 candidate [00000001] main private debug: using memcpy module "memcpy" [00000282] main playlist debug: waiting for thread completion [00000282] main playlist debug: thread 3072371600 (playlist) created at priority 0 (playlist/playlist.c:184) [00000283] main private debug: waiting for thread completion [00000283] main private debug: thread 3063978896 (preparser) created at priority 0 (playlist/playlist.c:210) [00000284] main interface debug: looking for interface module: 1 candidate [00000284] main interface debug: using interface module "hotkeys" [00000284] main interface debug: thread 3055586192 (interface) created at priority 0 (interface/interface.c:231) [00000286] main interface debug: looking for interface module: 1 candidate [00000286] main interface debug: using interface module "screensaver" [00000286] main interface debug: thread 3047193488 (interface) created at priority 0 (interface/interface.c:231) [00000282] main playlist debug: adding playlist item `vlc://quit' ( vlc://quit ) [00000282] main playlist debug: adding playlist item `test.avi' ( test.avi ) [00000288] main interface debug: looking for interface module: 6 candidates [00000288] dummy interface: using the dummy interface module... [00000288] main interface debug: using interface module "dummy" [00000288] main interface debug: thread 3038780304 (manager) created at priority 0 (interface/interface.c:216) [00000282] main playlist debug: creating new input thread [00000297] main input debug: waiting for thread completion [00000297] main input debug: creating statistics handler [00000299] main stream output debug: stream=`transcode' [00000300] main private debug: looking for sout stream module: 1 candidate [00000299] main stream output debug: stream=`std' [00000303] main private debug: looking for sout stream module: 1 candidate [00000303] main private debug: set sout option: sout-standard-access to file [00000297] main input debug: thread 3030387600 (input) created at priority 0 (input/input.c:265) [00000303] main private debug: set sout option: sout-standard-mux to ogg [00000303] main private debug: set sout option: sout-standard-dst to /tmp/lowquality.ogg [00000303] stream_out_standard private debug: creating `file/ogg:///tmp/lowquality.ogg' [00000303] stream_out_standard private debug: extension is ogg [00000303] stream_out_standard private debug: extension -> mux=ogg [00000303] stream_out_standard private debug: using `file/ogg:///tmp/lowquality.ogg' [00000305] main private debug: looking for sout access module: 1 candidate [00000305] access_output_file private debug: file access output opened (`/tmp/lowquality.ogg') [00000305] main private debug: using sout access module "access_output_file" [00000303] stream_out_standard private debug: access opened [00000307] main private debug: looking for sout mux module: 1 candidate [00000307] mux_ogg private: Open [00000307] main private debug: using sout mux module "mux_ogg" [00000299] main stream output debug: muxer support adding stream at any time [00000299] main stream output debug: muxer prefers to wait for all ES before starting to mux [00000303] stream_out_standard private debug: mux opened [00000303] main private debug: using sout stream module "stream_out_standard" [00000300] main private debug: set sout option: sout-transcode-venc to theora [00000300] main private debug: set sout option: sout-transcode-aenc to vorbis [00000300] main private debug: set sout option: sout-transcode-scale to 0.5 [00000300] main private debug: set sout option: sout-transcode-channels to 2 [00000300] main private debug: using sout stream module "stream_out_transcode" [00000297] main input debug: `test.avi' gives access `' demux `' path `test.avi' [00000297] main input debug: creating demux: access='' demux='' path='test.avi' [00000309] main demuxer debug: looking for access_demux module: 2 candidates [00000297] main input debug: creating access '' path='test.avi' [00000312] main access debug: looking for access2 module: 5 candidates [00000312] vcd access debug: trying .cue file: test.cue [00000312] vcd access debug: could not find .cue file [00000312] access_file access debug: opening file `test.avi' [00000312] main access debug: using access2 module "access_file" [00000318] main private debug: pre-buffering... [00000318] main private debug: received first data for our buffer [00000318] main private debug: pre-buffering done 1408981 bytes in 0s - 44157 kbytes/s [00000297] main input debug: creating demux: access='' demux='' path='test.avi' [00000319] main demuxer debug: looking for demux2 module: 45 candidates [00000318] avi private debug: found Chunk fourcc:46464952 (RIFF) size:47943230 pos:0 [00000318] avi private debug: found LIST chunk: 'AVI ' [00000318] avi private debug: <list 'AVI '> [00000318] avi private debug: found Chunk fourcc:5453494c (LIST) size:8450 pos:12 [00000318] avi private debug: found LIST chunk: 'hdrl' [00000318] avi private debug: <list 'hdrl'> [00000318] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 [00000318] avi private debug: avih: streams:2 flags: HAS_INDEX 640x480 [00000318] avi private debug: found Chunk fourcc:5453494c (LIST) size:8274 pos:88 [00000318] avi private debug: found LIST chunk: 'strl' [00000318] avi private debug: <list 'strl'> [00000318] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 [00000318] avi private debug: strh: type:vids handler:0x67706a6d samplesize:0 15.00fps [00000318] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 [00000318] avi private debug: strf: video:MJPG 640x480 planes:1 24bpp [00000318] avi private debug: found Chunk fourcc:64727473 (strd) size:8116 pos:212 [00000318] avi private debug: found Chunk fourcc:6e727473 (strn) size:25 pos:8336 [00000318] avi private debug: strn: stream name : FUJIFILM AVI STREAM 0100 [00000318] avi private debug: </list 'strl'> [00000318] avi private debug: found Chunk fourcc:5453494c (LIST) size:92 pos:8370 [00000318] avi private debug: found LIST chunk: 'strl' [00000318] avi private debug: <list 'strl'> [00000318] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:8382 [00000318] avi private debug: strh: type:auds handler:0x00000000 samplesize:1 8000.00fps [00000318] avi private debug: found Chunk fourcc:66727473 (strf) size:16 pos:8446 [00000318] avi private debug: strf: audio:0x0001 channels:1 8000Hz 8bits/sample 62kb/s [00000318] avi private debug: </list 'strl'> [00000318] avi private debug: </list 'hdrl'> [00000318] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:5846 pos:8470 [00000318] avi private debug: found Chunk fourcc:5453494c (LIST) size:47907906 pos:14324 [00000318] avi private debug: skipping movi chunk [00000318] avi private debug: found Chunk fourcc:31786469 (idx1) size:20992 pos:47922238 [00000318] avi private debug: idx1: index entry:1312 [00000318] avi private debug: </list 'AVI '> [00000318] avi private debug: * LIST-root size:47943238 pos:0 [00000318] avi private debug: + RIFF-AVI size:47943230 pos:0 [00000318] avi private debug: | + LIST-hdrl size:8450 pos:12 [00000318] avi private debug: | | + avih size:56 pos:24 [00000318] avi private debug: | | + LIST-strl size:8274 pos:88 [00000318] avi private debug: | | | + strh size:56 pos:100 [00000318] avi private debug: | | | + strf size:40 pos:164 [00000318] avi private debug: | | | + strd size:8116 pos:212 [00000318] avi private debug: | | | + strn size:25 pos:8336 [00000318] avi private debug: | | + LIST-strl size:92 pos:8370 [00000318] avi private debug: | | | + strh size:56 pos:8382 [00000318] avi private debug: | | | + strf size:16 pos:8446 [00000318] avi private debug: | + JUNK size:5846 pos:8470 [00000318] avi private debug: | + LIST-movi size:47907906 pos:14324 [00000318] avi private debug: | + idx1 size:20992 pos:47922238 [00000319] avi demuxer debug: AVIH: 2 stream, flags HAS_INDEX [00000319] avi demuxer debug: stream[0] rate:1000000 scale:66666 samplesize:0 [00000319] avi demuxer debug: stream[0] video(MJPG) 640x480 24bpp 15.000150fps [00000297] main input debug: selecting program id=0 [00000319] avi demuxer debug: stream[1] rate:8000 scale:1 samplesize:1 [00000319] avi demuxer debug: stream[1] audio(0x1) 1 channels 8000Hz 8bits [00000319] avi demuxer debug: no key frame set for track 1 [00000319] avi demuxer debug: stream[0] created 1230 index entries [00000319] avi demuxer debug: stream[1] created 82 index entries [00000319] avi demuxer debug: stream[0] length:81 (based on index) [00000319] avi demuxer debug: stream[1] length:82 (based on index) [00000319] main demuxer debug: using demux2 module "avi" [00000297] main input debug: looking for a subtitle file in /tmp/ [00000321] main packetizer debug: looking for packetizer module: 17 candidates [00000321] main packetizer debug: using packetizer module "packetizer_copy" [00000297] main input debug: stream out mode -> no decoder thread [00000352] main packetizer debug: looking for packetizer module: 17 candidates [00000352] main packetizer debug: using packetizer module "packetizer_copy" [00000297] main input debug: stream out mode -> no decoder thread [00000297] main input debug: starting in async mode [00000297] main input debug: meta information: [00000297] main input debug: - 'Setting' = ' HAS_INDEX' [00000297] main input debug: `test.avi' successfully opened [00000319] avi demuxer debug: old:0 < new 0 [00000299] main stream output debug: adding a new input [00000300] stream_out_transcode private debug: creating audio transcoding from fcc=`u8 ' to fcc=` ' [00000353] main decoder debug: looking for decoder module: 25 candidates [00000353] araw decoder debug: samplerate:8000Hz channels:1 bits/sample:8 [00000353] main decoder debug: using decoder module "araw" [00000354] main encoder debug: looking for encoder module: 1 candidate [00000354] vorbis encoder error: CBR mode initialisation failed [00000354] main encoder warning: no encoder module matching "vorbis" could be loaded [00000300] stream_out_transcode private error: cannot find encoder (vorbis) [00000353] main decoder debug: removing module "araw" [00000300] stream_out_transcode private error: cannot create audio chain [00000352] main packetizer error: cannot create packetizer output (u8 ) [00000299] main stream output debug: adding a new input [00000300] stream_out_transcode private debug: creating video transcoding from fcc=`MJPG' to fcc=` ' [00000361] main decoder debug: looking for decoder module: 25 candidates [00000361] ffmpeg decoder debug: libavcodec initialized (interface 3355136 ) [00000361] ffmpeg decoder debug: postprocessing disabled [00000361] ffmpeg decoder debug: using direct rendering [00000361] ffmpeg decoder debug: ffmpeg codec (Motion JPEG Video) started [00000361] main decoder debug: using decoder module "ffmpeg" [00000362] main encoder debug: looking for encoder module: 1 candidate [00000362] main encoder debug: using encoder module "theora" [00000362] main encoder debug: removing module "theora" [00000300] stream_out_transcode private debug: decoder aspect is 576000:432000 [00000300] stream_out_transcode private debug: source pixel aspect is 1.000000:1 [00000300] stream_out_transcode private debug: scaled pixel aspect is 1.000000:1 [00000300] stream_out_transcode private debug: source 640x480, crop 640x480, destination 320x240, padding 320x240 [00000300] stream_out_transcode private debug: encoder aspect is 576000:432000 [00000362] main encoder debug: looking for encoder module: 1 candidate [00000362] main encoder debug: using encoder module "theora" [00000307] main private debug: adding a new input [00000307] mux_ogg private debug: adding input [00000307] mux_ogg private debug: theora stream [00000372] main private debug: looking for crop padd module: 1 candidate [00000372] ffmpeg private debug: input: 320x240 -> 640x480 [00000372] ffmpeg private debug: input: 640x480 I422 -> 320x240 I420 [00000372] ffmpeg private debug: libavcodec already initialized [00000372] main private debug: using crop padd module "ffmpeg" [00000361] ffmpeg decoder warning: picture size invalid (49053x11826) (mj...@0x9e96130) [00000361] ffmpeg decoder warning: cannot decode one frame (26882 bytes) [00000307] mux_ogg private debug: writing header [00000307] mux_ogg private debug: creating header for theo ^[[B[00000319] avi demuxer warning: cannot skip packet, track disabled [00000321] main packetizer debug: removing module "packetizer_copy" [00000321] main packetizer debug: killing decoder fourcc `MJPG', 0 PES in FIFO [00000299] main stream output debug: removing an input [00000361] ffmpeg decoder debug: ffmpeg codec (Motion JPEG Video) stopped [00000361] main decoder debug: removing module "ffmpeg" [00000362] main encoder debug: removing module "theora" [00000372] main private debug: removing module "ffmpeg" [00000307] mux_ogg private debug: removing input [00000307] main private warning: no more input streams for this mux [00000352] main packetizer debug: removing module "packetizer_copy" [00000352] main packetizer debug: killing decoder fourcc `araw', 0 PES in FIFO [00000297] main input debug: EOF reached [00000297] main input debug: closing input [00000318] avi private debug: free chunk avih [00000318] avi private debug: free chunk strh [00000318] avi private debug: free chunk strf [00000318] avi private debug: free chunk strd [00000318] avi private debug: free chunk strn [00000318] avi private debug: free chunk LIST [00000318] avi private debug: free chunk strh [00000318] avi private debug: free chunk strf [00000318] avi private debug: free chunk LIST [00000318] avi private debug: free chunk LIST [00000318] avi private debug: free chunk JUNK [00000318] avi private debug: free chunk LIST [00000318] avi private debug: free chunk idx1 [00000318] avi private debug: free chunk RIFF [00000318] avi private debug: free chunk LIST [00000319] main demuxer debug: removing module "avi" [00000312] main access debug: removing module "access_file" [00000297] main input debug: destroying sout [00000300] main private debug: destroying chain... (name=transcode) [00000303] main private debug: destroying chain... (name=std) [00000307] mux_ogg private: Close [00000307] mux_ogg private debug: writing footer [00000307] main private debug: removing module "mux_ogg" [00000305] access_output_file private debug: file access output closed [00000305] main private debug: removing module "access_output_file" [00000303] main private debug: removing module "stream_out_standard" [00000303] main private debug: destroying chain done [00000300] main private debug: removing module "stream_out_transcode" [00000300] main private debug: destroying chain done [00000297] main input debug: thread 3030387600 joined (input/input.c:412) [00000282] main playlist debug: creating new input thread [00000373] main input debug: waiting for thread completion [00000373] main input debug: `vlc://quit' gives access `vlc' demux `' path `quit' [00000373] main input debug: creating demux: access='vlc' demux='' path='quit' [00000374] main demuxer debug: looking for access_demux module: 0 candidates [00000374] main demuxer warning: no access_demux module matched "vlc" [00000373] main input debug: creating access 'vlc' path='quit' [00000375] main access debug: looking for access2 module: 6 candidates [00000375] main access debug: using access2 module "dummy" [00000376] main private debug: pre-buffering... [00000376] main private debug: received first data for our buffer [00000376] main private debug: pre-buffering done 1408981 bytes in 0s - 242801 kbytes/s [00000373] main input debug: creating demux: access='vlc' demux='vlc' path='quit' [00000377] main demuxer debug: looking for demux2 module: 1 candidate [00000377] dummy demuxer: command `quit' [00000377] main demuxer debug: using demux2 module "dummy" [00000373] main input debug: `vlc://quit' successfully opened [00000373] main input debug: EOF reached [00000373] main input debug: thread 3030387600 (input) created at priority 0 (input/input.c:265) [00000001] main private debug: removing all interfaces [00000288] main interface debug: thread 3038780304 joined (interface/interface.c:258) [00000288] main interface debug: removing module "dummy" [00000286] main interface debug: thread 3047193488 joined (interface/interface.c:258) [00000286] main interface debug: removing module "screensaver" [00000284] main interface debug: thread 3055586192 joined (interface/interface.c:258) [00000284] main interface debug: removing module "hotkeys" [00000001] main private debug: removing playlist handler [00000373] main input debug: closing input [00000377] main demuxer debug: removing module "dummy" [00000375] main access debug: removing module "dummy" [00000283] main private debug: thread 3063978896 joined (playlist/playlist.c:247) *** glibc detected *** vlc: double free or corruption (fasttop): 0x0a02e3c8 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb7cf7624] /lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7cf9826] /usr/lib/libvlc.so.0[0xb7f0f8a5] ======= Memory map: ======== 08048000-08049000 r-xp 00000000 03:02 105859 /usr/bin/vlc 08049000-0804a000 rw-p 00000000 03:02 105859 /usr/bin/vlc 09d66000-0a15c000 rw-p 09d66000 00:00 0 [heap] b2260000-b25a9000 rw-p b2260000 00:00 0 b2640000-b3278000 rw-p b2640000 00:00 0 b3278000-b327d000 r-xp 00000000 03:02 122007 /usr/lib/libraw1394.so.8.2.0 b327d000-b327e000 rw-p 00004000 03:02 122007 /usr/lib/libraw1394.so.8.2.0 b327e000-b3319000 r-xp 00000000 03:02 181578 /usr/lib/i686/cmov/libavformat.so.52.7.0 b3319000-b331c000 rw-p 0009b000 03:02 181578 /usr/lib/i686/cmov/libavformat.so.52.7.0 b331c000-b3328000 r-xp 00000000 03:02 181580 /usr/lib/i686/cmov/libpostproc.so.51.1.0 b3328000-b3329000 rw-p 0000b000 03:02 181580 /usr/lib/i686/cmov/libpostproc.so.51.1.0 b3335000-b334a000 r-xp 00000000 03:02 275918 /usr/lib/vlc/codec/libffmpeg_plugin.so b334a000-b334c000 rw-p 00015000 03:02 275918 /usr/lib/vlc/codec/libffmpeg_plugin.so b334c000-b3363000 r-xp 00000000 03:02 122237 /usr/lib/libmpeg2.so.0.0.0 b3363000-b3364000 rw-p 00016000 03:02 122237 /usr/lib/libmpeg2.so.0.0.0 b3364000-b3366000 rw-p b3364000 00:00 0 b3368000-b336d000 r-xp 00000000 03:02 275925 /usr/lib/vlc/codec/libaraw_plugin.so b336d000-b336e000 rw-p 00004000 03:02 275925 /usr/lib/vlc/codec/libaraw_plugin.so b336e000-b3371000 r-xp 00000000 03:02 275940 /usr/lib/vlc/codec/libfaad_plugin.so b3371000-b3372000 rw-p 00002000 03:02 275940 /usr/lib/vlc/codec/libfaad_plugin.so b3372000-b3395000 r-xp 00000000 03:02 167426 /usr/lib/libpng12.so.0.27.0 b3395000-b3396000 rw-p 00023000 03:02 167426 /usr/lib/libpng12.so.0.27.0 b3396000-b3399000 r-xp 00000000 03:02 275921 /usr/lib/vlc/codec/libcinepak_plugin.so b3399000-b339a000 rw-p 00002000 03:02 275921 /usr/lib/vlc/codec/libcinepak_plugin.so b339a000-b339d000 r-xp 00000000 03:02 275930 /usr/lib/vlc/codec/liblibmpeg2_plugin.so b339d000-b339e000 rw-p 00002000 03:02 275930 /usr/lib/vlc/codec/liblibmpeg2_plugin.so b339e000-b33a1000 r-xp 00000000 03:02 275939 /usr/lib/vlc/codec/libfake_plugin.so b33a1000-b33a2000 rw-p 00002000 03:02 275939 /usr/lib/vlc/codec/libfake_plugin.so b33a2000-b33a4000 r-xp 00000000 03:02 275935 /usr/lib/vlc/codec/libpng_plugin.so b33a4000-b33a5000 rw-p 00001000 03:02 275935 /usr/lib/vlc/codec/libpng_plugin.so b33a5000-b33a7000 r-xp 00000000 03:02 276007 /usr/lib/vlc/packetizer/libpacketizer_copy_plugin.so b33a7000-b33a8000 rw-p 00001000 03:02 276007 /usr/lib/vlc/packetizer/libpacketizer_copy_plugin.so b33a8000-b33ab000 r-xp 00000000 03:02 275922 /usr/lib/vlc/codec/libdts_plugin.so b33ab000-b33ac000 rw-p 00002000 03:02 275922 /usr/lib/vlc/codec/libdts_plugin.so b33ac000-b33ae000 r-xp 00000000 03:02 275920 /usr/lib/vlc/codec/liba52_plugin.so b33ae000-b33af000 rw-p 00002000 03:02 275920 /usr/lib/vlc/codec/liba52_plugin.so b33af000-b33b2000 r-xp 00000000 03:02 275929 /usr/lib/vlc/codec/libmpeg_audio_plugin.so b33b2000-b33b3000 rw-p 00002000 03:02 275929 /usr/lib/vlc/codec/libmpeg_audio_plugin.so b33b3000-b33b9000 r-xp 00000000 03:02 276010 /usr/lib/vlc/packetizer/libpacketizer_mpeg4audio_plugin.so b33b9000-b33ba000 rw-p 00005000 03:02 276010 /usr/lib/vlc/packetizer/libpacketizer_mpeg4audio_plugin.so b33ba000-b33be000 r-xp 00000000 03:02 276009 /usr/lib/vlc/packetizer/libpacketizer_mpeg4video_plugin.so b33be000-b33bf000 rw-p 00003000 03:02 276009 /usr/lib/vlc/packetizer/libpacketizer_mpeg4video_plugin.so b33bf000-b33c4000 r-xp 00000000 03:02 276011 /usr/lib/vlc/packetizer/libpacketizer_h264_plugin.so b33c4000-b33c5000 rw-p 00004000 03:02 276011 /usr/lib/vlc/packetizer/libpacketizer_h264_plugin.so b33c5000-b3417000 r-xp 00000000 03:02 122025 /usr/lib/libFLAC.so.8.2.0 b34Aborted -- Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!, /l...@omcgtjuba.phi/') _______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers