recieve MMS and UDP Multicast memory leaks

*nix specific usage questions
Makarov
Blank Cone
Blank Cone
Posts: 29
Joined: 19 Mar 2010 15:33
Location: Saint-Petersburg, Russia
Contact:

recieve MMS and UDP Multicast memory leaks

Postby Makarov » 20 Mar 2010 10:09

Hello,
i'm using freebsd 8.0. on Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz. I compile from ports latest vlc-1.0.5_1,3.

Configure args:

./configure '--enable-vlc' '--enable-release' '--enable-avcodec' '--enable-avformat' '--enable-postproc' '--without-dv-raw1394' '--disable-dv' '--disable-galaktos' '--disable-glx' '--disable-qt4' '--disable-dbus' '--disable-gnomevfs' '--disable-notify' '--disable-skins2' '--disable-libtar' '--disable-loader' '--disable-jack' '--disable-remoteosd' '--disable-pulse' '--disable-fluidsynth' '--enable-zvbi' '--disable-hal' '--enable-vcd' '--enable-libcddb' '--disable-cddax' '--enable-cdda' '--enable-cddax' '--enable-dvbpsi' '--with-dvbpsi=/usr/local' '--enable-dvdnav' '--disable-dvdread' '--with-ffmpeg-faac' '--enable-faad' '--disable-flac' '--disable-fribidi' '--disable-aa' '--disable-dirac' '--disable-schroedinger' '--enable-x264' '--disable-lua' '--disable-caca' '--enable-dca' '--disable-ggi' '--enable-mkv' '--enable-a52' '--enable-libmpeg2' '--enable-real' '--enable-realrtsp' '--enable-theora' '--enable-live555' '--with-live555-tree=/usr/local/live' '--enable-taglib' '--enable-mad' '--with-mad=/usr/local' '--enable-mod' '--enable-mpc' '--enable-ogg' '--enable-ncurses' '--disable-smb' '--disable-sdl' '--enable-gnutls' '--disable-speex' '--disable-svg' '--disable-svgalib' '--disable-tremor' '--enable-twolame' '--enable-vorbis' '--disable-xosd' '--enable-debug' '--disable-v4l' '--disable-x11' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd8.0' 'build_alias=i386-portbld-freebsd8.0' 'CC=cc' 'CFLAGS=-g3 -g' 'LDFLAGS= -L/usr/ports/multimedia/vlc/work/fake//usr/local/lib -L/usr/local/lib -pthread -lc' 'LIBS=-lc' 'CPPFLAGS=-I/usr/ports/multimedia/vlc/work/fake//usr/local/include -I/usr/ports/multimedia/vlc/work/vlc-1.0.5/include -I/usr/local/include -I/usr/local/ffmpeg '



When i try open simple mmsh (mmsh://stream1.france24.yacast.net/f24_liveen) or local udp multicast vlс permanently increases the size of used memory.

vlc-wrapper mmsh://stream1.france24.yacast.net/f24_liveen

On the start 'top' show me: 49540K 24028K nanslp 4 0:00 0.20%

After 10 minutes: 65924K 42796K nanslp 4 0:11 0.00%

After 20 minutes: 66948K 44392K nanslp 4 0:34 1.46%

After 30 minutes: 66948K 44704K nanslp 0 0:56 0.88%





Local udp multicast udp://@233.0.0.1:1234

On start: 52648K 31900K nanslp 2 0:01 1.66%

After 10 minutes: 71080K 49260K nanslp 4 0:21 2.29%

After 20 minutes: 84392K 62772K nanslp 0 0:50 2.69%

After 30 mnutes: 95656K 73604K nanslp 2 1:14 3.17%

After 15 hours: 1,7 Gb

[root@relay-1 /usr/ports/multimedia/vlc]# vlc-wrapper udp://@239.0.1.1:1234
VLC media player 1.0.5 Goldeneye
[0x28527c40] main interface error: no interface module matched "globalhotkeys,none"
[0x28527c40] main interface error: no suitable interface module
[0x284141c0] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x284141c0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Remote control interface initialized. Type `help' for help.
libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 0) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 0) for PID 100
[0x2973cec0] oss audio output error: cannot open audio device (/dev/dsp)
[0x2973cec0] main audio output error: couldn't find a filter for the conversion
[0x2973cec0] main audio output error: couldn't create audio output pipeline

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: recieve MMS and UDP Multicast memory leaks

Postby Rémi Denis-Courmont » 26 Mar 2010 22:53

This looks like a bug. Patch welcome.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Makarov
Blank Cone
Blank Cone
Posts: 29
Joined: 19 Mar 2010 15:33
Location: Saint-Petersburg, Russia
Contact:

Re: recieve MMS and UDP Multicast memory leaks

Postby Makarov » 02 Apr 2010 18:53

Problem was solved.
Problem was in FreeBSD 8.0. I install FreeBSD 7.3 and all leak was gone.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: recieve MMS and UDP Multicast memory leaks

Postby Jean-Baptiste Kempf » 06 Apr 2010 14:47

What are the VLC versions on it?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Makarov
Blank Cone
Blank Cone
Posts: 29
Joined: 19 Mar 2010 15:33
Location: Saint-Petersburg, Russia
Contact:

Re: recieve MMS and UDP Multicast memory leaks

Postby Makarov » 07 Apr 2010 09:06

I use the latest version (1.0.5, 1.1 will not compile correctly on FreeBSD, or if you compile a problem with the installation, lua scripts are not copied, lot of manually fix make file to compile).

By the way problems with memory leaks resolved partially, but certainly not resolved completely. I accept the udp multicast udp://@239.0.1.1:1234 (IP TV) and then transcode to mmsh, vlc working properly about 10-14 hours, then the memory very fast growth (about 1 Mb in 10 sec), and that the most interesting is if in this moment (when vlc start leak memory very fast) i run vlc on another computer to test my transcode stream i see lost sound output. It seems that the audio packets are simply stopped transcoding and not coming, only video packets. May be bug in muxer?

I use a transcoding mmsh.
#transcode{vcodec=WMV2,vb=650,fps=10,width=320,height=240,acodec=wma2,ab=32,channels=1,samplerate=22050}:
std{access=mmsh,mux=asfh,dst=:8052}


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests