Rudloff / alltube

Web GUI for youtube-dl
GNU General Public License v3.0
2.97k stars 585 forks source link

Streaming returning empty files #134

Closed Liandriz closed 7 years ago

Liandriz commented 7 years ago

Following https://github.com/Rudloff/alltube/issues/133 now working, i'm getting videos through the streaming function, working like a charm with some Debian box. Now, i want to get it to work on some Alpine Linux + nginx, i can get all working for the download links, but for the streaming versions, it only gives me some empty - but well named - files.

Any idea to get it working on Alpine please (already checked the dependencies, seems they're all good to go) ?

Rudloff commented 7 years ago

Unfortunately, I don't use Alpine or Nginx. But you should probably look at your logs and see if there are any PHP errors there.

Liandriz commented 7 years ago

No error at all, from PHP, though it was a secondary nginx acting as reverse proxy, but same thing with direct access, empty files. will revert to some Debian for this one i think.

Rudloff commented 7 years ago

You could also try running Alltube's tests (./vendor/bin/phpunit) in order to see what fails exactly.

Liandriz commented 7 years ago

Weird. Got :

Exception: Can't find rtmpdump /www/alltube/classes/VideoDownload.php:224 /www/alltube/classes/VideoDownload.php:305 /www/alltube/tests/VideoDownloadTest.php:349

It's in vendor + installed systemwide, must be some bash on Alpine misconfig or something. Will get back to some Debian so, thanks for help.

Rudloff commented 7 years ago

The binary in vendor/bin/rtmpdump is for x86-64 Linux. Is your system 64 bits? If not, you can try to use the system-wide binary by setting this in config/config.yml:

rtmpdump: /path/to/rtmpdump
Liandriz commented 7 years ago

Already tried all the path available, in vendor/ and system-installed package. Feels like this is some Alpine bash problem. And yes, x64 container.

Rudloff commented 7 years ago

Since it seems the issue is not caused by Alltube, I'm closing. Please feel free to reopen if you need more info.