Wow quick response!
I did try set the gstreamer file extensions but that failed on my install.
Good to know that chaining is supposed to work! unfortunantly even with:
`echo request.push
'ffmpeg2wav:youtube-dl:https$(colon)//www.youtube.com/watch?v=gSkocU5YsHU' | nc
127.0.0.1 5000`
This is the result
```
main_1 | 2018/09/09 20:10:42 [protocol.process:4] Processing wav,ffmpeg
-y -i $(input) -ac 2
$(output):youtube-dl:https$(colon)//www.youtube.com/watch?v=gSkocU5YsHU
main_1 | 2018/09/09 20:10:42 [lang.run_process:4] Starting process
main_1 | 2018/09/09 20:10:42 [lang.run_process:4] Closing process's stdin
main_1 | 2018/09/09 20:10:43 [lang.run_process:4] Process exited
main_1 | 2018/09/09 20:10:43 [lang.run_process:4] Cleaning up process
main_1 | 2018/09/09 20:10:43 [protocol.process:4] Processing ,rm -f
$(output) && youtube-dl -q -f best --no-playlist -o $(output)
"https$(colon)//www.youtube.com/watch?v=gSkocU5YsHU"
main_1 | 2018/09/09 20:10:43 [protocol.process:4] Executing rm -f
"/tmp/liq-process2a5623." && youtube-dl -q -f best --no-playlist -o
"/tmp/liq-process2a5623." "https://www.youtube.com/watch?v=gSkocU5YsHU"
main_1 | 2018/09/09 20:10:43 [lang.run_process:4] Starting process
main_1 | 2018/09/09 20:10:43 [lang.run_process:4] Closing process's stdin
main_1 | 2018/09/09 20:10:46 [lang.run_process:4] Process exited
main_1 | 2018/09/09 20:10:46 [lang.run_process:4] Cleaning up process
main_1 | 2018/09/09 20:10:46 [protocol.process:4] Executing ffmpeg -y -i
"/tmp/liq-process2a5623." -ac 2 "/tmp/liq-processf2487d.wav"
main_1 | 2018/09/09 20:10:46 [lang.run_process:4] Starting process
main_1 | 2018/09/09 20:10:46 [lang.run_process:4] Closing process's stdin
main_1 | 2018/09/09 20:10:46 [lang.run_process:4] Process exited
main_1 | 2018/09/09 20:10:46 [lang.run_process:4] Cleaning up process
main_1 | 2018/09/09 20:10:46 [protocol.process:3] Failed to execute
ffmpeg -y -i "/tmp/liq-process2a5623." -ac 2 "/tmp/liq-processf2487d.wav":
("exit","127")
main_1 | 2018/09/09 20:10:46 [request:4] Failed to resolve
"process:wav,ffmpeg -y -i $(input) -ac 2
$(output):youtube-dl:https$(colon)//www.youtube.com/watch?v=gSkocU5YsHU"! For
more info, see server command 'trace 0'.
```
```
[2018/09/09 20:10:42] Pushed
["ffmpeg2wav:youtube-dl:https$(colon)//www.youtube.com/watch?v=gSkocU5YsHU";...].
[2018/09/09 20:10:42]
"ffmpeg2wav:youtube-dl:https$(colon)//www.youtube.com/watch?v=gSkocU5YsHU"
entered the secondary queue : position #1.
[2018/09/09 20:10:42] Entering the primary queue.
[2018/09/09 20:10:42] Resolving
"ffmpeg2wav:youtube-dl:https$(colon)//www.youtube.com/watch?v=gSkocU5YsHU"
(timeout 20s)...
[2018/09/09 20:10:42] Pushed ["process:wav,ffmpeg -y -i $(input) -ac 2
$(output):youtube-dl:https$(colon)//www.youtube.com/watch?v=gSkocU5YsHU";...].
[2018/09/09 20:10:42] Resolving "process:wav,ffmpeg -y -i $(input) -ac 2
$(output):youtube-dl:https$(colon)//www.youtube.com/watch?v=gSkocU5YsHU"
(timeout 20s)...
[2018/09/09 20:10:42] Processing wav,ffmpeg -y -i $(input) -ac 2
$(output):youtube-dl:https$(colon)//www.youtube.com/watch?v=gSkocU5YsHU
[2018/09/09 20:10:46] Executing ffmpeg -y -i "/tmp/liq-process2a5623." -ac 2
"/tmp/liq-processf2487d.wav"
[2018/09/09 20:10:46] Failed to execute ffmpeg -y -i "/tmp/liq-process2a5623."
-ac 2 "/tmp/liq-processf2487d.wav": ("exit","127")
[2018/09/09 20:10:46] Every possibility failed!
[2018/09/09 20:10:46] Request finished.
```
I also tried to install master by cloning the repo and pinning but liquidsoap
wants 0.4.0 of mm. But pinning that lead to this error:
```
mm is now path-pinned to /home/opam/ocaml-mm
[WARNING] Rsync partially failed:
symlink has no referent:
"/home/opam/ocaml-mm/bootstrap"
rsync error: some files/attrs were not
transferred (see previous errors) (code
23) at
main.c(1183) [sender=3.1.1]
[mm] /home/opam/ocaml-mm/ synchronized
[mm] Installing new package description from
/home/opam/ocaml-mm
mm needs to be reinstalled.
The following actions will be performed:
- upgrade mm 0.3.1 to dev*
- recompile liquidsoap 1.3.3 [uses mm]
===== 1 to recompile | 1 to upgrade =====
Do you want to continue ? [Y/n] y
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[WARNING] Rsync partially failed:
symlink has no referent:
"/home/opam/ocaml-mm/bootstrap"
rsync error: some files/attrs were not
transferred (see previous errors) (code
23) at
main.c(1183) [sender=3.1.1]
[mm.dev] /home/opam/ocaml-mm/ synchronized
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-> removed liquidsoap.1.3.3
-> removed mm.0.3.1
[ERROR] The compilation of mm failed at
"./bootstrap".
Processing 3/4: [mm: ocamlfind remove]
#=== ERROR while installing mm.dev ============================================#
# opam-version 1.2.2 (aa258ecc06d3aea5a67f442a4ffd23f2a457180b)
# os linux
# command ./bootstrap
# path /home/opam/.opam/4.05.0/build/mm.dev
# compiler 4.05.0
# exit-code 127
# env-file /home/opam/.opam/4.05.0/build/mm.dev/mm-84-ad8886.env
# stdout-file /home/opam/.opam/4.05.0/build/mm.dev/mm-84-ad8886.out
# stderr-file /home/opam/.opam/4.05.0/build/mm.dev/mm-84-ad8886.err
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions were aborted
- install liquidsoap 1.3.3
The following actions failed
- install mm dev
The following changes have been performed
- remove liquidsoap 1.3.3
- remove mm 0.3.1
[NOTE] Pinning command successful, but your
installed packages may be out of sync.
The former state can be restored with:
opam switch import
"~/.opam/4.05.0/backup/state-20180809181615.export"
```
So I still haven't gotten it to work sadly :confused:
--
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/623#issuecomment-419734492
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users