Fix video serialization