Comments (1)
Not sure whether this is still relevant for you after such a long time, but it is for me, so I'm documenting what I figured out.
Fixed in blauzaaan@55337fa
I'm getting errors during npm run install-server
:
> [email protected] postinstall /home/pi/rio/rio-server/node_modules/youtube-dl
> node ./scripts/download.js
Error: Could not find download link in https://rg3.github.io/youtube-dl/download.html
...
See: przemyslawpluta/node-youtube-dl#162
It's fixed later versions, so change rio-server/package.json:
"youtube-dl": "1.11.0"
--> "youtube-dl": "1.13.1"
(newer versions seem to depend on a package which require newer node versions, so not using those for now)
However, with the video I selected, I got
Error: Command failed: /home/pi/rio/rio-server/node_modules/youtube-dl/bin/youtube-dl --dump-json --format=17 http://www.youtube.com/watch?v=MLFWLJSPN7I
ERROR: requested format not available
Therefore I additionally changed the format in rio-server/inputs/video-worker.js
:
// var video = youtubedl(url, ['--format=17']); // 176 x 144 @ 12fps
var video = youtubedl(url, ['--format=worst']); // changed as at least some videos are not available in format 17
If considering switching to youtube-dl-exec, remember to not only in package.json
, but also in inputs/video-worker.js
:
const youtubedl = require('youtube-dl');
from rio.
Related Issues (18)
- Raspberry Pi WS2812b implementation HOT 28
- Add video tutorial for integrating with an LED wall HOT 2
- Unable to light up LED strips with rio-server HOT 2
- Unable to npm run server HOT 1
- sendToPi: true does not work HOT 2
- "accepted connection" but no lights HOT 17
- New Feature Request HOT 1
- Compatible with WS2801? HOT 2
- Use rio with Arduino? HOT 1
- Sending... But no image HOT 2
- Pathway fro USB to LED Wall HOT 3
- can't install on rpi3 HOT 5
- More Pixels HOT 3
- Stand Alone
- Cannot run rio-server on rpi2 model b, ubuntu server 20.04 HOT 2
- Server running, but no lights are outputted on RPI 2 model b HOT 2
- Question about Rio-Server HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rio.