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 following configurations,
liquidsoap 1.1.3, 1.1.6, 1.3.7, 1.4-dev
gstreamer=0.3.0 and dev
gst-launch-1.0 version 1.14.0
GStreamer 1.10.0
and
gst-launch-1.0 version 1.17.0
GStreamer 1.17.0 (GIT)
```
$ opam list
# Packages matching: installed
# Name # Installed # Synopsis
base v0.12.0 Full standard library replacement for OCaml
base-bigarray base
base-bytes base Bytes library distributed with the OCaml
compiler
base-threads base
base-unix base
camomile 1.0.1 A Unicode library
conf-libpcre 1 Virtual package relying on a libpcre system
installation
conf-m4 1 Virtual package relying on m4
conf-openssl 1 Virtual package relying on an OpenSSL system
installation
conf-pkg-config 1.1 Virtual package relying on pkg-config
installation
cry 0.6.2 The cry library is an implementation of the
shout protocol to connect to audio diffusion servers such as icecast
dtools 0.4.1 Library providing various helper functions to
make daemons
dune 1.9.1 Fast, portable and opinionated build system
duppy 0.8.0 Library providing monadic threads
gstreamer dev pinned to version dev at
git+file:///home/radio/ocaml-gstreamer#master
jbuilder transition This is a transition package, jbuilder is now
named dune. Use the dune
lame 0.3.3 Bindings for the lame library which provides
functions for encoding mp3 files
liquidsoap 1.3.7 Swiss-army knife for multimedia streaming
mad 0.4.5 Bindings for the mad library which provides
functions for encoding wave audio files into mp3
mm 0.4.0 The mm library contains high-level to create
and manipulate multimedia streams (audio, video, MIDI)
ocaml 4.07.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1 Official release 4.07.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.8.0 A library manager for OCaml
ogg 0.5.2 Interface for Ogg Bitstream Library, otherwise
known as libogg
opam-depext 1.1.2 Query and install external dependencies of OPAM
packages
pcre 7.4.1 Bindings to the Perl Compatibility Regular
Expressions library
samplerate 0.1.4 Bindings for the samplerate library which
provides functions for changing samplerate of audio data
sexplib0 v0.12.0 Library containing the definition of
S-expressions and some base converters
ssl 0.5.7 Bindings for OpenSSL
taglib 0.3.3 Bindings for the taglib library which provides
functions for reading tags in headers of audio files
vorbis 0.7.1 Bindings to libvorbis
```
My current script is.
```
emergency = single("/home/radio/media/silent/5-minutes.mp3")
url = "/.m3u8 url"
video_source = gstreamer.hls(url)
audio_only = drop_video(video_source)
s = fallback(track_sensitive=false, [audio_only,emergency])
```
**Error Log**, gstreamer retires every 3 seconds but failed to connect, works
fine if I restart the script manually but fails again after few hours
```
2019/04/25 14:06:43 [input(dot)gstreamer(dot)audio_video_6646:3] Will retry
again in 3.00
2019/04/25 14:06:46 [input(dot)gstreamer(dot)audio_video_6646:3] Restarting
pipeline
2019/04/25 14:06:46 [input(dot)gstreamer(dot)audio_video_6646:3] Error while
restarting pipeline: Gstreamer.Failed
2019/04/25 14:06:46 [input(dot)gstreamer(dot)audio_video_6646:4] Backtrace:
Raised by primitive operation at file "gstreamer.ml" (inlined), line 75,
characters 2-94
Called from file "io/gstreamer_io.ml", line 95, characters 17-43
Called from file "tools/tutils.ml", line 80, characters 16-19
Re-raised at file "tools/tutils.ml", line 82, characters 33-40
Called from file "io/gstreamer_io.ml", line 87, characters 8-515
```
--
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-486581866
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users