Skip to main content

Convenience facilities for using FFmpeg (ffmpeg.org), with invocation via ffmpeg-python.

Latest release 20231202: Initial PyPI release.

Class ConversionSource(builtins.tuple)

ConversionSource(src, srcfmt, start_s, end_s)

Method ConversionSource.__new__(_cls, src, srcfmt, start_s, end_s): Create new instance of ConversionSource(src, srcfmt, start_s, end_s)

Function convert(*srcs, dstpath: str, doit=True, dstfmt=None, fstags: cs.fstags.FSTags, conversions=None, metadata: Optional[dict] = None, timespans=(), overwrite=False, acodec=None, vcodec=None, extra_opts=None)

Transcode video to dstpath in FFMPEG compatible dstfmt.

Function ffmpeg_docker(*ffmpeg_args: Iterable[str], docker_run_opts: Union[List[str], Mapping, NoneType] = None, doit: Optional[bool] = None, quiet: Optional[bool] = None, ffmpeg_exe: Optional[str] = None, docker_exe: Optional[str] = None, image: Optional[str] = None, outputpath: str = '.') -> Optional[subprocess.CompletedProcess]

Invoke ffmpeg using docker.

Class FFmpegSource

A representation of an ffmpeg input source.

Function ffprobe(input_file, *, doit=True, ffprobe_exe='ffprobe', quiet=False)

Run ffprobe -print_format json on input_file, return format, stream, program and chapter information as an AttrableMapping (a dict subclass).

Class MetaData(cs.tagset.TagSet, builtins.dict, cs.dateutils.UNIXTimeMixin, cs.lex.FormatableMixin, cs.lex.FormatableFormatter, string.Formatter, cs.mappings.AttrableMappingMixin)

Object containing fields which may be supplied to ffmpeg's -metadata option.

Method MetaData.__init__(self, format, **kw): pylint: disable=redefined-builtin

Release Log

Release 20231202: Initial PyPI release.

Release files for cs-ffmpegutils 20231202

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cs-ffmpegutils 20231202
File Size Uploaded
cs.ffmpegutils-20231202.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cs-ffmpegutils 20231202
File Interpreter ABI Platform
cs.ffmpegutils-20231202-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / cs.ffmpegutils-20231202.tar.gz

Download URL cs.ffmpegutils-20231202.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b21466c5ae81a230ae17122ada1538d027397d10017a43beace237743e4cdba3
BLAKE2b-256 checksum
How to use checksums
ad3e8de8577385e7fcde45fa5eebef2727ae1e814bc9fd9444f6f4206b2c49e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / cs.ffmpegutils-20231202-py3-none-any.whl

Download URL cs.ffmpegutils-20231202-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1517ed8940e7c409b60d9c32b99298c9089cc53f29c71414d83841e09b42835
BLAKE2b-256 checksum
How to use checksums
2669fd58bac23f462127c474b0682ff785a1dc4cbf093427e9205a03cda062cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

20231202 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page