> Thank you @smimram .
>
> And if I want to revert to my OPAM version should I just `cd` into the git
> clone directory and then do:
>
> ```
> opam unpin liquidsoap .
> ```
>
> ? Thank you
`Opam pin remove liquidsoap`
--
You are receiving this because you are subscribed to this thread.
Reply
Yes, both works now. I started the test script. I will report here tomorrow how
changing pipeline works on error. Thanks.
--
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/762#issue
> but before testing this script this recent commit breaks my already working
> script
>
> My script which worked previously
>
> ```
> url = "http://path to m3u8")
> video_source = mksafe(gstreamer.hls(url))
> audio_only = drop_video(video_source)
> s = fallback(track_sensitive=false, [audio_onl
but before testing this script this recent commit breaks my already working
script
My script which worked previously
```
url = "http://path to m3u8")
video_source = mksafe(gstreamer.hls(url))
audio_only = drop_video(video_source)
s = fallback(track_sensitive=false, [audio_only])
output.icecast(s)
@smimram the pipeline parameter can not be passed to gstreamer.hls
```
At line 23, char 38-41: cannot apply that parameter because the function
(at line 23, char 14-28) has no argument labeled "pipeline"!
```
how can we use this on gstreamer.hls please give me a simple test script to
test in m
Hi, after this commit i get the following warning when using normal `youtube-dl`
```
"Warning: ignored expression at
/home/radio/.opam/default/lib/liquidsoap/lib/liquidsoap/scm/protocols.liq, line
278 char 34 - line 279 char 41."
```
my script is `url = get_process_output("youtube-dl -f 93 -g
Hi, I want to restart the whole script if the main source failed and mksafe
called or static emergency single called could you please give me any example
here
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.c
Hi,
I too have issues with gstreamer.hls
toots suggests to use ffmpeg2wav to use the youtube video as a audio track like
`"ffmpeg2wav:youtube-dl:-IYXYB0r-Ww"`
Check these 2 issues. https://github.com/savonet/liquidsoap/issues/726 and
https://github.com/savonet/liquidsoap/issues/623
I don't know
@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 = single("/home/radio/media/silen
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
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 mailing
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
@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
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
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
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
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
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
When I run
`$ youtube-dl --get-title --get-filename --
"https://www.youtube.com/watch?v=rmCA3qQkqso";
`
the output is
```
Michael Jackson - Billie Jean (30th Anniversary Celebration) (Remastered
Widescreen)
Michael Jackson - Billie Jean (30th Anniversary Celebration) (Remastered
Widescreen)-r
I get following log with `single` . Please check my opening post for full log
```
2019/03/01 15:57:06 [single_6317:5] Failed to prepare track: no file.
2019/03/01 15:57:06 [single_6317:5] Queue is empty
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email
With the following script
```
play = playlist.safe("youtube-dl:https://www.youtube.com/watch?v=rmCA3qQkqso";)
s = fallback(track_sensitive=true,[(play)])
output.icecast(%mp3
```
I get following Log which shows connection timeout clearly
```
2019/03/01 16:12:43 >>> LOG START
2019/03/01 16:12:43 [
**Describe the bug**
I face connection timeout issue with youtube-dl
**To Reproduce**
```
play = single("youtube-dl:https://www.youtube.com/watch?v=rmCA3qQkqso";)
s = fallback(track_sensitive=true,[(play)])
output.icecast(%mp3
```
**Expected behavior**
Buffer the youtube video and output to iceca
for your understanding,
here "live" is the mount point
it will update the title field to "Live DJ Connected" whenever live connected
--
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/issue
Updating custom metadata on live connect at harbor can be done using this script
live=
input.harbor(icy=true,icy_metadata_charset="UTF-8","live",port=,password="")
def append_title(m) = [("title","Live DJ Connected")]end live =
map_metadata(append_title, live)
--
You are receiving this be
just removed deb http://www.deb-multimedia.org testing main non-free
and added deb http://www.deb-multimedia.org stretch main non-free
then reinstalled libfdk-aac-dev and fdkaac. now works fine with default
`aot="mpeg4_he_aac_v2"`
and outputs aacp as expected.
libfdk-aac-dev:amd64 (1:2.0.0-dmo1) -
Thanks for the hint
I have installed fdkaac with following steps
# add the following to the sources list
deb http://www.deb-multimedia.org testing main non-free
sudo apt-get update
sudo apt-get install deb-multimedia-keyring
sudo apt-get update
opam depext fdkaac
opam install fdkaac
--
You are
Hi,
Thanks
`aot="mpeg2_he_aac"` works with all bitrate, samplerate configuration but
outputs to audio/aac
I have extensively tested `aot="mpeg2_he_aac_v2"` with all bitrate,
samplerate configuration and also with different parameters like
`afterburner=true, transmux="adts", sbr_mode=true`. b
**Describe the bug**
It works fine when output to icecast or shoutcast with mp3 but not with fdkaac.
it simply throws "Floating point exception"
**To Reproduce**
set("log.file.path", "/home/radio/liq.log")
set("log.file",true)
set("log.stdout",true)
set("log.level", 5)
play = playlist(mode="r
I sent it to your email as it contains the real output settings.
--
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-421014724_
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 f
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 receivi
Closed #621.
--
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/621#event-1833155176--
Check out the vibran
I have modified my requirement and setenv("TZ") works fine.
--
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/621#issuecomment-419478835--
In above script i assume the server timezone is UTC
--
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/621#issuecomment-419208007--
Is there a way we can input different timezone for each scripts. The script
should override server time.
```
timezone=UTC+6
switch([
({ (1w) and 3h-8h}, rock),
```
in above example the rock should start play on 9h and end on 14h. If not
possible please conciser it as a feature reques
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 o
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 sing
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.
Reply
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:
https://githu
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 > installatio
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:2018-04
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:
https://github.com/savonet/liquidsoap/issues/339#issuecomment-416658459-
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:
https://github.com/sa
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 = buf
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:
https://github.com/savonet/liquidsoap/issues/339#issuecomment-
47 matches
Mail list logo