CN102740111B - Method and device for testing video fluency based on frame number watermarks under remote desktop - Google Patents

Method and device for testing video fluency based on frame number watermarks under remote desktop Download PDF

Info

Publication number
CN102740111B
CN102740111B CN201210199198.1A CN201210199198A CN102740111B CN 102740111 B CN102740111 B CN 102740111B CN 201210199198 A CN201210199198 A CN 201210199198A CN 102740111 B CN102740111 B CN 102740111B
Authority
CN
China
Prior art keywords
frame number
video
sequence
test material
watermark
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.)
Active
Application number
CN201210199198.1A
Other languages
Chinese (zh)
Other versions
CN102740111A (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.)
Fujian Centerm Information Co Ltd
Original Assignee
Fujian Centerm Information Co Ltd
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 Fujian Centerm Information Co Ltd filed Critical Fujian Centerm Information Co Ltd
Priority to CN201210199198.1A priority Critical patent/CN102740111B/en
Publication of CN102740111A publication Critical patent/CN102740111A/en
Application granted granted Critical
Publication of CN102740111B publication Critical patent/CN102740111B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a device for testing the video fluency based on frame number watermarks under a remote desktop. According to the method, a control unit, a video acquisition unit, an analysis unit and a test material comprising the frame number watermarks are provided, and the method comprises the following steps of: acquiring the test material comprising the frame number watermarks through the video acquisition unit; performing pattern matching through the analysis unit to obtain frame number sequences; and counting the frame number sequences to obtain the frame rate, the number of lost frames and the number of repeated frames so as to obtain the fluency of video play. When the test material is short of available test material, or the video effect of different types of test materials is required to be tested under the remote desktop, according to the method, corresponding test materials can be manufactured according to different requirements through a material generating unit. The method and the device are easy to implement, the result is accurate, and compared with a patent of invention with the publication number of 101616331, the frame number watermarks are used to ensure that video frames have a unique identification, and the problem that the result is inaccurate when the number of the lost frames is greater than a gray scale identification maximum value can be solved.

Description

