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 Code style: Black https://img.shields.io/badge/skeleton-2022-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

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-3.5.0.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

jaraco.media-3.5.0-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file jaraco.media-3.5.0.tar.gz.

File metadata

  • Download URL: jaraco.media-3.5.0.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for jaraco.media-3.5.0.tar.gz
Algorithm Hash digest
SHA256 365fbd70592f1dc29fa310067900b7f774fddb2884e9e34e4ef9ceb18eaaee33
MD5 62d19966bae66a78f5d664e1ac1f7b78
BLAKE2b-256 365a68479f5e2a18363a154a1d370db5f68dfc8de75468ad38a995009caf1e9d

See more details on using hashes here.

Provenance

File details

Details for the file jaraco.media-3.5.0-py3-none-any.whl.

File metadata

  • Download URL: jaraco.media-3.5.0-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for jaraco.media-3.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59fc332882cba434dc0130542a40f1f03d2bb3ea28296d1019c7d3ad79cffcf3
MD5 4c61a228367d8f6e943e2ee786ecf091
BLAKE2b-256 689c92a719b422443f72cae6bbf5ff44b841a351712399b53bfb2c448dfa1006

See more details on using hashes here.

Provenance

Supported by

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