[MEncoder-users] Re: Now mmx seg fault
Dominique Dumont
domi.dumont at free.fr
Wed Jun 14 20:45:54 CEST 2006
Dominique Dumont <domi.dumont at free.fr> writes:
> I'll keep you posted on the tests results.
I indeed had some RAM problem which triggered failure of "burnMMX
P". This problem is now fixed: I concurrently ran "burnMMX P" for at
least 30mns without a problem.
Nevertheless, I still have seg fault when encoding vdr files with
mencoder qith this command:
mencoder 'vdr_cps/%_/2006-06-05.17.20.90.99.rec/001.vdr' -oac mp3lame -lameopts preset=120 -vf pp=ci,crop=688:544 -ovc lavc -lavcopts vcodec=mpeg4:v4mv:vbitrate=1000:mbd=2:trell:vpass=1 -o 't_vdr_cps_%_2006-06-05_001.avi'
Currently all tries lead to a seg fault.
Here's one backtrace with mencoder:
Core was generated by `mencoder vdr_cps/%_/2006-06-05.17.20.90.99.rec/001.vdr -oac mp3lame -lameopts p'.
Program terminated with signal 11, Segmentation fault.
#0 0x083c5f74 in sad16_mmx2 (v=0x884d600,
blk2=0xa6669a40 "\036 !!!!\"\"\"#\"##!\037\"!\" \"\"\"&&%$#\"$#%##$$#\"\"###$\"\"#\"!!##%'**18=EIOUXXUSNL]z\217}`@Km€©\202XBMQOZgY\207ÂãïëâÍ\230j;!\026\031\036\" \036\037!(;To\203\225\233¡\225\224\217\211\201xx|\177\202\201ycPB1%!$!\"$$+,,*,.-,'&**%,:?8370(\023\032 *7=CB?<=AB>=<@AAFA>:4/,+),48?JQT[SKKGFA;"...,
blk1=0xa66d22a0 "\"\"\"\"\"\"\"\"\036\036\036", '"' <repeats 11 times>, " \036\036\036\036!\" \033\030\036\036\034\033\034\036\030\032\036#*19>JKMPRTVW_ME[\210¯ŸœnZHL]bR>JFFPg\212¬ÂäçèÝÀ\222dA\033\027\037+(\"\036\037%)?[l\203\224¡\223\217\224\230\215\203~\202qx\206~{kTI</(&#$%%')-,+$\037!\037!#$-237530)$#$(/06;9:;:?<A?@?@BB@=;75/++18=AGGOPN>@CFB<=?>;=@>="..., stride=720, h=16) at i386/motion_est_mmx.c:72
72 asm volatile(
(gdb) bt
#0 0x083c5f74 in sad16_mmx2 (v=0x884d600,
blk2=0xa6669a40 "\036 !!!!\"\"\"#\"##!\037\"!\" \"\"\"&&%$#\"$#%##$$#\"\"###$\"\"#\"!!##%'**18=EIOUXXUSNL]z\217}`@Km€©\202XBMQOZgY\207ÂãïëâÍ\230j;!\026\031\036\" \036\037!(;To\203\225\233¡\225\224\217\211\201xx|\177\202\201ycPB1%!$!\"$$+,,*,.-,'&**%,:?8370(\023\032 *7=CB?<=AB>=<@AAFA>:4/,+),48?JQT[SKKGFA;"...,
blk1=0xa66d22a0 "\"\"\"\"\"\"\"\"\036\036\036", '"' <repeats 11 times>, " \036\036\036\036!\" \033\030\036\036\034\033\034\036\030\032\036#*19>JKMPRTVW_ME[\210¯ŸœnZHL]bR>JFFPg\212¬ÂäçèÝÀ\222dA\033\027\037+(\"\036\037%)?[l\203\224¡\223\217\224\230\215\203~\202qx\206~{kTI</(&#$%%')-,+$\037!\037!#$-237530)$#$(/06;9:;:?<A?@?@BB@=;75/++18=AGGOPN>@CFB<=?>;=@>="..., stride=720, h=16) at i386/motion_est_mmx.c:72
#1 0x0828a6c2 in ff_epzs_motion_search (s=0x884d600, mx_ptr=0xaff9c118, my_ptr=0xaff9c114, P=0xaff9c0b8, src_index=0, ref_index=0, last_mv=0x8858be4,
ref_mv_scale=32768, size=0, h=16) at motion_est.c:197
#2 0x08294508 in ff_estimate_p_frame_motion (s=0x884d600, mb_x=0, mb_y=1) at motion_est.c:1253
#3 0x081f49d4 in estimate_motion_thread (c=0x87956e0, arg=0x884d600) at mpegvideo.c:4801
#4 0x081ea628 in avcodec_default_execute (c=0x87956e0, func=0x81f4950 <estimate_motion_thread>, arg=0x884d6c4, ret=0x0, count=1) at utils.c:425
#5 0x081f9030 in MPV_encode_picture (avctx=0x87956e0, buf=0xa6d92008 "", buf_size=2097152, data=0x87955f0) at mpegvideo.c:5551
#6 0x081ebfbb in avcodec_encode_video (avctx=0x87956e0, buf=0xa6d92008 "", buf_size=2097152, pict=0x87955f0) at utils.c:914
#7 0x080bc06b in encode_frame (vf=0x8792b48, pic=0x87955f0, pts=-9.2233720368547758e+18) at ve_lavc.c:880
#8 0x080bc511 in put_image (vf=0x8792b48, mpi=0xa66d4fa8, pts=-9.2233720368547758e+18) at ve_lavc.c:861
#9 0x080c8d37 in decode_video (sh_video=0x8792390, start=0xa6f93008 "", in_size=15039, drop_frame=0, pts=-9.2233720368547758e+18) at dec_video.c:338
#10 0x0808c795 in main (argc=-875705401, argv=0xbabcc0c6) at mencoder.c:1318
Here's the output of mencoder:
MEncoder dev-SVN-r18676-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 3200+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
success: format: 0 data: 0x0 - 0x2369839a
MPEG-PES file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 15000.0 kbps (1875.0 kbyte/s)
[V] filefmt:41 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [crop w=688 h=544]
Crop: 688 x 544, -1 ; -1
Opening video filter: [pp=ci]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
preset=120
MP3 audio selected.
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (688x544 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
Writing header...2f ( 0%) 0.00fps Trem: 0min 0mb A-V:-0.004 [0:0]
ODML: Aspect information not (yet?) available or unspecified, not writing vprp h
eader.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp h
eader.
1 duplicate frame(s)!
Pos: 0.8s 22f ( 0%) 14.18fps Trem: 0min 0mb A-V:-0.084 [0:128]
1 duplicate frame(s)!
Pos: 1.3s 32f ( 0%) 16.05fps Trem: 29min 227mb A-V:-0.084 [1475:129]
1 duplicate frame(s)!
Pos: 1.7s 42f ( 0%) 15.90fps Trem: 31min 222mb A-V:-0.084 [1328:128]
1 duplicate frame(s)!
Pos: 2.2s 52f ( 0%) 17.25fps Trem: 30min 220mb A-V:-0.084 [1250:128]
1 duplicate frame(s)!
Pos: 2.6s 62f ( 0%) 16.19fps Trem: 33min 231mb A-V:-0.084 [1261:128]
1 duplicate frame(s)!
Pos: 3.0s 72f ( 0%) 16.99fps Trem: 32min 230mb A-V:-0.084 [1234:128]
1 duplicate frame(s)!
Pos: 3.5s 82f ( 0%) 17.54fps Trem: 31min 229mb A-V:-0.084 [1213:128]
1 duplicate frame(s)!
Pos: 3.9s 92f ( 0%) 18.17fps Trem: 30min 227mb A-V:-0.084 [1205:128]
1 duplicate frame(s)!
Pos: 4.4s 102f ( 0%) 18.48fps Trem: 29min 226mb A-V:-0.084 [1207:128]
1 duplicate frame(s)!
Pos: 4.8s 113f ( 0%) 18.81fps Trem: 28min 219mb A-V:-0.081 [1202:128]
1 duplicate frame(s)!
Pos: 71.4s 1776f ( 3%) 24.72fps Trem: 31min 269mb A-V:-0.061 [1030:123]
Cheers
More information about the MEncoder-users
mailing list