DVD and other multimedia tools
Project description
concat
FFmpeg provides a routine to concatenate media files. Unfortunately, the UI for that routine is so bad that even ffmpeg provides multiple, platform-specific techniques to generate the input. jaraco.media.compat, in contrast, takes a number of input files and optionally an output file and input filter, creates the input file in its required syntax and then runs ffmpeg against that file. Example:
$ python -m jaraco.media.concat /Volumes/drone/DCIM/100MEDIA/DJI_*.MP4 -i '(17|18|19)' -o /Volumes/Public/Flights/2022-02-20.mp4
srt-concat
Concatenate SRT files, updating the offsets based on the durations of their associated media files. Example:
$ python -m jaraco.media.srt-concat /Volumes/Drone/DCIM/100MEDIA/DJI_00*.SRT -i '(17|18|19)' -o /Volumes/Public/Flights/2022-02-20.srt
Troubleshooting
If you see “libaacs not initialized!” or “aacs_open() failed”, remember that you have to re-register with the latest beta key each month.
See this blog for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jaraco.media-3.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 980ec76e225b6d285e5fdd74559a2d5fc42c7f21bb0bbd9c35f0867fae208544 |
|
MD5 | 27da8177c4a37bb20c744b82f6bcdfc0 |
|
BLAKE2b-256 | ac4a0c95d7d82645326b0ef4351581f3b49cec18f5cef6f232fe4a7755b8bb3a |