Skip to main content

DVD and other multimedia tools

Project description

https://img.shields.io/pypi/v/jaraco.media.svg https://img.shields.io/pypi/pyversions/jaraco.media.svg tests Ruff https://img.shields.io/badge/skeleton-2025-informational

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.

Project details


Download files

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

Source Distribution

jaraco_media-4.1.0.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jaraco_media-4.1.0-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file jaraco_media-4.1.0.tar.gz.

File metadata

  • Download URL: jaraco_media-4.1.0.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for jaraco_media-4.1.0.tar.gz
Algorithm Hash digest
SHA256 a6400fb6aa7611ea2a73fd3241c903fc4ee82968f9a6f965715316cfd9d68746
MD5 10448f45c17627d76c2f365b4e2c2e33
BLAKE2b-256 18cf8d74cdba411eb329efd298b29a6b2493640adadda54dc6c5e833f6702fe6

See more details on using hashes here.

File details

Details for the file jaraco_media-4.1.0-py3-none-any.whl.

File metadata

  • Download URL: jaraco_media-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for jaraco_media-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4ad46dff790d800850e73524df2b596bd6354029ee8370de7f1b5e152fcc743
MD5 24fe78ddf655fcd07cbe325d62c1c4b1
BLAKE2b-256 cd90a8a967c21b5a2f91665a089153cad4f26bf0b76dca0bdc7a36a899ead879

See more details on using hashes here.

Supported by

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