Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-27 Thread Romain Beauxis
Hey y'all. The first has been merged indeed but the current `master` shouldn't be considered safe for production, it's currently in alpha stage, pending more work and testing. Meanwhile, the work around should be safe-ish to use instead and is based on the latest `stable` release. I deleted

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-23 Thread Matthew
Thanks I upgraded my opam to the latest 2., and am on liquidsoap 1.3.6 now, but when i run the command i am now getting. `2019/02/23 12:37:05 [protocol.ffmpeg2wav:3] Failed to resolve process:wav,ffmpeg -y -i $(input) -ac 2 "/tmp/liq-process909a63.wav":/tmp/liq-process466c63.` -- You are

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-23 Thread Xavier Cazin
Hi Matthew, I'm not sure that the version number is the reason why the youtube-dl protocol doesn't work : it has worked since 1.3.4 on my MacOS. But you probably should update opam to 2.0.3 if you want to be able to upgrade the newest liquidsoap versions. This might require getting rid of the

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-23 Thread Xavier Cazin
Hi Matthew, Regarding the workaround, I guess Romain forgot that he already merged it into master : https://github.com/savonet/liquidsoap/pull/703 :-) So all you need to do is probably opam update && opam upgrade Regarding your issue, I stumble on the same one with Debian, while the youtube

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-23 Thread Matthew
Well I am on Debian 9 and there are no updates available on opam latest it gave me 1.3.4 which is what I am on -- You are receiving this because you commented. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-22 Thread Matthew
Yes I am using opam, I ran your steps and got to the 3rd only to get error: pathspec 'workaround-691' did not match any file(s) known to git. (I'm still fairly new sorry, haha). What would I do from here? Was I supposed to install from github using opam? -- You are receiving this because you

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-21 Thread Romain Beauxis
Hmm okay the video looks short. You might have a case of bug #691. Are you using the `opam` package? If so you might be able to try the fix for this bug: ``` git clone --recursive https://github.com/savonet/liquidsoap.git cd liquidsoap git checkout workaround-691 opam pin add . ``` -- You are

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-21 Thread Romain Beauxis
How long is the video? If it's a long one you will need to extend the request resolution `timeout`. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-21 Thread Romain Beauxis
Ok. So what are you trying to do and what error message are you getting? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-21 Thread Matthew
yes i compiled ffmpeg with liquidsoap -- 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-466106765___ Savonet-users

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-21 Thread Romain Beauxis
@MattMski do you have `ffmpeg` installed? -- 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-466070068___ Savonet-users

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2019-02-21 Thread Matthew
Getting the same errors, would love some help -- 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-465909743___

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2018-09-09 Thread Romain Beauxis
Added :-) -- 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-419755175___ Savonet-users mailing list

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2018-09-09 Thread Romain Beauxis
Closed #623 via 24ddbe44052ef4fed3820715e20862e4c6e5f438. -- 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#event-1834812977___

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2018-09-09 Thread Daniel Løvbrøtte Olsen
hmm using ffmpeg2wav strips the song information away which isn't ideal but I'll have to live with it :smile: -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2018-09-09 Thread Daniel Løvbrøtte Olsen
Oh installing ffmpeg through opam doesn't install ffmpeg with apt... ffmpeg2wav works now sorry about that! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2018-09-09 Thread Daniel Løvbrøtte Olsen
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

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2018-09-09 Thread Romain Beauxis
Just pushed changes to the `youtube-dl` protocol so that this now works as well: ``` "ffmpeg2wav:youtube-dl:-IYXYB0r-Ww" ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2018-09-09 Thread Romain Beauxis
As for the gstreamer decode, yes it should work. You would need to check the file's extension against the configured list: ``` set("decoder.file_extensions.gstreamer",["wma","wmv","avi","mp4","3gp","webm","mkv"]) ``` I'll try to give it a try. -- You are receiving this because you are

Re: [Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2018-09-09 Thread Romain Beauxis
Hi! Excellent question. Yes, protocol chaining is the way this is intended to work. I just sucesfully tested this locally: ``` "ffmpeg2wav:youtube-dl:https$(colon)//youtube.com/watch?v=-IYXYB0r-Ww" ``` You need to be careful with extra `:` when chaining urls. Thus the `$(colon)` here, to avoid

[Savonet-users] [savonet/liquidsoap] youtube-dl webm decoding issues (#623)

2018-09-09 Thread Daniel Løvbrøtte Olsen
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