Hi List, Would be extremely grateful for some reaction, comment, maybe even help etc on this.
having freshly installed gstreamer like this:: sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl and liquidsoap like this:: [code] opam depext pcre dtools duppy cry mm xmlplaylist ogg vorbis lame gstreamer frei0r fdkaac gavl ffmpeg bjack alsa ao samplerate taglib magic camomile yojson faad soundtouch ladspa dssi lo camlimages gd conf-sdl2-mixer conf-sdl2-net conf-sdl2-tt liquidsoap [/code] (pulls in gstreamer-devs) [code] opam install pcre dtools duppy cry mm xmlplaylist ogg vorbis lame gstreamer frei0r fdkaac gavl ffmpeg bjack alsa ao samplerate taglib magic camomile yojson faad soundtouch ladspa dssi lo camlimages gd conf-sdl2 conf-sdl2-image conf-sdl2-mixer conf-sdl2-net conf-sdl2-ttf liquidsoap [/code] when starting a relatively simple script like this:: [code] set("log.file.path","/home/jeroen/liquidsoap/log/liqsoap.log") set("log.level",5) set("log.stdout",false) set("frame.audio.samplerate",48000) set("frame.video.width", 640) set("frame.video.height", 360) set("frame.video.samplerate", 25) set("osc.port",8000) set("gstreamer.add_borders", false) # function for OSC parsing def on_command(m) = if ( fst(m) == "command" ) then if ( snd(m) == "reset" ) then log("Reset received - resetting LiquidSoap ") execShell = run_process('/bin/echo "" > /VIDEOS/play_now.pls') garbage_collect() elsif( snd(m) == "one" ) then log("One received - playing video one") osc.send_string(host="hh.cs", port=57120, "/played", "1") execShell = run_process('/bin/cat /VIDEOS/play_one.pls > /VIDEOS/play_now.pls') garbage_collect() end end # make source # liveOut = playlist.safe("/VIDEOS/Mercato.mp4") liveOut = playlist.once(reload_mode="watch", "/VIDEOS/play_now.pls") liveOut = fallback(track_sensitive=false, [liveOut, single("/VIDEOS/Intermissions_long_AV.mp4")] ) # Call the above handler when we have a pair of strings on /metadata osc.on_string_pair("/metadata",on_command) #<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< if commented out then no liblo error (but also still no output from gstreamer) # Output to Gstreamer log("Starting Stream...") output.gstreamer.audio_video( video_pipeline= "videoconvert ! x264enc bitrate=1000 speed-preset=ultrafast ! video/x-h264,profile=baseline ! queue ! mux.", audio_pipeline= "audioconvert ! fdkaacenc bitrate=68000 ! queue ! mux.", pipeline= "flvmux streamable=1 name=mux ! rtmpsink location=\"rtmp://hh.cs:1935/live/livestream live=1\" ", liveOut) [/code] I get after a fresh reboot (so ports should not be occupied) :: [code] liblo server error 9904 in path (null): cannot find free port Line 72, char 1: Unknown error! Fatal error: exception LO.Error Raised by primitive operation at file "LO.ml", line 76, characters 19-45 Called from file "lang/builtins_lo.ml", line 70, characters 12-33 Called from file "lang/builtins_lo.ml", line 106, characters 6-21 Called from file "lang/lang_values.ml", line 971, characters 14-20 Called from file "lang/lang_values.ml", line 1053, characters 16-44 Called from file "lang/lang_values.ml", line 1049, characters 19-34 Called from file "lang/lang.ml", line 650, characters 14-38 Called from file "tools/tutils.ml", line 85, characters 14-18 Re-raised at file "tools/tutils.ml", line 85, characters 48-55 Called from file "lang/lang.ml", line 676, characters 8-12 Re-raised at file "lang/lang.ml", line 785, characters 43-50 [/code] doesn-t look like any port is occupied:: [code] sudo netstat -anltp | grep 8000 ## returns nothing [/code] Thanks for any help ubuntu 18.04LTS gstreamer 1.14.1 alsa 0.2.3 ao 0.2.1 base v0.11.1 base-bigarray base base-bytes base base-threads base base-unix base biniou 1.2.0 bjack 0.1.5 camlimages 5.0.1 camomile 1.0.1 conf-gd 1 conf-libpcre 1 conf-m4 1 conf-pkg-config 1.1 conf-sdl2-mixer 1 conf-sdl2-net 1 conf-sdl2-ttf 1 conf-which 1 configurator v0.11.0 cppo 1.6.5 cry 0.6.2 dssi 0.1.2 dtools 0.4.1 dune 1.6.3 duppy 0.8.0 easy-format 1.3.1 faad 0.4.0 fdkaac 0.2.1 ffmpeg 0.2.1 frei0r 0.1.1 gavl 0.1.6 gd 1.0a5 graphics 1.0 gstreamer 0.3.0 jbuilder transition ladspa 0.1.5 lame 0.3.3 liquidsoap 1.3.5 lo 0.1.1 mad 0.4.5 magic 0.7.3 mm 0.4.0 ocaml 4.07.1 ocaml-base-compiler 4.07.1 ocaml-config 1 ocamlbuild 0.12.0 ocamlfind 1.8.0 ocamlsdl 0.9.1 ogg 0.5.2 opam-depext 1.1.2 pcre 7.3.5 result 1.3 samplerate 0.1.4 sexplib0 v0.11.0 soundtouch 0.1.8 stdio v0.11.0 taglib 0.3.3 topkg 1.0.0 vorbis 0.7.1 xmlm 1.3.0 xmlplaylist 0.1.4 yojson 1.5.0 _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users