CN106791779A - A kind of video player and image display method, system - Google Patents
A kind of video player and image display method, system Download PDFInfo
- Publication number
- CN106791779A CN106791779A CN201611146144.3A CN201611146144A CN106791779A CN 106791779 A CN106791779 A CN 106791779A CN 201611146144 A CN201611146144 A CN 201611146144A CN 106791779 A CN106791779 A CN 106791779A
- Authority
- CN
- China
- Prior art keywords
- play mode
- video player
- portable electric
- instruction
- switching command
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/261—Image signal generators with monoscopic-to-stereoscopic image conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/30—Image reproducers
- H04N13/302—Image reproducers for viewing without the aid of special glasses, i.e. using autostereoscopic displays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8146—Monomedia 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)
Abstract
The invention belongs to player field, there is provided a kind of video player and its image display method, system.The video player and its image display method and system have merged 3D play mode and VR play mode on the basis of existing 2D play mode, the viewing experience of user are enriched, while by redrawing video display interface, realizing the switching of different play mode.
Description
Technical field
The invention belongs to player field, more particularly to a kind of video player and its image display method, system.
Background technology
Video player refers to play with the software of the video of digital signal form storage/transmission, and it is by source document
Part is parsed and decoded, and obtains video data and voice data, generally use afterwards shape library realize video show, using sound
Frequency drives to drive sound card to export voice data.
Currently, VR (Virtual Reality, virtual reality) technologies are used as a kind of analogue system high, can create and allow use
The experience that only can just possess in real world originally is experienced at family, i other words, VR technologies can by the perception of user bring into by
The virtual world that it is created, people more like this experience on the spot in person.
But the video player that prior art is provided only supports 2D play mode, poor universality, use in terms of video shows
Family viewing experience is poor.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of image display method of video player, it is intended to solved existing
Video player only supports 2D play mode, poor universality, the problem of user's viewing experience difference in terms of video shows.
The embodiment of the present invention is achieved in that a kind of image display method of video player, methods described include with
Lower step:
Under the current play mode of video player, the play mode switching command of user input is received;
According to the play mode switching command, video display interface is redrawn, to be switched to corresponding 2D play mode, 3D
Play mode or VR play mode.
The another object of the embodiment of the present invention is to provide a kind of video display system of video player, the system bag
Include:
First receiver module, under the current play mode of video player, receiving the play mode of user input
Switching command;
Handover module, it is corresponding to be switched to for according to the play mode switching command, redrawing video display interface
2D play mode, 3D play mode or VR play mode.
The another object of the embodiment of the present invention is to provide a kind of video player, and the video player includes as above institute
The video display system of the video player stated.
Video player provided in an embodiment of the present invention and its image display method and system are in existing 2D play mode
On the basis of, 3D play mode and VR play mode have been merged, the viewing experience of user is enriched, while by redrawing video display
Interface, realizes the switching of different play mode.
Brief description of the drawings
Fig. 1 is the flow chart of the image display method of video player provided in an embodiment of the present invention;
Fig. 2 is the structure chart of the video display system of video player provided in an embodiment of the present invention.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
For the problem that existing video player is present, the video display side of video player provided in an embodiment of the present invention
Method has merged 2D play mode, 3D play mode and VR play mode simultaneously, by redrawing video display interface, realizes that difference is broadcast
The switching of mode playback.
Fig. 1 shows the flow of the image display method of video player provided in an embodiment of the present invention, including following step
Suddenly:
S1:Under the current play mode of video player, the play mode switching command of user input is received.
In the embodiment of the present invention, play mode can be 2D play mode, 3D play mode or VR play mode, accordingly
Ground, the type of play mode switching command can turn the instruction of 3D play mode, 2D and turn the instruction of VR play mode, 3D to turn 2D including 2D
Play mode instruction, 3D turn VR play mode instruction, VR turn 2D play mode instruction, VR turn 3D play mode instruction.
In the embodiment of the present invention, user both can be input into play mode with traditional input mode (such as keyboard, touch-screen)
Switching command, if being provided with the portable electric appts of video player with microphone, user can also voice mode it is defeated
Enter play mode switching command, if being provided with the portable electric appts of video player with three-axis gyroscope, user is also
Play mode switching command can be input into using three-axis gyroscope.
Specifically, if being input into play mode switching command with voice mode, the play mode switching of user input is received
The step of instruction can be specifically:
S11:The voice signal collected to being provided with microphone in the portable electric appts of video player is removed
Reason (cutting off the Jing Yin of two ends) is lived together, to reduce interference of the noise to subsequent step.
S12:By mobile window function, sub-frame processing is carried out to voice signal.
S13:Voice signal to each frame carries out acoustic feature extraction, obtains corresponding observation sequence.
S14:Based on observation sequence, recognize the state of each frame, afterwards by combinations of states into phoneme, then by phonotactics into
Word.
S15:If the word for formerly identifying is sign on, return to step S11, user is continued to follow-up with voice
The play mode switching command of form input, until the word for identifying is for after END instruction, stopping receives sound from microphone
Signal, i.e.,:So that player stops the voice signal of response user input;If the word for formerly identifying not is sign on,
Then voice signal is not received from microphone, i.e.,:So that player is not responding to the voice signal of user input.Sign on therein
Can be pre-designed fixed word with END instruction, such as sign on can be word " beginning ", and END instruction can
Being word " end ".
Specifically, if being input into play mode switching command using three-axis gyroscope, the broadcasting mould of user input is received
The step of formula switching command can be specifically:
S16:Acquisition is provided with X-axis, Y-axis, the Z axis of three-axis gyroscope reading in the portable electric appts of video player
Rotation angle value, and the direction of action of portable electric appts is judged according to the both positive and negative polarity of the angle value for obtaining.
S17:Acquisition is provided with X-axis, Y-axis, the Z axis of three-axis gyroscope output in the portable electric appts of video player
Angular velocity of rotation, to obtain angular velocity of rotation be integrated, obtain rotation of the action of portable electric appts on three axles
Gyration.
S18:The anglec of rotation on three axles that will be obtained is compared with corresponding angle threshold respectively, and combines action
Residence time and the comparing of corresponding time threshold, recognize the type and validity of play mode switching command.For example, if
By the anglec of rotation and the comparing of corresponding angle threshold, identify that the type of play mode switching command plays mould for 2D turns 3D
Formula is instructed, then continue to judge that the anglec of rotation meets whether residence time of corresponding angle threshold reaches corresponding time threshold,
It is to judge that 2D turns the instruction of 3D play mode effectively, though otherwise identify that the type of play mode switching command is played for 2D turns 3D
Mode instruction, but the instruction ignore.
S2:According to play mode switching command, video display interface is redrawn, to be switched to corresponding 2D play mode, 3D
Play mode or VR play mode.
At present, for 2D play mode, 3D play mode and VR play mode, existing more mature technology can be real
It is existing, it is numerous to list herein.
As a kind of preferred implementation of the embodiment of the present invention, using openGL (Open Graphics Library,
Underlying graphics storehouse) and set up GLUI, GLU class libraries on its basis, and with reference to C++ program languages come realize 2D play mode,
3D play mode and VR play mode.To realize during VR play mode, it is necessary to using openGL, a solid space be drawn with matrix
(such as spheroid, hemisphere, cube), the center of solid space is viewpoint, and panorama X-Y scheme passes through openGL texture mapping skills
Art is projected on three-dimensional surface, so just it can be seen that 360 degree of panoramas.
Now, if the type of play mode switching command turns the instruction of 3D play mode for 2D, step S2 can be specifically:
According to play mode switching command, 2D being shown, interface, as intermediate interface, is translated to intermediate interface and obtained left eye figure
Picture and eye image, are illustrated in same interface, to be switched to 3D play mode simultaneously by left-eye image and eye image afterwards.
Now, if the type of play mode switching command turns the instruction of VR play mode for 2D, step S2 can be specifically:
According to play mode switching command, 2D is shown that interface projects the solid sky for drawing in advance by openGL mapping technologies
Between surface on, the center of the solid space is viewpoint, to be switched to VR play mode.
Now, if the type of play mode switching command turns the instruction of 2D play mode for 3D, step S2 can be specifically:
According to play mode switching command, 3D is shown the left-eye image or eye image drawout in interface, to be switched to 2D broadcastings
Pattern.
Now, if the type of play mode switching command turns the instruction of VR play mode for 3D, step S2 can be specifically:
According to play mode switching command, the left-eye image or eye image in 3D displayings interface are extracted, the image of extraction is passed through
OpenGL mapping technologies are projected on the surface of the solid space for drawing in advance, and the center of the solid space is viewpoint, with
It is switched to VR play mode.
Now, if the type of play mode switching command turns the instruction of 2D play mode for VR, step S2 can be specifically:
According to play mode switching command, the solid space that VR shows is expanded into 2D displayings interface, played with being switched to corresponding 2D
Pattern.
Now, if the type of play mode switching command turns the instruction of 3D play mode for VR, step S2 can be specifically:
According to play mode switching command, the solid space that VR shows is expanded into 2D displayings interface, 2D is shown into interface as centre
Interface, is translated to intermediate interface and is obtained left-eye image and eye image, afterwards by left-eye image and eye image simultaneously
Same interface is illustrated in, to be switched to 3D play mode.
As another preferred implementation of the embodiment of the present invention, the portable electric appts of video player are installed
With three-axis gyroscope, then using Unity3D, and with reference to C# program languages come realize 2D play mode, 3D play mode and
VR play mode.Specifically, virtual scene is built first with Unity3D, two panoramas is set in virtual scene
Head, each camera lens regulates the distance between two camera lenses equivalent to a visual angle, and script is write afterwards, by control
Three-axis gyroscope controls the rotation of camera lens, realizes the effect of split screen.Meanwhile, script is write, to control the movement of camera lens.And will
The cross foresight of well in advance makes it follow rotation of lens and movement as the child node of camera lens.If by cross foresight alignment
Want the object of alignment, the object for judging to encounter using ray detection, if detecting object, object can be by compiled in advance
Script is performed, and is operated accordingly.So as to the immersion for realizing video is experienced.
Now, if the type of play mode switching command turns the instruction of 3D play mode for 2D, step S2 can be specifically:
According to play mode switching command, two full shots in virtual scene are opened, two visual angles of camera lens are adjusted, to show two
Individual identical picture, two pictures respectively as left-eye image and eye image, afterwards by left-eye image and eye image simultaneously
The same interface of portable electric appts is illustrated in, the response to three-axis gyroscope in portable electric appts is simultaneously closed off, with
It is switched to 3D play mode.
Now, if the type of play mode switching command turns the instruction of VR play mode for 2D, step S2 can be specifically:
According to play mode switching command, two full shots in virtual scene are opened, two visual angles of camera lens are adjusted, to show two
Individual identical picture, while the response to three-axis gyroscope in portable electric appts is opened, to be switched to VR play mode.
Now, if the type of play mode switching command turns the instruction of 2D play mode for 3D, step S2 can be specifically:
According to play mode switching command, the single full shot in virtual scene is opened, adjust the visual angle of camera lens, display 3D pictures
Half, simultaneously closes off the response to three-axis gyroscope in portable electric appts, to be switched to 2D play mode.
Now, if the type of play mode switching command turns the instruction of VR play mode for 3D, step S2 can be specifically:
According to play mode switching command, a full shot in virtual scene is opened, two visual angles of camera lens are adjusted, to be switched to
VR play mode.
Now, if the type of play mode switching command turns the instruction of 2D play mode for VR, step S2 can be specifically:
According to play mode switching command, the single full shot in virtual scene is opened, adjust the visual angle of camera lens, simultaneously closed off to just
The response of three-axis gyroscope in formula electronic equipment is taken, to be switched to 2D play mode.
Now, if the type of play mode switching command turns the instruction of 3D play mode for VR, step S2 can be specifically:
According to play mode switching command, two full shots in virtual scene are opened, two visual angles of camera lens are adjusted, to show two
Individual identical picture, simultaneously closes off the response to three-axis gyroscope in portable electric appts, to be switched to 3D play mode.
In the embodiment of the present invention, before or after step S1, can also include the steps of:
S0:Under the current play mode of video player, in video display process, the conventional behaviour of user input is received
Instruct.
In the embodiment of the present invention, routine operation instruction can be not limited to F.F., retrogressing, pause, broadcasting, next portion
Deng.
In the embodiment of the present invention, user both can be input into routine operation with traditional input mode (such as keyboard, touch-screen)
Instruction, if being provided with the portable electric appts of player with microphone, user can also the conventional behaviour of voice mode input
Instruct.
Specifically, if being instructed with voice mode input routine operation, the step of the routine operation instruction of user input is received
Suddenly with it is foregoing reception play mode switching command the step of similar, Ke Yishi:
S01:The voice signal collected to being provided with microphone in the portable electric appts of video player is removed
Reason (cutting off the Jing Yin of two ends) is lived together, to reduce interference of the noise to subsequent step.
S02:By mobile window function, sub-frame processing is carried out to voice signal.
S03:Voice signal to each frame carries out acoustic feature extraction, obtains corresponding observation sequence.
S04:Based on observation sequence, recognize the state of each frame, afterwards by combinations of states into phoneme, then by phonotactics into
Word.
S05:If the word for formerly identifying is sign on, return to step S11, user is continued to follow-up with voice
The routine operation instruction of form input, until the word for identifying is after END instruction, to stop receiving voice signal from microphone,
I.e.:So that player stops the voice signal of response user input;If formerly the word that identifies is not sign on, not from
Microphone receives voice signal, i.e.,:So that player is not responding to the voice signal of user input.Sign on therein and end
Instruction can be pre-designed fixed word, and such as sign on can be word " beginning ", and END instruction can be single
Word " end ".
Fig. 2 shows the structure of the video display system of video player provided in an embodiment of the present invention.
The video display system of video player provided in an embodiment of the present invention includes:First receiver module 1, for regarding
Under the current play mode of frequency player, the play mode switching command of user input is received;Handover module 2, broadcasts for basis
Mode playback switching command, redraws video display interface, and mould is played to be switched to corresponding 2D play mode, 3D play mode or VR
Formula.
In one case, if being provided with the portable electric appts of video player with microphone, first receives
Module 1 may include:First removal of impurities submodule, for being provided with what microphone in the portable electric appts of player was collected
Voice signal carries out removal of impurities treatment (cutting off the Jing Yin of two ends);First framing submodule, it is right for by mobile window function
Voice signal carries out sub-frame processing;Fisrt feature extracting sub-module, for the sound to each frame after framing submodule framing
Signal carries out acoustic feature extraction, obtains corresponding observation sequence;First word identification submodule, for based on observation sequence,
The state of each frame is recognized, afterwards by combinations of states into phoneme, then by phonotactics into word;First instruction identification submodule,
For when the word for formerly identifying is sign on, control removal of impurities submodule to be continued executing with, until the word for identifying is
After END instruction, stop receiving voice signal from microphone, be additionally operable to when the word for formerly identifying not is sign on, no
Voice signal is received from microphone.
In another case, if being provided with the portable electric appts of video player with three-axis gyroscope, the
One receiver module 1 may include:Acquisition submodule, three axle tops in the portable electric appts of video player are provided with for obtaining
X-axis, Y-axis, the rotation angle value of Z axis that spiral shell instrument reads, and judge that portable electronic sets according to the both positive and negative polarity of the angle value for obtaining
Standby direction of action;Anglec of rotation calculating sub module, is provided with three in the portable electric appts of video player for obtaining
X-axis, Y-axis, the angular velocity of rotation of Z axis of axle gyroscope output, the angular velocity of rotation to obtaining are integrated, and obtain portable electric
The anglec of rotation of the action of sub- equipment on three axles;Comparison sub-module, for three axles for obtaining anglec of rotation calculating sub module
On the anglec of rotation be compared with corresponding angle threshold respectively, and combine action residence time and corresponding time threshold
Comparing, recognize play mode switching command type and validity.
In one case, using openGL (Open Graphics Library, underlying graphics storehouse) and foundation in its base
GLUI, GLU class libraries on plinth, and realize 2D play mode, 3D play mode and VR play mode with reference to C++ program languages.
Now, handover module 2 may include:First switching submodule, plays for the type when play mode switching command for 2D turns 3D
During mode instruction, according to play mode switching command, 2D is shown interface as intermediate interface, intermediate interface is translated and
Left-eye image and eye image are obtained, left-eye image and eye image same interface is illustrated in simultaneously afterwards, to be switched to 3D
Play mode;Second switching submodule, for when play mode switching command type for 2D turn VR play mode instruct when, root
According to play mode switching command, 2D is shown that interface projects the solid space for drawing in advance by openGL mapping technologies
Surface on, the center of the solid space is viewpoint, to be switched to VR play mode.3rd switching submodule, for when broadcasting
When the type of pattern switching instruction is instructed for 3D turns 2D play mode, according to play mode switching command, by 3D displayings interface
Left-eye image or eye image drawout, to be switched to 2D play mode.4th switching submodule, for being cut when play mode
When changing the type of instruction and being instructed for 3D turns VR play mode, according to play mode switching command, the left side in 3D displayings interface is extracted
Eye pattern picture or eye image, the solid space for drawing in advance is projected by the image of extraction by openGL mapping technologies
On surface, the center of the solid space is viewpoint, to be switched to VR play mode.5th switching submodule, for when broadcasting mould
When the type of formula switching command is instructed for VR turns 2D play mode, according to play mode switching command, the solid that VR is shown is empty
Between expand into 2D displaying interface, to be switched to corresponding 2D play mode.6th switching submodule, refers to for play mode switching
When the type of order is instructed for VR turns 3D play mode, according to play mode switching command, the solid space that VR shows is expanded into
2D shows interface, and 2D being shown, interface, as intermediate interface, is translated to intermediate interface and obtained left-eye image and right eye figure
Picture, is illustrated in same interface, to be switched to 3D play mode simultaneously by left-eye image and eye image afterwards.
In another case, the portable electric appts of video player are installed with three-axis gyroscope, are utilized
Unity3D, and realize 2D play mode, 3D play mode and VR play mode with reference to C# program languages.Now, handover module
2 may include:7th switching submodule, for when play mode switching command type for 2D turn 3D play mode instruct when, root
According to play mode switching command, two full shots in virtual scene are opened, two visual angles of camera lens are adjusted, to show two
Identical picture, two pictures afterwards open up left-eye image and eye image respectively as left-eye image and eye image simultaneously
Show at the same interface of portable electric appts, simultaneously close off the response to three-axis gyroscope in portable electric appts, to cut
Change to 3D play mode;8th switching submodule, refers to for the type when play mode switching command for 2D turns VR play mode
When making, according to play mode switching command, two full shots in virtual scene are opened, adjust two visual angles of camera lens, with
Two identical pictures of display, while the response to three-axis gyroscope in portable electric appts is opened, to be switched to VR broadcastings
Pattern;9th switching submodule, for when the type of play mode switching command is instructed for 3D turns 2D play mode, according to broadcasting
Mode playback switching command, opens the single full shot in virtual scene, adjusts the visual angle of camera lens, shows the half of 3D pictures,
The response to three-axis gyroscope in portable electric appts is simultaneously closed off, to be switched to 2D play mode;Tenth switching submodule,
For when the type of play mode switching command is instructed for 3D turns VR play mode, according to play mode switching command, opening
A full shot in virtual scene, adjusts two visual angles of camera lens, to be switched to VR play mode;11st switching submodule
Block, for when the type of play mode switching command is instructed for VR turns 2D play mode, according to play mode switching command, opening
The single full shot in virtual scene is opened, the visual angle of camera lens is adjusted, simultaneously closed off to three axis accelerometer in portable electric appts
The response of instrument, to be switched to 2D play mode;12nd switching submodule, for being VR when the type of play mode switching command
When turning the instruction of 3D play mode, according to play mode switching command, two full shots in virtual scene are opened, adjust two
The visual angle of camera lens, to show two identical pictures, simultaneously closes off the response to three-axis gyroscope in portable electric appts, with
It is switched to 3D play mode.
Additionally, the video display system of video player provided in an embodiment of the present invention may also include:Second receiver module,
For under the current play mode of player, in video display process, the routine operation instruction of user input is received, this is normal
Rule operational order is defined as described above, does not repeat.
Further, if being provided with the portable electric appts of video player with microphone, the second receiver module
May include:Second removal of impurities submodule, for being provided with what microphone in the portable electric appts of video player was collected
Voice signal carries out removal of impurities treatment (cutting off the Jing Yin of two ends);Second framing submodule, it is right for by mobile window function
Voice signal carries out sub-frame processing;Second feature extracting sub-module, for the sound to each frame after framing submodule framing
Signal carries out acoustic feature extraction, obtains corresponding observation sequence;Second word identification submodule, for based on observation sequence,
The state of each frame is recognized, afterwards by combinations of states into phoneme, then by phonotactics into word;Second instruction identification submodule,
For when the word for formerly identifying is sign on, control removal of impurities submodule to be continued executing with, until the word for identifying is
After END instruction, stop receiving voice signal from microphone, be additionally operable to when the word for formerly identifying not is sign on, no
Voice signal is received from microphone.
The embodiment of the present invention additionally provides a kind of video player, including the video of video player as described above shows
System.
In sum, the image display method and system of video player provided in an embodiment of the present invention are broadcast in existing 2D
On the basis of mode playback, 3D play mode and VR play mode are merged, the viewing experience of user has been enriched, while being regarded by redrawing
Frequency displaying interface, realizes the switching of different play mode.Additionally, the play mode switching command and routine operation of user input
The difference according to practical application scene is instructed, can be both input into voice mode, can be input into eye prosecutor formula, facilitating user makes
With, and when being input into voice mode, in order to avoid the acoustic impacts speech recognition of video, set voice start identification and
Terminate identification function, improve applicability.
One of ordinary skill in the art will appreciate that all or part of step in realizing above-described embodiment method can be
Control the hardware of correlation to complete by program, described program can in a computer read/write memory medium is stored in,
Described storage medium, such as ROM/RAM, disk, CD.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention
Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.
Claims (10)
1. a kind of image display method of video player, it is characterised in that the described method comprises the following steps:
Under the current play mode of video player, the play mode switching command of user input is received;
According to the play mode switching command, video display interface is redrawn, played with being switched to corresponding 2D play mode, 3D
Pattern or VR play mode.
2. the image display method of video player as claimed in claim 1, it is characterised in that the reception user input
The step of play mode switching command, comprises the following steps:
The voice signal collected to being provided with microphone in the portable electric appts of video player carries out removal of impurities treatment;
By mobile window function, sub-frame processing is carried out to voice signal;
Voice signal to each frame carries out acoustic feature extraction, obtains corresponding observation sequence;
Based on the observation sequence, the state of each frame is recognized, afterwards by combinations of states into phoneme, then by phonotactics Cheng Dan
Word;
If the word for formerly identifying is sign on, the described pair of portable electric appts for being provided with video player are returned
The step of voice signal that middle microphone is collected carries out removal of impurities and processes, until after the word for identifying is END instruction, stopping
Voice signal is received from the microphone, if the word for formerly identifying not is sign on, is not received from the microphone
Voice signal.
3. the image display method of video player as claimed in claim 1, it is characterised in that be provided with video player
The step of portable electric appts carry three-axis gyroscope, the play mode switching command of the reception user input includes following
Step:
Acquisition is provided with X-axis, Y-axis, the anglec of rotation of Z axis of three-axis gyroscope reading in the portable electric appts of video player
Angle value, and the direction of action of portable electric appts is judged according to the both positive and negative polarity of the angle value for obtaining;
Acquisition is provided with X-axis, Y-axis, the anglec of rotation of Z axis of three-axis gyroscope output in the portable electric appts of video player
Speed, the angular velocity of rotation to obtaining is integrated, and obtains the anglec of rotation of the action of the portable electric appts on three axles
Degree;
The anglec of rotation on three axles that will be obtained is compared with corresponding angle threshold respectively, and combines the residence time of action
With the comparing of corresponding time threshold, the type and validity of play mode switching command are recognized.
4. the image display method of video player as claimed in claim 1, it is characterised in that described in video player
Current play mode under, receive user input play mode switching command the step of before or after, methods described is also wrapped
Include following steps:
Under the current play mode of video player, in video display process, the routine operation instruction of user input is received.
5. the image display method of the video player as described in any one of Claims 1-4, it is characterised in that utilize
OpenGL and GLUI, GLU class libraries set up on the basis of openGL, and realize that 2D play mode, 3D are broadcast with reference to C++ program languages
Mode playback and VR play mode;
The type of the play mode switching command including 2D turn 3D play mode instruction, 2D turn VR play mode instruction, 3D turn
2D play mode instruction, 3D turn VR play mode instruction, VR turn 2D play mode instruction, VR turn 3D play mode instruction.
6. the image display method of the video player as described in any one of Claims 1-4, it is characterised in that be provided with and regard
The portable electric appts of frequency player carry three-axis gyroscope, using Unity3D, and are broadcast realizing 2D with reference to C# program languages
Mode playback, 3D play mode and VR play mode;
The type of the play mode switching command including 2D turn 3D play mode instruction, 2D turn VR play mode instruction, 3D turn
2D play mode instruction, 3D turn VR play mode instruction, VR turn 2D play mode instruction, VR turn 3D play mode instruction.
7. a kind of video display system of video player, it is characterised in that the system includes:
First receiver module, the play mode switching under the current play mode of video player, receiving user input
Instruction;
Handover module, for according to the play mode switching command, redrawing video display interface, is broadcast with being switched to corresponding 2D
Mode playback, 3D play mode or VR play mode.
8. the video display system of video player as claimed in claim 7, it is characterised in that be provided with video player
Portable electric appts carry microphone, and first receiver module includes:
First removal of impurities submodule, for being provided with the voice signal that microphone in the portable electric appts of player is collected
Carry out removal of impurities treatment;
First framing submodule, for by mobile window function, sub-frame processing being carried out to voice signal;
Fisrt feature extracting sub-module, carries out acoustic feature and carries for the voice signal to each frame after framing submodule framing
Take, obtain corresponding observation sequence;
First word identification submodule, for based on the observation sequence, recognizing the state of each frame, afterwards by combinations of states into
Phoneme, then by phonotactics into word;
First instruction identification submodule, for when the word for formerly identifying is sign on, controlling the removal of impurities submodule
Continue executing with, until the word for identifying is additionally operable to work as after END instruction, to stop receiving voice signal from the microphone
When the word for first identifying not is sign on, voice signal is not received from the microphone.
9. the video display system of video player as claimed in claim 7, it is characterised in that be provided with video player
Portable electric appts carry three-axis gyroscope, and first receiver module includes:
Acquisition submodule, for obtain be provided with three-axis gyroscope reads in the portable electric appts of video player X-axis,
Y-axis, the rotation angle value of Z axis, and the direction of action of portable electric appts is judged according to the both positive and negative polarity of the angle value for obtaining;
Anglec of rotation calculating sub module, three-axis gyroscope is defeated in being provided with the portable electric appts of video player for acquisition
X-axis, Y-axis, the angular velocity of rotation of Z axis for going out, the angular velocity of rotation to obtaining are integrated, and obtain the dynamic of portable electric appts
Make the anglec of rotation on three axles;
Comparison sub-module, for the anglec of rotation on three axles that obtain anglec of rotation calculating sub module respectively with corresponding angle
Threshold value is compared, and combines the residence time of action and the comparing of corresponding time threshold, recognizes play mode switching command
Type and validity.
10. a kind of video player, it is characterised in that the video player is included as described in any one of claim 7 to 9
The video display system of video player.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611146144.3A CN106791779A (en) | 2016-12-13 | 2016-12-13 | A kind of video player and image display method, system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611146144.3A CN106791779A (en) | 2016-12-13 | 2016-12-13 | A kind of video player and image display method, system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106791779A true CN106791779A (en) | 2017-05-31 |
Family
ID=58880639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611146144.3A Pending CN106791779A (en) | 2016-12-13 | 2016-12-13 | A kind of video player and image display method, system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106791779A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107272896A (en) * | 2017-06-13 | 2017-10-20 | 北京小米移动软件有限公司 | The method and device switched between VR patterns and non-VR patterns |
CN111683281A (en) * | 2020-06-04 | 2020-09-18 | 腾讯科技(深圳)有限公司 | Video playing method and device, electronic equipment and storage medium |
CN112839255A (en) * | 2020-12-31 | 2021-05-25 | 北京达佳互联信息技术有限公司 | Video playing method and device, electronic equipment and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202153774U (en) * | 2011-07-29 | 2012-02-29 | 联想(北京)有限公司 | 3D video eyeglass |
CN105378596A (en) * | 2013-06-08 | 2016-03-02 | 索尼电脑娱乐公司 | Systems and methods for transitioning between transparent mode and non-transparent mode in a head mounted display |
CN105872515A (en) * | 2015-01-23 | 2016-08-17 | 上海乐相科技有限公司 | Video playing control method and device |
CN106060520A (en) * | 2016-04-15 | 2016-10-26 | 深圳超多维光电子有限公司 | Display mode switching method, display mode switching device, and intelligent terminal |
-
2016
- 2016-12-13 CN CN201611146144.3A patent/CN106791779A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202153774U (en) * | 2011-07-29 | 2012-02-29 | 联想(北京)有限公司 | 3D video eyeglass |
CN105378596A (en) * | 2013-06-08 | 2016-03-02 | 索尼电脑娱乐公司 | Systems and methods for transitioning between transparent mode and non-transparent mode in a head mounted display |
CN105872515A (en) * | 2015-01-23 | 2016-08-17 | 上海乐相科技有限公司 | Video playing control method and device |
CN106060520A (en) * | 2016-04-15 | 2016-10-26 | 深圳超多维光电子有限公司 | Display mode switching method, display mode switching device, and intelligent terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107272896A (en) * | 2017-06-13 | 2017-10-20 | 北京小米移动软件有限公司 | The method and device switched between VR patterns and non-VR patterns |
CN107272896B (en) * | 2017-06-13 | 2020-06-02 | 北京小米移动软件有限公司 | Method and device for switching between VR mode and non-VR mode |
CN111683281A (en) * | 2020-06-04 | 2020-09-18 | 腾讯科技(深圳)有限公司 | Video playing method and device, electronic equipment and storage medium |
CN112839255A (en) * | 2020-12-31 | 2021-05-25 | 北京达佳互联信息技术有限公司 | Video playing method and device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107515674B (en) | It is a kind of that implementation method is interacted based on virtual reality more with the mining processes of augmented reality | |
CN111726536B (en) | Video generation method, device, storage medium and computer equipment | |
US10074012B2 (en) | Sound and video object tracking | |
EP4184927A1 (en) | Sound effect adjusting method and apparatus, device, storage medium, and computer program product | |
CN101552890B (en) | Information processing apparatus, information processing method | |
CN105405168A (en) | Method and apparatus for implementing three-dimensional augmented reality | |
CN111953910B (en) | Video processing method and device based on artificial intelligence and electronic equipment | |
CN106791779A (en) | A kind of video player and image display method, system | |
CN103390287A (en) | Apparatus and method for augmented reality | |
CN102665085A (en) | Automatic identification method and automatic identification device of 3D movie format | |
CN103533445B (en) | Flying theater playing system based on active interaction | |
WO2021196648A1 (en) | Method and apparatus for driving interactive object, device and storage medium | |
CN112601120B (en) | Subtitle display method and device | |
CN115004299A (en) | Classifying audio scenes using composite image features | |
CN113537056A (en) | Avatar driving method, apparatus, device, and medium | |
CN112057882B (en) | Intelligent identification method for splicing toys | |
WO2020133372A1 (en) | Video subtitle processing method and broadcast direction system | |
KR100720718B1 (en) | Apparatus and method for augmented reality | |
US20130251199A1 (en) | System and method of estimating page position | |
CN106178502A (en) | The Gamecontrol system of a kind of view-based access control model and speech recognition technology and method | |
CN111491208A (en) | Video processing method and device, electronic equipment and computer readable medium | |
CN106412718A (en) | Rendering method and device for subtitles in 3D space | |
CN112764530A (en) | Ammunition identification method based on touch handle and augmented reality glasses | |
WO2022040574A1 (en) | Integrating overlaid digital content into displayed data via graphics processing circuitry | |
CN113409770A (en) | Pronunciation feature processing method, pronunciation feature processing device, pronunciation feature processing server and pronunciation feature processing medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170531 |
|
WD01 | Invention patent application deemed withdrawn after publication |