I have a request source set up like this:
`requests = audio_to_stereo(drop_video(request.queue(id="request")))`
This allows the request queue to download youtube videos which are downloaded
in mp4 and play them as audio. But the vast majority fails because liquidsoap
cant find a suitable decoder for webm. Even though I thought gstreamer was able
to do this.
My enviroment:
```
RUN apt-get -q update && \
apt-get install -qq -yy python festival sox && \
apt-get clean
RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o
/usr/local/bin/youtube-dl && \
chmod a+rx /usr/local/bin/youtube-dl
USER opam
RUN opam switch 4.05.0 && \
opam depext cry faad flac gstreamer lame liquidsoap mad opus samplerate ssl
taglib vorbis && \
opam install cry faad flac gstreamer lame liquidsoap mad opus samplerate
ssl taglib vorbis
```
As a workaround I'm going to reimplement the youtube-dl protocol in my script
to extract audio. But getting webm decoding working would probably be good for
other things too.
Or maybe chaining of protocols should work in requests too? That way one could
request ffmpeg2wav:youtube-dl:someurl
--
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
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users