CN108064448A - A kind of playback equipment and its playback method - Google Patents

A kind of playback equipment and its playback method Download PDF

Info

Publication number
CN108064448A
CN108064448A CN201680036068.2A CN201680036068A CN108064448A CN 108064448 A CN108064448 A CN 108064448A CN 201680036068 A CN201680036068 A CN 201680036068A CN 108064448 A CN108064448 A CN 108064448A
Authority
CN
China
Prior art keywords
video file
information
frame
video
format information
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.)
Pending
Application number
CN201680036068.2A
Other languages
Chinese (zh)
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.)
Shenzhen Royole Technologies Co Ltd
Royole Corp
Original Assignee
Shenzhen Royole Technologies 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 Shenzhen Royole Technologies Co Ltd filed Critical Shenzhen Royole Technologies Co Ltd
Publication of CN108064448A publication Critical patent/CN108064448A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present invention relates to a kind of playback equipment and its playback methods, are related to display broadcasting field, which includes:Sectional drawing unit, for obtaining an at least first frame in video file;Information process unit carries out image according to first frame and compares processing the first comparison information of acquisition;Acquiring unit is analyzed according to the first comparison information and obtains the first format information;Broadcast unit, according to the first format information judge video format for 3 D video form when, play mode is switched to three-dimensional play mode and plays out;According to the first format information judge video format for two-dimensional video form when, the play mode of playback equipment is switched to two-dimentional play mode and plays out;It also offers a kind of playback methods suitable for the playback equipment.The present invention can quickly identify that video format information automatically switches play mode, solve Online Video file play mode decision problem.

Description

