cibrrig.preprocess.compress_video ================================= .. py:module:: cibrrig.preprocess.compress_video .. autoapi-nested-parse:: This convinience script usses ffmpeg and the gpu to compress a video in both lossless and lossy hevc encoding. Functions --------- .. autoapisummary:: cibrrig.preprocess.compress_video.main Module Contents --------------- .. py:function:: main(fn, skip_lossless, skip_lossy, no_delete) Compress a video file using ffmpeg and the gpu to both lossless and lossy hevc encoding. :param fn: Path to the video file to be compressed :type fn: str :param skip_lossless: Skip the lossless encoding :type skip_lossless: bool :param skip_lossy: Skip the lossy encoding :type skip_lossy: bool :param no_delete: Do not delete the original raw uncompressed file :type no_delete: bool