As for memory leaks I've been dealing with that at the start of setting up the stream and i have tried numerous combinations with codecs, encoders, versions of OS and different OS, different builds of liquidsoap and encoders and found out that different file formats and codecs drain memory at different speed. If I use webm it can last 2 days until it fills up with memory, while mp4 fills up memory in half a day. And as the final solution ONLY .OGG file format works stable without draining the memory. I had the server for 10 days working stable without needing to restart. But now I run out on the issue where I found out files longer than 10 min won't play.
The only stable solution, which i am using right now is Debian 10 liquidsoap 1.3.3 gstreamer 1.14.4 On Sat, Feb 6, 2021 at 4:59 PM Romain Beauxis <romain.beau...@gmail.com> wrote: > Hi! > > What version of liquidsoap are you using? > > Romain > > Le ven. 5 févr. 2021 à 05:15, Aleksandar <alexandar.djordje...@gmail.com> > a écrit : > >> I am trying to set up the video streaming and everything worked fine so >> far, i found out that only .ogg video files are supported to work with >> continuous streaming and playlist. >> >> But so far i only have set short videos and few days ago i found out that >> if i want to play a longer file, a movie, it will always cut the video >> after 10 minutes of playing . The movie is of course 1h30min. >> >> I have tried different formats and settings for video streaming but only >> .ogg format works for continuous streaming. If i try .webm format it will >> play whole video but eventually liquidsoap fillup whole RAM of the server >> and freeze. >> >> Is there for some reason a limit for how long .ogg files can be played in >> liquidsoap. >> >> Here is an example of the script I am using right now. >> >> -------------------------------------------------------------------------- >> >> set("log.level",5) >> set("frame.video.width", 1280) >> set("frame.video.height", 720) >> set("frame.video.samplerate", 25) >> set("gstreamer.add_borders", true) >> set("log.stdout",true) >> #set("gstreamer.max_buffers",300) >> >> >> source = playlist.safe( >> mode="normal", >> reload_mode="watch", >> "/home/debian/streaming/playlist.m3u" >> ) >> >> source = fallback([source, blank()]) >> >> source = skip_blank(source) >> >> source = video.add_image( >> width=171, >> height=31, >> x=1089, >> y=20, >> file="/home/debian/streaming/logo.png",source >> ) >> >> #clock.assign_new(sync=false,[source]) >> >> output.gstreamer.audio_video( >> #clock_safe=false, >> video_pipeline= >> "videoconvert ! x264enc bitrate=2500 ! video/x-h264,profile=baseline ! >> h264parse ! queue ! mux.", >> audio_pipeline= >> "audioconvert ! audioresample ! audio/x-raw,rate=44100 ! voaacenc >> bitrate=128000 ! audio/mpeg ! aacparse ! audio/mpeg, mpegversion=4 ! queue >> ! mux.", >> pipeline= >> "flvmux name=mux ! rtmpsink location=\"rtmp://10.1.1.1:1935/live/stream >> live=1\"", >> source) >> >> ------------------------------------------------------------------- >> _______________________________________________ >> Savonet-users mailing list >> Savonet-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/savonet-users >> > _______________________________________________ > Savonet-users mailing list > Savonet-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/savonet-users >
_______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users