HOW TO UPLOAD VIDEOS TO JOYSTREAM FROM WINDOWS

cyberguy
3 min readFeb 22, 2021

I noticed that most of the tutorials on how to upload videos to #Joystream were written for Mac or Linux users, however a lot of people in the growing Joystream community were asking about how to upload the videos using Windows. Below is a quick guide for Windows user:

  1. You need to download the node.js package from https://www.npmjs.com/get-npm (use the LTS version). NOTE: If you are a Windows 7 user then you will need a different NPM package: https://www.centennialsoftwaresolutions.com/post/install-node-js-on-windows-7

2. Once downloaded — open the .MSI file and complete installation. By default node will be installed under “C:/Program Files/nodejs folder

3. You also need to install Git on your Windows PC to correctly interpret the CLI commands: http://git-scm.com/downloads . IMPORTANT: Close any open command line windows if you any open at this time.

4. Search for “command” in Windows start menu. You should see “Node js command prompt”. Click it, and you will have a Command Prompt with node.js running.

5. Then you need to install Joystream CLI:

npm install -g @joystream/cli

6. Install axios

npm install axios@^0.10.0 --save

7. In command line type the following command to navigate to root of C drive

cd /

8. To create an uploads folder where you will place your .json file and videos execute this command

mkdir joystream-uploads

9. To go to the created uploads folder run the following command

cd joystream-upload

10. Now use the Joystream commands to finish configuration and get the file uploaded

joystream-cli api:setUri

Select “Current Testnet official Joystream node” option by using up/down arrows

11. Run the following command to make sure the end point was set

joystream-cli api:getUri

12. Provide a path to were you saved your main profile .json file (not stash or controller for those who created a validator node). Change path to the actual path to the folder on your computer.

joystream-cli account:import C:/joystream-upload/YourFile.json

13. Select your account from the list

joystream-cli account:choose

14. Create your channel by providing its name (handle)

joystream-cli media:createChannel
  • Handle — channel name
  • Description — channel description
  • Next — do you want your channel image?
  • Do you need avatar?
  • Public access?
  • Assign language?
  • Confirm: y/n

15. Provide a path to your video on the computer and follow the upload prompts by using the up/down arrows. Change path to the actual path to the folder on your computer.

joystream-cli media:uploadVideo C:/joystream-upload/YourVideo.mov

Enjoy the uploading. I hope this guide helps out the community and let me know if you have any questions or feedback.

p.s. huge kudos to я LOPEGOR for translation, and to dd659 and gryhail for testing and feedback.

--

--