Hi! I'm actively working on enabling that feature with ffmpeg. Keep an eye on the merges, in particular this one: https://github.com/savonet/liquidsoap/pull/1141 One merged, I'm hoping ffmpeg should be the way to go for youtube live.
Romain Le ven. 10 avr. 2020 à 12:06, Per Gunnarsson <mustafe...@gmail.com> a écrit : > I remember people working on playing youtube with liquidsoap. > > Today I tried this but my box seems to crash all the time so maybe > somebody else can check. > > The one with gstlaunch seems to work, I haven't figured out how to do it > with ffmpeg. > > tuben = input.external.rawaudio(max=30.0, buffer=20.0, > "/usr/local/bin/youtube-dl -q -o - -f bestaudio --yes-playlist > https://youtu.be/Nj2U6rhnucI?list=PLyORnIW1xT6waC0PNjAMj33FdK2ngL_ik | > /usr/bin/gst-launch-1.0 -q fdsrc fd=0 ! decodebin ! audioconvert ! > audioresample ! fdsink fd=1") > #tuben = input.external.rawaudio(max=30.0, buffer=20.0, > "/usr/local/bin/youtube-dl -q -o - -f bestaudio --yes-playlist > https://www.youtube.com/watch?v=_mWcBtx7mnQ | /usr/bin/ffmpeg -loglevel > quiet -i pipe:0 -acodec s16le pipe:1") > > output.dummy(fallible=true, tuben) > > Regards, > > Per Gunnarsson > > > > _______________________________________________ > Savonet-users mailing list > Savonet-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/savonet-users >
_______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users