CN103997643A - Method and device for testing video playing performance - Google Patents

Method and device for testing video playing performance Download PDF

Info

Publication number
CN103997643A
CN103997643A CN201410251366.6A CN201410251366A CN103997643A CN 103997643 A CN103997643 A CN 103997643A CN 201410251366 A CN201410251366 A CN 201410251366A CN 103997643 A CN103997643 A CN 103997643A
Authority
CN
China
Prior art keywords
playing
video
video file
mrow
state
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.)
Granted
Application number
CN201410251366.6A
Other languages
Chinese (zh)
Other versions
CN103997643B (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.)
BEIJING ANTUTU TECHNOLOGY Co Ltd
Original Assignee
BEIJING ANTUTU TECHNOLOGY 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 BEIJING ANTUTU TECHNOLOGY Co Ltd filed Critical BEIJING ANTUTU TECHNOLOGY Co Ltd
Priority to CN201410251366.6A priority Critical patent/CN103997643B/en
Publication of CN103997643A publication Critical patent/CN103997643A/en
Application granted granted Critical
Publication of CN103997643B publication Critical patent/CN103997643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The embodiment of the invention discloses a method and device for testing the video playing performance. The method for testing the video playing performance is applied to an electronic device and includes the steps that a video playing performance test instruction sent by a user is received; a response to the video playing performance test instruction is generated, a system video player of the electronic device is called for sequentially playing at least one preset video file, and therefore the playing state of the video file is determined; based on the playing state of the video file, a test result of the video playing performance of the electronic device is determined; the test result of the video playing performance of the electronic device is displayed. Compared with the prior art, the video playing performance of the electronic device is accurately and efficiently tested through the scheme.

Description

