[MPlayer-dev-eng] [BUG] multifile? jpeg? GIGA memleak.

Gabucino gabucino at mplayerhq.hu
Thu Dec 5 22:02:41 CET 2002


Out of Memory: Killed process 3001 (mplayer). 

$ mplayer -mf on 0_13.jpg -loop 0

MPlayer CVS-021205-08:49-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/gabucino/.mplayer/config
Reading /home/gabucino/.mplayer/codecs.conf: can't open '/home/gabucino/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 49 audio & 123 video codecs
init_freetype
Using usleep() timing
Input config file /home/gabucino/.mplayer/input.conf parsed : 50 binds

Playing 0_13.jpg
Cache fill:  0.00% (0 bytes)    forced mf.
[demuxer] mf support.
[mf] search expr: 0_13.jpg*
[mf] number of files: 1 (4)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Opening video filter: [pp]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
[PP] Using external postprocessing filter, max q = 6
Audio: no sound!!!
Start playing...
mjpeg: JFIF header found (version: 1.1)
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is nan:1 - prescaling to correct movie aspect.
VO: invalid dimensions!
FATAL: Cannot initialize video driver!

FATAL: Couldn't initialize video filters (-vop) or video output (-vo)!


Exiting... (End of file)

Ok, fuck off. "nan" is definitely not a good aspect.

$ mplayer -mf on 0_13.jpg -loop 0 -noaspect

...
Start playing...
mjpeg: JFIF header found (version: 1.1)
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [xmga] 640x480 => 640x480 Planar YV12  [fs]
[mga] Using 3 buffers.
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [xmga] 640x480 => 640x480 Planar YV12  [fs]
[mga] Using 3 buffers.
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [xmga] 640x480 => 640x480 Planar YV12  [fs]
[mga] Using 3 buffers.
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [xmga] 640x480 => 640x480 Planar YV12  [fs]
[mga] Using 3 buffers.
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [xmga] 640x480 => 640x480 Planar YV12  [fs]
[mga] Using 3 buffers.
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [xmga] 640x480 => 640x480 Planar YV12  [fs]
[mga] Using 3 buffers.
...

Memory usage grows until user or kernel kills it.

This stuff worked until now. And why is libvo always re-inited??

-- 
Gabucino
MPlayer Core Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021205/8eb9eb19/attachment.pgp>


More information about the MPlayer-dev-eng mailing list