the plot seems to thicken around these log entries::

2019/01/14 23:41:02 [decoder:3] Unable to decode
"/VIDEOS/fahrten_vers3.mp4" as {audio=2;video=1;midi=0}!
2019/01/14 23:41:02 [clock.wallclock_gstreamer:2] Error when starting
output(dot)gstreamer: File "sources/playlist.ml", line 246, characters
8-14: Assertion failed!

and a bit later with this::

2019/01/14 23:41:02 [output(dot)gstreamer:1] Got ill-balanced
activations (from output(dot)gstreamer)!
2019/01/14 23:41:02 [clock:2] Error when leaving output
output(dot)gstreamer: File "source.ml", line 414, characters 10-16:
Assertion failed!
2019/01/14 23:41:02 [clock:3] Raised at file "source.ml", line 414,
characters 10-22
2019/01/14 23:41:02 [clock:3] Called from file "source.ml", line 421,
characters 30-58
2019/01/14 23:41:02 [clock:3] Called from file "clock.ml", line 79,
characters 6-13
2019/01/14 23:41:02 [clock:4] Main phase starts.
2019/01/14 23:41:02 [main:3] Shutdown started!

I am using the same playlists I am using on the other box with 1.3.3 on
debian. This ubuntu 18lts-box with either 1.3.5 installed with opam or
1.3.4 from source, does not seem to like them.

Any clues anybody, that would be reallz helpful!!

Thanks,

Jeroen




