Hi, at least since version 75 of x264 lib, transcode segfaults when running first pass of a vob transcoding. Bellow is the output with transcode 1.1.5, today's x265 git (version 80 of the lib), on Slackware 64, but I had the same problems with transcode 1.1.3 and x264 in september 2009. The last running version for me was transcode 1.1.3 with x264 dating from july 2009. Here are the options I set up in the x264.cfg file I use :
subq = 1 partitions = all 8x8dct me = 2 frameref = 1 bframes = 3 qcomp = 0.7 threads = 8 crf = 0 b_pyramid = 1 weight_b chroma_me The transcoding seems to start and work on about 30-40 frames, then the segfault occurs. Please tell me if you need more tests. Best regards, transcode output : ************* [tcprobe] MPEG program stream (PS) [tcprobe] MPEG program stream (PS) [tcprobe] MPEG program stream (PS) Generation des pistes videos : ven. janv. 1 14:38:20 CET 2010 Encodage 1ere passe : ven. janv. 1 14:38:20 CET 2010 transcode v1.1.5 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdread: Couldn't find device name. libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.IFO. libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdread: Couldn't find device name. libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.IFO. [transcode] (probe.c) V magic=0x1ba, A magic=0x1ba, V codec=0x10000, A codec=0x2000 [transcode] (probe.c) V magic=, A magic=, V codec=MPEG 2 program stream, A codec=AC3 [transcode] V: auto-probing | /home/vdb/Media/DVD/coraline/vob/002 (OK) [transcode] V: import format | MPEG 2 program stream in (module=vob) [transcode] A: auto-probing | /home/vdb/Media/DVD/coraline/vob/002 (OK) [transcode] A: import format | AC3 in (module=null) [transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence [transcode] V: import frame | 720x576 1.25:1 encoded @ 16:9 [transcode] V: zoom | 720x406 1.77:1 (Lanczos3) [transcode] V: clip frame (->) | 720x400 [transcode] V: bits/pixel | 0.200 [transcode] V: decoding fps,frc | 25.000,0 [transcode] V: multi-pass | (mode=1) writing data (pass 1) to /home/vdb/Media/DVD/log_files/coraline_2.log [transcode] V: video format | YUV420 (4:2:0) aka I420 [transcode] A: import format | 0x2000 AC3 [48000,16,4] 192 kbps [transcode] A: downmix | 4 channels -> 2 channels [transcode] A: export | disabled [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 3dnowext 3dnow mmxext mmx cmove asm [transcode] encoder delay = decode=40000 encode=40000 usec [transcode] V: video buffer | 10 @ 720x576 [0x2] [transcode] A: audio buffer | 10 @ 48000x2x16 [transcode] allocating 10 framebuffers (static) [dl_loader.c] loading audio import module /usr/lib64/transcode/import_null.so [dl_loader.c] loading video import module /usr/lib64/transcode/import_vob.so [import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null [decoder.c] Capability flag 0xffffffff | 0x1 [import_vob.so] v0.6.1 (2006-05-02) (video) MPEG-2 | (audio) MPEG/AC3/PCM | (subtitle) [decoder.c] Capability flag 0x2f | 0x2 [filter.c] tc_filter_add: module /usr/lib64/transcode/filter_smartyuv.so loaded [filter_smartyuv.so] options=threshold=10:Blend=1:diffmode=2:highq=1 [filter_smartyuv.so] Smart YUV Deinterlacer Test Filter Settings (720x576): [filter_smartyuv.so] motionOnly = 0 [filter_smartyuv.so] diffmode = 2 [filter_smartyuv.so] threshold = 10 [filter_smartyuv.so] chromathres = 7 [filter_smartyuv.so] scenethres = 31 [filter_smartyuv.so] cubic = 1 [filter_smartyuv.so] highq = 1 [filter_smartyuv.so] Blend = 1 [filter_smartyuv.so] doChroma = 1 [filter_smartyuv.so] verbose = 0 [filter_smartyuv.so] (MMX) 0.1.6 (2007-05-31) Motion-adaptive deinterlacing [filter.c] tc_filter_add: filter smartyuv successfully initialized [encoder.c] loading export modules [tcmodule.c] trying to load 'encode:null' [tcmodule.c] using slot 0 for plugin 'encode:null' [tcmodule.c] module descriptor found: id 0 [encode_null.so] v0.0.3 (2005-06-05) null (fake) A/V encoder [tcmodule.c] module created: type='encode:null' instance id=(1) [tcmodule.c] trying to load 'encode:x264' [tcmodule.c] using slot 1 for plugin 'encode:x264' [tcmodule.c] module descriptor found: id 1 [encode_x264.so] v0.2.6 (2009-06-17) x264 encoder [tcmodule.c] module created: type='encode:x264' instance id=(2) [tcmodule.c] trying to load 'multiplex:raw' [tcmodule.c] using slot 2 for plugin 'multiplex:raw' [tcmodule.c] module descriptor found: id 2 [multiplex_raw.so] v0.0.3 (2006-03-06) write each stream in a separate file [tcmodule.c] module created: type='multiplex:raw' instance id=(3) [frame_threads.c] starting 1 video frame processing thread(s) [frame_threads.c] starting 1 audio frame processing thread(s) [import_vob.so] tccat -i "/home/vdb/Media/DVD/coraline/vob/002" -t vob -d 3 -S 0 | tcdemux -s 0x80 -x mpeg2 -S 0 -M 1 -d 3 | tcextract -t vob -a 0 -x mpeg2 - d 3 | tcdecode -x mpeg2 -d 3 -y yuv420p [decoder.c] audio thread id=139975601768784 [decoder.c] video thread id=139975593376080 [encode_x264.so] warning: /home/vdb/Media/DVD/transcode_config/pass_1/x264.cfg:2: Unknown configuration variable `partitions' [encode_x264.so] set display aspect ratio to input [encode_x264.so] threads = 8 [encode_x264.so] level_idc = -1 [encode_x264.so] overscan = 0 [encode_x264.so] vidformat = 5 [encode_x264.so] fullrange = 0 [encode_x264.so] nofullrange = 0 [encode_x264.so] colorprim = 2 [encode_x264.so] transfer = 2 [encode_x264.so] colmatrix = 2 [encode_x264.so] chroma_loc = 0 [encode_x264.so] frameref = 1 [encode_x264.so] keyint = 250 [encode_x264.so] keyint_max = 250 [encode_x264.so] keyint_min = 25 [encode_x264.so] scenecut = 40 [encode_x264.so] bframes = 3 [encode_x264.so] b_adapt = 1 [encode_x264.so] nob_adapt = 1 [encode_x264.so] b_bias = 0 [encode_x264.so] b_pyramid = 1 [encode_x264.so] deblock = 1 [encode_x264.so] nodeblock = 1 [encode_x264.so] deblockalpha = 0 [encode_x264.so] deblockbeta = 0 [encode_x264.so] cabac = 1 [encode_x264.so] nocabac = 1 [encode_x264.so] cabac_init_idc = 0 [encode_x264.so] cqm = 0 [encode_x264.so] cqm_file = (null) [encode_x264.so] 8x8dct = 1 [encode_x264.so] no8x8dct = 1 [encode_x264.so] weight_b = 1 [encode_x264.so] noweight_b = 1 [encode_x264.so] direct_pred = 1 [encode_x264.so] chroma_qp_offset = 0 [encode_x264.so] me = 2 [encode_x264.so] me_range = 16 [encode_x264.so] mv_range = -1 [encode_x264.so] subq = 1 [encode_x264.so] chroma_me = 1 [encode_x264.so] nochroma_me = 1 [encode_x264.so] mixed_refs = 1 [encode_x264.so] nomixed_refs = 1 [encode_x264.so] trellis = 1 [encode_x264.so] fast_pskip = 1 [encode_x264.so] nofast_pskip = 1 [encode_x264.so] dct_decimate = 1 [encode_x264.so] nodct_decimate = 1 [encode_x264.so] nr = 0 [encode_x264.so] psnr = 0 [encode_x264.so] nopsnr = 0 [encode_x264.so] ssim = 0 [encode_x264.so] nossim = 0 [encode_x264.so] qp_min = 10 [encode_x264.so] qp_max = 51 [encode_x264.so] qp_step = 4 [encode_x264.so] crf = 0.000000 [encode_x264.so] ratetol = 1.000000 [encode_x264.so] vbv_maxrate = 0 [encode_x264.so] vbv_bufsize = 0 [encode_x264.so] vbv_init = 0.900000 [encode_x264.so] ip_ratio = 1.400000 [encode_x264.so] pb_ratio = 1.300000 [encode_x264.so] cplx_blur = 20.000000 [encode_x264.so] qcomp = 0.700000 [encode_x264.so] qblur = 0.500000 [encode_x264.so] zones = (null) [encode_x264.so] aud = 0 [encode_x264.so] noaud = 0 [encode_x264.so] 2pass_bug_workaround = 0 [encode_x264.so] no2pass_bug_workaround = 0 [encode_x264.so] direct_8x8 = 1 [encode_x264.so] nodirect_8x8 = 1 [encode_x264.so] bidir_me = 1 [encode_x264.so] nobidir_me = 1 [encode_x264.so] brdo = 1 [encode_x264.so] nobrdo = 1 [encode_x264.so] using SAR=1/1 [encode_x264.so] using cpu capabilities: MMX2 SSE2 [tccat.c] scanning directory "/home/vdb/Media/DVD/coraline/vob/002" [tccat.c] MPEG program stream (PS) [tcextract] (pid=30633) starting, doing mpeg2 [demuxer.c] (pid=30632) MPEG sequence start code in packet 000000 for PU [0] [demuxer.c] (pid=30632) processing PU [0], on at PTS=3.3273 sec [demuxer.c] (pid=30632) audio packet 000001 for PU [0] skipped (-0.1920) [demuxer.c] AV fine-tuning: 95 ms [demuxer.c] (pid=30632) audio packet 000009 for PU [0] skipped (-0.0960) [demuxer.c] (pid=30632) AV sync established for PU [0] at PTS=3.3273 (0.0000) [decode_mpeg2.c] libmpeg2 acceleration: 3dnow [encode_x264.so] profile High, level 3.0 [multiplex_raw.so] video output: /home/vdb/Media/DVD/coraline/coraline_2.m4v (OK) [multiplex_raw.so] audio output: /home/vdb/Media/DVD/coraline/coraline_2.m4v (OK) ./convert_dvd.sh: line 402: 30622 Erreur de segmentation nice -n 19 transcode -H 10 -a ${AUD_NUM} -x vob,null -i ${VOBS} ${LIMIT} -w ${VBITRATE[${COUNT}]},50 ${VIDFILT} ${VIDFRAMES} -Y ${CROP[${COUNT}]} -Z ${SIZE[${COUNT}]} -R 1,${LOGFILE} -y ${VID_MOD},null,${VID_DMX} -N ${VID_COD}, ${SND_COD},${VID_DMX} --config_dir ${INPUT_BASE}/transcode_config/pass_1 -- progress_rate 5 -q 2 -o ${OUTPUT_DIR}/${OUTPUT_FILE}.${VID_EXT}