The invention discloses a 3D (three-dimensional) stereo video single-file double-video
stream recording method. In file recording, the method comprises the steps of: defining the ID of a left video
stream as N and the ID of a right video
stream as N+1, and synthesizing the two video streams in one video file; in synthesis of 3D video file, the method comprises the steps of: taking the start
timestamp of the video file as a uniform reference, and adding a
timestamp mark to each video frame of the two video streams such that the video frames corresponding to the left and right video streams have the same
timestamp. In the invention, the IDs of the left and right video streams are defined by an odd number and an even number so that the left and right video streams can be automatically identified when played; and moreover, the timestamp mark is added to each
image frame by taking the start timestamp of the file as reference so as to achieve accurate
time synchronization of the left and right images, obtain strong third dimension of the images and prevent ghost and the like. According to the invention, the
file format adopts standard formats such as ASF, MKV, AVI and the like for writing; and when in playing, modification of a player is not required so as to facilitate use.