cjm-capability-ffmpeg
An FFmpeg-based media-processing capability for the cjm-substrate runtime that provides audio extraction, segmentation, and format conversion.
Modules
cjm_capability_ffmpeg.capability— FFmpeg-based media processing capability implementing the MediaProcessingCapability interface.cjm_capability_ffmpeg.utils.availability— Detect whether the ffmpeg binary is installed on this system.cjm_capability_ffmpeg.utils.codec— Map audio container formats to the ffmpeg codec used to encode them.cjm_capability_ffmpeg.utils.probe— Probe media files for metadata (duration, ...) via ffprobe.cjm_capability_ffmpeg.utils.progress— Run ffmpeg subprocess commands with a progress bar and optional callback.cjm_capability_ffmpeg.utils.segments— Extract temporal segments from audio files via ffmpeg stream-copy.
API
cjm_capability_ffmpeg.capability
FFmpegCapabilityConfigclass — Configuration for the FFmpeg processing tool (the HOW knobs only).FFmpegProcessingCapabilityclass — FFmpeg-based media-processing tool capability (stage 8: pure compute).
cjm_capability_ffmpeg.utils.codec
get_audio_codecfunction — Map an audio container format to the appropriate ffmpeg codec.
cjm_capability_ffmpeg.utils.probe
get_media_durationfunction — Get the duration of a media file (seconds) via ffprobe.
cjm_capability_ffmpeg.utils.progress
parse_progress_linefunction — Parse a progress line from ffmpeg stderr output.run_ffmpeg_with_progressfunction — Run an ffmpeg command with a progress bar.
cjm_capability_ffmpeg.utils.segments
extract_audio_segmentfunction — Extract a temporal segment from an audio file.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cjm_capability_ffmpeg-0.0.25.tar.gz.
File metadata
- Download URL: cjm_capability_ffmpeg-0.0.25.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bbd14a42f2a03e8316e1594a36c9b2c48004602e959e676656d15f7fb2b6a83
|
|
| MD5 |
8d9e564315a38fc8c5687c7973477013
|
|
| BLAKE2b-256 |
c95cdb902a3e7e57281747464c345c93740d210b14c6d7860e67aca2d3e54580
|
File details
Details for the file cjm_capability_ffmpeg-0.0.25-py3-none-any.whl.
File metadata
- Download URL: cjm_capability_ffmpeg-0.0.25-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc52366af76176cec20bfb6a27487582740bb80f1b26c577926026f985e21bf9
|
|
| MD5 |
2f8e5d3befdc80d1f2e11e57dd02ef81
|
|
| BLAKE2b-256 |
c3fdeead76581c42fc0ae4e43941972315f79825df5d9ba9ef60889855b75baf
|