[MPlayer-users] Memory leak?

Domen Perc domen.perc at gmail.com
Thu Nov 21 13:16:09 CET 2013


I tried to run it from console. It would take quite some time until it
would crash. I can try it latter with a little bigger clips (the one that I
used were somewhere 10-50MB).
I run a couple of movies and used RAM increased to about 250MB from about
100MB.

Here is log:
/usr/bin/mplayer -slave -quiet -idle -nosound -fixed-vo -lavdopts
skiploopfilter=nonkey:threads=4 roulette_5_2_1.mp4
MPlayer dev-SVN-r35127-4.7-openSUSE Linux 12.2 (x86_64)-Packman (C)
2000-2012 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing roulette_5_2_1.mp4.
libavformat version 54.25.104 (internal)
libavformat file format detected.


[lavf] stream 0: video (h264), -vid 0


VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  12073.2 kbps (1473.8 kbyte/s)


Clip info:


 major_brand: isom


 minor_version: 512


 compatible_brands: isomiso2avc1mp41


 encoder: Lavf54.59.106


Load subtitles in ./


vo: couldn't open the X11 display ()!


vo: couldn't open the X11 display ()!


vo: couldn't open the X11 display ()!


SDL SetVideoMode failed: OpenGL not available


vo: couldn't open the X11 display ()!


VO XOverlay need a subdriver


[VO_SDL] Using driver: fbcon.


vo: couldn't open the X11 display ()!


==========================================================================


Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family


libavcodec version 54.54.100 (internal)


Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)


==========================================================================


Audio: no sound


Starting playback...


Unsupported PixelFormat 61


Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080

loadfile roulette_5_1_1.mp4

Playing roulette_5_1_1.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  12024.5 kbps (1467.8 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf54.59.106
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080

loadfile roulette_5_1_1.mp4

Playing roulette_5_1_1.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  12024.5 kbps (1467.8 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf54.59.106
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080
loadfil

Command loop requires at least 1 arguments, we found only 0 so far.
loadfile roulette_5_1_2.mp4 1

Playing roulette_5_1_2.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  11887.6 kbps (1451.1 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf54.59.106
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080

loadfile roulette_5_1_1.mp4 1

Playing roulette_5_1_1.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  12024.5 kbps (1467.8 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf54.59.106
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080

loadfile roulette_5_1_1.mp4 1

Playing roulette_5_1_1.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  12024.5 kbps (1467.8 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf54.59.106
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080

loadfile roulette_5_1_2.mp4 1

Playing roulette_5_1_2.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  11887.6 kbps (1451.1 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf54.59.106
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080

loadfile roulette_5_2_2.mp4 1

Playing roulette_5_2_2.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  12037.9 kbps (1469.5 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf54.59.106
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080

loadfile roulette_5_2_1.mp4 1

Playing roulette_5_2_1.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  12073.2 kbps (1473.8 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf54.59.106
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1920x1080 => 1920x1080 Planar YV12
w/h: 1920 1080



On Thu, Nov 21, 2013 at 11:08 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Domen Perc <domen.perc <at> gmail.com> writes:
>
> > I've got problems with Mplayer using all my memory until
> > system crashes.
>
> Can you reproduce the problem running MPlayer from a console
> (without java)? If yes, please provide the complete, uncut
> console output.
>
> Carl Eugen
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>


More information about the MPlayer-users mailing list