Video fluency method of testing and device based on frame number watermark under remote desktop
[technical field]
The present invention relates to electronic information field, particularly video fluency method of testing and the device based on frame number watermark under a kind of remote desktop.
[background technology]
Along with the continuous maturation of remote desktop technology, the digital video application in remote desktop also becomes possibility, but does not also have highly effective method to carry out Measurement accuracy to the key property video displaying frame rate of digital video at present.
The method of testing of existing video displaying frame rate roughly has several as follows:
Method one: by calling the attribute of the renderer Video Render in DirectShow, check the situation of video displaying frame rate while playing up.But under remote desktop, Video Rendering is likely played up in client, also likely plays up at server end.In the time that Video Rendering occurs in server end, the test result of this method is inaccurate, the video in client output because of what can see for people, if and in server, play up, while being transferred to client, a lot of remote desktop software all can be processed transmission data, abandon the part that cannot carry, so while being transferred to client, the video that we see will block very much, test result is also accurate; In the time that Video Rendering occurs in client, this method is only applicable to window client, because Directshow is windows platform, distinctive multimedia is processed framework, Linux does not support, thereby cannot be applied to the client of linux client and other operating systems, the scope of application of the method is very limited.Described DirectShow is the kit of the Streaming Media processing of a new generation based on COM (Component Object Model) released of Microsoft.DirectShow manages the processing procedure of whole data flow with the model of a kind of Filter of crying Graph, use DirectShow, can be easily from supporting WDM(Windows Driver Model) capture-data the capture card of driving model, and carry out corresponding post-processed and even store in file.Make like this access of multi-medium data in multimedia database management system become convenient;
Method two: the test program test video display frame rate of write specialized, this method service condition is identical with the situation of method one, has same weak point;
Method three: use professional equipment test video display frame rate, this method needs expensive testing equipment, and this kind equipment mainly designs based on Digital Television, Stream Media Application etc., need equipment that some data and control interface are provided, be not suitable for test video display frame rate under remote desktop;
Method four: subjective testing, use eye-observation, only can provide general situation, cannot draw test value accurately;
Method five: publication number is: 101616331, within open day, be: the patent of invention of 2009-12-30 proposes a kind of method that video frame rate is tested, first make the video test sequence of nominative testing frame per second, discernible mark again superposes in the fixed position of the every frame of video test sequence, then displaying video cycle tests on equipment under test, the variation identifying in the video test sequence that ultimate analysis equipment under test is play, calculates actual video displaying frame rate.This invention is a kind of method of calculating video displaying frame rate by collection analysis, this methods and results is accurate, but it adopts gray scale icon to make video material make difficulty as mark, simultaneously, owing to adopting light sensor as collecting device, and the precision difference of different light sensors will affect the scope of application of source material.In remote desktop application, because its gray scale mark recycles, if the frame number of losing in remote desktop is greater than the maximum of gray scale mark, its result just cannot accurately reflect.
[summary of the invention]
The technical problem to be solved in the present invention, is to provide video fluency method of testing and device based on frame number watermark under a kind of remote desktop, has solved video fluency under remote desktop and has tested difficulty and test inaccurate problem.
The present invention solves the problems of the technologies described above by the following technical programs:
Technical scheme one:
Video fluency method of testing based on frame number watermark under remote desktop, comprises the steps::
Step 1, connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, one control unit sends acquisition configuration information to a video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling; Then described control unit calls the test material that a player plays one comprises frame number watermark and notifies a video acquisition unit to start to gather, and described video acquisition unit gathers the test material of playing; The frame number watermark font size of all picture frames of described test material is identical with position, and described test material is positioned on remote virtual machine;
After step 2, test material finish, described control unit notifies described video acquisition unit to stop gathering, and the video file that gathers gained is paid an analytic unit by video acquisition unit;
Described video file is decomposed into the first sequence of pictures by step 3, described analytic unit, extract the frame number watermark in the first sequence of pictures according to the frame number watermark specification of described test material, then by test, the frame number watermark in material and the frame number watermark in the first sequence of pictures identify the frame number sequence of frame number watermark in the first sequence of pictures by pattern matching;
Step 4, described analytic unit are added up described frame number sequence, obtain the frame number of frame per second, loss, the frame number of repetition, thereby know the fluency of video playback.
Further, described terminal equipment comprises thin client, cloud terminal and computer.
Further, described frame number watermark specification comprises the residing rectangular area of frame number watermark coordinate, frame number scope and frame number font size
Technical scheme two:
A video fluency testing apparatus based on frame number watermark under remote desktop, described testing apparatus comprises control unit, video acquisition unit and analytic unit;
Connected terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, described control unit sends acquisition configuration information to described video acquisition unit; Then described control unit calls the test material that a player plays one comprises frame number watermark and notifies described video acquisition unit to start to gather; The frame number watermark font size of all picture frames of described test material is identical with position, and described test material is positioned on remote virtual machine;
Described video acquisition unit gathers the test material of playing, and after test material finishes, described control unit notifies described video acquisition unit to stop gathering, and the video file that gathers gained is paid described analytic unit by video acquisition unit; The frame number watermark font size of all picture frames of described test material is identical with position;
Described video file is decomposed into the first sequence of pictures by described analytic unit, extract the frame number watermark in the first sequence of pictures according to the frame number watermark specification of described test material, then by test, the frame number watermark in material and the frame number watermark in the first sequence of pictures identify the frame number sequence of frame number watermark in the first sequence of pictures by pattern matching; Then, described analytic unit is added up described frame number sequence, obtains the frame number of frame per second, loss, the frame number of repetition, thereby knows the fluency of video playback.
Further, described terminal equipment comprises thin client, cloud terminal and computer.
Technical scheme three:
A video fluency method of testing based on frame number watermark under remote desktop, comprises the steps:
Step 1, connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, one control unit sends specification and the video source material of test material to a material generation unit, described specification comprises frame per second, resolution, code check and the frame number watermark specification of testing material; Meanwhile, described control unit sends acquisition configuration information to a video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling;
Described video source material is decomposed into second picture sequence by step 2, described material generation unit, then described second picture sequence is converted to the test material corresponding with this specification according to the specification of test material, described test material is positioned on remote virtual machine; After generating, test material notifies described control unit;
Step 3, described control unit notify described video acquisition unit to start to gather, and notify described material generation unit to call described in player plays simultaneously and test material, and described video acquisition unit gathers the test material of playing; Described test material must be positioned on remote virtual machine in the time playing;
After step 4, test material finish, described material generation unit notifies described control unit to stop gathering, and described control unit reinforms described video acquisition unit to be stopped gathering, and the video file that gathers gained is paid an analytic unit by video acquisition unit;
Described video file is decomposed into the first sequence of pictures by step 5, described analytic unit, extract the frame number watermark in the first sequence of pictures according to the frame number watermark specification of described test material, then by test the frame number watermark in material and the frame number watermark in the first sequence of pictures by pattern matching identify frame number watermark in the first sequence of pictures frame number sequence;
Step 6, described analytic unit are added up described frame number sequence, obtain the frame number of frame per second, loss, the frame number of repetition, thereby know the fluency of video playback.
Further, described terminal equipment comprises thin client, cloud terminal and computer.
Further, described frame number watermark specification comprises the residing rectangular area of frame number watermark coordinate, frame number scope and frame number font size.
Technical scheme four:
A video fluency testing apparatus based on frame number watermark under remote desktop, described testing apparatus comprises control unit, material generation unit, video acquisition unit and analytic unit;
Connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, described control unit sends specification and the video source material of test material to described material generation unit, described specification comprises frame per second, resolution, code check and the frame number watermark specification of testing material; Meanwhile, described control unit sends acquisition configuration information to described video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling;
Described video source material is decomposed into second picture sequence by described material generation unit, then described second picture sequence is converted to the test material corresponding with this specification according to the specification of test material, and described test material is positioned on remote virtual machine; After generating, test material notifies described control unit; Described control unit is notified described material generation unit to call described in player plays and is tested material; Described test material must be positioned on remote virtual machine in the time playing;
Described video acquisition unit receives after the collection notice of described control unit, and the test material of playing is gathered; After test material finishes, described material generation unit notifies described control unit to stop gathering, and described control unit reinforms described video acquisition unit to be stopped gathering, and the video file that gathers gained is paid described analytic unit by video acquisition unit;
Described video file is decomposed into the first sequence of pictures by described analytic unit, extract the frame number watermark in the first sequence of pictures according to the specification of frame number watermark in described test material, then the frame number watermark in test material and the frame number watermark in the first sequence of pictures are identified to the frame number sequence in the first sequence of pictures by pattern matching; Meanwhile, described analytic unit is added up described frame number sequence, obtains the frame number of frame per second, loss, the frame number of repetition, thereby knows the fluency of video playback.
Further, described terminal equipment comprises thin client, cloud terminal and computer.
Tool of the present invention has the following advantages:
1) material generation unit can generate test material automatically, reduces manufacture difficulty and the cost of test material;
2) adopt video acquisition unit as collecting device, instead of light sensor, make it and test watermark color in material to have nothing to do, applicability stronger (light sensor is to the watermark color sensitivity in material, and white and black can be identified as different watermarks);
3) in frame of video, add the frame number watermark using continuous number as mark, it provides unique frame number mark, solves missing video frames in remote desktop application and causes the inaccurate problem of statistics;
4) analytic unit, by pattern matching, is realized the rapid analysis of the automatic identification of frame number and test result, reduces the working strength of statistical analysis;
The present invention catches the vision signal of the remote desktop output of terminal equipment by video acquisition unit, pattern matching is extracted the frame number sequence of the frame number watermark in output display simultaneously, statistics frame per second.This patent is realized simple, and result is accurate, and with publication number is: compared with 101616331 patent of invention, the watermark of this patent of invention is to represent watermark number by four black and white regions, can only represent 0 ~ 16, then recycles.If frame losing number is greater than 16, can cause mistake of statistics, when losing frame number and being greater than gray scale mark maximum, result will be inaccurate, and the present invention adopts frame number watermark, makes frame of video have unique identification, can avoid this problem, has applicability widely.
[brief description of the drawings]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the structural representation of technical solution of the present invention one, technical scheme two.
Fig. 2 is the structural representation of technical solution of the present invention three, technical scheme four.
[embodiment]
Refer to Fig. 1, illustrate technical solution of the present invention one and technical scheme two:
Technical scheme one:
Video fluency method of testing based on frame number watermark under remote desktop, comprises the steps:
Step 1, connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, one control unit sends acquisition configuration information to a video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling; Then described control unit calls the test material that a player plays one comprises frame number watermark and notifies a video acquisition unit to start to gather, described video acquisition unit gathers the test material of playing, and the frame number watermark font size of all picture frames of described test material is identical with position; Described video acquisition unit gathers the demonstration output signal of described terminal equipment, namely, originally passes to the display of end-point device display, makes now it first pass to video acquisition unit, then transfers to the display of terminal equipment; Institute's terminal equipment comprises thin client, cloud terminal and computer; Described test material must be positioned on remote virtual machine in the time playing;
After step 2, test material finish, described control unit notifies described video acquisition unit to stop gathering, and the video file that gathers gained is paid an analytic unit by described video acquisition unit;
Described video file is decomposed into the first sequence of pictures by step 3, described analytic unit, extract the frame number watermark in the first sequence of pictures according to the frame number watermark specification of described test material, then by test, the frame number watermark in material and the frame number watermark in the first sequence of pictures identify the frame number sequence of frame number watermark in the first sequence of pictures by pattern matching; Described frame number watermark specification comprises the finger residing rectangular area of frame number watermark coordinate, frame number scope and frame number font size; Described pattern matching, need to use OCR(Optical Character Recognition, optical character identification) class software, complete the extraction of frame number sequence;
Step 4, described analytic unit are added up described frame number sequence, obtain the frame number of frame per second, loss, the frame number of repetition, thereby know the fluency of video playback.For example: frame number watermark sequence: 0-1000, playing duration: 40s,
Get the picture totally 1200 for the treatment of frame number watermark, but effectively frame number only has 800, loses 200, repeats 400, frame per second: 800/40=20fps
Technical scheme two:
A video fluency testing apparatus based on frame number watermark under remote desktop, described testing apparatus comprises control unit, video acquisition unit and analytic unit;
Connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, described control unit sends acquisition configuration information to described video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling; Then described control unit calls the test material that a player plays one comprises frame number watermark and notifies described video acquisition unit to start to gather; Described terminal equipment comprises thin client, cloud terminal and computer; The frame number watermark font size of all picture frames of described test material is identical with position; Described test material must be positioned on remote virtual machine in the time playing;
Described video acquisition unit gathers the test material of playing, and after test material finishes, described control unit notifies described video acquisition unit to stop gathering, and the video file that gathers gained is paid an analytic unit by video acquisition unit; Described video acquisition unit gathers the demonstration output signal of described terminal equipment, namely, originally passes to the display of end-point device display, makes now it first pass to video acquisition unit, then transfers to the display of terminal equipment;
Described video file is decomposed into the first sequence of pictures by described analytic unit, extract the frame number watermark in the first sequence of pictures according to the frame number watermark specification of described test material, then by test, the frame number watermark in material and the frame number watermark in the first sequence of pictures identify the frame number sequence of frame number watermark in the first sequence of pictures by pattern matching; Then, described analytic unit is added up described frame number sequence, obtains the frame number of frame per second, loss, the frame number of repetition, thereby knows the fluency of video playback.
The workflow of this programme is as follows:
Step 1, connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, described control unit sends acquisition configuration information to described video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling; Then described control unit calls described in a player plays and tests material and notify described video acquisition unit to start to gather, and described video acquisition unit gathers the test material of playing;
After step 2, test material finish, described control unit notifies described video acquisition unit to stop gathering, and the video file that gathers gained is paid described analytic unit by video acquisition unit;
Described video file is decomposed into the first sequence of pictures by step 3, described analytic unit, extract the frame number watermark in the first sequence of pictures according to the frame number watermark specification of described test material, then by test, the frame number watermark in material and the frame number watermark in the first sequence of pictures identify the frame number sequence of frame number watermark in the first sequence of pictures by pattern matching; Described frame number watermark specification, refers to the residing rectangular area of frame number watermark coordinate, frame number scope and frame number font size; Described pattern matching, need to use OCR(Optical Character Recognition, optical character identification) class software, complete the extraction of frame number sequence;
Step 4, described analytic unit are added up described frame number sequence, obtain the frame number of frame per second, loss, the frame number of repetition, thereby know the fluency of video playback.For example: frame number watermark sequence: 0-1000, playing duration: 40s,
Get the picture totally 1200 for the treatment of frame number watermark, but effectively frame number only has 800, loses 200, repeats 400, frame per second: 800/40=20fps
Technical solution of the present invention three and technical scheme four are compared with the difference of technical scheme one and technical scheme two: also comprise a material generation unit, when lacking ready-made test material, or while needing the video effect of test different types material under remote desktop, described material generation unit can be made corresponding test material according to different demands.
Refer to Fig. 2, illustrate technical solution of the present invention three and technical scheme four:
Technical scheme three:
A video fluency method of testing based on frame number watermark under remote desktop, comprises the steps:
Step 1, connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, one control unit sends specification and the video source material of test material to a material generation unit, described specification comprises frame per second, resolution, code check and the frame number watermark specification of testing material; Meanwhile, described control unit sends acquisition configuration information to a video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling; Described terminal equipment comprises thin client, cloud terminal and computer; Described frame number watermark specification, refers to the residing rectangular area of frame number watermark coordinate, frame number scope and frame number font size;
Described video source material is decomposed into second picture sequence by step 2, described material generation unit, then described second picture sequence is converted to the test material corresponding with this specification according to the specification of test material, after test material generates, notifies described control unit;
Step 3, described control unit notify described video acquisition unit to start to gather, and notify described material generation unit to call described in player plays simultaneously and test material, and described video acquisition unit gathers the test material of playing; Described video acquisition unit gathers the demonstration output signal of described terminal equipment, namely, originally passes to the display of end-point device display, makes now it first pass to video acquisition unit, then transfers to the display of terminal equipment; Described test material must be positioned on remote virtual machine in the time playing;
After step 4, test material finish, described material generation unit notifies described control unit to stop gathering, and described control unit reinforms described video acquisition unit to be stopped gathering, and the video file that gathers gained is paid an analytic unit by video acquisition unit;
Described video file is decomposed into the first sequence of pictures by step 5, described analytic unit, extract the frame number watermark in the first sequence of pictures according to the frame number watermark specification of described test material, then by test the frame number watermark in material and the frame number watermark in the first sequence of pictures by pattern matching identify frame number watermark in the first sequence of pictures frame number sequence; Described pattern matching, need to use OCR(Optical Character Recognition, optical character identification) class software, complete the extraction of frame number sequence;
Step 6, described analytic unit are added up described frame number sequence, obtain the frame number of frame per second, loss, the frame number of repetition, thereby know the fluency of video playback.For example: frame number watermark sequence: 0-1000, playing duration: 40s,
Get the picture totally 1200 for the treatment of frame number watermark, but effectively frame number only has 800, loses 200, repeats 400, frame per second: 800/40=20fps.
Technical scheme four:
A video fluency testing apparatus based on frame number watermark under remote desktop, described testing apparatus comprises control unit, material generation unit, video acquisition unit and analytic unit;
Connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, described control unit sends specification and the video source material of test material to described material generation unit, described specification comprises frame per second, resolution, code check and the frame number watermark specification of testing material; Meanwhile, described control unit sends acquisition configuration information to described video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling; Described terminal equipment comprises thin client, cloud terminal and computer;
Described video source material is decomposed into second picture sequence by described material generation unit, then described second picture sequence is converted to the test material corresponding with this specification according to the specification of test material, after test material generates, notifies described control unit; Described control unit is notified described material generation unit to call described in player plays and is tested material; Described test material must be positioned on remote virtual machine in the time playing;
Described video acquisition unit receives after the collection notice of described control unit, and the test material of playing is gathered; After test material finishes, described material generation unit notifies described control unit to stop gathering, and described control unit reinforms described video acquisition unit to be stopped gathering, and the video file that gathers gained is paid an analytic unit by video acquisition unit;
Described video file is decomposed into the first sequence of pictures by described analytic unit, extract the frame number watermark in the first sequence of pictures according to the specification of frame number watermark in described test material, then the frame number watermark in test material and the frame number watermark in the first sequence of pictures are identified to the frame number sequence in the first sequence of pictures by pattern matching; Meanwhile, described analytic unit is added up described frame number sequence, obtains the frame number of frame per second, loss, the frame number of repetition, thereby knows the fluency of video playback.Described pattern matching, need to use OCR(Optical Character Recognition, optical character identification) class software, complete the extraction of frame number sequence.
The workflow of this programme is as follows:
Step 1, connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, described control unit sends specification and the video source material of test material to described material generation unit, described specification comprises frame per second, resolution, code check and the frame number watermark specification of testing material; Meanwhile, described control unit sends acquisition configuration information to described video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling; Described terminal equipment comprises thin client, cloud terminal and computer; Described frame number watermark specification, refers to the residing rectangular area of frame number watermark coordinate, frame number scope and frame number font size;
Described video source material is decomposed into second picture sequence by step 2, described material generation unit, then described second picture sequence is converted to the test material corresponding with this specification according to the specification of test material, after test material generates, notifies described control unit;
Step 3, described control unit notify described video acquisition unit to start to gather, and notify described material generation unit to call described in player plays simultaneously and test material, and described video acquisition unit gathers the test material of playing; Described video acquisition unit gathers the demonstration output signal of described terminal equipment, namely, originally passes to the display of end-point device display, makes now it first pass to video acquisition unit, then transfers to the display of terminal equipment;
After step 4, test material finish, described material generation unit notifies described control unit to stop gathering, described control unit reinforms described video acquisition unit to be stopped gathering, and the video file that gathers gained is paid described analytic unit by video acquisition unit;
Described video file is decomposed into the first sequence of pictures by step 5, described analytic unit, extract the frame number watermark in the first sequence of pictures according to the frame number watermark specification of described test material, then by test the frame number watermark in material and the frame number watermark in the first sequence of pictures by pattern matching identify frame number watermark in the first sequence of pictures frame number sequence;
Step 6, described analytic unit are added up described frame number sequence, obtain the frame number of frame per second, loss, the frame number of repetition, thereby know the fluency of video playback.For example: frame number watermark sequence: 0-1000, playing duration: 40s,
Get the picture totally 1200 for the treatment of frame number watermark, but effectively frame number only has 800, loses 200, repeats 400, frame per second: 800/40=20fps.
Tool of the present invention has the following advantages:
1) material generation unit can generate test material automatically, reduces manufacture difficulty and the cost of test material;
2) adopt video acquisition unit as collecting device, instead of light sensor, make it and test watermark color in material to have nothing to do, applicability stronger (light sensor is to the watermark color sensitivity in material, and white and black can be identified as different watermarks);
3) in frame of video, add the frame number watermark using continuous number as mark, it provides unique frame number mark, solves missing video frames in remote desktop application and causes the inaccurate problem of statistics;
4) analytic unit, by pattern matching, is realized the rapid analysis of the automatic identification of frame number and test result, reduces the working strength of statistical analysis;
The present invention catches the vision signal of the remote desktop output of terminal equipment by video acquisition unit, pattern matching is extracted the frame number sequence of the frame number watermark in output display simultaneously, statistics frame per second.This patent is realized simple, and result is accurate, and with publication number is: compared with 101616331 patent of invention, the watermark of this patent of invention is to represent watermark number by four black and white regions, can only represent 0 ~ 16, then recycles.If frame losing number is greater than 16, can cause mistake of statistics, and the present invention adopts frame number watermark, makes frame of video have unique identification, can avoid this problem, has applicability widely.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art are in equivalent modification and the variation done according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (10)

