[MPlayer-users] Bug Report: jpeg to avi is broken

Philip Walden pwaldenlinux at pacbell.net
Mon Jun 27 06:17:20 CEST 2005


Reimar Döffinger wrote:

>Hi,
>On Sun, Jun 26, 2005 at 03:07:30PM -0700, Philip Walden wrote:
>  
>
>>I tried the latest CVS, but it does a segmentation fault on my machine :(
>>    
>>
>
>I'd call that a success, since it is much easier to trace *g*
>Now if you could compile with --enable-debug and post a gdb backtrace...
>  
>
gdb bt attached. Not much there though.

>Weird thing is, for some reason my output is a bit different (do you
>have something in your default config?):
>
>  
>
>>[ffmpeg] aspect_ratio: 0.000000
>>    
>>
>
>I have 1.333333 here
>  
>
my  ~/.mplayer/config file is empty

The /etc/mplayer/*.conf files are from the standard distribution.

>  
>
>>VDec: vo config request - 640 x 480 (preferred csp: Planar 422P)
>>Trying filter chain: expand lavc
>>Could not find matching colorspace - retrying with -vf scale...
>>Opening video filter: [scale]
>>SwScale params: -1 x -1 (-1=no scaling)
>>Trying filter chain: scale expand lavc
>>VDec: using Planar 422P as output csp (no 1)
>>Movie-Aspect is undefined - no prescaling applied.
>>VO Config (640x480->640x480,flags=0,'MPlayer',0x50323234)
>>SwScaler: reducing / aligning filtersize 1 -> 4
>>SwScaler: reducing / aligning filtersize 1 -> 4
>>SwScaler: reducing / aligning filtersize 1 -> 1
>>SwScaler: reducing / aligning filtersize 9 -> 8
>>
>>SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using MMX2
>>SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
>>SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
>>SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
>>SwScaler: 640x480 -> 640x480
>>    
>>
>
>I don't get any of that scale output, and also
>
>VDec: using Planar YV12 as output csp (no 3)
>  
>
(gdb) bt
#0  0x08188d72 in hScale_MMX2 (dst=Cannot access memory at address 
0xfffffd88
) at swscale_template.c:2048
Cannot access memory at address 0xfffffd80
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x8188d52 to 0x8188d92:
0x08188d52 <hScale_MMX2+450>:   cmp    $0x4f,%al
0x08188d55 <hScale_MMX2+453>:   or     %dl,0xffffff89(%ebp)
0x08188d58 <hScale_MMX2+456>:   lds    0x26b4(%ebp),%ecx
0x08188d5e <hScale_MMX2+462>:   add    %al,(%eax)
0x08188d60 <hScale_MMX2+464>:   movzwl (%edx,%ebp,1),%eax
0x08188d64 <hScale_MMX2+468>:   movzwl 0x2(%edx,%ebp,1),%ebx
0x08188d69 <hScale_MMX2+473>:   movq   (%ecx,%ebp,4),%mm1
0x08188d6d <hScale_MMX2+477>:   movq   0x8(%ecx,%ebp,4),%mm3
0x08188d72 <hScale_MMX2+482>:   movd   (%esi,%eax,1),%mm0
0x08188d76 <hScale_MMX2+486>:   movd   (%esi,%ebx,1),%mm2
0x08188d7a <hScale_MMX2+490>:   punpcklbw %mm7,%mm0
0x08188d7d <hScale_MMX2+493>:   punpcklbw %mm7,%mm2
0x08188d80 <hScale_MMX2+496>:   pmaddwd %mm1,%mm0
0x08188d83 <hScale_MMX2+499>:   pmaddwd %mm2,%mm3
0x08188d86 <hScale_MMX2+502>:   psrad  $0x8,%mm0
0x08188d8a <hScale_MMX2+506>:   psrad  $0x8,%mm3
0x08188d8e <hScale_MMX2+510>:   packssdw %mm3,%mm0
0x08188d91 <hScale_MMX2+513>:   pmaddwd %mm6,%mm0
End of assembler dump.
(gdb) info all-registers
eax            0x0      0
ecx            0x8619ac8        140614344
edx            0x85e5918        140400920
ebx            0x1      1
esp            0xbfffd5ec       0xbfffd5ec
ebp            0xfffffd80       0xfffffd80
esi            0x140    320
edi            0x8626cf8        140668152
eip            0x8188d72        0x8188d72
eflags         0x210207 2163207
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x33     51
st0            -nan(0x5780578057805780) (raw 0xffff5780578057805780)
st1            -nan(0x000004000)        (raw 0xffff0000000000004000)
st2            -nan(0xaf00af00af00af)   (raw 0xffff00af00af00af00af)
st3            -nan(0x000004000)        (raw 0xffff0000000000004000)
st4            -nan(0x8585858585858585) (raw 0xffff8585858585858585)
st5            -nan(0x85008500850085)   (raw 0xffff0085008500850085)
st6            -nan(0x2000200020002)    (raw 0xffff0002000200020002)
st7            -0e+4922 (raw 0xffff0000000000000000)
fctrl          0x37f    895
fstat          0x20     32
ftag           0xaaaa   43690
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 
= {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = 
{0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 
= {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = 
{0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 
= {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = 
{0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 
= {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = 
{0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 
= {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = 
{0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 
= {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = 
{0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 
= {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = 
{0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 
= {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = 
{0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
mxcsr          0x1f80   8064
mm0            {uint64 = 0x5780578057805780, v2_int32 = {0x57805780, 
0x57805780},
  v4_int16 = {0x5780, 0x5780, 0x5780, 0x5780}, v8_int8 = {0x80, 0x57, 
0x80, 0x57,
    0x80, 0x57, 0x80, 0x57}}
mm1            {uint64 = 0x4000, v2_int32 = {0x4000, 0x0}, v4_int16 = 
{0x4000, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2            {uint64 = 0xaf00af00af00af, v2_int32 = {0xaf00af, 0xaf00af},
  v4_int16 = {0xaf, 0xaf, 0xaf, 0xaf}, v8_int8 = {0xaf, 0x0, 0xaf, 0x0, 
0xaf, 0x0,
    0xaf, 0x0}}
mm3            {uint64 = 0x4000, v2_int32 = {0x4000, 0x0}, v4_int16 = 
{0x4000, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4            {uint64 = 0x8585858585858585, v2_int32 = {0x85858585, 
0x85858585},
  v4_int16 = {0x8585, 0x8585, 0x8585, 0x8585}, v8_int8 = {0x85, 0x85, 
0x85, 0x85,
    0x85, 0x85, 0x85, 0x85}}
mm5            {uint64 = 0x85008500850085, v2_int32 = {0x850085, 0x850085},
  v4_int16 = {0x85, 0x85, 0x85, 0x85}, v8_int8 = {0x85, 0x0, 0x85, 0x0, 
0x85, 0x0,
    0x85, 0x0}}
mm6            {uint64 = 0x2000200020002, v2_int32 = {0x20002, 0x20002}, 
v4_int16 = {
    0x2, 0x2, 0x2, 0x2}, v8_int8 = {0x2, 0x0, 0x2, 0x0, 0x2, 0x0, 0x2, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 
0x0, 0x0,
    0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}




More information about the MPlayer-users mailing list