A kind of playback equipment and its playback method
Technical field
The present invention relates to play display field more particularly to a kind of playback equipment and its playback method.
Background technology
At present, cinema screen, domestic TV and wear display etc. equipment applications three-dimensional digital technology appreciate spectators To three-dimensional Three-dimensional Display effect.Video file broadcast format is no longer limited to plane, and Three-dimensional Display effect makes spectators in viewing When more have sensation on the spot in person.Existing three-dimensional digital technology species is various, and basic principle is similar, is distinguished using left and right human eye Different pictures are received, then image information is overlapped by brain and is lived again, form the image with stereo directional effect.
During playback equipment playing video file, the generally planar figure of the pages such as video file list in device systems, choosing It selects when playing stored 3 D video file and directly conversion plays between two-dimensional video file and 3 D video file When, it all refers to two-dimensional/three-dimensional and shows switching problem.Usually shown using button switching two-dimensional/three-dimensional, but need to set it is external by Bond structure adds the processing procedure process and production cost of display device.
In the prior art, remove button operation structure and realize that two-dimensional/three-dimensional play mode automatically switches, it is necessary to be regarded from object A large amount of sectional drawings are intercepted in frequency file and judge its format information, compare respectively every sectional drawing left and right split screen or upper and lower split screen it is similar Degree.Its every similarity is relatively low, is determined as two-dimensional video file;Every similarity is higher, is determined as 3 D video file.Interception The process of a large amount of sectional drawings needs the plenty of time, influences recognition speed, and consumes a large amount of memories of equipment, during applied to mobile equipment It has greater limitations.Moreover, the determination method for the video format information that this large amount of sectional drawings of interception carry out split screen comparison cannot It applied to Online Video file, is cached before being played due to Online Video file without video data, it is impossible to obtain in advance a large amount of Sample, thus 3 D video file judgement can not be carried out to it.
The content of the invention
Embodiments of the present invention, which provide, a kind of can quickly identify that video format information automatically switches play mode Playback equipment and its playback method.
One side according to the invention provides a kind of playback equipment, which includes:Sectional drawing unit, is used for An at least first frame in video file is obtained, the first frame is any one frame in the video file;Information process unit is used Image, which is carried out, in the first frame obtained according to the sectional drawing unit compares processing the first comparison information of acquisition;Acquiring unit, First comparison information analysis for being obtained according to described information processing unit obtains the first format information;Broadcast unit, For first format information that is obtained according to the acquiring unit judge the video file for 3 D video form when, institute The play mode for stating playback equipment is switched to three-dimensional play mode, and plays the video text by the three-dimensional play mode Part;First format information obtained according to the acquiring unit judge the video file for two-dimensional video form when, institute The play mode for stating playback equipment is switched to two-dimentional play mode, and plays the video text by the two-dimentional play mode Part.
Other side according to the invention provides a kind of playback method, which includes:Playback equipment obtains An at least first frame in video file, the first frame are any one frame in the video file;It is carried out according to the first frame Image compares processing and obtains the first comparison information;It is analyzed according to first comparison information and obtains the first format information;According to institute State the first format information judge the video file for 3 D video form when, the play mode of the playback equipment is switched to three Play mode is tieed up, and the video file is played by the three-dimensional play mode;Institute is judged according to first format information State video file for two-dimensional video form when, the play mode of the playback equipment is switched to two-dimentional play mode, and passes through institute It states two-dimentional play mode and plays the video file.
A kind of playback equipment and its playback method provided in an embodiment of the present invention can obtain in video file before and after broadcasting An at least frame carries out the two field picture intercepted image and compares processing acquisition comparison information, when comparison information is in preset value In the range of judge video format information be 3 D video file, the play mode of playback equipment is switched to three-dimensional play mode, and Pass through three-dimensional play mode playing video file;Judge that video format information is two dimension when comparison information is in outside values Video file, the play mode of playback equipment is switched to two-dimentional play mode, and passes through two-dimentional play mode playing video file. So as to quickly identify that video format information automatically switches play mode, and when truncated picture is at least two frames and the lattice judged It is corresponding to judge that result video file is stored in respective cache unit when formula information is consistent, without judging directly to play again.Add The speed and fluency that play mode two-dimensional/three-dimensional automatically switches when speed video file plays, solve Online Video file Play mode decision problem.
Description of the drawings
Drawings below is used to combine specific embodiment each embodiment that the present invention will be described in detail.It is it should be appreciated that attached Each element illustrated in figure does not represent actual size and proportionate relationship, merely to clearly illustrating and illustrating what is come and show It is intended to, is not construed as limitation of the present invention.
Fig. 1 is the structure chart for the playback equipment that a preferred embodiment of the present invention provides;
Fig. 2 is the structure chart for the playback equipment that another preferred embodiment of the present invention provides;
Fig. 3 is the structure chart for the playback equipment that another preferred embodiment of the present invention provides;
Fig. 4 is the flow chart for the playback method that a preferred embodiment of the present invention provides;
Fig. 5 is the flow chart for the playback method that another preferred embodiment of the present invention provides;
Fig. 6 is that image compares processing schematic diagram in Fig. 5 playback methods;
Fig. 7 is the flow chart for the playback method that another preferred embodiment of the present invention provides.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with multiple embodiments and Attached drawing, the present invention will be described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain The present invention is not intended to limit the present invention.
The embodiment of the present invention provides a kind of playback equipment, and with reference to figure 1, Fig. 1 broadcasts for what a preferred embodiment of the present invention provided Put the structure chart of equipment.The playback equipment includes:
10:Sectional drawing unit, for obtaining an at least first frame in video file, first frame is any one in video file Frame.More preferably, the time of a playback equipment acquisition at least first frame can play video text after the video file is stored Before part, it can also can also store and play simultaneously when video file commences play out after the video file is stored When beginning.
11:Information process unit, the first frame for being obtained according to sectional drawing unit carry out image and compare processing acquisition first Comparison information.First frame is divided into first area and second area through First Line, by the image in first area and second area It is compared and obtains the first comparison information, i.e., image and image similarity in second area, compare first area in first area Include but not limited to the image similarity calculation method, straight of image gray processing, distinguished point based with the method for second area image Square figure matching process etc..
12:Acquiring unit, the first comparison information analysis for being obtained according to information process unit obtain the first form letter Breath.
A values are set in acquiring unit as 0-1,0 expression first area compares completely not with second area image Similar, 1 expression first area compares identical with second area image.Acquiring unit is default including the first preset value and second Value, the first preset value are less than the second preset value, and the first preset value is more than 0, and the second preset value is less than 1.When the first comparison information is big When 0 is less than the first preset value, the first format information of acquisition judges that video file is two-dimensional video form;When the first comparison letter When breath is more than or equal to the first preset value and is less than 1, image and image in second area are not exactly the same in first area, and the of acquisition One format information judges that video file is 3 D video form;More preferably, when the first comparison information is more than or equal to the first preset value During less than or equal to the second preset value, the first format information of acquisition judges that video file is 3 D video form.It is preferable to obtain Technique effect, the first preset value can be set as 0.8;Second preset value is 0.9, and the first comparison information is less than more than 0.8 etc. The first format information obtained when 0.9 judges that video file is 3 D video form.
13:Broadcast unit, the video format that the first format information for being obtained according to acquiring unit judges, which switches, to be played Pattern.Broadcast unit include according to acquiring unit obtain the first format information judge video file for 3 D video form when, The play mode of playback equipment is switched to three-dimensional play mode, and passes through three-dimensional play mode playing video file;According to acquisition Unit obtain the first format information judge video file for two-dimensional video form when, the play mode of playback equipment is switched to two Play mode is tieed up, and passes through two-dimentional play mode playing video file.
With reference to figure 2, Fig. 2 is the structure chart for the playback equipment that another preferred embodiment of the present invention provides.The equipment includes:
20:Storage unit, for storing the first video file.After first video file input playback equipment, do not play also Before, proceed by video format identification.
21:Sectional drawing unit obtains an at least first frame for the first video file for being stored according to storage unit, and first Frame is any one frame in the first video file.It is literary from the first video by sectional drawing unit before the first video file plays out Any one frame is intercepted in part as first frame.
22:Information process unit, the first frame for being obtained according to sectional drawing unit carry out image and compare processing acquisition first Comparison information.
Information process unit carries out image comparison processing by left and right split screen tupe, according to comparison left and right split screen image First or so split screen similarity of acquisition of information;Second or so split screen phase of topography's acquisition of information is corresponded to according to left and right split screen is compared Like degree;Shield 3rd or so split screen similarity of different zones image information acquisition according to unilateral side is compared.According to the first or so split screen phase The first comparison information is obtained like degree, the second or so split screen similarity and 3rd or so split screen similarity.The comparison letter of any one frame Breath is made of the first or so split screen similarity, the second or so split screen similarity and 3rd or so split screen similarity.
Specifically, first frame is divided into first area and second area through First Line, first area edge is arranged on left split screen Interior or overlapped with left split screen, second area edge is arranged in right split screen or is overlapped with right split screen.By first area and second area Interior image, which is compared, obtains the first or so split screen similarity, i.e., image is similar to image in second area in first area Degree.One the 3rd region is chosen in first area, the edge in the 3rd region is set in first area, and one the is chosen in second area Four regions, the edge of the fourth region are set in second area, the position of the 3rd region opposing first regions, with the fourth region phase Same or similar to the position of second area, the 3rd region is compared with the fourth region obtains the second or so split screen similarity. One the 5th region is chosen in first area and the 6th region, the 5th edges of regions are set in first area, the 6th edges of regions It is set in first area, and the 5th region and the 6th region are non-intersect, acquisition is compared with the 6th region for the 5th region Three or so split screen similarities.The method for comparing above-mentioned zone image includes but not limited to the figure of image gray processing, distinguished point based As similarity calculating method, histogram matching etc..According to the first or so split screen similarity, the second or so split screen similarity and 3rd or so split screen similarity obtains the first comparison information.
23:Acquiring unit, the first comparison information analysis for being obtained according to information process unit obtain the first form letter Breath.
A values are set in acquiring unit as 0-1,0 expression first area compares completely not with second area image Similar, 1 expression first area compares identical with second area image.Acquiring unit is default including the first preset value and second Value, the first preset value are less than the second preset value, and the first preset value is more than 0, and the second preset value is less than 1.When the first comparison information is big When 0 is less than the first preset value, the first format information of acquisition judges that video file is two-dimensional video form;When the first comparison letter When breath is more than or equal to the first preset value and is less than 1, image and image in second area are not exactly the same in first area, and the of acquisition One format information judges that video file is 3 D video form;More preferably, when the first comparison information is more than or equal to the first preset value During less than or equal to the second preset value, the first format information of acquisition judges that video file is 3 D video form.It is preferable to obtain Technique effect, the first preset value can be set as 0.8;Second preset value is 0.9, and the first comparison information is less than more than 0.8 etc. The first format information obtained when 0.9 judges that video file is 3 D video form.
More preferably, because the first comparison information passes through the first or so split screen similarity, the second or so split screen similarity and Three or so split screen similarities obtain.The first condition of similarity and the second condition of similarity, the first condition of similarity are further included in acquiring unit Including the first or so split screen similarity not less than the first preset value and the second or so split screen similarity not less than the first preset value and 3rd or so split screen similarity is less than the second preset value;Second condition of similarity includes the first or so split screen similarity and is not less than second Preset value and the second or so split screen similarity are not less than the second preset value and 3rd or so split screen similarity is less than the second preset value. First comparison information meets the first format information obtained during the first condition of similarity and judges that the first video file is 3 D video lattice Formula.More preferably, the first format information obtained during the second condition of similarity of the first comparison information satisfaction judges that the first video file is 3 D video form, and accuracy rate higher.
24:Receiving unit has been stored in the first of storage unit for reception the first video file play instruction broadcasting and has regarded Frequency file.
25:Sectional drawing unit, for obtaining at least one second frame in the first played video file, the second frame is except first Any one frame beyond frame.When the first video file commences play out, intercepted at random from the first video file by sectional drawing unit Any one frame in addition to first frame is the second frame.
26:Information process unit, the second frame for being obtained according to sectional drawing unit carry out image and compare processing acquisition second Comparison information.
Information process unit carries out image comparison processing by left and right split screen tupe, according to comparison left and right split screen image First or so split screen similarity of acquisition of information;Second or so split screen phase of topography's acquisition of information is corresponded to according to left and right split screen is compared Like degree;Shield 3rd or so split screen similarity of different zones image information acquisition according to unilateral side is compared.According to the first or so split screen phase The second comparison information is obtained like degree, the second or so split screen similarity and 3rd or so split screen similarity.The comparison letter of any one frame Breath is made of the first or so split screen similarity, the second or so split screen similarity and 3rd or so split screen similarity.
27:Acquiring unit, the second comparison information analysis for being obtained according to information process unit obtain the second form letter Breath.
When video file plays, acquiring unit judges the first video text by the second comparison information and preset value comparative analysis The video format of part.The first format information and the first video file obtained before being played according to the first video file obtains when playing The second format information confirm the first video file video format.If the first format information is identical with the second format information, sentence The video format of fixed first video file, it is another to intercept the first video text if the first format information is differed with the second format information Any one frame in part in addition to first frame and the second frame obtains form by information process unit and acquiring unit analysis again to be believed Breath judges.
More preferably, the first comparison information meets the first format information obtained during the first condition of similarity, the second comparison information Meet the second format information obtained during the first condition of similarity, judge that the first video file is 3 D video form.More preferably, When one comparison information and the second comparison information are satisfied by the first condition of similarity, in the first comparison information or the second comparison information at least One the second condition of similarity of satisfaction, judges that the first video file is 3 D video form, and accuracy rate higher.More preferably, first Comparison information meets the first format information obtained during the second condition of similarity, and the second comparison information obtains when meeting the second condition of similarity The second format information taken judges that the first video file is 3 D video form, and accuracy rate higher.
28:Broadcast unit regards for what the first format information obtained according to acquiring unit and the second format information judged Frequency form switch modes.Broadcast unit includes the first format information obtained according to acquiring unit and the second format information is sentenced When fixed first video file is 3 D video form, the play mode of playback equipment is switched to three-dimensional play mode, and passes through three It ties up play mode and plays the first video file;The first format information and the second format information obtained according to acquiring unit judges the When one video file is two-dimensional video form, the play mode of playback equipment is switched to two-dimentional play mode, and passes through two dimension and broadcast Mode playback plays the first video file.
29:3 D video file cache unit and two-dimensional video file cache unit.3 D video file cache unit is used Judge that the first video file is 3 D video form in the first format information obtained according to acquiring unit and the second format information When, store the first video file.Two-dimensional video file cache unit, for the first format information for being obtained according to acquiring unit and Second format information judge the first video file for two-dimensional video form when, store the first video file.
With reference to figure 3, Fig. 3 is the structure chart for the playback equipment that another preferred embodiment of the present invention provides.The equipment includes:
30:Storage unit, for storing the second video file.After second video file input playback equipment, do not play also Before, proceed by video format identification.
31:Sectional drawing unit, the second video file for being stored according to storage unit obtain at least one the 3rd frame and one 4th frame, the 3rd frame and the 4th frame are arbitrarily to differ two frames in the second video file.Before the second video file plays out, It is intercepted by sectional drawing unit from the second video file and arbitrary differ two frames and be used as the 3rd frame and the 4th frame.
32:Information process unit, the 3rd frame for being obtained according to sectional drawing unit carry out image and compare processing acquisition the 3rd Comparison information carries out image according to the 4th frame and compares processing the 4th comparison information of acquisition.Information process unit passes through upper and lower split screen Tupe carries out image comparison processing, according to comparing split screen image information acquisition split screen similarity about first up and down;According to It compares split screen up and down and corresponds to topography's acquisition of information split screen similarity about second;Shield different zones image according to unilateral side is compared Acquisition of information split screen similarity about the 3rd;According in about the first split screen similarity, about the second split screen similarity and the 3rd Lower split screen similarity obtains the 3rd comparison information and the 4th comparison information.
33:Acquiring unit, the 3rd comparison information analysis for being obtained according to information process unit obtain the 3rd form letter Breath, the 4th comparison information analysis obtained according to information process unit obtain the 4th format information.Video file obtains before playing Unit judges the video format of the second video file by the 3rd frame and the 4th frame.It is obtained before being played according to the second video file 3rd format information and the 4th format information confirm the video format of the second video file.If the 3rd format information and the 4th form The video format of the second video file is judged when information is identical, it is another to cut if the 3rd format information is differed with the 4th format information It removes any one frame beyond the 3rd frame and the 4th frame and judgement is compared.
34:3 D video file cache unit and two-dimensional video file cache unit.3 D video file cache unit is used Judge that the second video file is 3 D video form in the 3rd format information obtained according to acquiring unit and the 4th format information When, store the second video file.Two-dimensional video file cache unit, for the 3rd format information that is obtained according to acquiring unit and 4th format information judge the second video file for two-dimensional video form when, store the second video file.
The embodiment of the present invention also provides a kind of playback method, and with reference to figure 4, Fig. 4 is what a preferred embodiment of the present invention provided The flow chart of playback method.The playback method is:
S100:Playback equipment obtains an at least first frame in video file, and first frame is any one frame in video file.
S101:Image is carried out according to first frame and compares processing the first comparison information of acquisition.First frame is divided into through First Line First area is compared with the image in second area and obtains the first comparison information by first area and second area, i.e., and the Image similarity in image and second area in one region, comparing the method for first area and second area image includes but unlimited In image gray processing, the image similarity calculation method of distinguished point based, histogram matching etc..
S102:It is analyzed according to the first comparison information and obtains the first format information.
A values are set in acquiring unit as 0-1,0 expression first area compares completely not with second area image Similar, 1 expression first area compares identical with second area image.Acquiring unit is default including the first preset value and second Value, the first preset value are less than the second preset value, and the first preset value is more than 0, and the second preset value is less than 1.When the first comparison information is big When 0 is less than the first preset value, the first format information of acquisition judges that video file is two-dimensional video form;When the first comparison letter When breath is more than or equal to the first preset value and is less than 1, image and image in second area are not exactly the same in first area, and the of acquisition One format information judges that video file is 3 D video form;More preferably, when the first comparison information is more than or equal to the first preset value During less than or equal to the second preset value, the first format information of acquisition judges that video file is 3 D video form.It is preferable to obtain Technique effect, the first preset value can be set as 0.8;Second preset value is 0.9, and the first comparison information is less than more than 0.8 etc. The first format information obtained when 0.9 judges that video file is 3 D video form.
S103:The video format switch modes judged according to the first format information.Judged according to the first format information When the video format of video file is 3 D video form, the play mode of playback equipment is switched to three-dimensional play mode, and leads to Cross three-dimensional play mode playing video file;The video format that video file is judged according to the first format information is two-dimensional video lattice During formula, the play mode of playback equipment is switched to two-dimentional play mode, and passes through two-dimentional play mode playing video file.
With reference to the flow chart that figure 5 and Fig. 6, Fig. 5 are the playback method that another preferred embodiment of the present invention provides;Fig. 6 is Fig. 5 Image compares processing schematic diagram in playback method.The playback method is:
S200:Playback equipment stores the first video file.After first video file input playback equipment, before not playing also, Proceed by video format identification.
S201:Playback equipment obtains an at least first frame in the first video file, and first frame is to appoint in the first video file It anticipates a frame.
S202:Image is carried out according to first frame and compares processing the first comparison information of acquisition.
First frame is divided into first area and second area through First Line, by the image in first area and second area into Row, which compares, obtains the first comparison information, i.e., image similarity in image and second area in first area, compare first area and The method of second area image includes but not limited to image gray processing, the image similarity calculation method of distinguished point based, Nogata Figure matching process etc..
As shown in fig. 6, image, which compares processing, includes left and right split screen tupe, i.e. first area A1 and second area A2 is left Right split screen.First area A1 is compared with second area A2 obtains the first or so split screen similarity;It is chosen in the A1 of first area One the 3rd region B1, the edge of the 3rd region B1 are set in the A1 of first area, and a fourth region B2 is chosen in second area A2, The edge of the fourth region B2 is set in second area A2, the position of the 3rd region B1 opposing first regions A1, with the fourth region B2 is same or similar with respect to the position of second area A2, and second or so point of acquisition is compared with the fourth region B2 by the 3rd region B1 Shield similarity, with to avoid first area A1 and second area A2 images very phase in the first frame intercepted in two-dimensional video file Seemingly it is mistaken for the situation of 3 D video form;One the 5th region C1 and the 6th region C2, the 5th region are chosen in the A1 of first area C1 edges are set in the A1 of first area, and the 6th region C2 edges are set in the A1 of first area, and the 5th region C1 and the 6th Region C2 is non-intersect, the 5th region C1 be compared with the 6th region C2 obtain 3rd or so split screen similarity, with to avoid cut The first frame taken causes video format decision error for pure color picture.According to the first or so split screen similarity, the second or so split screen Similarity and 3rd or so split screen similarity obtain the first comparison information.The comparison information of any one frame is by the first or so split screen Similarity, the second or so split screen similarity and 3rd or so split screen similarity are formed.
S203:It is analyzed according to the first comparison information and obtains the first format information.
A values are set in acquiring unit as 0-1,0 expression first area compares completely not with second area image Similar, 1 expression first area compares identical with second area image.Acquiring unit is default including the first preset value and second Value, the first preset value are less than the second preset value, and the first preset value is more than 0, and the second preset value is less than 1.When the first comparison information is big When 0 is less than the first preset value, the first format information of acquisition judges that video file is two-dimensional video form;When the first comparison letter When breath is more than or equal to the first preset value and is less than 1, image and image in second area are not exactly the same in first area, and the of acquisition One format information judges that video file is 3 D video form;More preferably, when the first comparison information is more than or equal to the first preset value During less than or equal to the second preset value, the first format information of acquisition judges that video file is 3 D video form.It is preferable to obtain Technique effect, the first preset value can be set as 0.8;Second preset value is 0.9, and the first comparison information is less than more than 0.8 etc. The first format information obtained when 0.9 judges that video file is 3 D video form.
More preferably, because the first comparison information passes through the first or so split screen similarity, the second or so split screen similarity and Three or so split screen similarities obtain.The first condition of similarity and the second condition of similarity, the first condition of similarity are further included in acquiring unit Including the first or so split screen similarity not less than the first preset value and the second or so split screen similarity not less than the first preset value and 3rd or so split screen similarity is less than the second preset value;Second condition of similarity includes the first or so split screen similarity and is not less than second Preset value and the second or so split screen similarity are not less than the second preset value and 3rd or so split screen similarity is less than the second preset value. First comparison information meets the first format information obtained during the first condition of similarity and judges that the first video file is 3 D video lattice Formula.More preferably, the first format information obtained during the second condition of similarity of the first comparison information satisfaction judges that the first video file is 3 D video form, and accuracy rate higher.
S204:Playback equipment receives the first video file play instruction and plays the first video file.
S205:Obtain at least one second frame in the first video file, the second frame be in the first video file except first frame with Outer any one frame.When the first video file commences play out, appointing in addition to first frame is intercepted at random from the first video file A frame of anticipating is the second frame.
S206:Image is carried out according to the second frame and compares processing the second comparison information of acquisition.Image, which compares processing, includes left and right Split screen tupe;According to comparison first or so split screen similarity of left and right split screen image information acquisition;According to comparison left and right split screen Second or so split screen similarity of corresponding topography acquisition of information;Shield different zones image information acquisition the 3rd according to unilateral side is compared Left and right split screen similarity.According to the first or so split screen similarity, the second or so split screen similarity and 3rd or so split screen similarity Obtain the second comparison information.The comparison information of any one frame is by the first or so split screen similarity, the second or so split screen similarity And 3rd or so split screen similarity form.
S207:It is analyzed according to the second comparison information and obtains the second format information.
When video file plays, the video of the first video file is judged by the second comparison information and preset value comparative analysis Form.The second lattice that the first format information and the first video file obtained before being played according to the first video file obtains when playing The video format of the first video file of formula validation of information.If the first format information is identical with the second format information, judge that first regards The video format of frequency file, it is another to intercept in the first video file except the if the first format information is differed with the second format information Any one frame beyond one frame and the second frame obtains format information by information process unit and acquiring unit analysis again and judges.
More preferably, the first comparison information meets the first format information obtained during the first condition of similarity, the second comparison information Meet the second format information obtained during the first condition of similarity, judge that the first video file is 3 D video form.More preferably, When one comparison information and the second comparison information are satisfied by the first condition of similarity, in the first comparison information or the second comparison information at least One the second condition of similarity of satisfaction, judges that the first video file is 3 D video form, and accuracy rate higher.More preferably, first Comparison information meets the first format information obtained during the second condition of similarity, and the second comparison information obtains when meeting the second condition of similarity The second format information taken judges that the first video file is 3 D video form, and accuracy rate higher.
S208:The video format switch modes judged according to the first format information and the second format information.According to One format information and the second format information judge the first video file for 3 D video form when, the play mode of playback equipment is cut Three-dimensional play mode is changed to, the first video file is played by three-dimensional play mode;According to the first format information and the second form Information judge the first video file for two-dimensional video form when, the play mode of playback equipment is switched to two-dimentional play mode, and First video file is played by two-dimentional play mode.
S209:The video format judged according to the first format information and the second format information is stored in 3 D video file and delays In memory cell or two-dimensional video file cache unit.First video file is judged according to the first format information and the second format information For 3 D video form when, storage the first video file in 3 D video file cache unit;According to the first format information and Second format information judge the first video file for two-dimensional video form when, storage the first video file delay in two-dimensional video file In memory cell.
With reference to figure 7, Fig. 7 is the flow chart for the playback method that another preferred embodiment of the present invention provides.The playback method is:
S300:Playback equipment stores the second video file.After first video file input playback equipment, before not playing also, Proceed by video format identification.
S301:Playback equipment obtains at least one the 3rd frame and one the 4th frame in the second video file, the 3rd frame and the 4th frame Arbitrarily to differ two frames in the second video file.
S302:Image is carried out according to the 3rd frame and compares processing the 3rd comparison information of acquisition, image ratio is carried out according to the 4th frame 4th comparison information is obtained to processing.Image, which compares processing, includes upper and lower split screen tupe;According to split screen image above and below comparison Acquisition of information split screen similarity about first;Topography's acquisition of information split screen phase about second is corresponded to according to split screen up and down is compared Like degree;According to comparing unilateral screen different zones image information acquisition split screen similarity about the 3rd;According to about the first split screen phase The 3rd comparison information and the 4th comparison information are obtained like degree, about the second split screen similarity and about the 3rd split screen similarity.
S303:It is analyzed according to the 3rd comparison information and obtains the 3rd format information, the is obtained according to the analysis of the 4th comparison information Four format informations.Video file judges the video format of the second video file by the 3rd frame and the 4th frame before playing.According to The 3rd format information and the 4th format information that two video files obtain before playing confirm the video format of the second video file.If 3rd format information judges the video format of the second video file when identical with the 4th format information, if the 3rd format information and Four format informations differ, and judgement is compared in any one frame of the another interception in addition to the 3rd frame and the 4th frame.
S304:The video format judged according to the 3rd format information and the 4th format information is stored in 3 D video file and delays In memory cell or two-dimensional video file cache unit.Second video file is judged according to the 3rd format information and the 4th format information For 3 D video form when, storage the second video file in 3 D video file cache unit;If according to the 3rd format information And the 4th format information judge the second video file for two-dimensional video form when, storage the second video file in two-dimensional video file In buffer unit.
A kind of playback equipment and its playback method provided in an embodiment of the present invention can obtain in video file before and after broadcasting An at least frame, the image of the frame to being intercepted carries out image and compares processing acquisition comparison information, when comparison information is in default Judging that video format information is 3 D video file in the range of value, the play mode of playback equipment is switched to three-dimensional play mode, And pass through three-dimensional play mode playing video file;Judge that video format information is two when comparison information is in outside values Video file is tieed up, the play mode of playback equipment is switched to two-dimentional play mode, and plays video text by two-dimentional play mode Part.So as to quickly identify that video format information automatically switches play mode, and when truncated picture is at least two frames and judgement Format information it is consistent when, it is corresponding to judge that result video file is stored in respective cache unit, without judging directly to broadcast again It puts.The speed and fluency that play mode two-dimensional/three-dimensional automatically switches when video file plays are accelerated, solves Online Video File play mode decision problem.
It these are only the better embodiment of the present invention, be not intended to limit the invention, all spirit in the present invention With all any modification, equivalent and improvement made within principle etc., should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of playback equipment, which is characterized in that
Sectional drawing unit, for obtaining an at least first frame in video file, the first frame is any one in the video file Frame;
Information process unit, the first frame for being obtained according to the sectional drawing unit carry out image and compare processing acquisition first Comparison information;
Acquiring unit, first comparison information analysis for being obtained according to described information processing unit obtain the first form letter Breath;
Broadcast unit, first format information for being obtained according to the acquiring unit judge that the video file is three-dimensional During video format, the play mode of the playback equipment is switched to three-dimensional play mode, and is broadcast by the three-dimensional play mode Put the video file;First format information obtained according to the acquiring unit judges that the video file regards for two dimension During frequency form, the play mode of the playback equipment is switched to two-dimentional play mode, and is played by the two-dimentional play mode The video file.
2. playback equipment as described in claim 1, which is characterized in that
Storage unit, for storing the first video file;
The sectional drawing unit, first video file for being stored according to the storage unit obtain at least one first Frame, the first frame are any one frame in first video file;
Described information processing unit, the first frame for being obtained according to the sectional drawing unit carry out image comparison processing Obtain the first comparison information;
The acquiring unit, first comparison information analysis for being obtained according to the described information processing unit obtain the One format information;
Receiving unit has been stored in described the first of the storage unit for reception the first video file play instruction broadcasting and has regarded Frequency file;
The sectional drawing unit, for obtaining at least one second frame in first video file, second frame is except described the Any one frame beyond one frame;
Described information processing unit, second frame for being obtained according to the sectional drawing unit carry out image comparison processing Obtain the second comparison information;
The acquiring unit, second comparison information analysis for being obtained according to the described information processing unit obtain the Two format informations;
The broadcast unit, for first format information obtained according to the acquiring unit and second format information Judge first video file for 3 D video form when, the play mode of the playback equipment, which is switched to, three-dimensional plays mould Formula, and first video file is played by the three-dimensional play mode;Described first obtained according to the acquiring unit Format information and second format information judge first video file for two-dimensional video form when, the playback equipment Play mode is switched to two-dimentional play mode, and plays first video file by the two-dimentional play mode.
3. playback equipment as claimed in claim 2, which is characterized in that
3 D video file cache unit, for first format information and described second obtained according to the acquiring unit Format information judge first video file for 3 D video form when, store first video file;
Two-dimensional video file cache unit, for first format information and described second obtained according to the acquiring unit Format information judge first video file for two-dimensional video form when, store first video file.
4. playback equipment as described in claim 1, which is characterized in that
Storage unit, for storing the second video file;
The sectional drawing unit, second video file for being stored according to the storage unit obtain at least one the 3rd frame And one the 4th frame, the 3rd frame and the 4th frame is arbitrarily differ two frames in second video file;
Described information processing unit, the 3rd frame for being obtained according to the sectional drawing unit carry out image and compare processing acquisition 3rd comparison information carries out image according to the 4th frame and compares processing the 4th comparison information of acquisition;
The acquiring unit, the 3rd comparison information analysis for being obtained according to described information processing unit obtain the 3rd lattice Formula information is analyzed according to the 4th comparison information and obtains the 4th format information;
3 D video file cache unit, for the 3rd format information and the described 4th obtained according to the acquiring unit Format information judge second video file for 3 D video form when, store second video file;
Two-dimensional video file cache unit, for the 3rd format information and the described 4th obtained according to the acquiring unit Format information judge second video file for two-dimensional video form when, store second video file.
5. such as Claims 1-4 any one of them playback equipment, which is characterized in that
Described information processing unit carries out image comparison processing by left and right split screen tupe;
According to comparison first or so split screen similarity of left and right split screen image information acquisition;
Second or so split screen similarity of topography's acquisition of information is corresponded to according to left and right split screen is compared;
Shield 3rd or so split screen similarity of different zones image information acquisition according to unilateral side is compared.
6. such as Claims 1-4 any one of them playback equipment, which is characterized in that
Described information processing unit carries out image comparison processing by upper and lower split screen tupe;
According to comparing split screen image information acquisition split screen similarity about first up and down;
Topography's acquisition of information split screen similarity about second is corresponded to according to split screen up and down is compared;
According to comparing unilateral screen different zones image information acquisition split screen similarity about the 3rd.
7. a kind of playback method, which is characterized in that
Playback equipment obtains an at least first frame in video file, and the first frame is any one frame in the video file;
Image is carried out according to the first frame and compares processing the first comparison information of acquisition;
It is analyzed according to first comparison information and obtains the first format information;
According to first format information judge the video file for 3 D video form when, the broadcasting mould of the playback equipment Formula is switched to three-dimensional play mode, and plays the video file by the three-dimensional play mode;
According to first format information judge the video file for two-dimensional video form when, the broadcasting mould of the playback equipment Formula is switched to two-dimentional play mode, and plays the video file by the two-dimentional play mode.
8. playback method as claimed in claim 7, which is characterized in that
The playback equipment stores the first video file;
An at least first frame in first video file is obtained, the first frame is any one in first video file Frame;
Image is carried out according to the first frame and compares processing the first comparison information of acquisition;
It is analyzed according to first comparison information and obtains the first format information;
The playback equipment receives the first video file play instruction and plays first video file;
Obtain at least one second frame in first video file, second frame is except described the in first video file Any one frame beyond one frame;
Image is carried out according to second frame and compares processing the second comparison information of acquisition;
It is analyzed according to second comparison information and obtains the second format information;
Judge that first video file is 3 D video form according to first format information and second format information When, the play mode of the playback equipment is switched to three-dimensional play mode, and described first is played by the three-dimensional play mode Video file;
Judge that first video file is two-dimensional video form according to first format information and second format information When, the play mode of the playback equipment is switched to two-dimentional play mode, and plays described the by the two-dimentional play mode One video file.
9. playback method as claimed in claim 8, which is characterized in that
Judge that first video file is 3 D video form according to first format information and second format information When, first video file is stored in 3 D video file cache unit;
Judge that first video file is two-dimensional video form according to first format information and second format information When, first video file is stored in two-dimensional video file cache unit.
10. playback method as claimed in claim 7, which is characterized in that
The playback equipment stores the second video file;
At least one the 3rd frame and one the 4th frame are obtained in second video file, the 3rd frame and the 4th frame are described second Two frames are arbitrarily differed in video file;
Image is carried out according to the 3rd frame and compares processing the 3rd comparison information of acquisition, image comparison is carried out according to the 4th frame Processing obtains the 4th comparison information;
It is analyzed according to the 3rd comparison information and obtains the 3rd format information, the 4th is obtained according to the 4th comparison information analysis Format information;
Judge that second video file is 3 D video form according to the 3rd format information and the 4th format information When, second video file is stored in 3 D video file cache unit;
Judge that second video file is two-dimensional video form according to the 3rd format information and the 4th format information When, second video file is stored in two-dimensional video file cache unit.
11. such as claim 7 to 10 any one of them playback method, which is characterized in that
Described image, which compares processing, includes left and right split screen tupe;
According to comparison first or so split screen similarity of left and right split screen image information acquisition;
Second or so split screen similarity of topography's acquisition of information is corresponded to according to left and right split screen is compared;
Shield 3rd or so split screen similarity of different zones image information acquisition according to unilateral side is compared.
12. such as claim 7 to 10 any one of them playback method, which is characterized in that
Described image, which compares processing, includes upper and lower split screen tupe;
According to comparing split screen image information acquisition split screen similarity about first up and down;
Topography's acquisition of information split screen similarity about second is corresponded to according to split screen up and down is compared;
According to comparing unilateral screen different zones image information acquisition split screen similarity about the 3rd.
CN201680036068.2A 2016-09-14 2016-09-14 A kind of playback equipment and its playback method Pending CN108064448A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/099126 WO2018049631A1 (en) 2016-09-14 2016-09-14 Playback device and playback method thereof

