LecygneNoir 7c12bcbc31 | 6 years ago | |
---|---|---|
lib | 6 years ago | |
.gitignore | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
peertube_secret.sample | 6 years ago | |
prismedia_upload.py | 6 years ago | |
youtube_secret.json.sample | 6 years ago |
A scripting way to upload videos to peertube and youtube
Search in your package manager, otherwise use pip install --upgrade
Currently in heavy development
Support only mp4 for cross compatibily between Youtube and Peertube
./prismedia_upload.py -h
prismedia_upload - tool to upload videos to Peertube and Youtube
Usage:
prismedia_upload.py --file=<FILE> [options]
prismedia_upload.py -h | --help
prismedia_upload.py --version
Options:
--name=NAME Name of the video to upload. [default: video filename]
-d, --description=STRING Description of the video. [default: default description]
-t, --tags=STRING Tags for the video. comma separated
-c, --category=STRING Category for the videos, see below. [ default: Films]
--cca License should be CreativeCommon Attribution (affects Youtube upload only)
-p, --privacy=STRING Choose between public, unlisted or private. [default: private]
--disable-comments Disable comments (Peertube only) [default: comments are enabled]
--nsfw Set the video as NSFW (Peertube only as YT API does not support) [default: video is not restricted]
-h --help Show this help.
--version Show version.
Categories:
Category is the type of video you upload. Default is films.
Here are available categories from Peertube and Youtube:
music, films, vehicles,
sports, travels, gaming, people,
comedy, entertainment, news,
how to, education, activism, science & technology,
science, technology, animals
inspired by peeror and youtube-upload