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
splice
Extract timestamps from a video.
$ python -m jaraco.media.splice infile.mp4 outfile.mp4 00:00:00-01:32:46 01:47:20-01:49:17
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.
Metadata
Release files for jaraco.media 4.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jaraco_media-4.1.0.tar.gz | 36.5 kB | Without provenance | Details for jaraco_media-4.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jaraco_media-4.1.0-py3-none-any.whl | Python 3 | none | any | Details for jaraco_media-4.1.0-py3-none-any.whl |
Total release size: 70.3 kB
Release files / jaraco_media-4.1.0.tar.gz
| Download URL | jaraco_media-4.1.0.tar.gz |
|---|---|
| Size | 36.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6400fb6aa7611ea2a73fd3241c903fc4ee82968f9a6f965715316cfd9d68746
|
|
BLAKE2b-256 checksum How to use checksums |
18cf8d74cdba411eb329efd298b29a6b2493640adadda54dc6c5e833f6702fe6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / jaraco_media-4.1.0-py3-none-any.whl
| Download URL | jaraco_media-4.1.0-py3-none-any.whl |
|---|---|
| Size | 33.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4ad46dff790d800850e73524df2b596bd6354029ee8370de7f1b5e152fcc743
|
|
BLAKE2b-256 checksum How to use checksums |
cd90a8a967c21b5a2f91665a089153cad4f26bf0b76dca0bdc7a36a899ead879
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for jaraco.media 4.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.