Scripting way to upload videos to peertube and youtube
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.3 KiB

6 years ago
6 years ago
6 years ago
6 years ago
  1. # ptyt_upload
  2. A scripting way to upload videos to peertube and youtube
  3. ## Dependencies
  4. Search in your package manager, otherwise use ``pip install --upgrade``
  5. - google-auth
  6. - google-auth-oauthlib
  7. - google-auth-httplib2
  8. - google-api-python-client
  9. - docopt
  10. - schema
  11. - magic
  12. ## How To
  13. Currently in heavy development
  14. Support only mp4 for cross compatibily between Youtube and Peertube
  15. ```
  16. ./ptyt_upload.py --help
  17. ptyt_upload - tool to upload videos to Peertube and Youtube
  18. Usage:
  19. ptyt_upload.py --file=<FILE> [options]
  20. ptyt_upload.py -h | --help
  21. ptyt_upload.py --version
  22. Options:
  23. --name=NAME Name of the video to upload. default to video file name
  24. -d, --description=STRING Description of the video.
  25. -t, --tags=STRING Tags for the video. comma separated
  26. -h --help Show this help.
  27. --version Show version.
  28. ```
  29. ## Features
  30. - [X] Youtube upload
  31. - [ ] Peertube upload
  32. - [ ] Support of all videos arguments (description, tags, category, licence, ...)
  33. - [ ] Use file to retrieve videos arguments
  34. - [ ] Record and forget: put the video in a directory, and the script uploads it for you
  35. - [ ] Usable on Desktop (Linux and/or Windows and/or MacOS)
  36. - [ ] Graphical User Interface
  37. ## Sources
  38. inspired by [peeror](https://git.drycat.fr/rigelk/Peeror) and [youtube-upload](https://github.com/tokland/youtube-upload)