Background technology
Scene comparison in desirable Visual Display and the daily experience should distinguished aspect quality, sharpness and the scope, but current technology is not also supported the Visual Display of this high validity.In recent years, along with the progressively rise of 3 D video, the display technique of three-dimensional stereo effect becomes one of at present burning hot technology.Through the right and left eyes Signal Separation, the stereo-picture that on display platform, can realize shows.Through the stereo display of three-dimensional, can all represent the depth of image, level, position, make the beholder can understand the distribution situation that respectively constitutes element in the image more intuitively, thereby more fully understand the information of image or displaying contents.Along with the development of technology and the people sharp increase to 3D technical concerns degree, the universalness of 3D display technique is used and has been got into the practical stage in full preparation.
The 3D effect of in video, realizing utilizes the binocular stereo vision principle exactly, and is different through the image that lets eyes see, makes the user obtain the visual effect of three dimensions image from display, thereby produces sensation on the spot in person.At present, the 3D technology of comparative maturity comprises following three kinds:
1. aberration formula 3D technology (that is: Anaglyphic3D) is meant: be printed in the same secondary picture with two kinds of various colors respectively with the image of two video cameras with the different visual angles shooting.Aberration formula 3D tells spectral information by the filter wheel of rotation earlier; Use the optical filter of different colours to carry out the picture optical filtering; Make a picture can produce two width of cloth images; Every eyes of people are all seen pictures different, and such method makes the picture edge produce colour cast easily, need to be equipped with modal red blue 3D glasses.
2. polarization type 3D technology (that is: Polarization3D); Be meant: utilize light to have the principle of " direction of vibration " to decompose original image; Earlier through being divided into image vertically to polarized light and level to polarized light two group of pictures, adopt the polarized lenses of different polarization direction then about the 3D glasses respectively, people's right and left eyes just can receive two group of pictures like this; Pass through brain compound stereoscopic image again, what be used is the passive type polaroid glasses.
3. initiatively fast gate-type 3D technology (is meant: ActiveShutter3D); Be meant: the seizure susceptibility of image frequency is realized according to people's eyes; Through improving the refresh rate (120Hz at least) of picture; For left eye and right eye are exported the image that 60Hz refreshes fast respectively, can realize three-dimensional visual experience at people's brain like this, what be used is initiatively fast gate-type 3D glasses.
The 3D video technique function ratio that realize existing 3 D video website is more single, has generally all only realized aberration formula 3D technology, and therefore, the 3D video quality is not good, and user's viewing experience neither be very good.
Summary of the invention
In view of the problem that exists in the prior art; The object of the present invention is to provide a kind of 3 D video player method and device of player of the standard based on interactive polar plot and Web animation; To the user all kinds of main flow 3D play mode are provided, make things convenient for the user to select, improve to play and experience.
In order to achieve the above object, the invention provides a kind of 3D video broadcasting method, it is characterized in that comprising the steps: based on the flash player
A), open broadcast page;
B), judge whether if not then carrying out ordinary playing, to get into step g), by the video into 3D if then get into step c);
C), need to judge whether 3D effect, if not, then select no 3D effect subpattern, and the entering step g), if then get into step d);
D) judged whether 3D equipment,, then selected the subpattern of no 3D equipment, and get into step g),, then got into step e) if having if not;
E), select the subpattern of corresponding 3D equipment, execution in step g then);
G), displaying video.
Further, the 3D video broadcasting method based on the flash player of the present invention is characterized in that at execution in step g) can also comprise execution in step f before): stretching is provided with to picture.
Further, the 3D video broadcasting method based on the flash player of the present invention is characterized in that the subpattern of said no 3D equipment comprises one of following 3 kinds of patterns: mirror image pattern, parallel model, cross-mode.
Further, the 3D video broadcasting method based on the flash player of the present invention is characterized in that said no 3D effect subpattern comprises one of following 3 kinds of patterns: show, show the right side side by side, show the left side.
Further; 3D video broadcasting method based on the flash player of the present invention is characterized in that the subpattern of the corresponding 3D equipment of said selection comprises one of following 3 kinds of patterns: aberration glasses pattern, polarization type 3D equipment mode and initiatively fast gate-type 3D equipment mode.
In addition, the present invention also provides a kind of 3D video play device based on the flash player, it is characterized in that comprising like lower module:
Play the page open module, be used on playing device, opening broadcast page;
3D video judge module is used to judge whether the video into 3D, if judge it is not the 3D video, then transfers to playing module and carries out the ordinary video broadcast.If judge it is the 3D video, then transfer to the 3D effect judge module and handle;
The 3D effect judge module is used to need to judge whether 3D effect, if not, then selects no 3D effect subpattern, transfers to playing module and carries out ordinary playing, if then transfer to 3D equipment judge module and handle;
3D equipment judge module is used to judge whether 3D equipment, if not, then selects the subpattern of no 3D equipment, transfers to the broadcast that playing module does not have the subpattern of 3D equipment, if having, then transfers to the subpattern of 3D equipment and module is set handles;
The subpattern of 3D equipment is provided with module, with selecting to be provided with the subpattern of corresponding 3D equipment;
Playing module is used for according to selected play mode displaying video.
Further, the 3D video play device based on the flash player of the present invention is characterized in that comprising that the picture stretching is provided with module, is used for before playing module carries out video playback picture stretching setting.
The present invention realizes having made full use of multiple main flow 3D technology, comprises aberration formula 3D technology, polarization type 3D technology and initiatively fast gate-type 3D technology, and merging multiple 3D technology provides multiple 3D video tastes for the user, makes the user can select to watch the pattern of 3D video flexibly.After being equipped with relevant 3D equipment (like aberration 3D glasses, polarization type 3D glasses, initiatively fast gate-type 3D glasses and various 3D display and 3D TV), can on each platform, watch respond well 3D video.3D technology and Internet technology are well combined, and what make that the user can be through the internet easy and flexible watches the 3D video.
Embodiment
For making above-mentioned purpose of the present invention, feature and advantage more obviously understandable, the present invention is done further detailed explanation below in conjunction with accompanying drawing and embodiment:
Fig. 1 is the process flow diagram of the 3D video broadcasting method based on the flash player of the present invention.Of Fig. 1, the concrete implementation of the inventive method comprises the steps:
A), open broadcast page;
B), judge whether if not then carrying out ordinary playing, to get into step g), by the video into 3D if then get into step c);
Concrete operations are: if the player lower right corner does not show " 3D " sign, represent that this video do not support the 3D pattern, the user can't watch the 3D effect of this video, can directly carry out step for playing, and what this moment, the user watched only is the video of 2D effect; If the player lower right corner shows " 3D " sign, represent this video support 3D pattern, get into next step.
C), need to judge whether 3D effect, if not, then select no 3D effect subpattern, and the entering step g), if then get into step d);
No 3D effect pattern is watched video with the 2D pattern, can perhaps show side by side through the left side or the right side of a flash player options setting display image.Specifically:
Show side by side: the left eye video of gauche form or last following formula 3D video is positioned over the left side, and the right eye video is positioned over the right side, and two parts video is shown simultaneously.
Show the right side: the right eye video that only shows gauche form or last following formula 3D video.
Show the left side: the left eye video that only shows gauche form or last following formula 3D video.
D) judged whether 3D equipment,, then selected the subpattern of no 3D equipment, and get into step g),, then got into step e) if having if not; Concrete operations are: the user selects whether have the automatic identification of 3D equipment or system whether 3D equipment is arranged.
If judge the subpattern of no 3D equipment: the user need not be equipped with any 3D equipment and can watch 3D effect yet at this moment, but requires the user to grasp certain skill of watching.Skill comprises following several kinds:
1, cross-mode: about two width of cloth images can intersect side by side and to show.Intersect the eyes sight line, what see up to right eye is the image in left side, is the image on right side and left eye is seen.Watch for ease, can use two white points as user's interpolation above the image in the flash player, intersection eyes sight line has been seen 3 points up to you above video, just 3D effect can occur.
2, parallel model: about two width of cloth images can show side by side.This method is similar with " Cross-eye formula " viewing method, requires the parallel place to infinity of user's eyes to watch attentively, rather than watches attentively through intersection eyes sight line.Let eyes watch screen attentively with afocal mode, what see up to left eye is the LOOK LEFT image, is the LOOK RIGHT image and right eye is seen, just 3D effect can occur.
3, mirror image separates: image mirror image on the original image basis in left eye visual angle shows that right eye visual angle image is constant, uses mirror image to let user's eyes see pictures different.
E), select the subpattern of corresponding 3D equipment, execution in step g then);
If the user has been equipped with corresponding aberration glasses, mainly comprise the red indigo plant of known, the red green and blue glasses of tea.For example the user has reddish blue difference glasses, can select " redness/cyan " pattern in " aberration glasses " pattern to watch video, clicks and confirms that the back setting comes into force.Can 3D effect be provided for the user through red blue glasses.
If the user has selected other 3D pattern, the same click in selection back confirmed to come into force, and other 3D pattern possibly need the user to be equipped with the higher relatively 3D equipment of cost, but the 3D effect of watching is compared and can better mainly be divided into initiatively fast gate-type and polarization type 3D than the aberration glasses
G), displaying video;
Concrete operations are: after the user sets the 3D subpattern, can carry out video playback.F), picture stretches and is provided with; This step is the optional step before the step g), does not need this step if the user selects played in full screen.
Concrete operations are: after having put 3D pattern and subpattern, if the user thinks that video size is improper and can select " picture stretching " that video size is adjusted that for example stretched or up-down stretch, or both combine to stretch are clicked and confirmed that the back is provided with and comes into force.
In addition, the present invention also provides a kind of 3D video play device based on the flash player, and Fig. 2 is the block diagram that the present invention is based on the 3D video play device of flash player, as shown in Figure 2 comprising like lower module:
Play the page open module, be used on playing device, opening broadcast page;
3D video judge module is used to judge whether the video into 3D, if judge it is not the 3D video, then transfers to playing module and carries out the ordinary video broadcast.If judge it is the 3D video, then transfer to the 3D effect judge module and handle;
The 3D effect judge module is used to need to judge whether 3D effect, if not, then selects no 3D effect subpattern, transfers to playing module and carries out ordinary playing, if then transfer to 3D equipment judge module and handle;
3D equipment judge module is used to judge whether 3D equipment, if not, then selects the subpattern of no 3D equipment, transfers to the broadcast that playing module does not have the subpattern of 3D equipment, if having, then transfers to the subpattern of 3D equipment and module is set handles;
The subpattern of 3D equipment is provided with module, with selecting to be provided with the subpattern of corresponding 3D equipment;
Playing module is used for according to selected play mode displaying video.
Further, the 3D video play device based on the flash player of the present invention can also comprise that the picture stretching is provided with module, is used for before playing module carries out video playback picture stretching setting.
A kind of 3D video broadcasting method and device based on the flash player of the present invention has the following advantages:
1. method and system of the present invention; Used the widely used flash technology in internet, coverage rate is high, and 99% browser is equipped with the flash plug-in unit; And present mobile device is much also all supported the flash plug-in unit, need not special support and just can extensively dispose.
2. method and system of the present invention is realized multiple 3D pattern, can satisfy the demand of the various 3D of the watching videos of user, comprises that bore hole 3D reaches the support to different 3D equipment.
3. method and system of the present invention is on the basis of three kinds of main flow 3D technology, and the processing of realization 3D video reaches synthetic, and the 3D video effect is better, can use different 3D equipment to watch same video, and is easy to be flexible.
It more than is the detailed description that the preferred embodiments of the present invention are carried out; But those of ordinary skill in the art is to be appreciated that; Instruct down with spirit within the scope of the invention; Various improvement, interpolation and replacement all are possible, for example adjust the interface interchange order, change message format and content, use different programming language (like C, C++, Java etc.) realization etc.These are all in the protection domain that claim of the present invention limited.