CN102347047B - A kind of media player detection method and device - Google Patents

A kind of media player detection method and device Download PDF

Info

Publication number
CN102347047B
CN102347047B CN201010245201.XA CN201010245201A CN102347047B CN 102347047 B CN102347047 B CN 102347047B CN 201010245201 A CN201010245201 A CN 201010245201A CN 102347047 B CN102347047 B CN 102347047B
Authority
CN
China
Prior art keywords
multimedia file
line
media player
play
described multimedia
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
CN201010245201.XA
Other languages
Chinese (zh)
Other versions
CN102347047A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201010245201.XA priority Critical patent/CN102347047B/en
Publication of CN102347047A publication Critical patent/CN102347047A/en
Application granted granted Critical
Publication of CN102347047B publication Critical patent/CN102347047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of media player detection method and device, belong to multimedia play technology field.Described method comprises: open in the process of multimedia file at media player, obtain described multimedia file corresponding play up line; And/or in the process of multimedia file described in described media renderer plays, obtain the sequence of video images that described multimedia file is corresponding; According to described multimedia file corresponding play up line and/or sequence of video images, detect the broadcasting whether described media player can support file format belonging to described multimedia file.Described device comprises: acquisition module and processing module.The present invention by according to obtain certain multimedia file corresponding play up line and/or sequence of video images, detect the broadcasting whether media player can support file format belonging to this multimedia file, there is blank screen, Hua Ping when avoiding the broadcasting being detected existence by the mode of opening file, maybe the abnormal conditions such as cannot to play up, the tenability of media player to file format can be reflected exactly, improve the accuracy that media player is detected.

Description