Publications (1)

Publication Number Publication Date
CN108064448A true CN108064448A (en) 2018-05-22

Family

ID=61618628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680036068.2A Pending CN108064448A (en) 2016-09-14 2016-09-14 A kind of playback equipment and its playback method

Country Status (2)

Country Link
CN (1) CN108064448A (en)
WO (1) WO2018049631A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980545A (en) * 2010-11-29 2011-02-23 深圳市九洲电器有限公司 Method for automatically detecting 3DTV video program format
CN102395037A (en) * 2011-06-30 2012-03-28 深圳超多维光电子有限公司 Format recognition method and device
CN102710953A (en) * 2012-05-08 2012-10-03 深圳Tcl新技术有限公司 Method and device for automatically identifying 3D (three-dimentional) video playing mode
CN102742283A (en) * 2010-02-09 2012-10-17 皇家飞利浦电子股份有限公司 3d video format detection
US20130147911A1 (en) * 2011-12-09 2013-06-13 Microsoft Corporation Automatic 2d-to-stereoscopic video conversion
CN104767985A (en) * 2014-01-07 2015-07-08 冠捷投资有限公司 Method of using region distribution analysis to automatically detect 3D image format
CN105306961A (en) * 2015-10-23 2016-02-03 无锡天脉聚源传媒科技有限公司 Frame extraction method and device
CN105657398A (en) * 2015-12-31 2016-06-08 北京小鸟看看科技有限公司 Multimedia resource play method and apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102742283A (en) * 2010-02-09 2012-10-17 皇家飞利浦电子股份有限公司 3d video format detection
CN101980545A (en) * 2010-11-29 2011-02-23 深圳市九洲电器有限公司 Method for automatically detecting 3DTV video program format
CN102395037A (en) * 2011-06-30 2012-03-28 深圳超多维光电子有限公司 Format recognition method and device
US20130147911A1 (en) * 2011-12-09 2013-06-13 Microsoft Corporation Automatic 2d-to-stereoscopic video conversion
CN102710953A (en) * 2012-05-08 2012-10-03 深圳Tcl新技术有限公司 Method and device for automatically identifying 3D (three-dimentional) video playing mode
CN104767985A (en) * 2014-01-07 2015-07-08 冠捷投资有限公司 Method of using region distribution analysis to automatically detect 3D image format
CN105306961A (en) * 2015-10-23 2016-02-03 无锡天脉聚源传媒科技有限公司 Frame extraction method and device
CN105657398A (en) * 2015-12-31 2016-06-08 北京小鸟看看科技有限公司 Multimedia resource play method and apparatus

