Hi Francesco,
Francesco Romani wrote:
OK, please do the following:
1) grab the attached import_ffmpeg.c and drop it into import/ directory
of a 1.1.5 source tree, effectively replacing the shipped one.
The new plugin has this version tag: "v0.1.15D (2008-01-28)" (note the
trailing `D')
2) recompile and install at least the affected plugin; rebuilding the
whole package won't hurt but's almost useless.
3) retry. transcode will crash anyway but we get a bit more of
information about what's going on.
4) please provide the full transcode output and backtrace as you already
did.
Ok, I did that.
I have also uploaded a test video (8 MB) to
http://akupressur-germering.de/tmp/DSC_0132.AVI, in case you want to try
something without doing email round trips.
Here is the output:
$ gdb transcode
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/angelo/local/transcode/bin/transcode...done.
(gdb) r -J preview -i DSC_0132.AVI -y null,null -o dummy
Starting program: /home/angelo/local/transcode/bin/transcode -J preview
-i DSC_0132.AVI -y null,null -o dummy
[Thread debugging using libthread_db enabled]
transcode v1.1.5 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
[transcode] V: auto-probing | DSC_0132.AVI (OK)
[transcode] V: import format | MJPEG in RIFF data, AVI (module=ffmpeg)
[transcode] A: auto-probing | DSC_0132.AVI (OK)
[transcode] A: import format | PCM in RIFF data, AVI (module=raw)
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 1280x720 1.78:1 encoded @ 16:9
[transcode] V: bits/pixel | 0.081 (low)
[transcode] V: decoding fps,frc | 24.000,2
[transcode] V: video format | YUV420 (4:2:0) aka I420
[transcode] A: import format | 0x1 PCM [11025,16,1] 176
kbps
[transcode] A: export | disabled
[transcode] V: encoding fps,frc | 24.000,2
[transcode] A: bytes per frame | 918 (918.750000)
[transcode] A: adjustment | 7...@1000
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse mmx cmove asm
[transcode] V: video buffer | 10 @ 1280x720 [0x2]
[transcode] A: audio buffer | 10 @ 11025x1x16
[import_raw.so] v0.3.3 (2008-11-23) (video) RGB/YUV | (audio) PCM
[import_ffmpeg.so] v0.1.15D (2008-01-28) (video) ffmpeg: MS
MPEG4v1-3/MPEG4/MJPEG
[filter_preview.so] v0.1.4 (2002-10-08) xv/sdl/gtk preview plugin
[filter_preview.so] options=(null)
[filter_preview.so] preview window 1280x720
[display.c] Xv: Intel(R) Textured Video: ports 67 - 82
[display.c] Xv: grabbed port 67
[display.c] Using Xv for display
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
[New Thread 0x7fffdfdd8910 (LWP 13207)]
[New Thread 0x7fffdf5d7910 (LWP 13208)]
[New Thread 0x7fffdedd6910 (LWP 13209)]
[import_raw.so] tcextract -x pcm -i "DSC_0132.AVI" -d 0 | tcextract -a 0
-x pcm -d 0 -t raw
[import_ffmpeg.so] input is mjpeg, reducing range from YUVJ420P to YUV420P
[filter_levels.so] instance #2
[filter_levels.so] v1.2.0 (2007-06-07) Luminosity level scaler
[filter_levels.so] scaling 0-255 gamma 1.000000 to 16-240 (pre-process)
[New Thread 0x7fffde12b910 (LWP 13213)]
[New Thread 0x7fffdd92a910 (LWP 13214)]
[import_ffmpeg.so] DEBUG=[YUV422P] {
[import_ffmpeg.so] TC W=1280 H=720
[import_ffmpeg.so] FF W=1280 H=720
[import_ffmpeg.so] FF Linesize=1312/656/656
[import_ffmpeg.so] } DEBUG=[YUV422P]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdd92a910 (LWP 13214)]
0x00000000004639c4 in memcpy_amd64 (dest=0x7fffde3d0f90,
src=0x7fffdcfc30c8, bytes=640) at memcpy.c:400
400 asm("\
(gdb) bt
#0 0x00000000004639c4 in memcpy_amd64 (dest=0x7fffde3d0f90,
src=0x7fffdcfc30c8, bytes=640) at memcpy.c:400
#1 0x0000000000463930 in ac_memcpy (dest=0x7fffde3d0f90,
src=0x7fffdcfc30c8, size=640) at memcpy.c:24
#2 0x00007fffe3a8c624 in import_ffmpeg_decode (param=0x7fffdd92a040,
vob=0x6a8010) at import_ffmpeg.c:672
#3 0x00007fffe3a8a710 in tc_import (opt=22, para1=0x7fffdd92a040,
para2=0x6a8010) at import_def.h:93
#4 0x000000000041beeb in tcv_import (opt=22, para1=0x7fffdd92a040,
para2=0x6a8010) at dl_loader.c:104
#5 0x000000000041a55f in video_import_loop (vob=0x6a8010) at decoder.c:472
#6 0x000000000041aded in video_import_thread (_vob=0x6a8010) at
decoder.c:696
#7 0x00007ffff787ba04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#8 0x00007ffff65da7bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9 0x0000000000000000 in ?? ()
(gdb) quit
ciao
Pablo