A method for processing a video stream according to H.264 standard, comprising: acquiring (210, 501) a request message from a terminal, wherein the request message carries address information of multiple sub video screens and layout information of the multiple sub video screens, wherein the layout information indicates a layout mode of the multiple sub video screens; according to the address information, acquiring (220, 502) multiple substreams, wherein there is a one-to-one correspondence between the multiple substreams and the multiple sub video screens; arranging (230, 503) the multiple substreams according to the layout information, merging the arranged multiple substreams into a single stream, and generating an indication message, wherein the indication message include first information, second information, and slice data information of each substream, the first information indicates a picture size parameter of the single stream, the second information indicates a slice group parameter of each substream, and the slice data information of each substream indicates a start position of each substream in the single stream; wherein merging the arranged multiple substreams into a single stream comprising: merging the arranged multiple substreams in a mode of slice_group_map_type=2 to form the single stream when each frame of picture in each substream merely contains a slice; or merging the arranged multiple substreams in a mode of slice group map type=6 to form the single stream when each frame of picture in each substream contains more than one slices; and sending (240, 504) the single stream and the indication message to the terminal, so that the terminal decodes the single stream and displays decoded multiple sub video screens according to the indication message. acquiring (210, 501) a request message from a terminal, wherein the request message carries address information of multiple sub video screens and layout information of the multiple sub video screens, wherein the layout information indicates a layout mode of the multiple sub video screens; according to the address information, acquiring (220, 502) multiple substreams, wherein there is a one-to-one correspondence between the multiple substreams and the multiple sub video screens; arranging (230, 503) the multiple substreams according to the layout information, merging the arranged multiple substreams into a single stream, and generating an indication message, wherein the indication message include first information, second information, and slice data information of each substream, the first information indicates a picture size parameter of the single stream, the second information indicates a slice group parameter of each substream, and the slice data information of each substream indicates a start position of each substream in the single stream; wherein merging the arranged multiple substreams into a single stream comprising: merging the arranged multiple substreams in a mode of slice_group_map_type=2 to form the single stream when each frame of picture in each substream merely contains a slice; or merging the arranged multiple substreams in a mode of slice group map type=6 to form the single stream when each frame of picture in each substream contains more than one slices; and merging the arranged multiple substreams in a mode of slice_group_map_type=2 to form the single stream when each frame of picture in each substream merely contains a slice; or merging the arranged multiple substreams in a mode of slice group map type=6 to form the single stream when each frame of picture in each substream contains more than one slices; and sending (240, 504) the single stream and the indication message to the terminal, so that the terminal decodes the single stream and displays decoded multiple sub video screens according to the indication message.