Method and device for repairing bad frames in video
A repair method and bad frame technology, applied in the multimedia field, can solve problems such as video file data corruption, inability to play, loss, etc., to achieve the effect of improving repair efficiency, reducing video repair time, and improving resource utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] image 3 A flowchart of a method for repairing bad video frames provided by Embodiment 1 of the present invention, such as image 3 As shown in , the method provided in Embodiment 1 includes steps S301-S308:
[0073] Step S301: decapsulate the video file, and obtain video data and all channels of audio data of the video file;
[0074] Step S302: Decoding the video data, checking frame by frame whether each frame of decoded video data is an empty frame, if so, discarding the empty frame, and finally obtaining successfully repaired video data;
[0075] Step S303: For each channel of audio data obtained by decapsulating the video file, sequentially read a fixed-length audio data packet of the channel of audio data;
[0076] Step S304: For each channel of audio data, decode the read fixed-length audio data packets, and check frame by frame whether each frame of decoded audio data is an empty frame, and if so, discard the empty frame or use the empty frame The previous fr...
Embodiment 2
[0084] At present, the multi-channel audio obtained by decapsulating the video file is mixed and stored. The stored objects are called the Planar plane, that is, they are mixed and stored in the Planar plane. Stored row by row. For example, the first segment is a segment of the first audio track (or audio track), the second segment is a segment of the second audio track, and the third segment is a segment of the third audio track, and multiple audio tracks are mixed together. Knowing the storage format, the audio channel corresponding to the desired language can be extracted according to the storage format. Read out the piece of data according to the number of samples, and extract a piece of data from one channel of audio.
[0085] Based on the above principles, this embodiment provides a method for repairing bad video frames when the video file is a video file with multiple audio channels, Figure 4 Shown is a flowchart of a method for repairing bad video frames provided b...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com