mendevi.encode.encode¶
- mendevi.encode.encode(src: Path, **kwargs: dict) tuple[Path, str, 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.
- logstr
The output generated by the cmd.
- activitydict[str]
The computeur activity during the transcoding process.