Video file restoration method and device, computer equipment and storage medium
The invention relates to a video file restoration method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a video stream corresponding to a target video; extracting transmission feature information of the video stream, and determining a protoco...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
24.09.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to a video file restoration method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a video stream corresponding to a target video; extracting transmission feature information of the video stream, and determining a protocol type and a transmission mode of the video stream according to the transmission feature information; under the condition that the protocol type of the video stream is an HTTP-FLV protocol and the transmission mode is a block mode, performing data block extraction processing on a data packet of the video stream to obtain head data and video data of the target video; and generating a video file corresponding to the target video according to the header data and the video data. By adopting the method, the video stream based on the HTTP-FLV protocol chunk mode can be monitored.
本申请涉及一种视频文件的还原方法、装置、计算机设备和存储介质。所述方法包括:获取目标视频对应的视频流;提取所述视频流的传输特征信息,并根据所述传输特征信息确定所述视频流的协议类型和传输模式;在所述视频流的协议类型为HTTP-FLV协议、且传输模式为块模式的情况下,对所述视频流的数据包进 |
---|---|
Bibliography: | Application Number: CN202110628876 |