Encode video path