hello,

thanks for responding,
With your file, the problem is different: it restarts before the end so memory 
does not grow much.
Log is at the end: you see it restarts after 17 seconds, when the length is 34 
seconds.
I tried to download the file 2 times.
It is played ok with vlc and mplayer.

The first file which cause problem is :
http://mirror.bigbuckbunny.de/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.ogg


Regards

Laurent

****************************************************************************************
2012/09/12 15:17:42 >>> LOG START
2012/09/12 15:17:42 [protocols.external:3] Didn't find "ufetch".
2012/09/12 15:17:42 [protocols.external:3] Found "/usr/bin/wget".
2012/09/12 15:17:42 [main:3] Liquidsoap 1.0.1
2012/09/12 15:17:42 [main:3] Using: graphics=[distributed with Ocaml] 
pcre=6.0.1 dtools=0.3.0 duppy=0.4.2 duppy.syntax=0.4.2 cry=0.2.2 mm=0.2.0 
ogg=0.4.3 vorbis=0.6.1 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 
dynlink=[distributed with Ocaml] lame=0.3.1 aacplus=0.2.0 voaacenc=0.1.0 
theora=0.3.0 schroedinger=0.1.0 gavl=0.1.4 bjack=0.1.3 alsa=0.2.1 ao=0.2.0 
samplerate=0.1.1 taglib=0.2.0 magic=0.7.3 camomile=0.7.1 faad=0.3.0 sdl=0.8.0
2012/09/12 15:17:42 [decoder:3] Method "OGG" accepted 
"/home/liquidsoap/Big_Buck_Bunny_Trailer_400p.ogg".
2012/09/12 15:17:42 [single:3] 
"/home/liquidsoap/Big_Buck_Bunny_Trailer_400p.ogg" is static, resolving once 
for all...
2012/09/12 15:17:42 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2012/09/12 15:17:42 [frame:3] Frame size must be a multiple of 1764 ticks = 
1764 audio samples = 1 video samples.
2012/09/12 15:17:42 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio 
samples = 1764 ticks.
2012/09/12 15:17:42 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video 
samples = 1764 ticks.
2012/09/12 15:17:42 [threads:3] Created thread "generic queue #1".
2012/09/12 15:17:42 [threads:3] Created thread "generic queue #2".
notification: This doesn't look like a Speex file
notification: This doesn't look like a Speex file
2012/09/12 15:17:42 [single_4944:3] Prepared 
"/home/liquidsoap/Big_Buck_Bunny_Trailer_400p.ogg" (RID 0).
2012/09/12 15:17:42 [StreamVideoMon:3] Connecting mount video_test for 
source@localhost...
2012/09/12 15:17:42 [StreamVideoMon:3] Connection setup was successful.
2012/09/12 15:17:42 [threads:3] Created thread "wallclock_main" (1 total).
2012/09/12 15:17:42 [clock.wallclock_main:3] Streaming loop starts, 
synchronized with wallclock.
2012/09/12 15:17:42 [mksafe:3] Switch to single_4944.
2012/09/12 15:18:00 [single_4944:3] Finished with 
"/home/liquidsoap/Big_Buck_Bunny_Trailer_400p.ogg".
notification: This doesn't look like a Speex file
notification: This doesn't look like a Speex file
2012/09/12 15:18:00 [single_4944:3] Prepared 
"/home/liquidsoap/Big_Buck_Bunny_Trailer_400p.ogg" (RID 0).
2012/09/12 15:18:17 [single_4944:3] Finished with 
"/home/liquidsoap/Big_Buck_Bunny_Trailer_400p.ogg".
notification: This doesn't look like a Speex file
notification: This doesn't look like a Speex file
2012/09/12 15:18:17 [single_4944:3] Prepared 
"/home/liquidsoap/Big_Buck_Bunny_Trailer_400p.ogg" (RID 0).
2012/09/12 15:18:34 [single_4944:3] Finished with 
"/home/liquidsoap/Big_Buck_Bunny_Trailer_400p.ogg".
notification: This doesn't look like a Speex file
notification: This doesn't look like a Speex file
etc...
********************************************************************************************************
----- Mail original -----
De: "Samuel Mimram" <smim...@gmail.com>
À: laug...@free.fr
Cc: savonet-users@lists.sourceforge.net
Envoyé: Mardi 11 Septembre 2012 14:04:47
Objet: Re: [Savonet-users] Video stream takes all memory

Hi, 

The video streaming has been much less tested than audio, so it's expected that 
there are still a few "glitches" that we are willing to fix. Of course, it 
should not fill 2 Go in a few minutes :) However, I just ran your script with 
the following file and got a stable memory (about 2% of mem for 15 min): 

http://upload.wikimedia.org/wikipedia/commons/7/75/Big_Buck_Bunny_Trailer_400p.ogg
 

Do you have the same problem with the file above? Otherwise, could you please 
send me (privately) your ogg file? 

Cheers, 

Samuel. 



On Wed, Aug 29, 2012 at 11:54 AM, < laug...@free.fr > wrote: 


Hello, 

First, thanks for Liquidsoap : we use it since a long time and it is very 
reliable for the audio streaming we make here. 

Now, I try to stream Theora video files : it starts ok but Liquidsoap process 
memory grows fast . 
After 2 or 3 minutes, it takes all the memory (2go), 
pc starts swaping, and then Liquidsoap stop or crash . 

Test done on 2 recent pc , both with Debian Squeeze, and Liquidsoap version 
1.0.0 and 1.0.1 compiled manually. 

Tested with various Theora files with the same result. 

So I wonder if this memory consumption is normal, in which case it would need a 
lot of ram installed, or not ? 

Regards 

Laurent 


***************************************************************** 
This is the test script: 

set("log.level", 3) 

set("log.stdout", true) 

# set("frame.video.width",320) 
# set("frame.video.height",240) 
#set("frame.video.samplerate",25) 


video_live=single("/home/liquidsoap/liquidsoap/ftp_in/bbb.ogg") 


output.icecast(%ogg(%vorbis,%theora), id="StreamVideoMon", host = "localhost", 
port = 8000, password = "xxxx",mount="video_monde", icy_metadata="true", 
mksafe(video_live)) 

------------------------------------------------------------------------------ 
Live Security Virtual Conference 
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ 
_______________________________________________ 
Savonet-users mailing list 
Savonet-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/savonet-users 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to