1. the video fluency method of testing based on frame number watermark under remote desktop, is characterized in that: comprise the steps:
Step 1, connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, one control unit sends acquisition configuration information to a video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling; Then described control unit calls the test material that a player plays one comprises frame number watermark and notifies a video acquisition unit to start to gather, and described video acquisition unit gathers the test material of playing; Described test material must be positioned on remote virtual machine in the time playing, and the frame number watermark font size of all picture frames of described test material is identical with position;
After step 2, test material finish, described control unit notifies described video acquisition unit to stop gathering, and the video file that gathers gained is paid an analytic unit by described video acquisition unit;
Described video file is decomposed into the first sequence of pictures by step 3, described analytic unit, extract the frame number watermark in the first sequence of pictures according to the frame number watermark specification of described test material, then by test, the frame number watermark in material and the frame number watermark in the first sequence of pictures identify the frame number sequence of frame number watermark in the first sequence of pictures by pattern matching;
Step 4, described analytic unit are added up described frame number sequence, obtain the frame number of frame per second, loss, the frame number of repetition, thereby know the fluency of video playback.
2. the video fluency method of testing based on frame number watermark under remote desktop according to claim 1, is characterized in that: described terminal equipment comprises thin client, cloud terminal and computer.
3. the video fluency method of testing based on frame number watermark under remote desktop according to claim 1, is characterized in that: described frame number watermark specification comprises frame number watermark rectangular area of living in coordinate, frame number scope and frame number font size.
4. the video fluency testing apparatus based on frame number watermark under remote desktop, is characterized in that: described testing apparatus comprises control unit, video acquisition unit and analytic unit;
Connected terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, described control unit sends acquisition configuration information to described video acquisition unit; Then described control unit calls the test material that a player plays one comprises frame number watermark and notifies described video acquisition unit to start to gather; Described test material must be positioned on remote virtual machine in the time playing, and the frame number watermark font size of all picture frames of described test material is identical with position;
Described video acquisition unit gathers the test material of playing, and after test material finishes, described control unit notifies described video acquisition unit to stop gathering, and the video file that gathers gained is paid described analytic unit by video acquisition unit;
Described video file is decomposed into the first sequence of pictures by described analytic unit, extract the frame number watermark in the first sequence of pictures according to the frame number watermark specification of described test material, then by test, the frame number watermark in material and the frame number watermark in the first sequence of pictures identify the frame number sequence of frame number watermark in the first sequence of pictures by pattern matching; Then, described analytic unit is added up described frame number sequence, obtains the frame number of frame per second, loss, the frame number of repetition, thereby knows the fluency of video playback.
5. the video fluency testing apparatus based on frame number watermark under remote desktop according to claim 4, is characterized in that: described terminal equipment comprises thin client, cloud terminal and computer.
6. the video fluency method of testing based on frame number watermark under remote desktop, is characterized in that: comprise the steps:
Step 1, connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, one control unit sends specification and the video source material of test material to a material generation unit, described specification comprises frame per second, resolution, code check and the frame number watermark specification of testing material; Meanwhile, described control unit sends acquisition configuration information to a video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling;
Described video source material is decomposed into second picture sequence by step 2, described material generation unit, then described second picture sequence is converted to the test material corresponding with this specification according to the specification of test material, after test material generates, notifies described control unit;
Step 3, described control unit notify described video acquisition unit to start to gather, and notify described material generation unit to call described in player plays simultaneously and test material, and described video acquisition unit gathers the test material of playing; Described test material must be positioned on remote virtual machine in the time playing;
After step 4, test material finish, described material generation unit notifies described control unit to stop gathering, and described control unit reinforms described video acquisition unit to be stopped gathering, and the video file that gathers gained is paid an analytic unit by video acquisition unit;
Described video file is decomposed into the first sequence of pictures by step 5, described analytic unit, extract the frame number watermark in the first sequence of pictures according to the frame number watermark specification of described test material, then by test the frame number watermark in material and the frame number watermark in the first sequence of pictures by pattern matching identify frame number watermark in the first sequence of pictures frame number sequence;
Step 6, described analytic unit are added up described frame number sequence, obtain the frame number of frame per second, loss, the frame number of repetition, thereby know the fluency of video playback.
7. the video fluency method of testing based on frame number watermark under remote desktop according to claim 6, is characterized in that: described terminal equipment comprises thin client, cloud terminal and computer.
8. the video fluency method of testing based on frame number watermark under remote desktop according to claim 6, is characterized in that: described frame number watermark specification comprises frame number watermark rectangular area of living in coordinate, frame number scope and frame number font size.
9. the video fluency testing apparatus based on frame number watermark under remote desktop, is characterized in that: described testing apparatus comprises control unit, material generation unit, video acquisition unit and analytic unit;
Connect terminal equipment under the prerequisite of remote desktop at terminal equipment and accessed remote virtual machine by remote desktop, described control unit sends specification and the video source material of test material to described material generation unit, described specification comprises frame per second, resolution, code check and the frame number watermark specification of testing material; Meanwhile, described control unit sends acquisition configuration information to described video acquisition unit, and described acquisition configuration information comprises: the coded format using after sample frequency, sampling resolution and sampling;
Described video source material is decomposed into second picture sequence by described material generation unit, then described second picture sequence is converted to the test material corresponding with this specification according to the specification of test material, after test material generates, notifies described control unit; Described control unit is notified described material generation unit to call described in player plays and is tested material; Described test material must be positioned on remote virtual machine in the time playing
Described video acquisition unit receives after the collection notice of described control unit, and the test material of playing is gathered; After test material finishes, described material generation unit notifies described control unit to stop gathering, and described control unit reinforms described video acquisition unit to be stopped gathering, and the video file that gathers gained is paid described analytic unit by video acquisition unit;
Described video file is decomposed into the first sequence of pictures by described analytic unit, extract the frame number watermark in the first sequence of pictures according to the specification of frame number watermark in described test material, then the frame number watermark in test material and the frame number watermark in the first sequence of pictures are identified to the frame number sequence in the first sequence of pictures by pattern matching; Meanwhile, described analytic unit is added up described frame number sequence, obtains the frame number of frame per second, loss, the frame number of repetition, thereby knows the fluency of video playback.
10. the video fluency testing apparatus based on frame number watermark under remote desktop according to claim 9, is characterized in that: described terminal equipment comprises thin client, cloud terminal and computer.
CN201210199198.1A 2012-06-15 2012-06-15 Method and device for testing video fluency based on frame number watermarks under remote desktop Active CN102740111B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210199198.1A CN102740111B (en) 2012-06-15 2012-06-15 Method and device for testing video fluency based on frame number watermarks under remote desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210199198.1A CN102740111B (en) 2012-06-15 2012-06-15 Method and device for testing video fluency based on frame number watermarks under remote desktop

