A video processing method, comprising: when detecting in a video recording process that a user enables a video editing function, presenting a recorded original video stream in a form of a video frame; determining a to-be-edited video frame based on a video frame selection operation that is performed by the user on the video frame; performing video editing on the to-be-edited video frame based on a video frame editing operation input by the user, to generate an edited video stream; and generating a target video stream based on the edited video stream and the original video stream; characterized in that the generating a target video stream based on the edited video stream and the original video stream comprises: replacing a to-be-edited video frame in the original video stream with a null frame to generate a transmission video stream, wherein the null frame comprises frame header information of the corresponding to-be-edited video frame; allocating the transmission video stream to a first encoding channel for encoding, and allocating the edited video stream to a second encoding channel for encoding, wherein the first encoding channel is an internal video stream transmission channel on which the transmission video stream is encoded and compressed and the second encoding channel is an internal video stream transmission channel on which the edited video stream is encoded and compressed; and after allocating the transmission video stream to the first encoding channel and allocating the edited video stream to the second encoding channel, inserting, based on frame header information, a video frame in the edited video stream into a corresponding null frame location in the transmission video stream that has undergone sequencing, to generate the target video stream. when detecting in a video recording process that a user enables a video editing function, presenting a recorded original video stream in a form of a video frame; determining a to-be-edited video frame based on a video frame selection operation that is performed by the user on the video frame; performing video editing on the to-be-edited video frame based on a video frame editing operation input by the user, to generate an edited video stream; and generating a target video stream based on the edited video stream and the original video stream; characterized in that the generating a target video stream based on the edited video stream and the original video stream comprises: replacing a to-be-edited video frame in the original video stream with a null frame to generate a transmission video stream, wherein the null frame comprises frame header information of the corresponding to-be-edited video frame; allocating the transmission video stream to a first encoding channel for encoding, and allocating the edited video stream to a second encoding channel for encoding, wherein the first encoding channel is an internal video stream transmission channel on which the transmission video stream is encoded and compressed and the second encoding channel is an internal video stream transmission channel on which the edited video stream is encoded and compressed; and after allocating the transmission video stream to the first encoding channel and allocating the edited video stream to the second encoding channel, inserting, based on frame header information, a video frame in the edited video stream into a corresponding null frame location in the transmission video stream that has undergone sequencing, to generate the target video stream.