**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 icecast as mp3 audio stream
**Version details**
- OS: Ubuntu Xenial (16.04 LTS)
- Version Liquidsoap 1.3.6
**Install method**
The OPAM way
Log (Level 5)
```
2019/03/01 15:57:06 >>> LOG START
2019/03/01 15:57:06 [main:3] Liquidsoap 1.3.6
2019/03/01 15:57:06 [main:3] Using: bytes=[distributed with OCaml 4.02 or
above] pcre=7.4.1 dtools=0.4.1 duppy=0.8.0 cry=0.6.2 mm=0.4.0 ogg=0.5.2
vorbis=0.7.1 mad=0.4.5 dynlink=[distributed with Ocaml] lame=0.3.3
gstreamer=0.3.0 fdkaac=0.2.1 samplerate=0.1.4 taglib=0.3.3 camomile=1.0.1
2019/03/01 15:57:06 [gstreamer.loader:3] Loaded GStreamer 1.8.3 0
2019/03/01 15:57:06 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2019/03/01 15:57:06 [frame:3] Frame size must be a multiple of 1764 ticks =
1764 audio samples = 1 video samples.
2019/03/01 15:57:06 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio
samples = 1764 ticks.
2019/03/01 15:57:06 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video
samples = 1764 ticks.
2019/03/01 15:57:06 [video.converter:4] Couldn't find preferred video
converter: gavl.
2019/03/01 15:57:06 [threads:3] Created thread "gstreamer_main_loop" (1 total).
2019/03/01 15:57:06 [audio.converter:4] Using preferred samplerate converter:
libsamplerate.
2019/03/01 15:57:06 [threads:3] Created thread "generic queue #1".
2019/03/01 15:57:06 [threads:3] Created thread "generic queue #2".
2019/03/01 15:57:06 [threads:3] Created thread "non-blocking queue #1".
2019/03/01 15:57:06 [threads:3] Created thread "non-blocking queue #2".
2019/03/01 15:57:06 [clock:4] Currently 1 clocks allocated.
2019/03/01 15:57:06 [clock.wallclock_main:4] Starting 1 sources...
2019/03/01 15:57:06 [source:4] Source output.icecast_6321 gets up.
2019/03/01 15:57:06 [source:4] Source fallback_6319 gets up.
2019/03/01 15:57:06 [source:4] Source single_6317 gets up.
2019/03/01 15:57:06 [single_6317:4] Content kind is {audio=2;video=0;midi=0}.
2019/03/01 15:57:06 [single_6317:4] Activations changed: static=[],
dynamic=[fallback_6319:Demo_Stream_24kbps:Demo_Stream_24kbps].
2019/03/01 15:57:06 [fallback_6319:4] Activations changed:
static=[Demo_Stream_24kbps:Demo_Stream_24kbps], dynamic=[].
2019/03/01 15:57:06 [Demo_Stream_24kbps:4] Activations changed:
static=[Demo_Stream_24kbps], dynamic=[].
2019/03/01 15:57:06 [Demo_Stream_24kbps:4] Enabling caching mode: active source.
2019/03/01 15:57:06 [Demo_Stream_24kbps:3] Connecting mount 4 for
sou...@s1.mydoamin.com...
2019/03/01 15:57:06 [protocol.youtube-dl:4] Executing youtube-dl --get-title
--get-filename -- "https://www.youtube.com/watch?v=rmCA3qQkqso"
2019/03/01 15:57:06 [lang.run_process:4] Starting process
2019/03/01 15:57:06 [lang.run_process:4] Closing process's stdin
2019/03/01 15:57:06 [Demo_Stream_24kbps:3] Connection setup was successful.
2019/03/01 15:57:06 [threads:3] Created thread "wallclock_main" (2 total).
2019/03/01 15:57:06 [clock:4] Main phase starts.
2019/03/01 15:57:06 [clock.wallclock_main:3] Streaming loop starts,
synchronized with wallclock.
2019/03/01 15:57:06 [single_6317:5] Queue is empty!
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!
2019/03/01 15:57:06 [single_6317:5] Failed to prepare track: no file.
2019/03/01 15:57:06 [Demo_Stream_24kbps:3] Source failed (no more tracks)
stopping output...
2019/03/01 15:57:06 [Demo_Stream_24kbps:3] Closing connection...
2019/03/01 15:57:06 [single_6317:5] Queue is empty!
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 directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/726
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users