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

Reply via email to