Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2019-04-25 Thread Samuel Mimram
Could you try with the new `input.hls` instead of `gstreamer.hls` in the latest git? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2019-04-25 Thread mylselgan
@toots The script you provided is not working it just plays the single i use youtube-dl -f 93 -g https://www.youtube.com/watch?v= to get the m3u8 url and give input to the above script. the full script sent to your mail as well here is the log for ``` emergency =

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2019-04-25 Thread mylselgan
Yes my youtube-dl is latest (youtube-dl is up-to-date (2019.04.24) actually this script is works well for few hours but if any error occurred the gsteamer pipeline failed to restart and throws the above error every 3 seconds. it works again if i restart the liquidsoap-daemon again -- You are

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2019-04-25 Thread Romain Beauxis
Hi all! One thing you can do to make it work with a recent liquidsoap is use the new `youtube-dl` protocol. You'll need [youtube-dl](https://ytdl-org.github.io/youtube-dl/) installed: ``` emergency = single("/home/radio/media/silent/5-minutes.mp3") url = "https://www.youtube.com/watch?v="

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2019-04-25 Thread mylselgan
I sent the full script to your email -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/savonet/liquidsoap/issues/339#issuecomment-486624037___ Savonet-users

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2019-04-25 Thread Samuel Mimram
Is there any way we could have access to the file or url (privately if you wish)? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2019-04-25 Thread Samuel Mimram
Reopened #339. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/savonet/liquidsoap/issues/339#event-2299750886___ Savonet-users mailing list

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2019-04-25 Thread mylselgan
Hi please reopen this issue now I have which files cause this gstreamer error. Gstreamer works fine for few hours but fails to reconnect if any issue happens and feeds blank audio Note: script is not fallback to emergency mp3 file and retries gstreamer source every 3 seconds. I have tried with

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-09-12 Thread mylselgan
HI, sorry for this again `Error while restarting pipeline: Gstreamer.Failed 1536298845.313377 [input(dot)gstreamer(dot)audio_video_6184:3] Will retry again in 3.00` while cheching log file, it retried several 1000 times then connected once then failed again then finally switched to emergency

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-09-08 Thread mylselgan
I tested for 3 days and it works fine without any issue. Thanks @toots for taking time to fix this. You helped me to reduce number of physical servers thus saving lots of electricity power. You guys indirectly helping for a green environment with this project. Thank you all. -- You are

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-09-05 Thread Romain Beauxis
I think so! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/savonet/liquidsoap/issues/339#issuecomment-418762941-- Check out the

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-09-05 Thread mylselgan
cd ocaml-gstreamer git pull opam pin add . opam reinstall -y gstreamer cd .. cd liquidsoap git pull opam pin add . opam reinstall -y liquidsoap Is this the correct way to update the latest commit? -- You are receiving this because you are subscribed to this thread. Reply to this email directly

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-09-05 Thread Romain Beauxis
Thanks for these! I've added a default restart on Gstreamer input and output that should resolve your issue. Would you mind trying? Feel free to re-open the ticket if that didn't fix it.. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-09-05 Thread Romain Beauxis
Closed #339 via a5b8b60268a93cc259fc1213bb61110edbe18604. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-09-03 Thread mylselgan
I tried `emergency = single("/home/radio/liquidsoap-daemon/media/5-minutes.mp3") gst = input.gstreamer.audio(pipeline="uridecodebin uri=http://m3u8 url") s = fallback(track_sensitive=false,[gst,emergency])` with a m3u8 live stream. It worked close to 48 hours then switched to the emergency

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-09-02 Thread Romain Beauxis
Glad to hear. Fingers crossed! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-09-02 Thread mylselgan
Installation success Liquidsoap 1.3.3+scm gstreamer=0.3.0 Loaded GStreamer 1.8.3 0 Started suggested test script now with a m3u8 input. output is successful. I will monitor it for three days and report here the result. -- You are receiving this because you are subscribed to this thread.

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-30 Thread Romain Beauxis
Ok you were right, there was a typo in my fix. Should be good now. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-30 Thread mylselgan
Yes, tested in two different servers. Also tried by removing ocaml-gstreamer folder and re clone it. I will try again in a newly installed server in few minutes. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-30 Thread Romain Beauxis
Are you sure you did install the updated `gstreamer`? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-29 Thread mylselgan
updated the git 57077b8..a9ad8df master -> origin/master 1 file changed, 4 insertions(+) radio@scw-019aaf:~/liqsource/ocaml-gstreamer$ opam update install gstreamer > success install liquidsoap > failed removed gstreamer and install liquidsoap > success then install gstreamer >

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-29 Thread Romain Beauxis
Oh, thanks for reporting. It's actually a bug in `gstreamer`. Just in time before the release :-) Here's how to update: ``` cd /ocaml-gstreamer git pull origin master opam update opam reinstall -y gstreamer ``` -- You are receiving this because you are subscribed to this thread. Reply to this

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-29 Thread mylselgan
After installing autoconf gstreamer dev is successful but liquidsoap failed. server detail: Ubuntu Xenial (16.04 LTS) (GNU/Linux 4.4.0-119-generic x86_64 ) System load:0.15 Memory usage: 0.0% Usage on /: 31% Local Users:1 Image build:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-28 Thread Romain Beauxis
Do you have `autoconf` installed? I can give more specific instructions if you let me know what OS you are using. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-28 Thread mylselgan
also tried `opam depext gstreamer.dev' but still no success. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-28 Thread mylselgan
Tried to update gstreamer but failed. Please check the attached log [installlog.txt](https://github.com/savonet/liquidsoap/files/2328971/installlog.txt) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-28 Thread Romain Beauxis
Once you've updated, I would try this code: ``` emergency = single("/home/radio/liquidsoap-daemon/media/5-minutes.mp3") gst = mksafe(input.gstreamer.audio(pipeline="uridecodebin uri=http://any mms or m3u8 or shoutcast url")) s = fallback(track_sensitive=false,[gst,emergency]) ``` -- You are

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-28 Thread Romain Beauxis
You should be able to transition to the latest code pretty easily with `opam`: ``` git clone --recursive https://github.com/savonet/ocaml-gstreamer.git cd ocaml-gstreamer opam pin add . # Installs gstreamer.. cd .. # All the other updates are already in except ocaml-gstreamer opam update git

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-27 Thread mylselgan
currently I have tested it with Liquidsoap 1.3.3 (installed via opam) ocaml-gstreamer-0.2.3 my current code is emergency = single("/home/radio/liquidsoap-daemon/media/5-minutes.mp3") gst = mksafe(input.gstreamer.audio(pipeline="uridecodebin uri=http://any mms or m3u8 or shoutcast url")) gst =

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-27 Thread Romain Beauxis
In particular, the gstreamer code has been reworked extensively. It might still need some work, tho. I would suggest to start by getting rid of the adaptative buffer and let the gstreamer input drive the whole streaming clock. -- You are receiving this because you are subscribed to this

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-27 Thread Romain Beauxis
Hi @mylselgan. Any chance you'd be able to test the latest code? There's been a lot of bugfixes there lately.. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Empty output comes after few minutes of encoding (#339)

2018-08-26 Thread mylselgan
Thanks Toots for taking this issue for To Do list of 1.3.4 release. I am still eagerly waiting for the solution. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: