Thank you for your reply, Francesco Romani. I did not come across the page
you referred to in your reply before posting my message, so I'm sorry I did
not properly include the information that you need. Below I have included
the missing pieces.
[System]
I am running Gentoo Linux 2.6.17-r2 on a x86_64 platform.
[Transcode]
I've manually recompiled transcode. I retrieved the source from
http://www.linuxfromscratch.org/blfs/view/svn/multimedia/transcode.html (for
some reason, the files that I downloaded from
http://www.transcoding.org/cgi-bin/transcode?Download were corrupt). I used
the following options for ./configure:
./configure --disable-mmx --disable-3dnow --disable-sse --disable-sse2
--disable-altivec --enable-gtk --enable-libjpeg --with-x
These were derived from the USE flags that were enabled and disabled when I
installed transcode in Gentoo using emerge.
The compiler and installer did not give any errors.
Below I've included the output of "gdb -q transcode". I hope this will
provide you with the information required. Thank you for your help.
Kind regards,
Martijn
[Crash report]
[EMAIL PROTECTED] /mnt/sda5 $ gdb -q transcode
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run -i myvideo.avi -y ffmpeg --export_prof dvd-pal --export_asr 2 -o
myvideo -D0 -b224 -N 0x2000 -s2 -m myvideo.ac3 -J modfps=clonetype=3
--export_fps 25 -q 2
Starting program: /usr/local/bin/transcode -i myvideo.avi -y ffmpeg
--export_prof dvd-pal --export_asr 2 -o myvideo -D0 -b224 -N 0x2000 -s2 -m
myvideo.ac3 -J modfps=clonetype=3 --export_fps 25 -q 2
[Thread debugging using libthread_db enabled]
[New Thread 47456032967568 (LWP 15554)]
[New Thread 1082132816 (LWP 15557)]
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[tcprobe] RIFF data, AVI video
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
(probe.c) V magic=0x17, A magic=0x17, V codec=0x51b6, A codec=0x55
(probe.c) V magic=RIFF data, AVI, A magic=RIFF data, AVI, V codec=DivX5, A
codec=MPEG layer-3
[transcode] auto-probing source myvideo.avi (ok)
[transcode] V: import format | DivX5 RIFF data, AVI (V=ffmpeg|A=mp3)
[transcode] V: import frame | 480x272 1.76:1
XXX: zoom=yes pre_clip=yes
[transcode] V: pre clip frame | 480x362 (-46,0,-44,0)
[transcode] V: zoom | 720x576 1.66:1 (Lanczos3)
[transcode] V: bits/pixel | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x55 MPEG layer-3 [48000,16,2] 128
kbps
[transcode] A: export format | 0x2000 AC3 [48000,16,2] 224
kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | [EMAIL PROTECTED]
[transcode] A: rescale stream | 2.000
[transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C)
tc_memcpy: using amd64 for memcpy
[transcode] encoder delay = decode=40000 encode=40000 usec
[transcode] V: video buffer | 10 @ 720x576
[transcode] allocating 10 framebuffer (static)
loading audio import module /usr/local/lib/transcode/import_mp3.so
loading video import module /usr/local/lib/transcode/import_ffmpeg.so
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
Audio capability flag 0x1 | 0x1
[import_ffmpeg.so] v0.1.12 (2004-05-07) (video) ffmpeg: MS
MPEG4v1-3/MPEG4/MJPEG
Video capability flag 0x2a | 0x2
(filter.c) modfps=clonetype=3
[transcode] loading filter module (0)
/usr/local/lib/transcode/filter_modfps.so
Filter[0].name (modfps) instance # (0)
Filter[1].name (-) instance # (0)
Filter[2].name (-) instance # (0)
Filter[3].name (-) instance # (0)
Filter[4].name (-) instance # (0)
Filter[5].name (-) instance # (0)
Filter[6].name (-) instance # (0)
Filter[7].name (-) instance # (0)
Filter[8].name (-) instance # (0)
Filter[9].name (-) instance # (0)
Filter[10].name (-) instance # (0)
Filter[11].name (-) instance # (0)
Filter[12].name (-) instance # (0)
Filter[13].name (-) instance # (0)
Filter[14].name (-) instance # (0)
Filter[15].name (-) instance # (0)
(filter.c) successfully loaded 1 filter plugin(s)
[filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
[filter_modfps.so] converting from 25.0000fps to 25.0000fps
[filter_modfps.so] No framerate conversion requested, exiting
[transcode] warning : filter plugin 'modfps' returned error - plugin skipped
loading audio export module /usr/local/lib/transcode/export_ffmpeg.so
loading video export module /usr/local/lib/transcode/export_ffmpeg.so
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc51.9.0 | (audio)
MPEG/AC3/PCM
(encoder.c) audio capability flag 0x21f | 0x1
(encoder.c) video capability flag 0x21f | 0x2
[transcode] starting 1 frame processing thread(s)
[New Thread 1090525520 (LWP 15559)]
[transcode] starting 1 frame processing thread(s)
[New Thread 1098918224 (LWP 15560)]
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "myvideo.avi" -x mp3 -d 3 | tcdecode -x
mp3 -d 3 -z 16000
tc_memcpy: using amd64 for memcpy
[tcextract] (pid=15562) RIFF data, AVI video
[tcextract] (pid=15562) starting, doing mp3
[New Thread 1107310928 (LWP 15564)]
(decoder.c) audio thread id=1107310928
[New Thread 1115703632 (LWP 15565)]
[export_ffmpeg.so] Using FFMPEG codec 'mpeg2video' (FourCC 'mpg2', MPEG2
compliant video).
[export_ffmpeg.so]: INFO: Selected dvd profile, pal/secam video type for
video
[export_ffmpeg.so]: INFO: Set interlacing to top-first
[export_ffmpeg.so]: INFO: Set frame rate to 25
[export_ffmpeg.so]: INFO: Set video bitrate to 5000
[export_ffmpeg.so]: INFO: Set GOP size to 15
[export_ffmpeg.so] Reading configuration from './ffmpeg.cfg'
[export_ffmpeg.so] Reading config section 'mpeg2video' from './ffmpeg.cfg'
[export_ffmpeg.so] Using the following FFMPEG parameters:
vratetol = 8000
vhq = 1
mbd = 2
v4mv = 0
vme = 4
mbqmin = 2
mbqmax = 31
lmin = 0.000000
lmax = 0.000000
vqdiff = 3
vqcomp = 0.700000
vqblur = 0.300000
vb_qfactor = 1.250000
vmax_b_frames = 0
vrc_strategy = 2
vb_strategy = 0
vb_qoffset = 1.250000
vlelim = 0
vcelim = 0
vpsize = 0
vstrict = 0
vdpart = 0
gray = 0
mpeg_quant = 0
vi_qfactor = 0.800000
vi_qoffset = 0.000000
vqsquish = 1.000000
vqmod_amp = 0.000000
vqmod_freq = 0
vrc_eq = tex^qComp
#vrc_override =
vrc_maxrate = 9000
vrc_minrate = 0
vrc_buf_size = 1792
vrc_buf_aggressivity = 99.000000
vrc_init_cplx = 0.000000
vfdct = 0
lumi_mask = 0.000000
tcplx_mask = 0.000000
scplx_mask = 0.000000
p_mask = 0.000000
naq = 0
dark_mask = 0.000000
idct = 0
pred = 0
format = YV12
debug = 0
psnr = 0
precmp = 0
cmp = 0
subcmp = 0
mbcmp = 0
ildctcmp = 8
predia = 0
dia = 0
qpel = 0
trell = 1
last_pred = 0
preme = 1
subq = 8
me_range = 0
aic = 0
umv = 0
ibias = 999999
pbias = 999999
coder = 0
context = 0
#intra_matrix =
#inter_matrix =
cbp = 1
mv0 = 1
nr = 0
qprd = 0
threads = 1
ss = 0
svcd_sof = 0
alt = 0
ilme = 0
inter_threshold = 0
sc_threshold = 0
top = -1
gmc = 0
trunc = 0
closedgop = 0
intra_dc_precision = 0
skip_top = 0
skip_bottom = 0
fps_code = 0
[export_ffmpeg.so]: INFO: Starting 1 thread(s)
[export_ffmpeg.so]: INFO: Display aspect ratio calculated as 1.333333
[export_ffmpeg.so]: INFO: Sample aspect ratio calculated as 1.066667
[mpeg2video @ 0x2aaaad178e50]removing common factors from framerate
[export_ffmpeg.so] multi-pass session: 0
[export_ffmpeg.so] bitrate [kBits/s]: 5000
[export_ffmpeg.so] max keyframe interval: 15
[export_ffmpeg.so] frame rate: 25.00
[export_ffmpeg.so] color space: YV12
[export_ffmpeg.so] quantizers: 2/31
[export_ffmpeg.so]: INFO: Selected dvd profile for audio
[export_ffmpeg.so]: INFO: Resampling filter inactive
[export_ffmpeg.so]: INFO: Set number of audio channels to 2
[export_ffmpeg.so]: INFO: Set number of audio bits to 16
[export_ffmpeg.so]: INFO: No audio resampling necessary, using 48000 Hz
(aud_aux.c) Debug: Audio submodule in=0x1 out=0x2000
(aud_aux.c) Debug: PCM -> AC3
(aud_aux.c) Debug: Sending audio output to myvideo.ac3
(decoder.c) video thread id=1115703632
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1115703632 (LWP 15565)]
0x00002b2937e15a1b in memset () from /lib/libc.so.6
(gdb) (decode_mp3.c) channels=2, samplerate=48000 Hz, bitrate=128 kbps,
(1152)
where
#0 0x00002b2937e15a1b in memset () from /lib/libc.so.6
#1 0x0000000000425ae3 in yuv_clip_top_bottom (
image=0x2aaaaaaae000 '\020' <repeats 200 times>...,
dest=0x2aaaaabe6000 '\020' <repeats 200 times>..., _width=480,
_height=272, _lines_top=-46, _lines_bottom=-44) at video_yuv.c:734
#2 0x000000000041d1db in preprocess_yuv_frame (vob=0x578010, ptr=0x578580)
at frame_preprocess.c:53
#3 0x000000000041d67c in preprocess_vid_frame (vob=0x578010, ptr=0x578580)
at frame_preprocess.c:200
#4 0x0000000000417e34 in vimport_thread (vob=0x578010) at decoder.c:602
#5 0x00002b2937928fac in start_thread () from /lib/libpthread.so.0
#6 0x00002b2937e5e72d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()
(gdb) bt full
#0 0x00002b2937e15a1b in memset () from /lib/libc.so.6
No symbol table info available.
#1 0x0000000000425ae3 in yuv_clip_top_bottom (
image=0x2aaaaaaae000 '\020' <repeats 200 times>...,
dest=0x2aaaaabe6000 '\020' <repeats 200 times>..., _width=480,
_height=272, _lines_top=-46, _lines_bottom=-44) at video_yuv.c:734
in = 0x2aaaaaaae000 '\020' <repeats 200 times>...
out = 0x0
next = 0x2aaaaabe6000 '\020' <repeats 200 times>...
offset = 0x2aaaaaaae000 '\020' <repeats 200 times>...
bytes = 130560
block = 480
height = 272
width = 480
lines_top = -46
lines_bottom = -44
#2 0x000000000041d1db in preprocess_yuv_frame (vob=0x578010, ptr=0x578580)
at frame_preprocess.c:53
No locals.
#3 0x000000000041d67c in preprocess_vid_frame (vob=0x578010, ptr=0x578580)
at frame_preprocess.c:200
t = (struct fc_time *) 0x5784d0
skip = 0
---Type <return> to continue, or q <return> to quit---
#4 0x0000000000417e34 in vimport_thread (vob=0x578010) at decoder.c:602
i = 0
ret = 0
vbytes = 195840
ptr = (vframe_list_t *) 0x578580
import_para = {flag = 1, fd = 0x0, size = 195840,
buffer = 0x2aaaaaaae000 '\020' <repeats 200 times>...,
buffer2 = 0x2aaaaabe6000 '\020' <repeats 200 times>..., attributes = 1}
#5 0x00002b2937928fac in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x00002b2937e5e72d in clone () from /lib/libc.so.6
No symbol table info available.
#7 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x2b2937e159fb to 0x2b2937e15a3b:
0x00002b2937e159fb <memset+235>: add %al,(%rax)
0x00002b2937e159fd <memset+237>: add %cl,0x39(%rcx)
0x00002b2937e15a00 <memset+240>: rorb 0x47(%rdi,%rcx,1)
0x00002b2937e15a04 <memset+244>: retq $0x8148
0x00002b2937e15a07 <memset+247>: cli
0x00002b2937e15a08 <memset+248>: add %cl,(%rax)
0x00002b2937e15a0a <memset+250>: add %al,(%rax)
0x00002b2937e15a0c <memset+252>: jb 0x2b2937e15a40 <memset+304>
0x00002b2937e15a0e <memset+254>: mov %r8,%rcx
0x00002b2937e15a11 <memset+257>: and $0xfffffffffffffff8,%r8
0x00002b2937e15a15 <memset+261>: shr $0x3,%rcx
0x00002b2937e15a19 <memset+265>: xchg %rax,%rsi
0x00002b2937e15a1b <memset+267>: rep stos %rax,%es:(%rdi)
0x00002b2937e15a1e <memset+270>: xchg %rax,%rsi
0x00002b2937e15a20 <memset+272>: sub %r8,%rdx
0x00002b2937e15a23 <memset+275>: ja 0x2b2937e15ac0 <memset+432>
0x00002b2937e15a29 <memset+281>: and $0x7,%edx
0x00002b2937e15a2c <memset+284>: jne 0x2b2937e1592b <memset+27>
0x00002b2937e15a32 <memset+290>: repz retq
0x00002b2937e15a34 <memset+292>: data16
0x00002b2937e15a35 <memset+293>: data16
0x00002b2937e15a36 <memset+294>: data16
---Type <return> to continue, or q <return> to quit---
0x00002b2937e15a37 <memset+295>: nop
0x00002b2937e15a38 <memset+296>: data16
0x00002b2937e15a39 <memset+297>: data16
0x00002b2937e15a3a <memset+298>: data16
End of assembler dump.
(gdb) q
The program is running. Exit anyway? (y or n) y
[EMAIL PROTECTED] /mnt/sda5 $
_________________________________________________________________
Does your pc move to the speed of a snail? Windows Live safety scanner can
help you! http://safety.live.com/site/nl-be/default.htm