[MPlayer-users] seg fault in quicktime

Dave Wayne dave.wayne at gmail.com
Thu Jan 31 23:54:11 CET 2008


I've been using mencoder for the last while now, but some recent movies I'd
downloaded are getting a segmentation fault for some reason, can someone
provide some insight?
I'm running as root and other videos have converted, so is there something
special about quicktime?

 /usr/local/bin/mencoder input_file -of lavf -ovc lavc -vf scale=640:360
-lavdopts threads=8 -lavcopts
vcodec=flv:keyint=250:vbitrate=1000:mbd=2:trell=1:v4mv=1 -oac mp3lame
-lameopts aq=0:highpassfreq=-1:lowpassfreq=-1:vbr=2:q=6 -srate 22050
-demuxer lavf -v verbose=1 -output.flv

MEncoder dev-SVN-r24551-3.4.4 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 4, Stepping: 1)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Configuration: --enable-win32dll
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 57116924 bytes
STREAM: [file] input_file
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x36788fc
LAVF_check: QuickTime/MPEG4/Motion JPEG 2000 format
libavformat file format detected.
==> Found audio stream: 0
[lavf] Audio stream found, -aid 0
======= WAVE Format =======
Format Tag: 28781 (0x706D)
Channels: 2
Samplerate: 48000
avg byte/sec: 0
Block align: 1
bits/sample: 16
cbSize: 2
Unknown extra header dump: [11] [90]
==========================================================================
==> Found video stream: 1
[lavf] Video stream found, -vid 1
======= VIDEO Format ======
  biSize 143
  biWidth 480
  biHeight 270
  biPlanes 0
  biBitCount 32
  biCompression 860968531='SVQ3'
  biSizeImage 518400
Unknown extra header dump: [53] [56] [51] [33] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [53] [45] [51] [48] [0] [0] [0] [5] [e3] [c0] [21] [dd] [80]
===========================
LAVF: 1 audio and 1 video streams found
LAVF: build 3345667
VIDEO:  [SVQ3]  480x270  32bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x33515653  size:480x270  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
dec_audio: Allocating 4608 bytes for input buffer.
dec_audio: Allocating 49152 + 65536 = 114688 bytes for output buffer.
FAAD: Decoder init done (0Bytes)!
FAAD: Negotiated samplerate: 48000Hz  channels: 2
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)
decoder)
==========================================================================
[file] File size is 0 bytes
STREAM: [file] output
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
OK, exit
ALLOCATED STREAM N. 1, type=0
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=640 h=360]
SwScale params: 640 x 360 (-1=no scaling)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffsvq3] vfm: ffmpeg (FFmpeg Sorenson Video v3 (SVQ3))
==========================================================================
ALLOCATED STREAM N. 2, type=1
Building audio filter chain for 48000Hz/2ch/s16le -> 22050Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[libaf] Adding filter lavcresample
[dummy] Was reinitialized: 22050Hz/2ch/s16le
[libaf] Adding filter format
[format] Changing sample format from little-endian 16-bit signed int to
big-endian 8-bit signed int
[dummy] Was reinitialized: 22050Hz/2ch/s16le
[format] Changing sample format from little-endian 16-bit signed int to
big-endian 8-bit signed int
MP3 audio selected.
Building audio filter chain for 48000Hz/2ch/s16le -> 22050Hz/2ch/s16le...
[dummy] Was reinitialized: 22050Hz/2ch/s16le
[format] Changing sample format from little-endian 16-bit signed int to
big-endian 8-bit signed int
[libaf] Removing filter format
[dummy] Was reinitialized: 22050Hz/2ch/s16le
[libaf] Reallocating memory in module lavcresample, old len = 0, new len =
2308
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 480 x 270 (preferred colorspace: Planar YV12)
Trying filter chain: scale expand lavc
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (480x270->480x270,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401  req=0x0
REQ: flags=0x401  req=0x0
videocodec: libavcodec (640x360 fourcc=31564c46 [FLV1])
[VE_LAVC] High quality encoding selected (non-realtime)!
*** [lavc] Allocating mp_image_t, 640x360x12bpp YUV planar, 345600 bytes
*** [expand] Direct Rendering mp_image_t, 640x360x12bpp YUV planar, 345600
bytes
*** [scale] Allocating (slices) mp_image_t, 480x272x12bpp YUV planar, 195840
bytes

** MUXER_LAVF
*****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
LAME version 3.96.1 (http://lame.sourceforge.net/)
CPU features: MMX (ASM used), SSE, SSE2
polyphase lowpass filter disabled

misc:

        scaling: 1
        ch0 (left) scaling: 0
        ch1 (right) scaling: 0
        filter type: 0
        quantization: xr^3/4
        huffman search: best (inside loop, slow)
        experimental Y=1
        ...

stream format:

        MPEG-2.5 Layer 3
        2 channel - joint stereo
        padding: all
        variable bitrate - VBR rh (default)
        ...

psychoacoustic:

        using psychoacoustic model: 1
        psychoacoustic model: NSPsytune
        tonality estimation limit: 8871.700195 Hz (not relevant)
        using short blocks: channel coupled
        subblock gain: 1
        adjust masking: 0.67 dB
        adjust masking short: 0.65 dB
        quantization comparison: 1
         ^ comparison short blocks: 0
        noise shaping: 1
         ^ amplification: 2
         ^ stopping: 1
        ATH: using
         ^ type: 4
         ^ shape: 6.5 (only for type 4)
         ^ level adjustement: 1.5
         ^ adjust type: 3
         ^ adjust sensitivity power: 1610612736
         ^ adapt threshold type: 2
        experimental psy tunings by Naoki Shibata
           adjust masking bass=0 dB, alto=0 dB, treble=0 dB, sfb21=0 dB
        using temporal masking effect: yes
        interchannel masking ratio: 0.0004
        ...

SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0x86920f0]SwScaler: BICUBIC scaler, from yuv420p to yuv420p
using MMX2
[swscaler @ 0x86920f0]SwScaler: using 4-tap MMX scaler for horizontal
luminance scaling
[swscaler @ 0x86920f0]SwScaler: using 4-tap MMX scaler for horizontal
chrominance scaling
[swscaler @ 0x86920f0]SwScaler: using n-tap MMX scaler for vertical scaling
(YV12 like)
[swscaler @ 0x86920f0]SwScaler: 480x270 -> 640x360
Segmentation fault (core dumped)



More information about the MPlayer-users mailing list