Skip to main content

Batch upload talk videos to YouTube

Project description

This package uploads recordings from Pyvo to YouTube using YouTube API v3. It is based heavily on Google example code. It reads video metadata YAML files generated by Petr Viktorin’s talk video maker.

Usage

First, you need to authenticate with Google using OAuth 2.0. For that, you need client secrets file. One is bundled, you can also make your own in the Google Developers Console.

During the first run, you’ll get prompted to authenticate to a YouTube channel by opening a webpage in a browser and copying back a token. Those credentials are then stored by default in ~/.config/talk-video-uploader/youtube_credentials.json.

To upload videos, create a YAML file with metadata for each video file and give path to those files as arguments to talk-video-uploader.

YAML metadata example

fname: Videofile.mkv
date: 2018-01-01
event: Ostravské Pyvo
url: https://pyvo.cz/ostrava-pyvo/2018-01/
lightning: true
speaker: Jan Novák
title: Interesting topic
tags:
  - Python
  - Pyvo
  - Something
language:
  audio: cs

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

talk_video_uploader-0.1.tar.gz (5.9 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page