Also Published As

Publication number Publication date
WO2018049631A1 (en) 2018-03-22

Similar Documents

Publication Publication Date Title
CN108024145B (en) Video recommendation method and device, computer equipment and storage medium
US10063808B2 (en) Apparatus and method for ultra-high resolution video processing
US10535324B2 (en) Display device and display method thereof
CN105916004B (en) A kind of Overlapping display method and system of image
CN110189378A (en) A kind of method for processing video frequency, device and electronic equipment
CN105844256A (en) Panorama video frame image processing method and device
CN106529406B (en) Method and device for acquiring video abstract image
WO2017107447A1 (en) Method and device for displaying chat messages in live-broadcast applications
CN111147770A (en) Multi-channel video window overlapping display method, electronic equipment and storage medium
CN110324679B (en) Video data processing method and device
JP2010503006A5 (en)
DE112016004269T5 (en) METHODS, SYSTEMS AND MEDIA FOR PRESENTING INTERACTIVE ELEMENTS WITHIN VIDEO CONTENT
CN107205172A (en) A kind of method and device that search is initiated based on video content
CN110072141A (en) A kind of media processing method, device, equipment and storage medium
US10089954B2 (en) Method for combined transformation of the scale and aspect ratio of a picture
KR101513801B1 (en) Method for providing an electronic program guide, multimedia reproduction system, and computer readable storage medium
CN114900731A (en) Video definition switching method and device
WO2019034804A3 (en) Three-dimensional video processing
CN104918011A (en) Method and device for playing video
CN108064448A (en) A kind of playback equipment and its playback method
CN113191210B (en) Image processing method, device and equipment
JP2006333189A (en) Image summary generator
CN112328190B (en) Screen splitting method and device of intelligent device and storage medium
CN114428660A (en) Page processing method, device, equipment and storage medium
US11134236B2 (en) Image processing device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Shenzhen City, Guangdong province 518052 Keyuan Road, Nanshan District science and Technology Park No. 15 Science Park Sinovac A4-1501

Applicant after: Shenzhen Ruoyu Technology Co.,Ltd.

Address before: Shenzhen City, Guangdong province 518052 Keyuan Road, Nanshan District science and Technology Park No. 15 Science Park Sinovac A4-1501

Applicant before: SHENZHEN ROYOLE TECHNOLOGIES Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180522

RJ01 Rejection of invention patent application after publication