CN100396108C - A method for testing video frame rate of video coding-decoding system - Google Patents

A method for testing video frame rate of video coding-decoding system Download PDF

Info

Publication number
CN100396108C
CN100396108C CNB2004100613238A CN200410061323A CN100396108C CN 100396108 C CN100396108 C CN 100396108C CN B2004100613238 A CNB2004100613238 A CN B2004100613238A CN 200410061323 A CN200410061323 A CN 200410061323A CN 100396108 C CN100396108 C CN 100396108C
Authority
CN
China
Prior art keywords
video
decoding system
frame rate
measured
video coding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2004100613238A
Other languages
Chinese (zh)
Other versions
CN1622641A (en
Inventor
胡瑞敏
韩镇
刘琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU filed Critical Wuhan University WHU
Priority to CNB2004100613238A priority Critical patent/CN100396108C/en
Publication of CN1622641A publication Critical patent/CN1622641A/en
Application granted granted Critical
Publication of CN100396108C publication Critical patent/CN100396108C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention relates to a method for detecting video frame rates of video codec systems. The method comprises the procedures that a video sequence file with a known file size and a video frame rate is input into a video codec system to be detected; the video sequence file processed by the video codec system is output and is stored in a memory; the video frame rate of the video codec system to be detected is calculated according to the formula of F2=F1*(A2/A1), wherein the F2 is the video frame rate of the video codec system to be detected, the F1 is the video frame rate of the known video sequence file, the A1 is the file size of the known video sequence file, and the A2 is the file size of the video sequence file in the memory. The method of the present invention detects the video frame rate of the video codec system and does not need operation authority for built-in programs of the video codec system to be detected, and the method is suitable for white box systems and black box systems.

Description

A kind of method that the video frame rate of video coding and decoding system is tested
Technical field
The present invention relates to the multimedia messages processing technology field, particularly the method that the video frame rate of video coding and decoding system is tested.
Background technology
In video coding and decoding system, the frame number that per second is handled image is a frame per second, and video frame rate depends on the coding/decoding system image processing speed.In the video coding and decoding system based on PC, image processing speed is decided by the processing speed of CPU, the transmission speed of bus, the access speed and the memory size of hard disk again.Cross when low when image processing speed, coding/decoding system will be taked the strategy of frame-skipping, promptly skips some frames (reduction frame per second) and does not carry out encoding and decoding, so that per second is handled the frame number of image and the image processing speed of system is complementary.But cross when low when frame per second, will influence the real-time of image.Studies show that, when video frame rate is lower than 17 frames/second, will spectators' subjective sensation be impacted.Therefore, the test of video frame rate is very necessary for the performance of estimating a video coding and decoding system.
Existing video frame rate method of testing mainly is based on objective examination's method of internal grammar sign.Objective examination's method based on the internal grammar sign is exactly to utilize the frame number sign of internal system (the H.263 middle time domain reference value TR that defines has just identified the H.263 frame number of normal video, frame number as the video coding for low bit rate communication international standard) to obtain the actual frame number of outputting video streams, utilize the system time function to obtain the real time length of outputting video streams, the former can calculate video frame rate divided by the latter.
Though can calculate video frame rate based on objective examination's method of internal indicator more accurately, it requires test side to have tested video coding and decoding system internal processes is carried out operation permission, that is to say that system under test (SUT) must be a white box system.And this condition all is difficult to satisfy under many circumstances, and for example when the video coding and decoding system of digital video recording equipment was tested, system under test (SUT) was actually a black-box system, and its internal processes is maintained secrecy.This moment, the objective examination's method based on internal indicator just can not be suitable for.
Summary of the invention
Technical problem to be solved by this invention is: a kind of method that the video frame rate of video coding and decoding system is tested is provided, this method can be carried out under the situation of operation permission the internal system program not having, can test the video frame rate of video coding and decoding system more accurately, that is, the video frame rate of energy dialogue box system and black-box system is tested.
The present invention solves the problems of the technologies described above the technical scheme that is adopted:
A kind of video frame rate to video coding and decoding system carries out method of testing, and its method step is:
(1) with the video sequence file of known file size and video frame rate, imports video coding and decoding system to be measured by the video input interface of video coding and decoding system to be measured;
(2) video output interface by video coding and decoding system to be measured, to export and be stored in the memory through the video sequence file that video coding and decoding system to be measured is handled, the form of the video sequence file of storage be identical with the video sequence file form of input video coding and decoding system to be measured;
(3) check video sequence file size in the memory;
(4) according to formula F 2=F 1* (A 2/ A 1) calculate the video frame rate of video coding and decoding system to be measured; In the formula: F 2Be the video frame rate of video coding and decoding system to be measured, F 1Be the video frame rate of the video sequence file of importing video coding and decoding system to be measured, A 1Be the file size of the video sequence file of importing video coding and decoding system to be measured, A 2File size for the video sequence file in the memory.
In the such scheme, the form of video sequence file is the form of yuv video sequential file.
In the such scheme, the video sequence file of known file size and video frame rate exports video coding and decoding system to be measured to by computer.
In the such scheme, memory is arranged in the computer, imports computer through the video sequence file that video coding and decoding system to be measured is handled by the video output interface of video coding and decoding system to be measured.
With the inventive method the video frame rate of video coding and decoding system is tested, do not needed to have video coding and decoding system internal processes to be measured is carried out operation permission, dialogue box system and black-box system are all applicable.
Description of drawings
Fig. 1 is the schematic diagram of method of testing of the present invention
Fig. 2 is the schematic diagram of the video sequence of input video coding and decoding system to be measured
Fig. 3 is the schematic diagram of the video sequence of video coding and decoding system output to be measured
Embodiment
Method of testing embodiment of the present invention as shown in Figure 1, Devices to test are the test digital video recording equipment with video coding and decoding system, and test event is the video frame rate of test Devices to test output, and its method step is:
(1) by a computer, be the video sequence file of 30 frame/seconds with the known file size for 8M, video frame rate, by the video input interface of digital video recording equipment to be measured, import the video coding and decoding system of digital video recording equipment to be measured; The form of known video sequential file is that yuv format (all stipulate with the consolidation form of yuv format as deal with data by the video compression coding international standard that ISO of International Standardization Association (ISA) and the ITU of international telecommunication association are formulated, wherein Y represents luminance signal, and U, V represent color difference signal);
(2) video output interface by digital video recording equipment, the video sequence file input computer that to handle through video coding and decoding system to be measured also is stored in the memory of computer, and the form of the video sequence file of storage is identical with the video sequence file form of importing video coding and decoding system to be measured;
(3) check the attribute of this video sequence file in the memory on computers, the video sequence file size is 4M;
(4) according to formula F 2=F 1* (A 2/ A 1) calculate the video frame rate of video coding and decoding system to be measured; In the formula: F 2Be the video frame rate of video coding and decoding system to be measured, F 1Be the 30 frame/seconds of video frame rate of the video sequence file of importing video coding and decoding system to be measured, A 1Be the file size 8M of the video sequence file of importing video coding and decoding system to be measured, A 2File size 4M for the video sequence file in the memory.
Calculating the video frame rate with test digital video recording equipment output video sequence of video coding and decoding system to be measured by formula was 15 frame/seconds.
Principle of the present invention is shown in Fig. 2,3, and the row solid line parallelogram among Fig. 2 is represented the video sequence of known video file; The alternate parallelogram of a row actual situation among Fig. 3 represents owing to the coding/decoding system processing speed is crossed low output video sequence of carrying out frame-skipping, and wherein the dotted line parallelogram represents that the frame skipped, solid line parallelogram represent the frame that remains.Because the resolution of each two field picture of input video and output video does not change in encoding-decoding process, so the pixel quantity of each two field picture is identical; Again because each two field picture all is unified yuv format, therefore represent that the required bit number of each pixel is identical simultaneously.So big or small Z of input video and each two field picture of output video 1With Z 2Also just identical, i.e. Z 1=Z 2
The big or small A of input video and output video like this 1With A 2The ratio of (being all images size sum in the video sequence):
A 1/A 2=(N 1×Z 1)/(N 2×Z 2)=N 1/N 2
Just with both frame number N 1With N 2Ratio identical.
And input video is identical with the represented time of output video, promptly a period of time length be 10 minutes input video through after the encoding-decoding process, output still is one section video of 10 minutes.Even taked the strategy of frame-skipping in encoding-decoding process, the time span of output video still is 10 minutes, and only frame per second can reduce because of frame-skipping.
By input video and the represented time T of output video 1With T 2Identical, i.e. T 1=T 2, both frame per second F as can be known 1With F 2The ratio:
F 1/F 2=(N 1/T 1)/(N 2/T 2)=N 1/N 2
And the known A in front 1/ A 2=N 1/ N 2So, F 1/ F 2=A 1/ A 2, the frame per second of output video then
F 2=F 1×(A 2/A 1)
Therefore at known input video size A 1With frame per second F 1Prerequisite under, only need record the big or small A of output video 2, just can obtain the frame per second F of output video by ratio method 2

Claims (4)

1. method that the video frame rate of video coding and decoding system is tested, it is characterized in that: its method step is:
(1) with the video sequence file of known file size and video frame rate, imports video coding and decoding system to be measured by the video input interface of video coding and decoding system to be measured;
(2) video output interface by video coding and decoding system to be measured, to export and be stored in the memory through the video sequence file that video coding and decoding system to be measured is handled, the form of the video sequence file of storage be identical with the video sequence file form of input video coding and decoding system to be measured;
(3) check video sequence file size in the memory;
(4) according to formula F 2=F 1* (A 2/ A 1) calculate the video frame rate of video coding and decoding system to be measured; In the formula: F 2Be the video frame rate of video coding and decoding system to be measured, F 1Be the video frame rate of the video sequence file of importing video coding and decoding system to be measured, A 1Be the file size of the video sequence file of importing video coding and decoding system to be measured, A 2File size for the video sequence file in the memory.
2. the method for claim 1, it is characterized in that: the form of video sequence file is the form of yuv video sequential file.
3. the method for claim 1 is characterized in that: the video sequence file of known file size and video frame rate exports video coding and decoding system to be measured to by computer.
4. the method for claim 1, it is characterized in that: memory is arranged in the computer, and the video sequence file of handling through video coding and decoding system to be measured is by the video output interface input computer of video coding and decoding system to be measured.
CNB2004100613238A 2004-12-13 2004-12-13 A method for testing video frame rate of video coding-decoding system Expired - Fee Related CN100396108C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100613238A CN100396108C (en) 2004-12-13 2004-12-13 A method for testing video frame rate of video coding-decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100613238A CN100396108C (en) 2004-12-13 2004-12-13 A method for testing video frame rate of video coding-decoding system

Publications (2)

Publication Number Publication Date
CN1622641A CN1622641A (en) 2005-06-01
CN100396108C true CN100396108C (en) 2008-06-18

Family

ID=34764488

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100613238A Expired - Fee Related CN100396108C (en) 2004-12-13 2004-12-13 A method for testing video frame rate of video coding-decoding system

Country Status (1)

Country Link
CN (1) CN100396108C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616331B (en) * 2009-07-27 2011-07-20 北京汉邦高科数字技术有限公司 Method for testing video frequency frame rate and audio-video synchronous performance
US8767076B2 (en) * 2011-06-03 2014-07-01 Echostar Technologies L.L.C. Systems and methods for testing video hardware by evaluating output video frames containing embedded reference characteristics
CN102737681B (en) * 2012-05-02 2015-02-04 中国联合网络通信集团有限公司 Performance testing method and device of stream media player
CN103796005A (en) * 2012-10-29 2014-05-14 腾讯科技(深圳)有限公司 Video frame rate test method and device
CN104572052B (en) * 2013-10-21 2019-07-02 腾讯科技(深圳)有限公司 A kind of measurement method and device of application program frame per second
CN105657412B (en) * 2015-12-31 2018-05-22 公安部第三研究所 A kind of test method of video frame rate
CN106791812A (en) * 2016-12-16 2017-05-31 上海高顿教育培训有限公司 A kind of frame rate detection method of video

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5748229A (en) * 1996-06-26 1998-05-05 Mci Corporation System and method for evaluating video fidelity by determining information frame rate
JPH10285617A (en) * 1997-04-04 1998-10-23 Oki Electric Ind Co Ltd Video characteristic measurement device
JP2002325254A (en) * 2001-02-26 2002-11-08 Ando Electric Co Ltd Moving image code evaluating apparatus and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5748229A (en) * 1996-06-26 1998-05-05 Mci Corporation System and method for evaluating video fidelity by determining information frame rate
JPH10285617A (en) * 1997-04-04 1998-10-23 Oki Electric Ind Co Ltd Video characteristic measurement device
JP2002325254A (en) * 2001-02-26 2002-11-08 Ando Electric Co Ltd Moving image code evaluating apparatus and system

Also Published As

Publication number Publication date
CN1622641A (en) 2005-06-01

Similar Documents

Publication Publication Date Title
US9609338B2 (en) Layered video encoding and decoding
US10362264B2 (en) Profile for frame rate conversion
CN109598299A (en) A kind of image similarity determines method, apparatus and electronic equipment
CN100396108C (en) A method for testing video frame rate of video coding-decoding system
CN112261377B (en) Web edition monitoring video playing method, electronic equipment and storage medium
CN101616315A (en) A kind of method for evaluating video quality, device and system
CN100496133C (en) Method for testing audio and video frequency out of step of audio and video frequency coding-decoding system
CN107800989A (en) Image display method, system and Network Personal Video Recorder based on the detection of dynamic frame per second
Le Callet et al. No reference and reduced reference video quality metrics for end to end QoS monitoring
CN114419502A (en) Data analysis method and device and storage medium
CN113014953A (en) Video tamper-proof detection method and video tamper-proof detection system
US20110044538A1 (en) Soft decision making processes for analyzing images
CN114095485A (en) Front-end decoding Web browser streaming media playing technology
CN112203117A (en) Video source tracing and tamper-proof method based on video coder/decoder
CN103095995A (en) Method and system for automatic technical inspection of media files
CN100396106C (en) A method for testing signal-to-noise ratio of digital video coding-decoding system
CN102098450B (en) Method for automatically detecting real-time signals or streams to realize full-automatic recording
CN116156217A (en) Method for carrying out consistency verification on video content based on intelligent identification
CN113055711B (en) Audio and video synchronous detection method and detection system thereof
JP2000115766A (en) Moving picture reproduction analyzer
CN100396107C (en) A method for marking each frame image in video frequency sequence
US7324697B2 (en) Data embedding device and data extraction device
CN115396697B (en) Video data transmission method, system and storage device
CN115866162B (en) Video stream generation method and device, electronic equipment and storage medium
CN108900831A (en) Flower screen event detecting method and its detection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080618

Termination date: 20131213