[MacPorts] #30415: mplayer-devel segmentation fault when scaling
MacPorts
noreply at macports.org
Wed Jul 27 10:20:30 PDT 2011
#30415: mplayer-devel segmentation fault when scaling
------------------------------+---------------------------------------------
Reporter: migmit@… | Owner: acho@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.0
Keywords: | Port: mplayer-devel
------------------------------+---------------------------------------------
Changes (by macsforever2000@…):
* owner: macports-tickets@… => acho@…
* keywords: scale, segmentation fault =>
Old description:
> I've installed Lion a couple of days ago, then port-uninstalled
> everything, port-cleaned everything (with --all option), then port-
> selfupdated and reinstalled the stuff I need. Now every time I try to use
> "scale" filter, mencoder gives me "Segmentation fault". Mplayer, by the
> way, works fine. Mencodering without scaling works fine. I've tried
> different sources, got the same result.
>
> Here is what happens when I run mencoder (with debug variant enabled) in
> GDB:
>
> (gdb) run Dropbox/Public/G.avi -nosound -vf scale=480:320 -ovc x264 -o
> G.avi
> Starting program: /opt/local/bin/mencoder Dropbox/Public/G.avi -nosound
> -vf scale=480:320 -ovc x264 -o G.avi
> Reading symbols for shared libraries
> +++++++++++++++++++++++...................................................................................................................................
> done
> MEncoder UNKNOWN-4.2.1 (C) 2000-2011 MPlayer Team
> 163 audio & 363 video codecs
> success: format: 0 data: 0x0 - 0x723102
> AVI file format detected.
> [aviheader] Video stream found, -vid 0
> VIDEO: [XVID] 500x400 24bpp 30.000 fps 1513.3 kbps (184.7 kbyte/s)
> [V] filefmt:3 fourcc:0x44495658 size:500x400 fps:30.000 ftime:=0.0333
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> Opening video filter: [scale w=480 h=320]
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Unsupported PixelFormat 61
> Unsupported PixelFormat 53
> Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
> ==========================================================================
> [mpeg4 @ 0x10097b700]Invalid and inefficient vfw-avi packed B frames
> detected
> Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.
> [swscaler @ 0x10096c820]BICUBIC scaler, from yuv420p to yuv420p using
> MMX2
> x264 [info]: using SAR=5/6
> x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
> x264 [info]: profile High, level 2.1
> Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x0000000122800000
> 0x0000000100187fd1 in yuv2yuvX_MMX2 ()
New description:
I've installed Lion a couple of days ago, then port-uninstalled
everything, port-cleaned everything (with --all option), then port-
selfupdated and reinstalled the stuff I need. Now every time I try to use
"scale" filter, mencoder gives me "Segmentation fault". Mplayer, by the
way, works fine. Mencodering without scaling works fine. I've tried
different sources, got the same result.
Here is what happens when I run mencoder (with debug variant enabled) in
GDB:
{{{
(gdb) run Dropbox/Public/G.avi -nosound -vf scale=480:320 -ovc x264 -o
G.avi
Starting program: /opt/local/bin/mencoder Dropbox/Public/G.avi -nosound
-vf scale=480:320 -ovc x264 -o G.avi
Reading symbols for shared libraries
+++++++++++++++++++++++...................................................................................................................................
done
MEncoder UNKNOWN-4.2.1 (C) 2000-2011 MPlayer Team
163 audio & 363 video codecs
success: format: 0 data: 0x0 - 0x723102
AVI file format detected.
[aviheader] Video stream found, -vid 0
VIDEO: [XVID] 500x400 24bpp 30.000 fps 1513.3 kbps (184.7 kbyte/s)
[V] filefmt:3 fourcc:0x44495658 size:500x400 fps:30.000 ftime:=0.0333
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=480 h=320]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
[mpeg4 @ 0x10097b700]Invalid and inefficient vfw-avi packed B frames
detected
Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.
[swscaler @ 0x10096c820]BICUBIC scaler, from yuv420p to yuv420p using MMX2
x264 [info]: using SAR=5/6
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 2.1
Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000122800000
0x0000000100187fd1 in yuv2yuvX_MMX2 ()
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/30415#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list