A kind of media player detection method and device
Technical field
The present invention relates to multimedia play technology field, particularly a kind of media player detection method and device.
Background technology
Along with the development of computer communication technology, the form of multimedia file gets more and more, occurred omnipotent media player, omnipotent media player can support the broadcasting of various format multi-media file for this reason, provides all separately a kind of media player to avoid the multimedia file for often kind of form.But due to the form of multimedia file (according to incompletely statistics can more than 600 kinds) of a great variety, for the omnipotent media player of redaction, how to detect it and whether can support that the broadcasting of the multimedia file of various form is vital.
In prior art, whether the omnipotent media player detecting redaction can support that the method that the multimedia file of various form adopts is as follows: use the multimedia file of omnipotent media player to various form of redaction to open one by one, if open the multimedia file success of certain form, then determine that the broadcasting of the multimedia file of this kind of form supported by the omnipotent media player of redaction; If open the multimedia file failure of certain form, then determine that the broadcasting of the multimedia file of this kind of form do not supported by the omnipotent media player of redaction.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Existing detection method is by judging that can the multimedia file opening certain form determine whether omnipotent media player supports the broadcasting of the multimedia file of this kind of form, and in fact to there is a lot of situations be the multimedia file that omnipotent media player can open this kind of form, but actual play result incorrect (such as occur blank screen, spend screen maybe cannot play up), therefore the existing accuracy to the method that omnipotent media player detects is not high.
Summary of the invention
In order to improve the accuracy detected omnipotent media player, embodiments provide a kind of media player detection method and device.Described technical scheme is as follows:
A kind of media player detection method, described method comprises:
Open in the process of multimedia file at media player, obtain described multimedia file corresponding play up line;
According to described multimedia file corresponding play up line and/or sequence of video images, detect the broadcasting whether described media player can support file format belonging to described multimedia file;
Wherein, described according to described multimedia file corresponding play up line, detect described media player and whether can support that the broadcasting of file format belonging to described multimedia file comprises:
The line of playing up playing up line corresponding with the described multimedia file backed up in advance corresponding for described multimedia file is compared, whether judging two groups, to play up line consistent, the line of playing up that the described multimedia file of pre-backup is corresponding refers to: can correctly play described multimedia file and the media player identical with described media player type is opened in the process of described multimedia file, that sets up for described multimedia file plays up line;
If judged result is two groups play up line unanimously, then determine that described media player can support the broadcasting of file format belonging to described multimedia file.
A kind of media player detection method, described method comprises:
Open in the process of multimedia file at media player, obtain described multimedia file corresponding play up line; With, in the process of multimedia file described in described media renderer plays, obtain the sequence of video images that described multimedia file is corresponding;
According to described multimedia file corresponding play up line and sequence of video images, detect the broadcasting whether described media player can support file format belonging to described multimedia file;
Wherein, described according to described multimedia file corresponding play up line and sequence of video images, detect described media player and whether can support that the broadcasting of file format belonging to described multimedia file comprises:
The line of playing up playing up line corresponding with the described multimedia file backed up in advance corresponding for described multimedia file is compared, whether judging two groups, to play up line consistent, the line of playing up that the described multimedia file of pre-backup is corresponding refers to: can correctly play described multimedia file and the media player identical with described media player type is opened in the process of described multimedia file, that sets up for described multimedia file plays up line;
If judged result is two groups play up line unanimously, then determines to pass through the detection of playing up line of described multimedia file, and judge whether to play out described multimedia file; If judged result is two groups, to play up line inconsistent, then determine not pass through the detection of playing up line of described multimedia file, and judge whether to play out described multimedia file;
If judged result to play out described multimedia file, then the sequence of video images that sequence of video images corresponding for the described multimedia file obtained is corresponding with the described multimedia file backed up in advance is compared, judge that whether two groups of sequence of video images are consistent;
If it is consistent that judged result is two groups of sequence of video images, then determine that described media player can support the broadcasting of file format belonging to described multimedia file;
The sequence of video images that the described multimedia file of described acquisition is corresponding, comprising: gather video image according to the time interval of presetting, obtain the sequence of video images comprising multi-frame video image that described multimedia file is corresponding.
Further, when determine to the detection of playing up line of described multimedia file not by time, report to the police.
A kind of media player checkout gear, described device comprises:
Acquisition module, for opening in the process of multimedia file at media player, obtain described multimedia file corresponding play up line;
Processing module, what the multimedia file obtained according to described acquisition module was corresponding plays up line and/or sequence of video images, detects the broadcasting whether described media player can support file format belonging to described multimedia file;
Wherein, described processing module comprises:
First judging unit, the line of playing up that what the multimedia file for being obtained by described acquisition module was corresponding play up line is corresponding with the described multimedia file backed up in advance compares, whether judging two groups, to play up line consistent, the line of playing up that the described multimedia file of pre-backup is corresponding refers to: can correctly play described multimedia file and the media player identical with described media player type is opened in the process of described multimedia file, that sets up for described multimedia file plays up line;
First processing unit, for when the judged result of described first judging unit be two groups play up line consistent time, determine that described media player can support the broadcasting of file format belonging to described multimedia file.
A kind of media player checkout gear, described device comprises:
Acquisition module, for opening in the process of multimedia file at media player, obtain described multimedia file corresponding play up line; With, in the process of multimedia file described in described media renderer plays, obtain the sequence of video images that described multimedia file is corresponding;
Processing module, what the multimedia file obtained according to described acquisition module was corresponding plays up line and sequence of video images, detects the broadcasting whether described media player can support file format belonging to described multimedia file;
Wherein, described processing module comprises:
3rd judging unit, the line of playing up that what the multimedia file for being obtained by described acquisition module was corresponding play up line is corresponding with the described multimedia file backed up in advance compares, whether judging two groups, to play up line consistent, the line of playing up that the described multimedia file of pre-backup is corresponding refers to: can correctly play described multimedia file and the media player identical with described media player type is opened in the process of described multimedia file, that sets up for described multimedia file plays up line;
4th judging unit, for when the judged result of described 3rd judging unit be two groups play up line consistent time, determine to pass through the detection of playing up line of described multimedia file, and judge whether to play out described multimedia file; When the judged result of described 3rd judging unit be two groups play up line inconsistent time, determine not pass through the detection of playing up line of described multimedia file, and judge whether to play out described multimedia file;
5th judging unit, for being when can play out described multimedia file when the judged result of described 4th judging unit, the sequence of video images that sequence of video images corresponding for the described multimedia file obtained is corresponding with the described multimedia file backed up in advance compares, and judges that whether two groups of sequence of video images are consistent;
3rd processing unit, for when the judged result of described 5th judging unit be two groups of sequence of video images consistent time, determine that described media player can support the broadcasting of file format belonging to described multimedia file;
Described acquisition module, specifically for gathering video image according to the time interval of presetting, obtains the sequence of video images comprising multi-frame video image that described multimedia file is corresponding.
Further, described processing module also comprises:
Alarm unit, for determine when described 4th judging unit to the detection of playing up line of described multimedia file not by time, report to the police.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
By according to obtain certain multimedia file corresponding play up line and/or sequence of video images, detect the broadcasting whether media player can support file format belonging to this multimedia file, there is blank screen, Hua Ping when avoiding the broadcasting being detected existence by the mode of opening file, maybe the abnormal conditions such as cannot to play up, the tenability of media player to file format can be reflected exactly, improve the accuracy that media player is detected.
Accompanying drawing explanation
Fig. 1 is a kind of media player detection method flow chart that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of media player detection method flow chart that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of media player structure of the detecting device schematic diagram that the embodiment of the present invention 3 provides;
Fig. 4 is the another kind of media player structure of the detecting device schematic diagram that the embodiment of the present invention 3 provides;
Fig. 5 is another media player structure of the detecting device schematic diagram that the embodiment of the present invention 3 provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
See Fig. 1, embodiments provide a kind of media player detection method, the method comprises:
101: open in the process of multimedia file at media player, what acquisition multimedia file was corresponding plays up line; And/or in the process of media renderer plays multimedia file, obtain the sequence of video images that multimedia file is corresponding.
102: according to multimedia file corresponding play up line and/or sequence of video images, detect media player and whether can support the broadcasting of file format belonging to this multimedia file.
Further, according to multimedia file corresponding play up line, detect media player whether can support that the broadcasting of file format belonging to this multimedia file comprises:
Compared by corresponding for the multimedia file line of playing up playing up line corresponding with the multimedia file backed up in advance, whether judging two groups, to play up line consistent;
If judged result is two groups play up line unanimously, then determine that media player can support the broadcasting of file format belonging to this multimedia file.
Further, the sequence of video images corresponding according to multimedia file, detects media player and whether can support that the broadcasting of file format belonging to this multimedia file comprises:
The sequence of video images that sequence of video images corresponding for the multimedia file of acquisition is corresponding with the multimedia file backed up in advance compares, and judges that whether two groups of sequence of video images are consistent;
If it is consistent that judged result is two groups of sequence of video images, then determine that media player can support the broadcasting of file format belonging to this multimedia file.
Further, according to multimedia file corresponding play up line and sequence of video images, detect media player whether can support that the broadcasting of file format belonging to this multimedia file comprises:
Compared by corresponding for the multimedia file line of playing up playing up line corresponding with the multimedia file backed up in advance, whether judging two groups, to play up line consistent;
If judged result is two groups play up line unanimously, then determines to pass through the detection of playing up line of multimedia file, and judge whether to play out multimedia file; If judged result is two groups, to play up line inconsistent, then determine not pass through the detection of playing up line of multimedia file, and judge whether to play out multimedia file;
If judged result to play out multimedia file, then the sequence of video images that sequence of video images corresponding for the multimedia file of acquisition is corresponding with the multimedia file backed up in advance is compared, judge that whether two groups of sequence of video images are consistent;
If it is consistent that judged result is two groups of sequence of video images, then determine that media player can support the broadcasting of file format belonging to this multimedia file.
Further, the method also comprises: when determine to the detection of playing up line of multimedia file not by time, report to the police.
Media player detection method described in the embodiment of the present invention, by according to obtain certain multimedia file corresponding play up line and/or sequence of video images, detect the broadcasting whether media player can support file format belonging to this multimedia file, there is blank screen, Hua Ping when avoiding the broadcasting being detected existence by the mode of opening file, maybe the abnormal conditions such as cannot to play up, the tenability of media player to file format can be reflected exactly, improve the accuracy that media player is detected.
Embodiment 2
See Fig. 2, embodiments provide a kind of media player detection method, the method comprises:
201: open in the process of certain multimedia file at media player to be detected, set up this multimedia file corresponding play up line.
Wherein, media player to be detected needs detected its whether can support the media player of the broadcasting of the multimedia file of various form.
Particularly, the process that certain multimedia file opened by media player to be detected is as follows: by separator (Splitter), this multimedia file is separated into Audio and Video (if this multimedia file only comprises video or audio frequency, then only be separated into video or audio frequency), and by Audio and Video input video decoder (VideoDecoder) and audio decoder (AudioDecoder) respectively; Respectively Audio and Video is decoded by Video Decoder and audio decoder again, by decoded Audio and Video input video output equipment and audio output apparatus respectively; Then play up rear output to decoded Audio and Video respectively by picture output device and audio output apparatus, we just can see image, hear sound like this, realize the broadcasting of multimedia file.The filter (filter) to open being separated, decoding in the process of this multimedia file at media player to be detected, adopting when playing up output is recorded formation and is played up line.
Such as: in the present embodiment, media player to be detected is the QQ of redaction audio-visual (QQ is audio-visual is the player that any format video of a support released by company of Tengxun and audio file are play), certain multimedia file be 38 red-letter day video .WMV, the QQ of redaction audio-visual open 38 red-letter day video .WMV process in set up to play up line as shown in table 1.
Table 1
202: the line of playing up playing up line corresponding with this multimedia file backed up in advance corresponding for this multimedia file is compared, judge that whether unanimously two groups played up line, if unanimously, then performs 203; Otherwise, perform 204.
Wherein, the line of playing up that this multimedia file of pre-backup is corresponding refers to: can correctly play this multimedia file and the media player identical with media player type to be detected is opened in the process of this multimedia file, that sets up for this multimedia file plays up line.If media player to be detected is that the QQ of redaction is audio-visual, then can correctly play this multimedia file and the media player identical with media player type to be detected to be the QQ of legacy version audio-visual.
Particularly, can correctly play this multimedia file and the media player identical with media player type to be detected is opened in the process of this multimedia file, set up this multimedia file corresponding play up line, and set up this multimedia file corresponding relation of playing up line between corresponding with it, the corresponding relation played up between line corresponding with it for this multimedia file is stored in default server and backs up, make when needed, corresponding the playing up line and compare with it of this multimedia file of pre-backup can be obtained from the server preset.Wherein, the server preset can be this multimedia file for storing pre-backup corresponding play up the equipment such as the computer of the materials such as line.
It should be noted that, what this multimedia file of Real-time Obtaining was corresponding play up, and line is one group plays up line, corresponding with this multimedia file backed up in advance line of playing up is one group and plays up line, judge two groups play up line whether consistent time, can arranging two groups, to play up the filter that line comprises all consistent, then two groups to play up line consistent, also can arrange two groups and play up the filter that line comprises and have a few percent consistent, then two groups to play up line consistent.Can arrange flexibly according to practical application situation, this is not specifically limited.
Detected by the line of playing up corresponding to this multimedia file, avoid and can open this multimedia file but situation about cannot play up.
203: determine to pass through the detection of playing up line of this multimedia file, and judge whether media player to be detected can play out this multimedia file, if can, then perform 205; Otherwise, terminate.
204: determine not pass through the detection of playing up line of this multimedia file, report to the police, and judge whether media player to be detected can play out this multimedia file, if can, then perform 205; Otherwise, terminate.
It should be noted that if determine not pass through the detection of playing up line of this multimedia file, it might not be exactly the broadcasting that file format belonging to this multimedia file do not supported by media player to be detected, therefore can carry out detection to determine further by the video image of this multimedia file, to ensure that testing result is more accurate.
205: in the process of this multimedia file of media renderer plays to be detected, gather video image according to the time interval of presetting, obtain the sequence of video images comprising multi-frame video image that this multimedia file is corresponding.
Wherein, the time interval of presetting refers to every how long gathering a frame video image, and the time interval gathered between every 2 frame video images can be the same or different, and can arrange flexibly according to practical application situation to the time interval of presetting.
206: the sequence of video images that sequence of video images corresponding for this multimedia file collected is corresponding with this multimedia file backed up in advance compares, judge that whether two groups of sequence of video images are consistent, if unanimously, then perform 207; Otherwise, perform 208.
Wherein, the time interval between the frame number of the video image that the sequence of video images that this multimedia file of pre-backup is corresponding comprises and each frame video image, identical with the time interval between the frame number of the video image comprised in the sequence of video images collected and each frame video image.Particularly, can correctly play this multimedia file and in the process of this multimedia file of media renderer plays identical with media player type to be detected, video image is gathered according to the time interval of presetting, obtain the sequence of video images comprising multi-frame video image, and the sequence of video images obtained is stored in default server backs up.
Particularly, the sequence of video images that this multimedia file collected is corresponding is one group of sequence of video images, the sequence of video images corresponding with this multimedia file back up is in advance one group of sequence of video images, by the similarity between the video image that judges the correspondence between two comprised in two groups of sequence of video images, the present embodiment judges that whether two groups of sequence of video images are consistent.Such as: in the sequence of video images that this multimedia file collected in the present embodiment is corresponding, comprise 5 frame video images, wherein, the sequence of video images collected is as shown in table 2 with the similarity of each frame video image in the sequence of video images backed up in advance.
Table 2
Particularly, can similarity threshold be set, when Similarity value between 2 two field pictures is greater than default similarity threshold, then two two field pictures are similar, and can arrange the image similarity having a few percent between the video image that comprises in two groups of sequence of video images, then two groups of sequence of video images are consistent.
Such as the present embodiment sets similarity threshold as 95%, and establishes between the video image that comprises in two groups of sequence of video images and have absolutely image similarity, then two groups of sequence of video images are consistent.It is similar for having between 3 groups of video images in the present embodiment two groups of sequence of video images as can be drawn from Table 2, is dissimilar, show that these two groups of sequence of video images are inconsistent between 2 groups of video images.
Detected by the video image corresponding to this multimedia file, avoid and can open this multimedia file but the situation occurring the anomaly such as blank screen and Hua Ping.
207: determine to pass through the video images detection of this multimedia file, then terminate.
Determine to pass through the video images detection of this multimedia file, namely determine that the broadcasting of file format belonging to this multimedia file supported by media player to be detected.
208: determine not pass through the video images detection of this multimedia file, report to the police, then terminate.
It should be noted that, can prestore the multimedia file of N kind form in the server preset, N is positive integer, and in order to ensure the correctness detected media player, the value of N is the bigger the better.Such as, in the present embodiment, the form of multimedia file includes but not limited to MOV, music CD, MID, MP3, MP4, RAM and RA, MPG, VCD and DAT, SVCD, CVD, DVD, WMV etc.The multimedia file of the N kind form prestored in the server preset is detected one by one according to above-mentioned steps 201-208, namely can show whether media player to be detected can support the broadcasting of the multimedia file of various form.
In addition, it should be noted that, when detecting media player to be detected, not necessarily need certain multimedia file is not only played up to the detection of line but also carried out the detection of video image, only can play up the detection of line or the detection of video image to certain multimedia file according to practical application situation, namely the detection of the detection and video image of playing up line separately can be carried out, also can combine and carry out, can select flexibly according to practical application situation, this is not specifically limited.
Media player detection method described in the embodiment of the present invention, by according to obtain certain multimedia file corresponding play up line and sequence of video images, detect the broadcasting whether media player can support file format belonging to this multimedia file, the abnormal conditions such as occur blank screen, Hua Ping when avoiding the broadcasting being detected existence by the mode of opening file, cannot play up, the tenability of media player to file format can be reflected exactly, improve the accuracy that media player is detected.
Embodiment 3
Embodiments provide a kind of media player checkout gear, see Fig. 3, this device comprises:
Acquisition module 301, for opening in the process of multimedia file at media player, what acquisition multimedia file was corresponding plays up line; And/or in the process of media renderer plays multimedia file, obtain the sequence of video images that multimedia file is corresponding.
Processing module 302, what the multimedia file obtained according to described acquisition module 301 was corresponding plays up line and/or sequence of video images, detects the broadcasting whether media player can support file format belonging to this multimedia file.
Further, see Fig. 4, processing module 302 comprises:
First judging unit 302a, the line of playing up that what the multimedia file for being obtained by acquisition module 301 was corresponding play up line is corresponding with the multimedia file backed up in advance compares, and whether judging two groups, to play up line consistent;
First processing unit 302b, for when the judged result of the first judging unit 302a be two groups play up line consistent time, determine that media player can support the broadcasting of file format belonging to this multimedia file.
Further, processing module 302 comprises:
Second judging unit 302c, the sequence of video images that the sequence of video images that the multimedia file for being obtained by acquisition module 301 is corresponding is corresponding with the multimedia file backed up in advance compares, and judges that whether two groups of sequence of video images are consistent;
Second processing unit 302d, for when the judged result of the second judging unit 302c be two groups of sequence of video images consistent time, determine that media player can support the broadcasting of file format belonging to this multimedia file.
Further, processing module 302 comprises:
3rd judging unit 302e, the line of playing up that what the multimedia file for being obtained by acquisition module 301 was corresponding play up line is corresponding with the multimedia file backed up in advance compares, and whether judging two groups, to play up line consistent;
4th judging unit 302f, for when the judged result of the 3rd judging unit 302e be two groups play up line consistent time, determine to pass through the detection of playing up line of multimedia file, and judge whether to play out multimedia file; When the judged result of the 3rd judging unit be two groups play up line inconsistent time, determine not pass through the detection of playing up line of multimedia file, and judge whether to play out multimedia file;
5th judging unit 302g, for being when can play out multimedia file when the judged result of the 4th judging unit 302f, the sequence of video images that sequence of video images corresponding for the multimedia file of acquisition is corresponding with the multimedia file backed up in advance compares, and judges that whether two groups of sequence of video images are consistent;
3rd processing unit 302h, for when the judged result of the 5th judging unit 302g be two groups of sequence of video images consistent time, determine that media player can support the broadcasting of file format belonging to this multimedia file.
Further, see Fig. 5, processing module 302 also comprises:
Alarm unit 302i, for determine as the 4th judging unit 302f to the detection of playing up line of multimedia file not by time, report to the police.
Media player checkout gear described in the embodiment of the present invention, by according to obtain certain multimedia file corresponding play up line and/or sequence of video images, detect the broadcasting whether media player can support file format belonging to this multimedia file, there is blank screen, Hua Ping when avoiding the broadcasting being detected existence by the mode of opening file, maybe the abnormal conditions such as cannot to play up, the tenability of media player to file format can be reflected exactly, improve the accuracy that media player is detected.
All or part of content in the technical scheme that above embodiment provides can be realized by software programming, and its software program is stored in the storage medium that can read, storage medium such as: the hard disk in computer, CD or floppy disk.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a media player detection method, is characterized in that, described method comprises:
Open in the process of multimedia file at media player, obtain described multimedia file corresponding play up line;
According to described multimedia file corresponding play up line, detect the broadcasting whether described media player can support file format belonging to described multimedia file;
Wherein, described according to described multimedia file corresponding play up line, detect described media player and whether can support that the broadcasting of file format belonging to described multimedia file comprises:
The line of playing up playing up line corresponding with the described multimedia file backed up in advance corresponding for described multimedia file is compared, whether judging two groups, to play up line consistent, the line of playing up that the described multimedia file of pre-backup is corresponding refers to: can correctly play described multimedia file and the media player identical with described media player type is opened in the process of described multimedia file, that sets up for described multimedia file plays up line;
If judged result is two groups play up line unanimously, then determine that described media player can support the broadcasting of file format belonging to described multimedia file.
2. a media player detection method, is characterized in that, described method comprises:
Open in the process of multimedia file at media player, obtain described multimedia file corresponding play up line; With, in the process of multimedia file described in described media renderer plays, obtain the sequence of video images that described multimedia file is corresponding;
According to described multimedia file corresponding play up line and sequence of video images, detect the broadcasting whether described media player can support file format belonging to described multimedia file;
Wherein, described according to described multimedia file corresponding play up line and sequence of video images, detect described media player and whether can support that the broadcasting of file format belonging to described multimedia file comprises:
The line of playing up playing up line corresponding with the described multimedia file backed up in advance corresponding for described multimedia file is compared, whether judging two groups, to play up line consistent, the line of playing up that the described multimedia file of pre-backup is corresponding refers to: can correctly play described multimedia file and the media player identical with described media player type is opened in the process of described multimedia file, that sets up for described multimedia file plays up line;
If judged result is two groups play up line unanimously, then determines to pass through the detection of playing up line of described multimedia file, and judge whether to play out described multimedia file; If judged result is two groups, to play up line inconsistent, then determine not pass through the detection of playing up line of described multimedia file, and judge whether to play out described multimedia file;
If judged result to play out described multimedia file, then the sequence of video images that sequence of video images corresponding for the described multimedia file obtained is corresponding with the described multimedia file backed up in advance is compared, judge that whether two groups of sequence of video images are consistent;
If it is consistent that judged result is two groups of sequence of video images, then determine that described media player can support the broadcasting of file format belonging to described multimedia file;
The sequence of video images that the described multimedia file of described acquisition is corresponding, comprising: gather video image according to the time interval of presetting, obtain the sequence of video images comprising multi-frame video image that described multimedia file is corresponding.
3. media player detection method according to claim 2, is characterized in that, described method also comprises: when determine to the detection of playing up line of described multimedia file not by time, report to the police.
4. a media player checkout gear, is characterized in that, described device comprises:
Acquisition module, for opening in the process of multimedia file at media player, obtain described multimedia file corresponding play up line;
Processing module, what the multimedia file obtained according to described acquisition module was corresponding plays up line, detects the broadcasting whether described media player can support file format belonging to described multimedia file;
Wherein, described processing module comprises:
First judging unit, the line of playing up that what the multimedia file for being obtained by described acquisition module was corresponding play up line is corresponding with the described multimedia file backed up in advance compares, whether judging two groups, to play up line consistent, the line of playing up that the described multimedia file of pre-backup is corresponding refers to: can correctly play described multimedia file and the media player identical with described media player type is opened in the process of described multimedia file, that sets up for described multimedia file plays up line;
First processing unit, for when the judged result of described first judging unit be two groups play up line consistent time, determine that described media player can support the broadcasting of file format belonging to described multimedia file.
5. a media player checkout gear, is characterized in that, described device comprises:
Acquisition module, for opening in the process of multimedia file at media player, obtain described multimedia file corresponding play up line; With, in the process of multimedia file described in described media renderer plays, obtain the sequence of video images that described multimedia file is corresponding;
Processing module, what the multimedia file obtained according to described acquisition module was corresponding plays up line and sequence of video images, detects the broadcasting whether described media player can support file format belonging to described multimedia file;
Wherein, described processing module comprises:
3rd judging unit, the line of playing up that what the multimedia file for being obtained by described acquisition module was corresponding play up line is corresponding with the described multimedia file backed up in advance compares, whether judging two groups, to play up line consistent, the line of playing up that the described multimedia file of pre-backup is corresponding refers to: can correctly play described multimedia file and the media player identical with described media player type is opened in the process of described multimedia file, that sets up for described multimedia file plays up line;
4th judging unit, for when the judged result of described 3rd judging unit be two groups play up line consistent time, determine to pass through the detection of playing up line of described multimedia file, and judge whether to play out described multimedia file; When the judged result of described 3rd judging unit be two groups play up line inconsistent time, determine not pass through the detection of playing up line of described multimedia file, and judge whether to play out described multimedia file;
5th judging unit, for being when can play out described multimedia file when the judged result of described 4th judging unit, the sequence of video images that sequence of video images corresponding for the described multimedia file obtained is corresponding with the described multimedia file backed up in advance compares, and judges that whether two groups of sequence of video images are consistent;
3rd processing unit, for when the judged result of described 5th judging unit be two groups of sequence of video images consistent time, determine that described media player can support the broadcasting of file format belonging to described multimedia file;
Described acquisition module, specifically for gathering video image according to the time interval of presetting, obtains the sequence of video images comprising multi-frame video image that described multimedia file is corresponding.
6. media player checkout gear according to claim 5, is characterized in that, described processing module also comprises:
Alarm unit, for determine when described 4th judging unit to the detection of playing up line of described multimedia file not by time, report to the police.
CN201010245201.XA 2010-07-30 2010-07-30 A kind of media player detection method and device Active CN102347047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010245201.XA CN102347047B (en) 2010-07-30 2010-07-30 A kind of media player detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010245201.XA CN102347047B (en) 2010-07-30 2010-07-30 A kind of media player detection method and device

