The video frame rate tester
Technical field
The utility model relates to a kind of video frame rate tester.
Background technology
Digital video technology has been used for fields such as Digital Television, network digital video, computer, video conference, hand-held video terminal digital video monitoring, but does not also have highly effective method for the key property video displaying frame rate of digital video and the accurate measurement of audio-visual synchronization performance.
Multiple method of measurement is in industry arranged at present, and the method that has in these methods is simple, and shortcoming is inaccurate; The method test that has accurately still has specific (special) requirements to testing equipment, and testing expense is high, can't satisfy the demand of present digital video product form fast development.The main method of at present video frame rate being tested has:
(1) image sequence that will indicate frame number is input to encoding device, watch the file behind the coding frame by frame, determine the characteristic of encoding device by the continuity of frame number, this method is very accurate, but the device measuring that can only be used for audio/video coding can't be used for the product of other forms.
(2) the special test program of establishment is finished the measurement of display frame rate, and this method generally is used for computer, because the compatibility of software runtime environment can not be applicable to other software platforms.
(3) use professional testing equipment, this method needs high testing equipment, needs equipment under test that some data and control interface are provided simultaneously, is applicable to the measurement of equipment such as Digital Television, and the testing time is long, the expense height.Perhaps adopt high-speed camera to take the display screen post analysis, can be applied to the plurality of devices test.These methods are not suitable for generally using.
(4) subjective testing uses eye-observation, and this method can only test out the big situation of frame per second deviation, can't accurately measure.
The main method of at present the audio-visual synchronization performance being tested has:
(1) make the video recording sequence with audio-visual synchronization sign, use eye-observation, this method can only test out the bigger situation of synchronous difference, and can't accurately measure.
(2) use professional testing equipment, this method needs high testing equipment, needs equipment under test that some data and control interface are provided simultaneously, is applicable to the measurement of equipment such as Digital Television, and the testing time is long, the expense height.This method is not suitable for generally using.
(3) subjective testing uses eye-observation, and this method can only test out the big situation of synchronism deviation, can't accurately measure.
The utility model content
Technology of the present utility model is dealt with problems and is: overcome the deficiencies in the prior art, a kind of video frame rate tester is provided.The method that this tester utilization is tested video frame rate and audio-visual synchronization performance can be tested exactly to the video displaying frame rate and the audio-visual synchronization performance of video display apparatus, and this tester is easy to use, applied widely, test specification is big.
Technical solution of the present utility model is: the video frame rate tester that the utility model provides comprises
Image acquisition component, it is used to gather the sign on the cycle tests that equipment under test plays, and the sign that will gather is delivered to the data analysis parts;
The data analysis parts, it is used to analyze the variation that identifies on the equipment under test.
Further, this tester also comprises audio collecting device, and it is used to gather audio signal, and the audio signal of gathering is delivered to the data analysis parts.
Preferably, described image acquisition component is a light sensor, and described data analysis parts are CPU.
Operation principle of the present utility model is:
When video frame rate is tested, at first make the video test sequence of nominative testing frame per second, discernible sign then superposes in the fixed position of the every frame of video test sequence; Displaying video cycle tests on equipment under test, image acquisition component is gathered the sign on the equipment under test, uses the variation of reference clock statistics sign in each second, calculates practical video displaying frame rate.Further, by analyzing the continuity of sign, can determine that also frame of video shows the situation of losing; The sign consecutive hours also can be determined the uniformity that video frame rate deviation and frame of video show.
When the audio-visual synchronization performance is tested, at first make the video test sequence of nominative testing frame per second, discernible sign then superposes in the fixed position of the every frame of video test sequence, and the audio signal (audio signal is determined according to the number of sign, the audio signal of the corresponding fixed frequency of each different sign) of making different frequency corresponding to every frame of video test sequence; Displaying video cycle tests on equipment under test, image acquisition component is gathered the sign on the equipment under test, and the audio collection parts are gathered the corresponding audio signal; The sign and the corresponding audio signal of sampling are compared, calculate the net synchronization capability of audio frequency and video.
The utility model compared with prior art has following advantage:
(1) the utility model uses the variation of reference clock statistics sign in each second by gathering the sign on the equipment under test, can prepare to calculate practical video displaying frame rate, and measure error is smaller or equal to 1 frame/second.
(2) the utility model is compared the sign and the corresponding audio signal of sampling by gathering sign and the corresponding audio signal on the equipment under test, can accurately calculate actual audio-visual synchronization deviation, and accuracy reached for 1 frame/second.
(3) the utility model is applied widely, can be used in various video display apparatus, as digital TV, Internet Protocol Television, computer, TV conference apparatus, hand-held video terminal (PDA, MP4, mobile phone), digital video monitoring equipment.
(4) test specification of the present utility model is big.By cooperating different video test sequence, not only can be used to test traditional parameter area 1~30 frame/second, and can be used in 50 frame/seconds of test high definition product, 60 frame/seconds even higher scope.
(5) the utility model cost of manufacture is low, is fit to promote the use of.
Description of drawings
Below with reference to accompanying drawing embodiment of the present utility model is described.
Fig. 1 is the overall structure schematic diagram of the utility model execution mode.
Fig. 2 is four code icons schematic diagrames of video test sequence two rank gray scales of the utility model execution mode.
Fig. 3 is that the video test sequence icon of the utility model execution mode uses schematic diagram.
Fig. 4 is the signal processing and analysis schematic diagram of the utility model execution mode.
Fig. 5 is the video test sequence different coding form icon schematic diagram of embodiment of the present invention, wherein (a) is a code icons schematic diagram, (b) be dibit encoding icon schematic diagram, (c) be tri-bit encoding icon schematic diagram, (d) be another kind of four code icons schematic diagrames, (e) be five code icons schematic diagrames.
Embodiment
When video frame rate was tested, tester hardware comprised image acquisition component and data analysis parts.When the audio-visual synchronization performance was tested, tester hardware also comprised the audio collection parts.
As shown in Figure 1, image acquisition component is a light sensor in the present embodiment, and the data analysis parts are computer (containing CPU).Internal video shows main 25 frames that use at present, so the test frame per second of present embodiment is an example with 25 frame/seconds.The discernible icon that is designated different tonal gradations or color in the present embodiment, preferred four code icons of two rank gray scales shown in Figure 2, in the fixed position of the every frame of video test sequence (be preferably the centre position, can further improve accuracy of test like this) four code icons of stack two rank gray scales.
Cycle tests can be video file (MP4, MPEG, AVI, RM, WMV, H.264 wait Standard File Format), is used for downloading to equipment such as mobile phone, MP4 player and tests; Cycle tests also can be made CD (DVD or high-resolution disc), plays on Disc player, is used to test the equipment with video input.Test different frame per second and need make the cycle tests of different frame per second, play the video frame rate deviation that shows and can only test (equipment of testing for 30 frame/seconds need be made the video recording of 30 frame/seconds) with the video test sequence of 25 frame/seconds 25 frames/second.
Four code icons in two rank use binary approach to represent that white is 0 among Fig. 2, and black is 1, that is:
0000 0001 0010 0011
0100 0101 0110 0111
1000 1001 1010 1011
1100 1101 1110 1111
Embodiment one:
When video frame rate is tested, at first make the video test sequence of 25 frame/seconds, two rank gray scales, four code icons then superpose in the centre position of the every frame of video test sequence.Use video editing software embeds the icon in the above-mentioned sequence respectively in the centre position of cycle tests 1~16 frame, first frame is first icon, and second frame is second icon, and the rest may be inferred, so just can differentiate 1~16 frame; Later sequence repeats above icon, and promptly 17~32 frames repeat 1~16 icon, and 33~48 frames repeat 1~16 icon, and the rest may be inferred.The position of icon in cycle tests as shown in Figure 3, arrangement can make four light sensors be arranged in two rows, two row like this, can directly aim at icon sampling for the display device of different size.Test point also can be used other modes or dispersed arrangement, and the position that is such light sensor is just relevant with the display screen size, is unfavorable for test.
Displaying video cycle tests on equipment under test, as shown in Figure 4, four light sensors are gathered the icon (sample frequency should guarantee to gather at least in every frame time 3 points) in the cycle tests on the equipment under test, data are sent in the computer CPU, CPU uses the variation of reference clock statistics sign in each second, calculates practical video displaying frame rate.Further, by analyzing the continuity of sign, can determine that also frame of video shows the situation of losing; The sign consecutive hours also can be determined the uniformity that video frame rate deviation and frame of video show.
Video recording test with 25 frame/seconds is an example, can obtain the frame per second of this moment by the sign statistics frame number that video shows in one second; By just knowing the middle frame that whether lacks to identifying successional analysis; Each frame shows that time should use reference clock that the time that each frame shows is compared for 40 milliseconds (demonstration time=1 second/frame number), just can obtain each frame demonstration time deviation, i.e. show uniformity characteristic.
Embodiment two:
When the audio-visual synchronization performance is tested, at first make the video test sequence of 25 frame/seconds, two rank gray scales, four code icons then superpose in the centre position of the every frame of video test sequence, and (audio signal is determined by the number of icon to make the audio signal of different frequency corresponding to every frame of video test sequence, the audio signal of the corresponding fixed frequency of each different icon, the audio signal of 16 corresponding 16 different frequencies of icon in the present embodiment). use video editing software embeds the icon in the above-mentioned sequence respectively in the centre position of cycle tests 1~16 frame, first frame is first icon, second frame is second icon, the rest may be inferred, so just can differentiate 1~16 frame; Later sequence repeats above icon, promptly 17~32 frames repeat 1~16 icon, 33~48 frames repeat 1~16 icon, the rest may be inferred. and the position of icon in cycle tests is as shown in Figure 3, arrangement can make four light sensors be arranged in two rows, two row like this, can directly aim at the icon sampling for the display device of different size. test point also can be used other modes or dispersed arrangement, and the position that is such light sensor is just relevant with the display screen size, is unfavorable for test.
Displaying video cycle tests on equipment under test, as shown in Figure 4, four light sensors are gathered the icon (sample frequency of light sensor should guarantee to gather at least in every frame time 3 points) in the cycle tests on the equipment under test, sampled data is sent in the computer CPU, while audio collection parts are synchronous acquisition corresponding audio signal (audio sampling frequency should guarantee correctly to sample the audio signal in the cycle tests) also, CPU compares according to the sign that will sample and corresponding audio signal, calculates actual audio-visual synchronization deviation.
Video recording test with 25 frame/seconds is an example, and each frame demonstration time should be 40 milliseconds, by sign and audio signal corresponding relation, just can obtain the time deviation of frame and its original sound, i.e. the audio-visual synchronization characteristic.
The utility model not only can be used to test traditional parameter area 1~30 frame/second, and can be used in 50 frame/seconds of test high definition product, 60 frame/seconds even higher scope.Need only the video test sequence of making corresponding frame per second at different test frame per second, the video test sequence of 50 frame/seconds is made in the video recording test of 50 frame/seconds, and the video test sequence of 80 frame/seconds is made in the video recording test of 80 frame/seconds.
The utility model can measure the frame per second deviation and the synchronous error scope is 1~16 frame, and measure error satisfies use in most cases smaller or equal to 1 frame/second.The error human eye that surpasses 16 frames can be easy to identify.
If adopt two binary codings of two rank gray scales, measuring range is 1~4 frame so.
Adopt tester that following two kinds of methods make test video frame per second and audio-visual synchronization performance more accurately:
(1) adopts high-precision light sensor, distinguish different frames by the icon of making different tonal gradations or color.Such as adopting 1 coding of 16 rank gray scale icons just can reach measuring range is 1~16 frame, and adopting quadravalence gray scale icon dibit encoding just can reach measuring range is 1~16 frame, and it is 1~64 frame that 3 codings just can reach measuring range.Fig. 5 is the icon of other spread patterns, wherein (a) is a code icons schematic diagram, (b) is dibit encoding icon schematic diagram, (c) is tri-bit encoding icon schematic diagram, (d) be another kind of four code icons schematic diagrames, (e) be five code icons schematic diagrames.
(2) adopting longer coded system, is 1~32 frame such as 52 rank encoding measurement scopes.
The selection of icon gray scale is relevant with light sensor, adopts high-precision light sensor can use the icon of many gray scale/colors to measure, and reduces the coding figure place; Adopt 2 rank gray scales can use general light sensor to measure, be easy to adapt to the display device of different qualities simultaneously.
The content that is not described in detail in the utility model specification belongs to this area professional and technical personnel's known technology.
The above; it only is preferred embodiment of the present utility model; be not that the utility model is done any pro forma restriction; every foundation technical spirit of the present utility model all still belongs to the protection range of technical solutions of the utility model to any simple modification, equivalent variations and modification that above embodiment did.