Bite sized Qt tutorial screencasts, edited as AviSynth+ scripts.
| Directory | Contents |
|---|---|
screencasts/ |
One folder per screencast, with its AviSynth script, narration script and assets. tools.avsi holds the functions that all screencasts share. |
qtavisynth/ |
QtAviSynth, the AviSynth+ plugin that renders titles, bullets, highlights, SVG and QML animations and zoom-and-pan effects with Qt. Also the avspreview application and the tests. See its README. |
scripts/ |
Helpers for recording and editing, see below. |
archive/ |
Screencasts, artwork, the website and tools from 2009 to 2019. Kept for reference, not maintained. |
Recordings and audio are not in the repository. The screencasts expect them in a
qtorials_media directory next to the repository, see gMediaDir in
tools.avsi.
- Build QtAviSynth, see
qtavisynth/README.md. The plugin is written toscreencasts/. - Create
screencasts/<name>/<name>.avsand start it withImport("../tools.avsi"), likeqtprofiler.avsdoes. This imports the shared functions and loads the plugin,qtavisynth.dllon Windows orlibqtavisynth.soon Linux, throughloadqtavisynth.avsi. - Level the voice-over recording with
scripts/levelvoice.py. It brings the sentences to the same level, and the whole recording to the loudness that YouTube plays at, −14 LUFS with true peaks below −1 dBTP. It writes the sentences asaudioClip()calls to paste into the script. It reads the recording with FFmpeg and needspip install numpy scipy. With--transcribe, each call gets a comment with what is said in it. This needspip install faster-whisper. - Run
scripts/formatcast.pyon the script. It writes an AutoHotkey v2 script that types the code snippets during the recording, and an HTML page with the narration to read from. Both are generated next to the script and are not committed.
| Script | Purpose |
|---|---|
levelvoice.py |
Levels a voice-over recording sentence by sentence, normalizes it to the loudness of YouTube with a limiter, and lists the sentences as audioClip() calls |
formatcast.py |
Turns an annotated .avs script into an AutoHotkey v2 typing script (.ahk) and a narration page (.html) |
encodeavs.py |
Encodes an .avs script with FFmpeg to a video file next to it, in the formats of avspreview |
makeproxy.py |
Encodes a scaled-down QuickTime Animation proxy of a video file next to it, as <name>_proxy.mov |
_ffmpegencode.py |
Module with the FFmpeg encoding shared by encodeavs.py and makeproxy.py, and the FFmpeg lookup also used by levelvoice.py and start_ffmpeg_capture.py, not to be run |
start_virtualdub_capture.ahk |
AutoHotkey launcher for screen capture with VirtualDub2 |
start_ffmpeg_capture.py |
Lossless screen capture with FFmpeg into a timestamped file, on Windows and on Linux with Wayland |
resizevboxwindow.au3, resizevmwarewindow.au3 |
Resize a VirtualBox or VMware window to an exact guest resolution |
Run levelvoice.py --help, formatcast.py --help, encodeavs.py --help and start_ffmpeg_capture.py --help for their options.
Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported, see LICENSE.
Alessandro Portale