Publications (2)

Publication Number Publication Date
CN102347047A CN102347047A (en) 2012-02-08
CN102347047B true CN102347047B (en) 2016-01-20

Family

ID=45545655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010245201.XA Active CN102347047B (en) 2010-07-30 2010-07-30 A kind of media player detection method and device

Country Status (1)

Country Link
CN (1) CN102347047B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105792020A (en) * 2014-12-26 2016-07-20 北京奇虎科技有限公司 Method and device for playing video file
CN104980793B (en) * 2015-03-20 2018-11-06 腾讯科技(深圳)有限公司 A kind of method and terminal of video detection
CN105187953A (en) * 2015-07-17 2015-12-23 天脉聚源(北京)科技有限公司 Method and device for playing files
CN105163203B (en) * 2015-07-20 2018-07-20 天脉聚源(北京)科技有限公司 The method and apparatus of playing video file

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690972A (en) * 2004-04-26 2005-11-02 联想(北京)有限公司 Method for testing whether the image storage medium played in a computer is normal
CN101577110A (en) * 2009-05-31 2009-11-11 腾讯科技(深圳)有限公司 Method for playing videos and video player

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529503A (en) * 2003-10-17 2004-09-15 清华大学 Method for selecting video flow code in video gate-link
KR100754196B1 (en) * 2005-12-10 2007-09-03 삼성전자주식회사 Method for switching media renderer in the middle of streaming playback of content
CN101616266B (en) * 2008-06-27 2013-10-30 新奥特(北京)视频技术有限公司 Conversion method by using filter
CN101552791B (en) * 2009-05-22 2012-09-19 腾讯科技(深圳)有限公司 Method and system for playing multiple media file

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690972A (en) * 2004-04-26 2005-11-02 联想(北京)有限公司 Method for testing whether the image storage medium played in a computer is normal
CN101577110A (en) * 2009-05-31 2009-11-11 腾讯科技(深圳)有限公司 Method for playing videos and video player

