def METHOD_NAME(self, *args, **kwargs):
    """
    Save metadata about the video if ffmpeg is installed
    """
    if ffmpeg and not self.pk and hasattr(self.video.file, 'temporary_file_path'):
        probe_result = ffmpeg.probe(self.video.file.temporary_file_path())
        self.size = probe_result['format']['size']
        self.duration = probe_result['format']['duration']
        # Streams are stored in a list, and we don't know which one is the video stream
        for stream in probe_result['streams']:
            if stream['codec_type'] != 'video':
                continue
            # Read out video information
            self.width = stream['width']
            self.height = stream['height']
            self.codec = stream['codec_name']
            self.codec_long = stream['codec_long_name']
    super(ExerciseVideo, self).METHOD_NAME(*args, **kwargs)