@radzor/video-transcode
Transcode video files between formats using FFmpeg subprocess. Supports format conversion, resolution scaling, codec selection, thumbnail extraction, and progress reporting.
Mediav0.1.0typescriptpythonServervideotranscodeffmpegmediaconversionencodingby Radzor
Install
View source on GitHub →$npx radzor@latest add video-transcode
⚠ Constraints: Requires FFmpeg and FFprobe binaries installed on the system. Server-only (uses child_process). Transcode jobs are in-memory; progress is lost on process restart. Large files may take significant time and disk space.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| ffmpegPath | string | ffmpeg | Path to the ffmpeg binary. |
| ffprobePath | string | ffprobe | Path to the ffprobe binary for metadata extraction. |
| outputDir | string | — | Default output directory for transcoded files. |
ffmpegPathstring
Path to the ffmpeg binary.
default: ffmpeg
ffprobePathstring
Path to the ffprobe binary for metadata extraction.
default: ffprobe
outputDirstring