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

Inactive Publication Date: 2015-07-08
WUXI TVMINING MEDIA SCI & TECH
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, sometimes users spend a day or even a few days downloading videos through the Internet, because the video file itself has bad frames or some data is lost due to network reasons during the download process, resulting in the result that the video file cannot be played normally; Precious video data, also can not be played because some data of the video file is damaged
These problems have brought huge time and economic losses to users.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for repairing bad frames in video
  • Method and device for repairing bad frames in video
  • Method and device for repairing bad frames in video

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for repairing bad frames in a video. The method and device are used for repairing video files with parts of damaged frames so as to achieve the purpose of normally playing the video. The method includes the steps that a video file is de-archived, and video data and all paths of voice data of the video file are acquired; the video data are decoded, whether the decoded video data are idle frames or not is checked frame by frame, if yes, the idle frames are discarded, and finally the video data which are successfully repaired are acquired; each path of voice data obtained by de-archiving the video file are repaired, and each path of audio stream which is successfully repaired is acquired; the successfully-repaired video data and all the paths of audio streams are merged. By the adoption of the method and device, the video files with parts of damaged frames can be repaired, and thus the video can be played normally.

Description

technical field [0001] The invention relates to the field of multimedia technology, in particular to a method and device for repairing bad video frames. Background technique [0002] With the rapid development of the Internet, there are more and more network applications, especially video applications are becoming more and more popular. Users can download various video files, such as movies, etc. via the Internet. However, sometimes users spend a day or even a few days downloading videos through the Internet, because the video file itself has bad frames or some data is lost due to network reasons during the download process, resulting in the result that the video file cannot be played normally; Precious video data will also fail to play due to the damage of some data in the video file. These problems have brought huge time and economic losses to users. [0003] Therefore, there is an urgent need for a video repair method, which can repair the damaged video files of some f...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/2343H04N21/4402
CPCH04N21/4385H04N21/440218H04N21/4405H04N21/4408
Inventor 彭岳松
Owner WUXI TVMINING MEDIA SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products