Also Published As

Publication number Publication date
CN102347047A (en) 2012-02-08

Similar Documents

Publication Publication Date Title
CN102347047B (en) A kind of media player detection method and device
US20060080104A1 (en) Method for testing an audio device associated to a computer
CN103731631A (en) Method, device and system for transmitting video image
EP1703729A3 (en) Digital broadcasting recording/reproducing apparatus and method for the same
CN1869943A (en) Method for detecting audio connection function of audio receiver and computer mainframe board
CN101267498B (en) Apparatus and method for outputting contents information
KR100781512B1 (en) Apparatus and method for playing multimedia files selecting multimedia file which can be played in embedded device
CN102930875B (en) A kind of method of real-time synchronization video and audio recording
CN102902616A (en) Recording method and system and terminal of terminal faults
KR101029707B1 (en) Method and apparatus for preventing recording of image data by using hdmi card
CN1392498A (en) Method and device for automatically or electronically addressing data in files
CN101873254B (en) Transport stream processing system and related method thereof
RU2525482C2 (en) Reproducing device, reproducing method, recording device, recording method, programme and data structure
JP2008287792A (en) Video and audio reproducing device and its signal output method
RU2004126157A (en) METHOD FOR SUBMITTING AUXILIARY DATA FOR AN INTERACTIVE RECORDING MEDIA
CN205385548U (en) H. 265, leading digital video recorder of big way network
CN1801922A (en) Method of reproducing documents comprising impaired sequences and, associated reproduction device
CN201307908Y (en) Digital video recorder-monitor all-in-one machine capable of USB backup
JP7543818B2 (en) CONTENT VIEWING DEVICE, LOG COLLECTION SYSTEM, AND LOG COLLECTION METHOD
CN201114416Y (en) LCD and personal video recording digital TV STB integration device
US20060182416A1 (en) Subtitle scrolling detecting device and method
CN2901742Y (en) Digital video recorder and monitor integrated machine with optical disc backup function
CN201278264Y (en) Media recorder capable of receiving digital television broadcast signal
US8619763B2 (en) Method and apparatus for storing and reproducing interactive service of digital broadcast
CN201044162Y (en) Digital video finder monitor

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