On 1/14/19 15:24, Jeroen wrote:
> So, small update, but still I have no running script. (of course this is
> ubuntu 18.04, not 19.04...)
>
> Updated to LS1.3.5 installed over opam, then tested the input of the
> srs-webserver, that works so that end should be ok. LS still starts, and
> then stops immediately.
>
> checked the video files, they are all 1 video 25fps, two audio 48000sr
> and work in the other box
>
> Log files here: https://pastebin.com/bU8V9L22
>
> tinkered with the output part (tried also fdkaacenc, same result)::
>
> [code]
>
> # 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 ! voaacenc bitrate=68000 ! queue ! mux.",
>         pipeline=
>           "flvmux streamable=1 name=mux ! rtmpsink
> location=\"rtmp://hh.cs:1935/live/livestream live=1\" ",
>           liveOut)
> [/code]
>
> to no avail. Time is running a bit short here, so I would be veryhappy
> with a pointer or two??
>
> Thanks!!
>
> Jeroen
>
>
> On 1/13/19 22:19, Jeroen wrote:
>> Dar list,
>>
>> I have following relatively simple script, which runs fine on a debian
>> box (apart from a memory leak, but that doesn't bother me too much as I
>> use it live on a performance). Now, I ported it to a Ubuntu 19.04LTS
>> box, carrying LS 1.3.4, compiled from sources. A bit clueless at the
>> moment, so maybe someone could enlighten me a bit??
>>
>> Thanks!
>>
>> ######################
>>
>> #!/usr/local/bin/liquidsoap
>> #
>> #
>> set("log.file.path","/home/XXXXX/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="sc.cs", port=57120, "/played", "1")
>>         execShell = run_process('/bin/cat /VIDEOS/play_one.pls >
>> /VIDEOS/play_now.pls')
>>         garbage_collect()
>>
>>       elsif( snd(m) == "two" ) then
>>         log("Two received - playing video two")
>>         osc.send_string(host="sc.cs", port=57120, "/played", "2")
>>         execShell = run_process('/bin/cat /VIDEOS/play_two.pls >
>> /VIDEOS/play_now.pls')
>>         garbage_collect()
>>
>>       elsif( snd(m) == "three" ) then
>>         log("Three received - playing video three")
>>         osc.send_string(host="sc.cs", port=57120, "/played", "3")
>>         execShell = run_process('/bin/cat /VIDEOS/play_three.pls >
>> /VIDEOS/play_now.pls')
>>         garbage_collect()
>>
>>       elsif( snd(m) == "four" ) then
>>         log("Four received - playing video four")
>>         osc.send_string(host="sc.cs", port=57120, "/played", "4")
>>         execShell = run_process('/bin/cat /VIDEOS/play_four.pls >
>> /VIDEOS/play_now.pls')
>>         garbage_collect()
>>       end
>>     else
>>     log("Invalid command - ignored")
>>   end 
>> end
>>
>> # make source
>> 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)
>>
>> # 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 ! voaacenc bitrate=68000 ! queue ! mux.",
>>         pipeline=
>>           "flvmux name=mux ! rtmpsink
>> location=\"rtmp://hh.cs:1935/live/livestream live=1\" ",
>>           liveOut)
>>
>> #############
>>
>> Log says (where the trouble starts)::
>>
>> 2019/01/13 20:10:03 [request.dynamic_7144:4] Activations changed:
>> static=[],
>> dynamic=[fallback_7147:output(dot)gstreamer:output(dot)gstreamer].
>> 2019/01/13 20:10:03 [source:4] Source single_7146 gets up.
>> 2019/01/13 20:10:03 [single_7146:3] "/VIDEOS/Intermissions_long_AV.mp4"
>> is static, resolving once for all...
>> 2019/01/13 20:10:03 [clock.wallclock_gstreamer:2] Error when starting
>> output(dot)gstreamer: Req_simple.Invalid_URI!
>> 2019/01/13 20:10:03 [clock.wallclock_gstreamer:3] Raised at file
>> "sources/req_simple.ml", line 37, characters 6-23
>> 2019/01/13 20:10:03 [clock.wallclock_gstreamer:3] Called from file
>> "source.ml", line 388, characters 6-18
>> 2019/01/13 20:10:03 [clock.wallclock_gstreamer:3] Called from file
>> "operators/switch.ml", line 105, characters 9-20
>> 2019/01/13 20:10:03 [clock.wallclock_gstreamer:3] Called from file
>> "list.ml", line 106, characters 12-15
>> 2019/01/13 20:10:03 [clock.wallclock_gstreamer:3] Called from file
>> "source.ml", line 388, characters 6-18
>> 2019/01/13 20:10:03 [clock.wallclock_gstreamer:3] Called from file
>> "outputs/output.ml", line 130, characters 4-20
>> 2019/01/13 20:10:03 [clock.wallclock_gstreamer:3] Called from file
>> "source.ml", line 388, characters 6-18
>> 2019/01/13 20:10:03 [clock.wallclock_gstreamer:3] Called from file
>> "clock.ml", line 221, characters 15-26
>> 2019/01/13 20:10:03 [output(dot)gstreamer:1] Got ill-balanced
>> activations (from output(dot)gstreamer)!
>> 2019/01/13 20:10:03 [clock:2] Error when leaving output
>> output(dot)gstreamer: File "source.ml", line 414, characters 10-16:
>> Assertion failed!
>> 2019/01/13 20:10:03 [clock:3] Raised at file "source.ml", line 414,
>> characters 10-22
>> 2019/01/13 20:10:03 [clock:3] Called from file "source.ml", line 421,
>> characters 30-58
>> 2019/01/13 20:10:03 [clock:3] Called from file "clock.ml", line 79,
>> characters 6-13
>> 2019/01/13 20:10:03 [clock:4] Main phase starts.
>> 2019/01/13 20:10:03 [main:3] Shutdown started!
>> 2019/01/13 20:10:03 [main:3] Waiting for threads to terminate...
>> 2019/01/13 20:10:03 [threads:3] Shuting down thread gstreamer_main_loop
>> 2019/01/13 20:10:03 [main:3] Waiting for threads to terminate...
>> 2019/01/13 20:10:03 [threads:3] Shuting down thread gstreamer_main_loop
>> 2019/01/13 20:10:03 [decoder:4] Trying method "META" for
>> "/VIDEOS/Black_Start_LOW.mp4"...
>> 2019/01/13 20:10:03 [decoder:4] Trying method "WAV" for
>> "/VIDEOS/Black_Start_LOW.mp4"...
>> 2019/01/13 20:10:03 [decoder.wav/aiff:4] Invalid MIME type for
>> "/VIDEOS/Black_Start_LOW.mp4": video/mp4!
>> 2019/01/13 20:10:03 [decoder.wav/aiff:4] Invalid file extension for
>> "/VIDEOS/Black_Start_LOW.mp4"!
>> 2019/01/13 20:10:03 [decoder:4] Trying method "AIFF" for
>> "/VIDEOS/Black_Start_LOW.mp4"...
>> 2019/01/13 20:10:03 [decoder.wav/aiff:4] Invalid MIME type for
>> "/VIDEOS/Black_Start_LOW.mp4": video/mp4!
>> 2019/01/13 20:10:03 [decoder.wav/aiff:4] Invalid file extension for
>> "/VIDEOS/Black_Start_LOW.mp4"!
>> 2019/01/13 20:10:03 [decoder:4] Trying method "MIDI" for
>> "/VIDEOS/Black_Start_LOW.mp4"...
>> 2019/01/13 20:10:03 [decoder:4] Trying method "IMAGE" for
>> "/VIDEOS/Black_Start_LOW.mp4"...
>> 2019/01/13 20:10:03 [decoder:4] Trying method "GSTREAMER" for
>> "/VIDEOS/Black_Start_LOW.mp4"...
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] [fakesink2] State change: NULL
>> -> READY
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] [audioresample1] State change:
>> NULL -> READY
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] [audioconvert1] State change:
>> NULL -> READY
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] [typefind] State change: NULL
>> -> READY
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] [decodebin2] State change:
>> NULL -> READY
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] [filesrc2] State change: NULL
>> -> READY
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] [pipeline2] State change: NULL
>> -> READY (pending: PAUSED)
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] [audioresample1] State change:
>> READY -> PAUSED
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] [audioconvert1] State change:
>> READY -> PAUSED
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] [typefind] State change: READY
>> -> PAUSED
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] [filesrc2] State change: READY
>> -> PAUSED
>> 2019/01/13 20:10:03 [decoder.gstreamer:5] File
>> /VIDEOS/Black_Start_LOW.mp4 has audio.
>> 2019/01/13 20:10:03 [decoder:3] Unable to decode
>> "/VIDEOS/Black_Start_LOW.mp4" as {audio=2;video=1;midi=0}!
>>
>> (here it hangs, and I have kill -9 it)
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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

Reply via email to