Video playing performance test method and device
Technical Field
The invention relates to the field of electronic equipment performance testing, in particular to a video playing performance testing method and device.
Background
With the increasing market demand of electronic devices such as smart televisions and set-top boxes, many manufacturers are designing and producing electronic devices with intelligent film watching functions. Due to the different levels of the manufacturers, the video playing performance of the electronic equipment sold in the market is different. The video playing performance of the electronic device generally refers to whether a system video player built in the electronic device supports video, playing quality, and the like.
In the prior art, if a user wants to judge the video playing performance of an electronic device, the user may refer to the hardware configuration information of the electronic device, but the hardware configuration cannot be marked with the video playing performance completely, and some manufacturers may also leave false on the hardware configuration information. Therefore, the user cannot accurately judge the video playing performance of the electronic device.
Therefore, how to accurately and efficiently test the video playing performance of the electronic equipment is an urgent problem to be solved.
Disclosure of Invention
Based on the above problems, the embodiment of the invention discloses a method and a device for testing video playing performance, so as to achieve the purpose of accurately and efficiently testing the video playing performance of electronic equipment. The technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for testing video playing performance, which is applied to an electronic device, and the method includes:
receiving a video playing performance test instruction sent by a user;
responding to the video playing performance test instruction, calling a system video player of the electronic equipment to sequentially play at least one preset video file, and further determining the playing state of the at least one video file;
determining a test result of the video playing performance of the electronic equipment based on the playing state of the at least one video file;
and displaying the test result of the video playing performance of the electronic equipment.
Optionally, the method for testing video playing performance according to the embodiment of the present invention further includes: and displaying the playing state of the at least one video file.
Optionally, the determining a test result of the video playing performance of the electronic device based on the playing state of the at least one video file includes:
determining a playing state score value corresponding to the at least one video file according to a preset corresponding relation between the playing state and the playing state score value based on the playing state of the at least one video file;
and obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value corresponding to the at least one video file.
Optionally, the formula used for obtaining the test result of the video playing performance of the electronic device includes:
<math> <mrow> <mi>F</mi> <mo>=</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>,</mo> </mrow> </math> or, <math> <mrow> <mi>F</mi> <mo>=</mo> <mfrac> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> </mrow> <mi>n</mi> </mfrac> <mo>;</mo> </mrow> </math>
wherein F is the score of the test result representing the video playing performance of the electronic equipment, n is the number of the played at least one video file, FkAnd the value is the playing state score of the k video file.
Optionally, the method for testing video playing performance according to the embodiment of the present invention further includes:
determining the frame loss amount of at least one video file during the process of sequentially playing at least one preset video file;
correspondingly, the determining a test result of the video playing performance of the electronic device based on the playing state of the at least one video file includes:
and determining a test result of the video playing performance of the electronic equipment based on the playing state and the frame loss amount of the at least one video file.
Optionally, the determining a test result of the video playing performance of the electronic device based on the playing state and the frame loss amount of the at least one video file includes:
determining a playing state score value corresponding to the at least one video file according to a preset corresponding relation between the playing state and the playing state score value based on the playing state of the at least one video file;
calculating a picture score value corresponding to the at least one video file based on the picture frame loss amount of the at least one video file;
and obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value and the picture score value corresponding to the at least one video file.
Optionally, the formula used for obtaining the test result of the video playing performance of the electronic device includes:
<math> <mrow> <mi>F</mi> <mo>=</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>s</mi> <mi>k</mi> </msub> <mo>,</mo> </mrow> </math> or, <math> <mrow> <mi>F</mi> <mo>=</mo> <mfrac> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>s</mi> <mi>k</mi> </msub> </mrow> <mi>n</mi> </mfrac> <mo>;</mo> </mrow> </math>
wherein F is the score of the test result representing the video playing performance of the electronic equipment, n is the number of the played at least one video file, FkA play status score value, S, for the k-th video file playedkIs a stand forAnd the picture score value of the k video file played.
Optionally, the formula for calculating the picture score value corresponding to the at least one video file includes:
<math> <mrow> <mi>S</mi> <mo>=</mo> <mfenced open='{' close=''> <mtable> <mtr> <mtd> <mi>q</mi> <mo>-</mo> <mfrac> <mrow> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> </mrow> <mi>tL</mi> </mfrac> <mo>&times;</mo> <mi>q</mi> <mo>,</mo> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> <mo>&lt;</mo> <mi>tL</mi> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> <mo>,</mo> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> <mo>&lt;</mo> <mi>tL</mi> </mtd> </mtr> </mtable> </mfenced> </mrow> </math>
wherein s is a picture score value of the video file, q is a full score value when no picture is lost, α is a preset coefficient, dt is a picture frame loss amount of the video file, and tL is a picture total frame amount of the video file.
Optionally, the playing status of the video file includes: a sound-picture state, a sound-picture state or a non-playable state;
wherein, the playing state score value corresponding to the sound and picture state and the playing state score value corresponding to the non-playing state are sequentially reduced; or the playing state score value corresponding to the sound and picture state is larger than the playing state score value corresponding to the non-playing state, and the playing state score values corresponding to the non-sound and picture states are located between the playing state score value corresponding to the sound and picture state and the playing state score value corresponding to the non-playing state.
Optionally, in the playing process of the video file, if the frequency values acquired by the audio acquisition classes provided by the system are all 0 but the OnInfo method provided by the system does not output "what 860", it is determined that the playing state of the current video file is no sound or a picture;
in the video file playing process, if the frequency values acquired by the audio acquisition classes provided by the system are not all 0 but the OnInfo method provided by the system outputs 'what 860', determining that the playing state of the current video file is a sound or picture state;
in the video file playing process, if the frequency values acquired by the audio acquisition classes provided by the system are not all 0 and the OnInfo method provided by the system does not output 'what 860', determining that the playing state of the current video file is sound and picture;
in the video file playing process, if an IO abnormal signal is received, or if the frequency values acquired by the audio acquisition class provided by the system are all 0 and the OnInfo method provided by the system outputs 'what 860', the playing state of the current video file is determined to be a non-playable state.
Optionally, in the playing process of the video file, "extra n" output by the onlnfo method is monitored, where n is a numerical value of int type, n of the monitored "extra n" is summed, and the summed result is determined as the frame loss amount of the video file.
Optionally, the preset video files played in sequence include at least two;
and at least one of the packaging format, the audio coding mode and the video coding mode of the at least two video files is different.
In a second aspect, an embodiment of the present invention further provides a video playing performance testing apparatus, which is applied to an electronic device, and the apparatus includes:
the test instruction receiving module is used for receiving a video playing performance test instruction sent by a user;
the test instruction response module is used for responding to the video playing performance test instruction and calling a system video player of the electronic equipment to sequentially play at least one preset video file;
a playing state determining module, configured to determine a playing state of the at least one video file;
the test result determining module is used for determining a test result of the video playing performance of the electronic equipment based on the playing state of the at least one video file;
and the display module is used for displaying the test result of the video playing performance of the electronic equipment.
Optionally, the display module is further configured to display a playing status of the at least one video file.
Optionally, the test result determining module includes:
a playing state score value determining unit, configured to determine, based on a playing state of the at least one video file, a playing state score value corresponding to the at least one video file according to a preset correspondence between the playing state and the playing state score value;
and the test result determining unit is used for obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value corresponding to the at least one video file.
Optionally, the video playing performance testing apparatus provided in the embodiment of the present invention further includes:
the frame loss amount determining module is used for determining the frame loss amount of at least one video file in the process of sequentially playing the preset at least one video file;
correspondingly, the test result determining module includes:
and the test result determining submodule is used for determining a test result of the video playing performance of the electronic equipment based on the playing state and the picture frame loss amount of the at least one video file.
Optionally, the test result determining sub-module includes:
a playing state score value determining unit, configured to determine, based on a playing state of the at least one video file, a playing state score value corresponding to the at least one video file according to a preset correspondence between the playing state and the playing state score value;
the picture score value determining unit is used for calculating the picture score value corresponding to the at least one video file based on the picture frame loss amount of the at least one video file;
and the test result determining unit is used for obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value and the picture score value corresponding to the at least one video file.
Compared with the prior art, in the scheme, the system video player of the electronic equipment is called to sequentially play at least one preset video file, the test result of the video playing performance of the electronic equipment is determined according to the playing state of the video file, and the video playing performance of the electronic equipment is not determined according to the hardware configuration. The system video player serving as the inherent video and audio playing module of the electronic equipment can better reflect the video and audio playing performance of the electronic equipment, the playing state of the video files is an important index for reflecting the video playing performance of the electronic equipment, and at least one video file is preset, so that the aim of accurately and efficiently testing the video playing performance of the electronic equipment is fulfilled.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a first flowchart of a video playing performance testing method according to an embodiment of the present invention;
fig. 2 is a second flowchart of a video playing performance testing method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a video playback performance testing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a second structure of a video playback performance testing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a method and a device for testing video playing performance, aiming at achieving the purpose of accurately and efficiently testing the video playing performance of electronic equipment.
It should be noted that the video playing performance testing method provided by the embodiment of the present invention is applied to an electronic device, and specifically, the electronic device has an audio and video playing function. In practical application, the electronic device may be: it is reasonable that the electronic equipment such as cell-phone, panel computer, notebook computer or desktop computer has audio-visual instant music.
As shown in fig. 1, a method for testing video playing performance may include:
s101, receiving a video playing performance test instruction sent by a user;
when a user wants to test the playing performance of the electronic equipment, a video playing performance test instruction can be sent out in a specific mode; and the electronic equipment can receive the video playing performance test instruction and further execute subsequent operation. For example, the specific manner may be: this is reasonable based on the way the interactive interface clicks a button, or alternatively, the way speech is entered.
S102, responding to the video playing performance test instruction, and calling a system video player of the electronic equipment to sequentially play at least one preset video file;
after receiving the video playing performance test instruction, the electronic device can respond to the video playing performance test instruction and call a system video player of the electronic device to sequentially play at least one preset video file.
It will be appreciated that, because the video playback capabilities of the electronic device need to be tested, the system video player of the electronic device may be invoked rather than invoking player software subsequently installed by the user. The system video player of the electronic device may be an inherent module that is built in the electronic device during the production of the electronic device and is used for realizing the video and audio playing function, and the inherent module cannot be unloaded generally.
And, the at least one video file may be: and files with different packaging formats, audio coding modes and/or video coding modes are pre-made. Specifically, the used packaging format may include: MP4(MPEG-4Part14), 3GP (a simplified version of MP4 format), AVI (Audio Video interleaved format), MOV (QuickTime film format), MPEG (Moving Pictures Experts Group), WMV (Windows Media Video), FLV (short for FLASH Video), MKV (Matroska (multimedia Container) a Media file in multimedia package format), etc., and the Audio Coding method may include MP3(Moving Picture Experts Group Audio Layer III), dynamic Picture Experts compression standard Audio Layer 3, AAC (Advanced Audio Coding), Dolby AC-3(Dolby Subdiviridoding-3), UDHE-AAC, AMR, WMAV 56, AVV 10, etc., and the Audio Coding method may include MPEG-5929 MPEG Video Coding, AVI (MPEG-4 Video Coding), AVI (Audio Video Coding method), AVI (Audio Video Coding method, AVI) (MPEG-32, AVI) (simplified version of the AVI, AVI (Audio Video interleaved format), AVI (Audio Video Coding method, AVI) (AV, H263, MPEG-2 (one of the standards of the Moving Picture Experts Group), WMV3, and the like.
It should be noted that, before the video is produced, the video related knowledge can be fully researched and analyzed, and the video file is produced by combining the mainstream common video formats in the market and the comprehensive information such as the video types supported by the equipment manufacturers, so as to cover the test requirements of the video playing performance of the universal electronic equipment in the market. It should be noted that the number of video files and the specific video format (i.e. the packaging format, the audio encoding method, and the video encoding method) may be set according to the actual application, which is also reasonable.
It is emphasized that, in practical applications, in order to implement a test with higher accuracy, the preset video files played in sequence include at least two; and at least one of the packaging format, the audio encoding mode and the video encoding mode of the at least two video files is different.
S103, determining the playing state of at least one video file;
when the system video player is called to play at least one preset video file in sequence, the playing state of the at least one video file can be determined, and then the test result of the video playing performance is determined according to the playing state. Specifically, in practical applications, the playing status of the video file may include: the sound-presence-picture state, the sound-absence-picture state, the sound-presence-absence-picture state, or the non-playable state, but is not limited thereto.
In addition, in order to represent the test result of the video playing performance of the electronic device by the score value subsequently, each playing state corresponds to the playing state score value respectively. Wherein, the playing state score value corresponding to the sound and picture state and the playing state score value corresponding to the non-playing state are sequentially reduced; or the playing state score value corresponding to the sound and picture state is larger than the playing state score value corresponding to the non-playing state, and the playing state score values corresponding to the sound and picture state and the sound and picture state are positioned between the playing state score value corresponding to the sound and picture state and the playing state score value corresponding to the non-playing state.
As will be understood by those skilled in the art, the specific determination method of the playing status of the video file can be seen as follows:
in the process of playing the video file, if the frequency values acquired by the audio acquisition class provided by the system are all 0 but the OnInfo method provided by the system does not output 'what 860', determining that the playing state of the current video file is no sound or a picture;
in the video file playing process, if the frequency values acquired by the audio acquisition classes provided by the system are not all 0 but the OnInfo method provided by the system outputs 'what 860', determining that the playing state of the current video file is a sound or picture state;
in the video file playing process, if the frequency values acquired by the audio acquisition classes provided by the system are not all 0 and the OnInfo method provided by the system does not output 'what 860', determining that the playing state of the current video file is sound and picture;
in the video file playing process, if an IO abnormal signal is received, or if the frequency values acquired by the audio acquisition class provided by the system are all 0 and the OnInfo method provided by the system outputs 'what 860', the playing state of the current video file is determined to be a non-playable state.
It is understood that the specific determination manner regarding the playing status of the video file is merely an example, and does not limit the embodiment of the present invention.
S104, determining a test result of the video playing performance of the electronic equipment based on the playing state of at least one video file;
after the play state of the at least one video file is determined, a test result of the video play performance of the electronic device may be determined based on the play state of the at least one video file.
The corresponding relation between the playing state of the video file and the score value of the playing state is preset, and then the score value of the playing state corresponding to the video file can be determined according to the playing state of the video file. Correspondingly, determining a test result of the video playing performance of the electronic device based on the playing state of the at least one video file may include:
determining a playing state score value corresponding to at least one video file according to a preset corresponding relation between the playing state and the playing state score value based on the playing state of the at least one video file;
and obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value corresponding to at least one video file.
For example, the formula for obtaining the test result of the video playing performance of the electronic device may include:
<math> <mrow> <mi>F</mi> <mo>=</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>,</mo> </mrow> </math> or, <math> <mrow> <mi>F</mi> <mo>=</mo> <mfrac> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> </mrow> <mi>n</mi> </mfrac> <mo>;</mo> </mrow> </math>
wherein, F is the score of the test result representing the video playing performance of the electronic equipment, n is the number of the played at least one video file, FkAnd the value is the playing state score of the k video file.
And S105, displaying the test result of the video playing performance of the electronic equipment.
After the test result of the video playing performance of the electronic equipment is determined, the test result of the video playing performance of the electronic equipment can be displayed, so that a user can know the test result of the video playing performance of the electronic equipment. It is understood that the specific display form of the test result may adopt the prior art, and is not described herein in detail.
Furthermore, in order to improve the user's further understanding of the video playing performance, the video playing performance testing method provided by the embodiment of the present invention may further include: and displaying the playing state of the at least one video file. The specific display form of the playing status of at least one video file may adopt the prior art, which is not described herein.
Compared with the prior art, in the scheme, the system video player of the electronic equipment is called to sequentially play at least one preset video file, the test result of the video playing performance of the electronic equipment is determined according to the playing state of the video file, and the video playing performance of the electronic equipment is not determined according to the hardware configuration. The system video player serving as the inherent video and audio playing module of the electronic equipment can better reflect the video and audio playing performance of the electronic equipment, the playing state of the video files is an important index for reflecting the video playing performance of the electronic equipment, and at least one video file is preset, so that the aim of accurately and efficiently testing the video playing performance of the electronic equipment is fulfilled.
The embodiment of the invention also provides a video playing performance testing method, which is used for testing the video playing performance of the electronic equipment from the aspects of the playing state of the video file and the picture playing effect.
It should be noted that the video playing performance testing method provided by the embodiment of the present invention is applied to an electronic device, and the electronic device has an audio and video playing function. In practical application, the electronic device may be: it is reasonable that the electronic equipment such as cell-phone, panel computer, notebook computer or desktop computer has audio-visual instant music.
As shown in fig. 2, a method for testing video playing performance may include:
s201, receiving a video playing performance test instruction sent by a user;
when a user wants to test the playing performance of the electronic equipment, a video playing performance test instruction can be sent out in a specific mode; and the electronic equipment can receive the video playing performance test instruction and further execute subsequent operation. For example, the specific manner may be: this is reasonable based on the way the interactive interface clicks a button, or alternatively, the way speech is entered.
S202, responding to the video playing performance test instruction, and calling a system video player of the electronic equipment to sequentially play at least one preset video file;
after receiving the video playing performance test instruction, the electronic device can respond to the video playing performance test instruction and call a system video player of the electronic device to sequentially play at least one preset video file.
It will be appreciated that, because the video playback capabilities of the electronic device need to be tested, the system video player of the electronic device may be invoked rather than invoking player software subsequently installed by the user. The system video player of the electronic device is an original module which is built in the electronic device when the electronic device is produced and is used for realizing the video and audio playing function, and the original module cannot be unloaded usually.
And, the at least one video file may be: and files with different packaging formats, audio coding modes and/or video coding modes are pre-made. Specifically, the used packaging format may include: MP4(MPEG-4Part14), 3GP (simplified version of MP4 format), AVI (Audio Video interleaved format), MOV (QuickTime film format), MPEG (Moving Pictures Experts Group), WMV (Windows Media Video), FLV (short for FLASH Video), MKV (Matroska (multimedia Container) a Media file in multimedia packaging format), etc., and the Audio Coding method may include MP3 (MP 3), UDHE-AAC, AMR, WMAV2, AVC 2 (Advanced Audio Coding), MPEG (Advanced Video Coding), MPEG Video Coding method may include MPEG Video 64 Group, AVI (Audio Video interleaved format), AVI (Audio Video Group), WMV (Windows Media Video), WMV (short for FLASH Video), etc., and the Audio Coding method may include MP3(Moving Picture Experts Group Audio Layer III), Audio Coding method may include MPEG Video Coding method, UDHE-3, AVM 2, AVG 2, AVC (simplified version of MP4 format), AVI (Audio Video Coding method may include MPEG Video Coding method, AVI (Audio Video Coding method), AVI (Audio Video Coding method may include MPEG-4, AVC, AVI (simplified version of AVI) and the like, and the Audio Coding method may include MPEG-3 (MPEG-4) and the MPEG-4 Coding method may include MPEG-3, AVI Coding method of encoding method of MPEG-encoding method of, H263, MPEG-2 (one of the standards of the Moving Picture Experts Group), WMV3, and so on.
It should be noted that, before the video is produced, the video related knowledge can be fully researched and analyzed, and the video file is produced by combining the mainstream common video formats in the market and the comprehensive information such as the video types supported by the equipment manufacturers, so as to cover the test requirements of the video playing performance of the universal electronic equipment in the market. It should be noted that the number of video files and the specific video format (i.e. the packaging format, the audio encoding method, and the video encoding method) may be set according to the actual application, which is also reasonable.
It is emphasized that, in practical applications, in order to achieve a test with higher accuracy, the preset video files played in sequence include at least two; and at least one of the packaging format, the audio encoding mode and the video encoding mode of the at least two video files is different.
S203, determining the playing state of at least one video file;
when the system video player is called to play at least one preset video file in sequence, the playing state of the at least one video file can be determined, and then the test result of the video playing performance is determined according to the playing state. Specifically, in practical applications, the playing status of the video file may include: the sound-presence-picture state, the sound-absence-picture state, the sound-presence-absence-picture state, or the non-playable state, but is not limited thereto.
In addition, in order to represent the test result of the video playing performance of the electronic device by the score value subsequently, each playing state corresponds to the playing state score value respectively. Wherein, the playing state score value corresponding to the sound and picture state and the playing state score value corresponding to the non-playing state are sequentially reduced; or the playing state score value corresponding to the sound and picture state is larger than the playing state score value corresponding to the non-playing state, and the playing state score values corresponding to the sound and picture state and the sound and picture state are positioned between the playing state score value corresponding to the sound and picture state and the playing state score value corresponding to the non-playing state.
As will be understood by those skilled in the art, the specific determination method of the playing status of the video file can be seen as follows:
in the process of playing the video file, if the frequency values acquired by the audio acquisition class provided by the system are all 0 but the OnInfo method provided by the system does not output 'what 860', determining that the playing state of the current video file is no sound or a picture;
in the video file playing process, if the frequency values acquired by the audio acquisition classes provided by the system are not all 0 but the OnInfo method provided by the system outputs 'what 860', determining that the playing state of the current video file is a sound or picture state;
in the video file playing process, if the frequency values acquired by the audio acquisition classes provided by the system are not all 0 and the OnInfo method provided by the system does not output 'what 860', determining that the playing state of the current video file is sound and picture;
in the video file playing process, if an IO abnormal signal is received, or if the frequency values acquired by the audio acquisition class provided by the system are all 0 and the OnInfo method provided by the system outputs 'what 860', the playing state of the current video file is determined to be a non-playable state.
It is understood that the specific determination manner regarding the playing status of the video file is merely an example, and does not limit the embodiment of the present invention.
S204, determining the frame loss amount of at least one video file in the process of calling the system video player to play the preset at least one video file in sequence;
it should be emphasized that, for a video file whose playing status is in a state of sound or no picture and a video file whose playing status is in a state of non-playing, it is reasonable to use all the frame numbers of the video file as the frame loss amount of the video file, or certainly, to not participate in the calculation of the frame loss amount of the video file and the calculation of the score value of the subsequent video file.
As can be understood by those skilled in the art, in daily life, when a high-definition video is played on some electronic devices, a situation that the video cannot be played even in a stuck state occurs, because the video parsing capability of the electronic device cannot meet the requirement of video playing, and a serious frame loss occurs. The video quality is usually very high, but it does not indicate that no frame loss occurs when the video file is played normally, and in a large case, the video delay is lower than the visual range of the user, so that the user cannot perceive the video. The serious frame loss in the video playing process can cause the result of video and audio asynchronism, and even cause the video file to be mistaken and unusable. Specifically, the reasons for frame loss can be divided into two categories, one category is caused by unreasonable configuration of software and hardware of the device and no matching, and the other category is caused by low quality of video source. Therefore, on the premise of ensuring the quality of at least one video file which is made in advance, the video playing performance of the electronic equipment can be embodied through the frame loss amount of the picture. In addition, in the playing process, the frame loss amount of the picture can be obtained in real time through a monitoring method, and the total frame loss amount of the video file in the playing process can be obtained after the playing of a single video is finished.
Specifically, the method for determining the frame loss amount of a video file may be as follows: in the process of playing the video file, "extra n" output by the OnInfo method is monitored, wherein n is a numerical value of int type,
and summing the monitored n in the 'extra n', and determining the summation result as the frame loss amount of the picture of the video file.
It should be noted that the manner of determining the frame loss amount of the picture of the video file is merely an example, and should not be construed as limiting the embodiment of the present invention.
S205, determining a test result of the video playing performance of the electronic equipment based on the playing state and the frame loss amount of at least one video file;
after the play state and the picture frame loss amount of the at least one video file are determined, a test result of the video play performance of the electronic device can be determined based on the play state and the picture frame loss amount of the at least one video file.
The method comprises the steps that the corresponding relation between the playing state of a video file and a playing state score value is preset, and then the playing state score value corresponding to the video file can be determined according to the playing state of the video file; and determining the picture score value of the video file according to the picture frame loss amount and a preset formula.
Correspondingly, the determining a test result of the video playing performance of the electronic device based on the playing state and the frame loss amount of the at least one video file may include:
determining a playing state score value corresponding to at least one video file according to a preset corresponding relation between the playing state and the playing state score value based on the playing state of the at least one video file;
calculating a picture score value corresponding to at least one video file based on the picture frame loss amount of the at least one video file;
and obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value and the picture score value corresponding to at least one video file.
For example, the formula for obtaining the test result of the video playing performance of the electronic device may include:
<math> <mrow> <mi>F</mi> <mo>=</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>s</mi> <mi>k</mi> </msub> <mo>,</mo> </mrow> </math> or, <math> <mrow> <mi>F</mi> <mo>=</mo> <mfrac> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>s</mi> <mi>k</mi> </msub> </mrow> <mi>n</mi> </mfrac> <mo>;</mo> </mrow> </math>
wherein, F is the score of the test result representing the video playing performance of the electronic equipment, n is the number of the played at least one video file, FkA play status score value, S, for the k-th video file playedkAnd the value of the picture score of the k video file played is obtained.
Specifically, the formula for calculating the picture score value corresponding to at least one video file may include:
<math> <mrow> <mi>S</mi> <mo>=</mo> <mfenced open='{' close=''> <mtable> <mtr> <mtd> <mi>q</mi> <mo>-</mo> <mfrac> <mrow> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> </mrow> <mi>tL</mi> </mfrac> <mo>&times;</mo> <mi>q</mi> <mo>,</mo> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> <mo>&lt;</mo> <mi>tL</mi> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> <mo>,</mo> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> <mo>&lt;</mo> <mi>tL</mi> </mtd> </mtr> </mtable> </mfenced> </mrow> </math>
wherein s is a picture score value of the video file, q is a full score value when no picture is lost, α is a preset coefficient, dt is a picture frame loss amount of the video file, and tL is a picture total frame amount of the video file.
And S206, displaying the test result of the video playing performance of the electronic equipment.
After the test result of the video playing performance of the electronic equipment is determined, the test result of the video playing performance of the electronic equipment can be displayed, so that a user can know the test result of the video playing performance of the electronic equipment. It is understood that the specific display form of the test result may adopt the prior art, and is not described herein in detail.
Furthermore, in order to improve the user's further understanding of the video playing performance, the video playing performance testing method provided by the embodiment of the present invention may further include: and displaying the playing state of the at least one video file. The specific display form of the playing status of at least one video file may adopt the prior art, which is not described herein.
Compared with the prior art, in the scheme, the system video player of the electronic equipment is called to sequentially play at least one preset video file, the test result of the video playing performance of the electronic equipment is determined according to the playing state of the video file and the frame loss amount of the picture, and the video playing performance of the electronic equipment is not determined according to the hardware configuration. The system video player serving as the inherent video and audio playing module of the electronic equipment can better reflect the video and audio playing performance of the electronic equipment, the playing state and the frame loss amount of the video files are important indexes for reflecting the video playing performance of the electronic equipment, and at least one video file is preset, so that the aim of accurately and efficiently testing the video playing performance of the electronic equipment is fulfilled.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a video playing performance testing apparatus, which is applied to an electronic device, and as shown in fig. 3, the apparatus may include:
a test instruction receiving module 310, configured to receive a video playing performance test instruction sent by a user;
a test instruction response module 320, configured to respond to the video playing performance test instruction, and invoke a system video player of the electronic device to sequentially play at least one preset video file;
a play status determining module 330, configured to determine a play status of the at least one video file;
the test result determining module 340 is configured to determine a test result of the video playing performance of the electronic device based on the playing status of the at least one video file;
the display module 350 is configured to display a test result of the video playing performance of the electronic device.
Compared with the prior art, in the scheme, the system video player of the electronic equipment is called to sequentially play at least one preset video file, the test result of the video playing performance of the electronic equipment is determined according to the playing state of the video file, and the video playing performance of the electronic equipment is not determined according to the hardware configuration. The system video player serving as the inherent video and audio playing module of the electronic equipment can better reflect the video and audio playing performance of the electronic equipment, the playing state of the video files is an important index for reflecting the video playing performance of the electronic equipment, and at least one video file is preset, so that the aim of accurately and efficiently testing the video playing performance of the electronic equipment is fulfilled.
Further, the display module 350 is further configured to display a playing status of the at least one video file. Specifically, the test result determining module 340 may include:
a playing state score value determining unit, configured to determine, based on a playing state of the at least one video file, a playing state score value corresponding to the at least one video file according to a preset correspondence between the playing state and the playing state score value;
and the test result determining unit is used for obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value corresponding to the at least one video file.
Specifically, the formula used for obtaining the test result of the video playing performance of the electronic device may include:
<math> <mrow> <mi>F</mi> <mo>=</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>,</mo> </mrow> </math> or, <math> <mrow> <mi>F</mi> <mo>=</mo> <mfrac> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> </mrow> <mi>n</mi> </mfrac> <mo>;</mo> </mrow> </math>
wherein F is the score of the test result representing the video playing performance of the electronic equipment, n is the number of the played at least one video file, FkAnd the value is the playing state score of the k video file.
Further, as shown in fig. 4, the video playback performance testing apparatus provided in the embodiment of the present invention may further include:
a frame loss amount determining module 360, configured to determine a frame loss amount of at least one video file during a process of sequentially playing at least one preset video file;
accordingly, the test result determining module 340 may include:
and the test result determining submodule is used for determining a test result of the video playing performance of the electronic equipment based on the playing state and the picture frame loss amount of the at least one video file.
Specifically, the test result determining sub-module may include:
a playing state score value determining unit, configured to determine, based on a playing state of the at least one video file, a playing state score value corresponding to the at least one video file according to a preset correspondence between the playing state and the playing state score value;
the picture score value determining unit is used for calculating the picture score value corresponding to the at least one video file based on the picture frame loss amount of the at least one video file;
and the test result determining unit is used for obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value and the picture score value corresponding to the at least one video file.
Specifically, the formula used for obtaining the test result of the video playing performance of the electronic device includes:
<math> <mrow> <mi>F</mi> <mo>=</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>s</mi> <mi>k</mi> </msub> <mo>,</mo> </mrow> </math> or, <math> <mrow> <mi>F</mi> <mo>=</mo> <mfrac> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>s</mi> <mi>k</mi> </msub> </mrow> <mi>n</mi> </mfrac> <mo>;</mo> </mrow> </math>
wherein F is the score of the test result representing the video playing performance of the electronic equipment, n is the number of the played at least one video file, FkA play status score value, S, for the k-th video file playedkAnd the value of the picture score of the k video file played is obtained.
Specifically, the formula for calculating the picture score value corresponding to the at least one video file includes:
<math> <mrow> <mi>S</mi> <mo>=</mo> <mfenced open='{' close=''> <mtable> <mtr> <mtd> <mi>q</mi> <mo>-</mo> <mfrac> <mrow> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> </mrow> <mi>tL</mi> </mfrac> <mo>&times;</mo> <mi>q</mi> <mo>,</mo> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> <mo>&lt;</mo> <mi>tL</mi> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> <mo>,</mo> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> <mo>&lt;</mo> <mi>tL</mi> </mtd> </mtr> </mtable> </mfenced> </mrow> </math>
wherein s is a picture score value of the video file, q is a full score value when no picture is lost, α is a preset coefficient, dt is a picture frame loss amount of the video file, and tL is a picture total frame amount of the video file.
Specifically, the playing status of the video file may include: a sound-picture state, a sound-picture state or a non-playable state;
wherein, the playing state score value corresponding to the sound and picture state and the playing state score value corresponding to the non-playing state are sequentially reduced; or the playing state score value corresponding to the sound and picture state is larger than the playing state score value corresponding to the non-playing state, and the playing state score values corresponding to the non-sound and picture states are located between the playing state score value corresponding to the sound and picture state and the playing state score value corresponding to the non-playing state.
Specifically, in the video file playing process, if the frequency values acquired by the audio acquisition class provided by the system are all 0 but the OnInfo method provided by the system does not output 'what 860', the playing state of the current video file is determined to be no sound or a picture;
in the video file playing process, if the frequency values acquired by the audio acquisition classes provided by the system are not all 0 but the OnInfo method provided by the system outputs 'what 860', determining that the playing state of the current video file is a sound or picture state;
in the video file playing process, if the frequency values acquired by the audio acquisition classes provided by the system are not all 0 and the OnInfo method provided by the system does not output 'what 860', determining that the playing state of the current video file is sound and picture;
in the video file playing process, if an IO abnormal signal is received, or if the frequency values acquired by the audio acquisition class provided by the system are all 0 and the OnInfo method provided by the system outputs 'what 860', the playing state of the current video file is determined to be a non-playable state.
Specifically, in the process of playing the video file, "extra n" output by the OnInfo method is monitored, wherein n is a numerical value of int type,
and summing the monitored n in the 'extra n', and determining the summation result as the frame loss amount of the video file.
For system or apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those skilled in the art will appreciate that all or part of the steps in the above method embodiments may be implemented by a program to instruct relevant hardware to perform the steps, and the program may be stored in a computer-readable storage medium, which is referred to herein as a storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (17)

1. A video playing performance testing method is applied to electronic equipment, and the method comprises the following steps:
receiving a video playing performance test instruction sent by a user;
responding to the video playing performance test instruction, calling a system video player of the electronic equipment to sequentially play at least one preset video file, and further determining the playing state of the at least one video file;
determining a test result of the video playing performance of the electronic equipment based on the playing state of the at least one video file;
and displaying the test result of the video playing performance of the electronic equipment.
2. The method of claim 1, further comprising:
and displaying the playing state of the at least one video file.
3. The method according to claim 1 or 2, wherein the determining a test result of the video playing performance of the electronic device based on the playing status of the at least one video file comprises:
determining a playing state score value corresponding to the at least one video file according to a preset corresponding relation between the playing state and the playing state score value based on the playing state of the at least one video file;
and obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value corresponding to the at least one video file.
4. The method of claim 3, wherein the formula for obtaining the test result of the video playing performance of the electronic device comprises:
<math> <mrow> <mi>F</mi> <mo>=</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>,</mo> </mrow> </math> or, <math> <mrow> <mi>F</mi> <mo>=</mo> <mfrac> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> </mrow> <mi>n</mi> </mfrac> <mo>;</mo> </mrow> </math>
wherein F is the score of the test result representing the video playing performance of the electronic equipment, n is the number of the played at least one video file, FkAnd the value is the playing state score of the k video file.
5. The method of claim 1 or 2, further comprising:
determining the frame loss amount of at least one video file in the process of sequentially playing the preset at least one video file;
correspondingly, the determining a test result of the video playing performance of the electronic device based on the playing state of the at least one video file includes:
and determining a test result of the video playing performance of the electronic equipment based on the playing state and the frame loss amount of the at least one video file.
6. The method of claim 5, wherein determining the test result of the video playing performance of the electronic device based on the playing status and the frame loss amount of the at least one video file comprises:
determining a playing state score value corresponding to the at least one video file according to a preset corresponding relation between the playing state and the playing state score value based on the playing state of the at least one video file;
calculating a picture score value corresponding to the at least one video file based on the picture frame loss amount of the at least one video file;
and obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value and the picture score value corresponding to the at least one video file.
7. The method of claim 6, wherein the formula for obtaining the test result of the video playing performance of the electronic device comprises:
<math> <mrow> <mi>F</mi> <mo>=</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>s</mi> <mi>k</mi> </msub> <mo>,</mo> </mrow> </math> or, <math> <mrow> <mi>F</mi> <mo>=</mo> <mfrac> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>f</mi> <mi>k</mi> </msub> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <msub> <mi>s</mi> <mi>k</mi> </msub> </mrow> <mi>n</mi> </mfrac> <mo>;</mo> </mrow> </math>
wherein F is the score of the test result representing the video playing performance of the electronic equipment, n is the number of the played at least one video file, FkA play status score value, S, for the k-th video file playedkAnd the value of the picture score of the k video file played is obtained.
8. The method according to claim 6 or 7, wherein the formula for calculating the corresponding picture score value of the at least one video file comprises:
<math> <mrow> <mi>S</mi> <mo>=</mo> <mfenced open='{' close=''> <mtable> <mtr> <mtd> <mi>q</mi> <mo>-</mo> <mfrac> <mrow> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> </mrow> <mi>tL</mi> </mfrac> <mo>&times;</mo> <mi>q</mi> <mo>,</mo> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> <mo>&lt;</mo> <mi>tL</mi> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> <mo>,</mo> <mi>dt</mi> <mo>&times;</mo> <mi>&alpha;</mi> <mo>&lt;</mo> <mi>tL</mi> </mtd> </mtr> </mtable> </mfenced> </mrow> </math>
wherein s is a picture score value of the video file, q is a full score value when no picture is lost, α is a preset coefficient, dt is a picture frame loss amount of the video file, and tL is a picture total frame amount of the video file.
9. The method of claim 3 or 6, wherein the play status of the video file comprises: a sound-picture state, a sound-picture state or a non-playable state;
wherein, the playing state score value corresponding to the sound and picture state and the playing state score value corresponding to the non-playing state are sequentially reduced; or the playing state score value corresponding to the sound and picture state is larger than the playing state score value corresponding to the non-playing state, and the playing state score values corresponding to the non-sound and picture states are located between the playing state score value corresponding to the sound and picture state and the playing state score value corresponding to the non-playing state.
10. The method of claim 9,
in the video file playing process, if the frequency values acquired by the audio acquisition class provided by the system are all 0 but the OnInfo method provided by the system does not output 'what 860', determining that the playing state of the current video file is no sound or a picture;
in the video file playing process, if the frequency values acquired by the audio acquisition classes provided by the system are not all 0 but the OnInfo method provided by the system outputs 'what 860', determining that the playing state of the current video file is a sound or picture state;
in the video file playing process, if the frequency values acquired by the audio acquisition classes provided by the system are not all 0 and the OnInfo method provided by the system does not output 'what 860', determining that the playing state of the current video file is sound and picture;
in the video file playing process, if an IO abnormal signal is received, or if the frequency values acquired by the audio acquisition class provided by the system are all 0 and the OnInfo method provided by the system outputs 'what 860', the playing state of the current video file is determined to be a non-playable state.
11. The method of claim 5,
monitoring 'extra n' output by the OnInfo method in the playing process of the video file, wherein n is a numerical value of int type, summing the monitored n in the 'extra n', and determining the summation result as the frame loss amount of the video file.
12. The method according to any one of claims 1 to 11,
the preset video files played in sequence comprise at least two preset video files;
and at least one of the packaging format, the audio coding mode and the video coding mode of the at least two video files is different.
13. A video playing performance testing device is applied to electronic equipment, and the device comprises:
the test instruction receiving module is used for receiving a video playing performance test instruction sent by a user;
the test instruction response module is used for responding to the video playing performance test instruction and calling a system video player of the electronic equipment to sequentially play at least one preset video file;
a playing state determining module, configured to determine a playing state of the at least one video file;
the test result determining module is used for determining a test result of the video playing performance of the electronic equipment based on the playing state of the at least one video file;
and the display module is used for displaying the test result of the video playing performance of the electronic equipment.
14. The apparatus of claim 13, wherein the display module is further configured to display a playing status of the at least one video file.
15. The apparatus of claim 13 or 14, wherein the test result determination module comprises:
a playing state score value determining unit, configured to determine, based on a playing state of the at least one video file, a playing state score value corresponding to the at least one video file according to a preset correspondence between the playing state and the playing state score value;
and the test result determining unit is used for obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value corresponding to the at least one video file.
16. The apparatus of claim 13 or 14, further comprising:
the frame loss amount determining module is used for determining the frame loss amount of at least one video file in the process of sequentially playing the preset at least one video file;
correspondingly, the test result determining module includes:
and the test result determining submodule is used for determining a test result of the video playing performance of the electronic equipment based on the playing state and the picture frame loss amount of the at least one video file.
17. The apparatus of claim 16, wherein the test result determination submodule comprises:
a playing state score value determining unit, configured to determine, based on a playing state of the at least one video file, a playing state score value corresponding to the at least one video file according to a preset correspondence between the playing state and the playing state score value;
the picture score value determining unit is used for calculating the picture score value corresponding to the at least one video file based on the picture frame loss amount of the at least one video file;
and the test result determining unit is used for obtaining a test result of the video playing performance of the electronic equipment according to the playing state score value and the picture score value corresponding to the at least one video file.
CN201410251366.6A 2014-06-06 2014-06-06 Video playback performance test methods and device Active CN103997643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410251366.6A CN103997643B (en) 2014-06-06 2014-06-06 Video playback performance test methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410251366.6A CN103997643B (en) 2014-06-06 2014-06-06 Video playback performance test methods and device

Publications (2)

Publication Number Publication Date
CN103997643A true CN103997643A (en) 2014-08-20
CN103997643B CN103997643B (en) 2016-04-20

Family

ID=51311629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410251366.6A Active CN103997643B (en) 2014-06-06 2014-06-06 Video playback performance test methods and device

Country Status (1)

Country Link
CN (1) CN103997643B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231051A (en) * 2016-08-01 2016-12-14 腾讯科技(深圳)有限公司 The method of testing of a kind of video decoding and relevant device
CN106371992A (en) * 2016-08-31 2017-02-01 腾讯科技(深圳)有限公司 Browser error detection method and device
CN106791808A (en) * 2016-12-14 2017-05-31 郑州云海信息技术有限公司 The detection method and device of a kind of video accelerator
CN106998467A (en) * 2017-04-18 2017-08-01 腾讯科技(深圳)有限公司 Media playback quality method of testing and device
CN107783866A (en) * 2016-08-26 2018-03-09 法乐第(北京)网络科技有限公司 The method of testing and device of a kind of multimedia equipment
CN108536575A (en) * 2017-03-02 2018-09-14 ***通信有限公司研究院 The test method and device of the user experience index of online audio and video playing
CN112150588A (en) * 2019-06-11 2020-12-29 腾讯科技(深圳)有限公司 Animation processing method and animation checking method
CN112214410A (en) * 2020-10-16 2021-01-12 四川长虹电器股份有限公司 System and method for automatically counting performance data of Android player
CN112995658A (en) * 2021-04-14 2021-06-18 浙江华创视讯科技有限公司 Automatic testing method, testing terminal and system for full performance of coding and decoding
CN114025240A (en) * 2021-10-12 2022-02-08 山东百盟信息技术有限公司 Method and device for determining television equipment capability, storage medium and electronic device
CN117979002A (en) * 2024-03-28 2024-05-03 深圳市艾科维达科技有限公司 Set top box performance test method based on big data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101137054A (en) * 2006-08-29 2008-03-05 郑州威科姆技术开发有限公司 Embedded type stream media player implementing method
CN101714380B (en) * 2008-10-06 2011-09-28 鸿富锦精密工业(深圳)有限公司 Testing device and testing method of audio file formats supported by audio player
CN102026017B (en) * 2010-11-29 2012-08-08 福州瑞芯微电子有限公司 Efficient test method for video decoding
CN102737681A (en) * 2012-05-02 2012-10-17 中国联合网络通信集团有限公司 Performance testing method and device of stream media player

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101137054A (en) * 2006-08-29 2008-03-05 郑州威科姆技术开发有限公司 Embedded type stream media player implementing method
CN101714380B (en) * 2008-10-06 2011-09-28 鸿富锦精密工业(深圳)有限公司 Testing device and testing method of audio file formats supported by audio player
CN102026017B (en) * 2010-11-29 2012-08-08 福州瑞芯微电子有限公司 Efficient test method for video decoding
CN102737681A (en) * 2012-05-02 2012-10-17 中国联合网络通信集团有限公司 Performance testing method and device of stream media player

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231051A (en) * 2016-08-01 2016-12-14 腾讯科技(深圳)有限公司 The method of testing of a kind of video decoding and relevant device
CN107783866A (en) * 2016-08-26 2018-03-09 法乐第(北京)网络科技有限公司 The method of testing and device of a kind of multimedia equipment
CN106371992A (en) * 2016-08-31 2017-02-01 腾讯科技(深圳)有限公司 Browser error detection method and device
CN106371992B (en) * 2016-08-31 2018-09-04 腾讯科技(深圳)有限公司 Browser error detection method and error detector element
CN106791808A (en) * 2016-12-14 2017-05-31 郑州云海信息技术有限公司 The detection method and device of a kind of video accelerator
CN108536575A (en) * 2017-03-02 2018-09-14 ***通信有限公司研究院 The test method and device of the user experience index of online audio and video playing
CN106998467A (en) * 2017-04-18 2017-08-01 腾讯科技(深圳)有限公司 Media playback quality method of testing and device
CN112150588A (en) * 2019-06-11 2020-12-29 腾讯科技(深圳)有限公司 Animation processing method and animation checking method
CN112214410A (en) * 2020-10-16 2021-01-12 四川长虹电器股份有限公司 System and method for automatically counting performance data of Android player
CN112995658A (en) * 2021-04-14 2021-06-18 浙江华创视讯科技有限公司 Automatic testing method, testing terminal and system for full performance of coding and decoding
CN112995658B (en) * 2021-04-14 2021-08-03 浙江华创视讯科技有限公司 Automatic testing method, testing terminal and system for full performance of coding and decoding
CN114025240A (en) * 2021-10-12 2022-02-08 山东百盟信息技术有限公司 Method and device for determining television equipment capability, storage medium and electronic device
CN114025240B (en) * 2021-10-12 2024-04-23 山东百盟信息技术有限公司 Method and device for determining television equipment capability, storage medium and electronic device
CN117979002A (en) * 2024-03-28 2024-05-03 深圳市艾科维达科技有限公司 Set top box performance test method based on big data
CN117979002B (en) * 2024-03-28 2024-06-18 深圳市艾科维达科技有限公司 Set top box performance test method based on big data

Also Published As

Publication number Publication date
CN103997643B (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN103997643B (en) Video playback performance test methods and device
US10546599B1 (en) Systems and methods for identifying a mute/sound sample-set attribute
US11972770B2 (en) Systems and methods for intelligent playback
WO2017092343A1 (en) Video data detection method and device
US20180220194A1 (en) System and method of displaying content and related social media data
US9653094B2 (en) Methods and systems for performing signal analysis to identify content types
CN102026017B (en) Efficient test method for video decoding
CN103946919B (en) For producing the method and system of audio metadata mass fraction
CN104967903A (en) Video play detection method and device
JP6617719B2 (en) Information processing apparatus, information recording medium, information processing method, and program
US9300997B2 (en) Consumption likelihood of linear content streams
CN108600816A (en) A kind of detecting method of media, device and media play system
CN103841451A (en) Multimedia playing method, device and terminal
US20140060288A1 (en) Testing device and storage medium with testing function, and testing method
CN104202595A (en) Video play performance test method and device
CN107783866A (en) The method of testing and device of a kind of multimedia equipment
CN103546725A (en) Mobile phone client and remote video monitor and control system and method
CN115604238A (en) Audio and video processing method, device, equipment and medium of Internet of things operating system
CN113055711B (en) Audio and video synchronous detection method and detection system thereof
CN104994434A (en) Video playing method and device
EP3499843A1 (en) Devices, systems, and methods for detecting usage of applications on a device
CN112099926A (en) Information processing method and device and electronic equipment
US20230300421A1 (en) User interface responsive to background video
US8655467B2 (en) Audio testing system and method
EP4024878A1 (en) A method and a system for testing audio-video synchronization of an audio-video player

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