Hello,
I've encountered a "segmentation fault" when using transcode. I am a novice
in the world of transcoding video files, so I hope that somebody can point
me into the right direction. Thank you in advance!
So far, I have used this guide:
http://forums.gentoo.org/viewtopic.php?t=117709 to encode many videos
succesfully. The command line I used to encode my video is:
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
The output this gives is the following:
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
(dvd_reader.c) no support for DVD reading configured - exit.
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[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] V: video buffer | 10 @ 720x576
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_ffmpeg.so] v0.1.12 (2004-05-07) (video) ffmpeg: MS
MPEG4v1-3/MPEG4/MJPEG
[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
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc51.9.0 | (audio)
MPEG/AC3/PCM
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "myvideo.avi" -x mp3 -d 0 | tcdecode -x
mp3 -d 0 -z 16000
tc_memcpy: using amd64 for memcpy
[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]: 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 @ 0x2aaaad173e50]removing common factors from framerate
[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
Segmentation fault
This is my ffmpeg.cfg:
[mpeg2video]
mbd = 2
mv0 = 1
trell = 1
cbp = 1
vqcomp = 0.7
vqblur = 0.3
I will be happy to post any extra information if necessary.
Before posting to this list, I searched on the internet for a solution. I
found several posts from people that have the same error, but none of the
solutions offered there worked for me. The script offered on this link:
http://inferno.slug.org/cgi-bin/wiki?AviToVob
that seemed to help some people, did not work for me. I have also followed
someone's solution by encoding myvideo.avi with mencoder (unfortunately I
haven't logged the exact command line), but this gave me a file of 2.2 GB
that, upon feeding it to "transcode", produced the same segmentation fault.
What I have learned so far is that this error is due to a bug in the DivX
codec. This did not lead me to a solution.
Any suggestions as to how to solve this problem are greatly appreciated.
Martijn
_________________________________________________________________
Ping
Pong
Ping
Pong
4 e-mails already! Stop wasting any more time
withWindows Live Messenger! http://get.live.com/messenger/overview