Publications (2)

Publication Number Publication Date
CN102740111A CN102740111A (en) 2012-10-17
CN102740111B true CN102740111B (en) 2014-06-18

Family

ID=46994775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210199198.1A Active CN102740111B (en) 2012-06-15 2012-06-15 Method and device for testing video fluency based on frame number watermarks under remote desktop

Country Status (1)

Country Link
CN (1) CN102740111B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239168B (en) * 2013-06-09 2018-03-23 腾讯科技(深圳)有限公司 Interim card detection method and equipment
CN103810106A (en) * 2014-03-06 2014-05-21 安一恒通(北京)科技有限公司 Method and device for testing fluency of interfaces
CN104079926B (en) * 2014-07-04 2016-02-17 南京富士通南大软件技术有限公司 A kind of video performance method of testing of remote desktop software
CN105320584B (en) * 2015-03-31 2018-02-02 维沃移动通信有限公司 A kind of method of testing and its test device of terminal fluency
CN107846585A (en) * 2016-09-18 2018-03-27 中兴通讯股份有限公司 A kind of video playback fluency detection method and device
CN108174292A (en) * 2016-12-07 2018-06-15 广州市动景计算机科技有限公司 video player detection method, device and terminal
CN108632666B (en) * 2017-03-15 2021-03-05 华为技术有限公司 Video detection method and video detection equipment
CN107370993B (en) * 2017-08-14 2019-10-08 哈尔滨市一舍科技有限公司 A kind of virtual shooting system and method based on two-dimentional code watermark
CN108174191B (en) * 2017-12-29 2019-10-11 广州虎牙信息科技有限公司 Video fluency test method, computer storage medium and terminal
CN110099299A (en) * 2018-01-30 2019-08-06 腾讯科技(深圳)有限公司 Video frame parameter acquiring method, acquisition device and computer readable storage medium
CN110602481B (en) * 2018-06-12 2021-11-16 浙江宇视科技有限公司 Video quality detection method and device in video monitoring system
CN108777788A (en) * 2018-08-01 2018-11-09 深圳市捷视飞通科技股份有限公司 Video quality test method, computer equipment and storage medium
CN111669574A (en) * 2020-06-19 2020-09-15 新华三大数据技术有限公司 Video playing quality detection method and device
CN111726608A (en) * 2020-06-28 2020-09-29 北京百度网讯科技有限公司 Video stuck-in test method and device, electronic equipment and storage medium
CN114035719B (en) * 2021-10-09 2024-04-26 湖南麒麟信安科技股份有限公司 Remote desktop fluency performance evaluation method, system and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040098144A (en) * 2003-05-13 2004-11-20 엘지전자 주식회사 Method for testing image quality using OSD
CN101742358A (en) * 2009-12-22 2010-06-16 重庆重邮东电通信技术有限公司 Method and device for testing quality of network television
CN101783937A (en) * 2008-12-18 2010-07-21 威睿公司 Measuring remote video playback performance with embedded encoded pixels
WO2011040850A1 (en) * 2009-10-02 2011-04-07 Telefonaktiebolaget Lm Ericsson (Publ) Method for retransmission using checksums for identifying lost data packets
CN102141930A (en) * 2010-12-20 2011-08-03 华为技术有限公司 Method and device for distributing resources to virtual machines
WO2012034975A1 (en) * 2010-09-16 2012-03-22 Deutsche Telekom Ag Method of and system for measuring quality of audio and video bit stream transmissions over a transmission chain
CN102421008A (en) * 2011-12-07 2012-04-18 浙江捷尚视觉科技有限公司 Intelligent video quality detecting system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040098144A (en) * 2003-05-13 2004-11-20 엘지전자 주식회사 Method for testing image quality using OSD
CN101783937A (en) * 2008-12-18 2010-07-21 威睿公司 Measuring remote video playback performance with embedded encoded pixels
WO2011040850A1 (en) * 2009-10-02 2011-04-07 Telefonaktiebolaget Lm Ericsson (Publ) Method for retransmission using checksums for identifying lost data packets
CN101742358A (en) * 2009-12-22 2010-06-16 重庆重邮东电通信技术有限公司 Method and device for testing quality of network television
WO2012034975A1 (en) * 2010-09-16 2012-03-22 Deutsche Telekom Ag Method of and system for measuring quality of audio and video bit stream transmissions over a transmission chain
CN102141930A (en) * 2010-12-20 2011-08-03 华为技术有限公司 Method and device for distributing resources to virtual machines
CN102421008A (en) * 2011-12-07 2012-04-18 浙江捷尚视觉科技有限公司 Intelligent video quality detecting system

