mendevi.encode.encode
- mendevi.encode.encode(src: Path, **kwargs) tuple[Path, str, dict[str]][source]
Transcode an existing video.
Parameters
- srcpathlib.Path
The source video file to be transcoded.
- **kwargsdict
Transmitted to
get_transcode_cmd().
Returns
- dstpathlib.Path
The transcoded video path. The stem contains the md5 hash of the file content.
- cmdstr
The ffmpeg command.
- activitydict[str]
The computeur activity during the transcoding process.