MP4 (Mobile Pentium 4) video format corruption detection method

A damage detection and video format technology, applied in the information field, can solve problems such as inconsistent playback time, incomplete video, and damage that is difficult to detect manually, and achieve the effects of saving manpower and time costs, high execution efficiency, and realizing automatic detection

Inactive Publication Date: 2015-04-01
央视国际网络无锡有限公司
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Due to an unstable network environment or disk read and write bottlenecks, the video submitted by the user is incomplete, resulting in a discrepancy between the playback duration displayed during playback and the actual playback duration
To solve this problem, the existing solution is to use the player to open the video; verify the length of the video; pull the timeline near the end of the timeline; confirm whether the video at the end of the timeline can be played normally; if it can be played normally, check the next video; This method has the following problems, which need to be detected manually; and all files need to be saved locally first; the damage of less than 2 seconds is difficult to detect manually; the detection of a single video takes too long; the cost input is proportional to the number of videos, when the video When the quantity reaches the order of millions, it needs to invest a lot of manpower and time

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
  • MP4 (Mobile Pentium 4) video format corruption detection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0023] Such as figure 1 Shown, a kind of MP4 video format damage detection method comprises the following steps:

[0024] Step 1. Open the video file in MP4 format;

[0025] Step 2, read the metadata information in the above-mentioned opened video file, and obtain the size of each BOX;

[0026] Step 3. Add the sizes of the BOX obtained in the above step 2 to obtain the theoretical size s0 of the video file;

[0027] Step 4, read the size s1 of the MP4 format video file in the above step 1 in the file system;

[0028] Step 5. Compare the values ​​of s0 and s1

[0029] Step 6. If s0 > s1, it means that the above-mentioned video file is damaged, and the video damag...

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 an MP4 (Mobile Pentium 4) video format corruption detection method. The method comprises the following steps: opening a video file of an MP4 format; reading metadata information in the opened video file to obtain the size of each BOX; adding the sizes of all the obtained BOXes to obtain the theoretical size s0 of the video file; reading the size s1 of the MP4 format video file in a file system; comparing the sizes of the s0 and the s1; if the s0 is greater than the s1, judging that the video file is corrupted and recording the video corruption information in a log; if the s0 is equal to the s1, judging that the video file is uncorrupted; reading a next piece of video. The method aims to realize the advantages of precision in detection, labor saving and cost reduction.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a method for detecting MP4 video format damage. Background technique [0002] Due to an unstable network environment or disk read and write bottlenecks, the video submitted by the user is incomplete, resulting in a discrepancy between the playback duration displayed during playback and the actual playback duration. To solve this problem, the existing solution is to use the player to open the video; verify the length of the video; pull the timeline near the end of the timeline; confirm whether the video at the end of the timeline can be played normally; if it can be played normally, check the next video; This method has the following problems, which need to be detected manually; and all files need to be saved locally first; the damage of less than 2 seconds is difficult to detect manually; the detection of a single video takes too long; the cost input is proportional to the n...

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): H04N17/00
Inventor 徐帆熊智辉
Owner 央视国际网络无锡有限公司
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