Also Published As

Publication number Publication date
CN102740111A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
CN102740111B (en) Method and device for testing video fluency based on frame number watermarks under remote desktop
CN101616331A (en) A kind of method that video frame rate and audio-visual synchronization performance are tested
KR20060128022A (en) Automated system and method for conducting usability testing
CN107784649B (en) Image recognition-based mandrel testing remote alarm system and method
TW201205502A (en) Detection device and detection method
CN1909678A (en) Delay testing method for IP video communication system
CN103186780B (en) Video caption recognition methods and device
CN201467383U (en) Video frequency frame rate tester
CN107292223A (en) A kind of online verification method and system of real-time gesture detection
CN106679933B (en) Performance test method and system for head display equipment
CN1806501A (en) Marine phytoplankton automatic distinguishing method and apparatus
CN109710705A (en) Map point of interest treating method and apparatus
CN110047513A (en) A kind of video monitoring method, device, electronic equipment and storage medium
US7512289B2 (en) Apparatus and method for examination of images
EP2239952A1 (en) A method and apparatus for testing a digital video broadcast display product and a method of data communication
US20100026798A1 (en) Method and System for Capturing Physiological and Video Data and Subsequently Marking the Data While Viewing the Video
CN113110733A (en) Virtual field interaction method and system based on remote duplex
CN107659809A (en) A kind of method and system of test video playing function
CN104173108A (en) System and method for collecting identifying data of display screen of health detecting instrument
CN114640884B (en) Online video playing quality analysis method, system and computer storage medium
CN110716530A (en) DCS response time testing device and method
CN115406626A (en) AR (augmented reality) glasses-based fault detection method and device, AR glasses and medium
CN106372591B (en) It is a kind of to prevent Softcam cheating system towards unmanned invigilator
CN112153320B (en) Method and device for measuring size of article, electronic equipment and storage medium
CN110730342B (en) Video quality analysis method and device, server and terminal

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