Python script for processing and assembling a podcast from various input sources

Nigel Stanger authored on 23 Sep 2018
test • Added test config files for parser. 6 years ago
.gitignore • Ignored .pyc files. 6 years ago
README.md • Added basic README file. 6 years ago
config_help.md • Minor formatting change. 6 years ago
config_parser.py Fixed bug in output from parser test. 4 years ago
globals.py Converted os.path to pathlib and all #! lines to python3 (ref #32). 4 years ago
process_podcast.code-workspace Added a development virtualenv and documented requirements. 4 years ago
process_podcast.py Fixed logging of SegmentError (renamed to follow conventions) — ref #32. 4 years ago
progress_bar.py Converted os.path to pathlib and all #! lines to python3 (ref #32). 4 years ago
requirements.txt Added a development virtualenv and documented requirements. 4 years ago
segment.py Updated superclass initialisation for Python 3 (ref #32). 4 years ago
shell_command.py Updated superclass initialisation for Python 3 (ref #32). 4 years ago
test_convert_command.py Cleaned up test documentation (ref #31). 4 years ago
test_ffmpeg_command.py Cleaned up test documentation (ref #31). 4 years ago
test_ffmpeg_concat_command.py Reduced punch out timedeltas from 20 days to 20 seconds. 4 years ago
test_ffprobe_command.py Cleaned up test documentation (ref #31). 4 years ago
test_shared.py Made more effective use of subtests (ref #31). 4 years ago
test_shell_command.py Made more effective use of subtests (ref #31). 4 years ago
README.md

process_podcast

This script enables you to assemble an ingterated podcast of a lecture or class from several different inputs, including:

  • recorded audio
  • screen recordings
  • other video
  • JPEG images representing individual lecture slides
  • a PDF containing the lecture slides

Audio and video may come from the same file, or from separate files. You also have the ability to insert small “joiner” sections of audio and video between major “segments” of the podcast. You can even configure the “joiner” so that it repeats the last frame of the previous segment for the desired duration.

For help on command line options: process_podcast.py --help.

For help on the podcast configuration file format, see the [configuration file documentation][].

Requirements

  • Python 2.7 series. (Not tested with Python 3.)
  • The pyparsing module. Linux: pip install pyparsing, easy_install pyparsing, or whatever other method you normally use to install Python modules; macOS (MacPorts): port install py-parsing. Also see the [pyparsing documentation][].
  • The pexpect module. Linux: pip install pexpect, easy_install pexpect, or whatever other method you normally use to install Python modules; macOS (MacPorts): port install py-pexpect. Also see the [pexpect documentation][].