public function serialize()
    {
        $data = serialize(
            [
                $this->ffmpegBinary,
                $this->movieFile,
                $this->output,
                $this->frameNumber,
                $this->provider,
            ]
        );

        return $data;
    }