On Wed, Nov 18, 2009 at 1:59 PM, Simon <grem...@gmail.com> wrote: > > > On Wed, Nov 18, 2009 at 4:31 PM, Carl Karsten <c...@personnelware.com> > wrote: >> >> from INSTALL: >> >> $ env CFLAGS="-g" ./configure ... >> to build transcode for debugging. >> >> do that, gdb... bt full, should be lots more to post. >> > > Hi again Carl: > > # env CFLAGS="-g" ./configure --enable-shared --enable-pthreads > --enable-ffmpeg --enable-libavcodec --with-libavcodec-prefix='/usr/lib/' > --with-libavcodec-includes='/usr/local/include/libavcodec/' > --with-libavcodec-libs='/usr/lib/' --enable-libavformat > --with-libavformat-prefix='/usr/lib/' > --with-libavformat-includes='/usr/local/include/libavformat/' > --with-libavformat-libs='/usr/lib/' --enable-imagemagick > --with-imagemagick-prefix='/usr/lib/' > --with-imagemagick-includes='/usr/include/magick/' > --with-imagemagick-libs='/usr/lib/' --enable-lame > --with-lame-prefix='/usr/lib/' --with-lame-includes='/usr/include/lame/' > --with-lame-libs='/usr/lib/' --enable-libdvdread > --with-libdvdread-prefix='/usr/lib/' > --with-libdvdread-includes='/usr/include/dvdread/' > --with-libdvdread-libs='/usr/lib/' --enable-libquicktime > > # make ; make install > > # gdb /usr/local/bin/transcode > GNU gdb 6.8-debian > Copyright (C) 2008 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "i486-linux-gnu"... > (gdb) run -i preview.m4v -o preview_out11.m4v -y ffmpeg -F mpeg4 -J > logo=file=watermark-24bit.png > Starting program: /usr/local/bin/transcode -i preview.m4v -o > preview_out11.m4v -y ffmpeg -F mpeg4 -J logo=file=watermark-24bit.png > [Thread debugging using libthread_db enabled] > transcode v1.1.5 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team > [h264 @ 0xb7cf4610]brainfart cropping not supported, this could look > slightly wrong ... > [h264 @ 0xb7cd0610]brainfart cropping not supported, this could look > slightly wrong ... > [transcode] V: auto-probing | preview.m4v (OK) > [transcode] V: import format | (null) in QuickTime (module=mov) > [transcode] A: auto-probing | preview.m4v (OK) > [transcode] A: import format | PCM in QuickTime (module=mov) > [transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence > [transcode] V: import frame | 406x228 1.78:1 encoded @ UNKNOWN > [transcode] V: bits/pixel | 0.778 > [transcode] V: decoding fps,frc | 25.000,3 > [transcode] V: video format | YUV420 (4:2:0) aka I420 > [transcode] A: import format | 0x1 PCM [48000,16,2] > [transcode] A: export format | 0x55 MPEG ES Layer 3 [48000,16,2] 128 > kbps > [transcode] V: export format | unknown (module dependant) > [transcode] V: encoding fps,frc | 25.000,3 > [transcode] A: bytes per frame | 7680 (7680.000000) > [transcode] A: adjustment | 0...@1000 > [transcode] V: IA32/AMD64 accel | sse3 sse2 sse mmx cmove asm > [transcode] V: video buffer | 10 @ 406x228 [0x2] > [transcode] A: audio buffer | 10 @ 48000x2x16 > [New Thread 0xb7c296b0 (LWP 12693)] > [import_mov.so] v0.1.3 (2005-12-04) (video) * | (audio) * > [filter_logo.so] options=file=watermark-24bit.png > [filter_logo.so] v0.10 (2003-10-16) render image in videostream > [export_ffmpeg.so] v0.3.18 (2008-11-29) (video) Lavc52.32.0 | (audio) > MPEG/AC3/PCM > [New Thread 0xa4951b90 (LWP 12704)] > [New Thread 0xa4151b90 (LWP 12705)] > [New Thread 0xa3951b90 (LWP 12706)] > [h264 @ 0xa544b610]brainfart cropping not supported, this could look > slightly wrong ... > [import_mov.so] codec=mp4a, rate=48000 Hz, bits=16, channels=2, > samples=1744896 > [h264 @ 0xa544b610]brainfart cropping not supported, this could look > slightly wrong ... > [import_mov.so] VIDEO: codec=avc1, fps=25.000, width=406, height=228, > frames=449 > [New Thread 0xa2f02b90 (LWP 12707)] > [New Thread 0xa2702b90 (LWP 12708)] > [export_ffmpeg.so] Using FFMPEG codec 'mpeg4' (FourCC 'DIVX', MPEG4 > compliant video). > [export_ffmpeg.so] No profile selected > [export_ffmpeg.so] Starting 1 thread(s) > [New Thread 0xa1f02b90 (LWP 12709)] > [export_ffmpeg.so] Set display aspect ratio to input > [mpeg4 @ 0xa544b610]removing common factors from framerate > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0xb7c296b0 (LWP 12693)] > 0xb7cbf643 in strlen () from /lib/libc.so.6 > (gdb) bt full > #0 0xb7cbf643 in strlen () from /lib/libc.so.6 > No symbol table info available. > #1 0xa50f47f2 in ff_parse () from /usr/lib/i686/cmov/libavcodec.so.51 > No symbol table info available. > #2 0xa5217a10 in ff_rate_control_init () from > /usr/lib/i686/cmov/libavcodec.so.51 > No symbol table info available. > #3 0x00000000 in ?? () > No symbol table info available. > (gdb) >
hmm, looks like that last step didn't do much because the error isn't in transcode. I am not sure how useful it will be, but it is easy so do this: apt-get install libc-dbg gdb... bt full, the #0 ... libc.so.6 should have something, which might be useful. If you built ffmpeg, see if you can enable debug info there too. -- Carl K