encoding to mkv (record)