mirror of
https://git.lecygnenoir.info/LecygneNoir/prismedia.git
synced 2025-10-03 09:29:16 +02:00
No description
lib | ||
.gitignore | ||
LICENSE | ||
peertube_secret.sample | ||
prismedia_upload.py | ||
README.md | ||
youtube_secret.json.sample |
Prismedia
A scripting way to upload videos to peertube and youtube
Dependencies
Search in your package manager, otherwise use pip install --upgrade
- google-auth
- google-auth-oauthlib
- google-auth-httplib2
- google-api-python-client
- docopt
- schema
- python-magic
- requests-toolbelt
How To
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 to video file name
-d, --description=STRING Description of the video.
-t, --tags=STRING Tags for the video. comma separated
-c, --category=STRING Category for the videos, see below. Default to films
-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
Features
- Youtube upload
- Peertube upload
- Support of all videos arguments (description, tags, category, licence, ...)
- description
- tags
- categories
- licence
- thumbnail/preview
- Use a config file (NFO) file to retrieve videos arguments
- Record and forget: put the video in a directory, and the script uploads it for you
- Usable on Desktop (Linux and/or Windows and/or MacOS)
- Graphical User Interface
Sources
inspired by peeror and youtube-upload