@alexandre1985 Thanks for notifying me the m3u8 expiration time
I restart my script every 4 hours using cron job. This won't drop the listeners
because I use it in an android app which will try to reconnect for few seconds.
For your need i suggest you to do the same and use this as source and rel
after few hours it crashes abruptly
Here is the log
```
2019/04/20 08:44:11 [input(dot)gstreamer(dot)audio_video_6679:3] Incorrect
stream type!
2019/04/20 08:44:11 [input(dot)gstreamer(dot)audio_video_6679:3] Error while
processing input data: Generator.Incorrect_stream_type
2019/04/20 08:44:11
> I'm glad that it is working. One problem to address in this script is the
> expiration of the .m3u8 link that youtube—dl gives. Ideally we would refresh
> this link without cutting the stream. Maybe with some buffering. Does anyone
> know how to accomplish this?
>
This issue not only in this
I'm glad that it is working.
One problem to address in this script is the expiration of the .m3u8 link that
youtube—dl gives.
Ideally we would refresh this link without cutting the stream. Maybe with some
buffering.
Does anyone know how to accomplish this?
Mensagem Original
Thank you @alexandre1985 and @chrispolley it is working fine now
I asked you to install gstreamer plugins above but I forgot it to install them
on my system :) that's the issue here.
Yes I am using your script above
we can remove `ytv = argv(1)` and `{ytv}` at the end of the url.
--
You are rec
you also need `youtube-dl` installed on your system for the script to work.
Also, if you have on `output.icecast()` `on_stop=shutdown` you need to remove
it because it will not work and will shutdown your script.
Maybe this is something for the **devs** to work on.
Here is my log when using `gs
@mylselgan Are you using [this
script](https://github.com/savonet/liquidsoap/issues/757#issuecomment-484666284)?
I'm on Manjaro Linux Deepin, with all the latest packages (19-04-2019).
My `gstreamer` version is: 1.14.4
I have installed `liquidsoap` using `opam`.
My `liquidsoap` version is up-to
Hi, @alexandre1985
Too glad to hear the success, which version of liquidsoap you are using
But not working for me. My log is
```
2019/04/19 16:06:08 >>> LOG START
2019/04/19 16:05:51 [main:3] Liquidsoap 1.3.4
2019/04/19 16:05:51 [main:3] Using: bytes=[distributed with OCaml 4.02 or
above] pcre
Closed #757.
--
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/757#event-2286770349___
Savonet-users mailing list
Savonet-users@lists.sour
Ok, I've got it working.
Here is the script:
```
#!/usr/bin/liquidsoap
ytv = argv(1)
url = get_process_output("youtube-dl -f 93 -g
https://www.youtube.com/watch?v=#{ytv}";)
video_source = gstreamer.hls(url)
audio_only_source = drop_video(video_source)
output.icecast(id="main", %vorbis, fallible
The ` input.gstreamer.audio` function takes care of building the GStreamer
pipeline. I haven't used this tool but based on the manpage it looks like this
is how you would put a pipeline together outside of liquidsoap. If you turn on
logging & turn up the loglevel you will see the actual pipeline
Thank you @chrispolley .
So, to clarify me, I only need to run `liquidsoap youtube.hls.liq --
hHW1oY26kxQ` ?
I dont need to run `gst-launch-1.0` command simultanially?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://
This seems to work:
```
#!/usr/bin/liquidsoap
def hls.audio(~id="",uri) =
pipeline = "uridecodebin uri=#{uri}"
input.gstreamer.audio(id=id, pipeline=pipeline)
end
ytv = argv(1)
url=get_process_output("youtube-dl -f 93 -g
https://www.youtube.com/watch?v=#{ytv}";)
s = hls.audio(url)
output.i
@mylselgan how do I give a custom pipeline name to a gstreamer pipeline in
order to use it in liquidsoap's `input.gstreamer.audio()` pipeline argument?
Thanks
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.co
I'm also trying to use gstreamer.
I'm using the gstreamer command: `gst-launch-1.0 uridecodebin
https://blabla.m3u8`
And on liquidsoap I'm using, without a success, this:
```
liquidsoap 'output.icecast(%vorbis, fallible=true, host="localhost", port=7665,
password="hackme", mount="stream.ogg",
i
Previously I used gstreamer to successfully decode m3u8. My script is
```
s= input.gstreamer.audio(pipeline="uridecodebin
uri=http://radio103-lh.akamaihd.net/i/radio_1@507820/master.m3u8";)
```
You can install gstreamer by executing `opam install gstreamer`
Gstreamer may also need some plugi
ok, will try.
2 more things.:
@mylselgan If I want to return back, how can I do that?
and how can I use the hls in liquidsoap?
--
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/757#
I am not an expert here but this may help.
If you installed liquidsoap via opam
clone the HLS branch https://github.com/savonet/liquidsoap/tree/HLS
cd
opam pin add liquidsoap .
opam update
opam remove liquidsoap
opam install liquidsoap
--
You are receiving this because you are subscribed to t
how can I test this?
Yes, for my stream I also believe it is HLS
--
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/757#issuecomment-484573067
Please check with the following pull request just now submitted by Samuel Mimram
https://github.com/savonet/liquidsoap/pull/758
I think m3u8 link is HLS
My environment isn't ready yet so I cant test here
--
You are receiving this because you are subscribed to this thread.
Reply to this email dir
**Is your feature request related to a problem? Please describe.**
I want to add a youtube live stream audio as input.
Getting youtube live stream audio and video might be relevant for other users.
**Describe the solution you'd like**
I'm open to suggestions how to accomplish this.
Ideally what it
21 matches
Mail list logo