In the meantime, you can try adding --accel C to your commandline and see
what is changes. For shore, it will go slower, maybe it will not crash
anymore.
If transcode still crashes using --accel C too, please provide a crash
report using gdb like this one, it will help debugging this issue.
I've tried using --accel C, but I got the same error. Below I've posted the
crash report. I hope it will help you solve the problem.
If you feel adventurous and/or you like to experiment, try future 1.1.0
from
CVS HEAD: it features brand new code on interested area, and it's
MUCH better maintained and maintenable (in facts, I works on 1.1.0 much
much
more than on 1.0.x, something like a 95%/5% ratio).
I succesfully downloaded it from CVS, and I ran "autoreconf -i -f" as
instructed. But "make" produced errors like "undefined reference to
XGetImage" in import/x11source.c. I found a web page saying that installing
libvideogfx was the solution (though to another problem not related to
transcode), but this did not help me. So unfortunately I have not been able
to test future 1.1.0. Perhaps there is a straightforward solution to this? I
could not determine what required package I am missing.
Again: many thanks for your reply.
[CRASH REPORT]
[EMAIL PROTECTED] /mnt/sda5 $ gdb -q transcode
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run --accel C -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 --accel C -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 47426425736080 (LWP 20532)]
[New Thread 1082132816 (LWP 20535)]
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 | C (sse2 sse mmxext mmx asm C)
tc_memcpy: using libc 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 # (1)
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 20537)]
[transcode] starting 1 frame processing thread(s)
[New Thread 1098918224 (LWP 20538)]
[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=20540) RIFF data, AVI video
[tcextract] (pid=20540) starting, doing mp3
[New Thread 1107310928 (LWP 20542)]
(decoder.c) audio thread id=1107310928
[New Thread 1115703632 (LWP 20543)]
[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] Neither './ffmpeg.cfg' nor '~/.transcode/ffmpeg.cfg'
[export_ffmpeg.so] found. Default settings will be used instead.
[export_ffmpeg.so] Using the following FFMPEG parameters:
vratetol = 8000
vhq = 0
mbd = 0
v4mv = 0
vme = 4
mbqmin = 2
mbqmax = 31
lmin = 0.000000
lmax = 0.000000
vqdiff = 3
vqcomp = 0.500000
vqblur = 0.500000
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 = 0
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 = 0
mv0 = 0
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 @ 0x2aaaad179e50]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 20543)]
0x00002b225326da1b in memset () from /lib/libc.so.6
(gdb) (decode_mp3.c) channels=2, samplerate=48000 Hz, bitrate=128 kbps,
(1152)
where
#0 0x00002b225326da1b 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 0x00002b2252d80fac in start_thread () from /lib/libpthread.so.0
#6 0x00002b22532b672d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()
(gdb) bt full
#0 0x00002b225326da1b 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 0x00002b2252d80fac in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x00002b22532b672d 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 0x2b225326d9fb to 0x2b225326da3b:
0x00002b225326d9fb <memset+235>: add %al,(%rax)
0x00002b225326d9fd <memset+237>: add %cl,0x39(%rcx)
0x00002b225326da00 <memset+240>: rorb 0x47(%rdi,%rcx,1)
0x00002b225326da04 <memset+244>: retq $0x8148
0x00002b225326da07 <memset+247>: cli
0x00002b225326da08 <memset+248>: add %cl,(%rax)
0x00002b225326da0a <memset+250>: add %al,(%rax)
0x00002b225326da0c <memset+252>: jb 0x2b225326da40 <memset+304>
0x00002b225326da0e <memset+254>: mov %r8,%rcx
0x00002b225326da11 <memset+257>: and $0xfffffffffffffff8,%r8
0x00002b225326da15 <memset+261>: shr $0x3,%rcx
0x00002b225326da19 <memset+265>: xchg %rax,%rsi
0x00002b225326da1b <memset+267>: rep stos %rax,%es:(%rdi)
0x00002b225326da1e <memset+270>: xchg %rax,%rsi
0x00002b225326da20 <memset+272>: sub %r8,%rdx
0x00002b225326da23 <memset+275>: ja 0x2b225326dac0 <memset+432>
0x00002b225326da29 <memset+281>: and $0x7,%edx
0x00002b225326da2c <memset+284>: jne 0x2b225326d92b <memset+27>
0x00002b225326da32 <memset+290>: repz retq
0x00002b225326da34 <memset+292>: data16
0x00002b225326da35 <memset+293>: data16
0x00002b225326da36 <memset+294>: data16
---Type <return> to continue, or q <return> to quit---
0x00002b225326da37 <memset+295>: nop
0x00002b225326da38 <memset+296>: data16
0x00002b225326da39 <memset+297>: data16
0x00002b225326da3a <memset+298>: data16
End of assembler dump.
(gdb) q
The program is running. Exit anyway? (y or n) y
[EMAIL PROTECTED] /mnt/sda5 $
_________________________________________________________________
Ping
Pong
Ping
Pong
4 e-mails already! Stop wasting any more time
withWindows Live Messenger! http://get.live.com/messenger/overview