The player method of panoramic video and device
Technical field
The present invention relates to video technique field, more particularly, to a kind of player method of panoramic video and device.
Background technology
When user starts to watch panoramic video, show user is initial visual angle.User is in viewing panoramic video
During, can be watched with each visual angle of unrestricted choice.User is after changing viewing visual angle if it is desired to return to initial visual angle
Watched, then need to click on the button specified.The simple operation of the play-back technology of this panoramic video is relatively low.
Content of the invention
Technical problem
In view of this, the technical problem to be solved in the present invention is, the simple operation of the play-back technology of panoramic video is relatively low.
Solution
In order to solve above-mentioned technical problem, according to one embodiment of the invention, there is provided a kind of broadcasting side of panoramic video
Method, comprising:
During playing panoramic video, determine the movement locus of equipment;
In the case that described movement locus are matched with desired guiding trajectory, described panoramic video is play with default visual angle.
For said method, in a kind of possible implementation, described movement locus and desired guiding trajectory match, bag
Include:
Described movement locus are more than the first preset value with the similarity of described desired guiding trajectory.
For said method, in a kind of possible implementation, described desired guiding trajectory is closed curve.
For said method, in a kind of possible implementation, determine the movement locus of equipment, comprising:
Obtain the exercise data of described equipment by gyroscope;
Determine the movement locus of described equipment according to described exercise data.
For said method, in a kind of possible implementation, methods described also includes:
Obtain information-setting by user;
Described desired guiding trajectory is determined according to described information-setting by user.
For said method, in a kind of possible implementation, described default visual angle is the initial of described panoramic video
Visual angle.
In order to solve above-mentioned technical problem, according to another embodiment of the present invention, there is provided a kind of broadcasting of panoramic video
Device, comprising:
Movement locus determining module, for during playing panoramic video, determining the movement locus of equipment;
Default visual angle playing module, in the case of being matched with desired guiding trajectory in described movement locus, is regarded with default
Described panoramic video is play at angle.
For said apparatus, in a kind of possible implementation, described movement locus and desired guiding trajectory match, bag
Include:
Described movement locus are more than the first preset value with the similarity of described desired guiding trajectory.
For said apparatus, in a kind of possible implementation, described desired guiding trajectory is closed curve.
For said apparatus, in a kind of possible implementation, described movement locus determining module includes:
Motion capture submodule, for obtaining the exercise data of described equipment by gyroscope;
Movement locus determination sub-module, for determining the movement locus of described equipment according to described exercise data.
For said apparatus, in a kind of possible implementation, described device also includes:
Information-setting by user acquisition module, for obtaining information-setting by user;
Desired guiding trajectory determining module, for determining described desired guiding trajectory according to described information-setting by user.
For said apparatus, in a kind of possible implementation, described default visual angle is the initial of described panoramic video
Visual angle.
Beneficial effect
By during playing panoramic video, determining the movement locus of equipment, and the movement locus in equipment with pre-
If in the case that track matches, with default visual angle playing panoramic video, the broadcasting of panoramic video according to embodiments of the present invention
Method and device can make user by moving to equipment, makes equipment produce the movement locus matching with desired guiding trajectory,
Thus make panoramic video viewing visual angle quickly adjust to panoramic video initial visual angle or other default visual angles such that it is able to
Improve the simple operation of adjustment viewing visual angle during playing panoramic video.
According to below with reference to the accompanying drawings, to detailed description of illustrative embodiments, the further feature of the present invention and aspect will become
Clear.
Brief description
Comprise in the description and constitute the accompanying drawing of a part of description and description together illustrates the present invention's
Exemplary embodiment, feature and aspect, and for explaining the principle of the present invention.
Fig. 1 illustrates the flowchart of the player method of panoramic video according to an embodiment of the invention;
Fig. 2 illustrates to determine the motion of equipment in player method step s11 of panoramic video according to an embodiment of the invention
One exemplary flowchart of track;
Fig. 3 illustrates an exemplary flowchart of the player method of panoramic video according to an embodiment of the invention;
Fig. 4 illustrates the structured flowchart of the playing device of panoramic video according to another embodiment of the present invention;
Fig. 5 illustrates an exemplary structured flowchart of the playing device of panoramic video according to another embodiment of the present invention;
Fig. 6 shows a kind of structured flowchart of the playback equipment of panoramic video of an alternative embodiment of the invention.
Specific embodiment
Describe various exemplary embodiments, feature and the aspect of the present invention below with reference to accompanying drawing in detail.Identical in accompanying drawing
Reference represent the same or analogous element of function.Although the various aspects of embodiment shown in the drawings, remove
Non-specifically points out it is not necessary to accompanying drawing drawn to scale.
Special word " exemplary " means " as example, embodiment or illustrative " here.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, giving numerous details in specific embodiment below.
It will be appreciated by those skilled in the art that not having some details, the present invention equally can be implemented.In some instances, for
Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the present invention.
Embodiment 1
Fig. 1 illustrates the flowchart of the player method of panoramic video according to an embodiment of the invention.The method is permissible
It is applied in the handheld devices such as mobile phone or panel computer, be not limited thereto.As shown in figure 1, the method includes:
In step s11, during playing panoramic video, determine the movement locus of equipment.
Wherein, panoramic video can exceed the video of the normal viewing angle of user for visual angle.For example, panoramic video can be water
Look squarely 360 degree of angle, the video of vertical angle of view 180 degree.Because the visual angle of panoramic video exceedes the normal viewing angle of user, therefore, use
Family, when watching panoramic video, can only see a part for panoramic video.User, can be certainly during viewing panoramic video
Watched by selecting each visual angle.For example, user is watching panoramic video by handheld devices such as mobile phone or panel computers
During, panoramic video can be watched by rotating mobile phone or each visual angle of panel computer unrestricted choice, or can lead to
Cross each visual angle of the virtual key unrestricted choice viewing panoramic video on mobile phone or panel computer.
In a kind of possible implementation, when user starts to watch panoramic video, can be initial with panoramic video
Visual angle playing panoramic video.
In the present embodiment, during playing panoramic video, can be determined by the motion sensor in equipment and set
Standby movement locus.
In step s12, in the case that this movement locus is matched with desired guiding trajectory, aphorama is play with default visual angle
Frequently.
In the present embodiment, in the case that the movement locus of equipment are matched with desired guiding trajectory, by the sight of panoramic video
See that visual angle is automatically regulated to be default visual angle, and with default visual angle playing panoramic video.
In a kind of possible implementation, default visual angle is the initial visual angle of panoramic video.For example, panoramic video is first
Beginning visual angle can be the visual angle of the uploader recommendation of panoramic video.
In alternatively possible implementation, default visual angle can be by user setup.For example, user can be liked
Visual angle be set to default visual angle.
By during playing panoramic video, determining the movement locus of equipment, and the movement locus in equipment with pre-
If in the case that track matches, with default visual angle playing panoramic video, the broadcasting of panoramic video according to embodiments of the present invention
Method can make user by moving to equipment, make equipment produce the movement locus matching with desired guiding trajectory, thus make
The viewing visual angle of panoramic video quickly adjusts to be broadcast to initial visual angle or other default visual angles of panoramic video such that it is able to improve
Put the simple operation adjusting viewing visual angle during panoramic video.The player method of panoramic video according to embodiments of the present invention will be complete
The viewing visual angle of scape video quickly adjusts and does not rely on physical button to default visual angle, it is possible to increase Consumer's Experience.
In a kind of possible implementation, this movement locus and desired guiding trajectory match, comprising: this movement locus with pre-
If the similarity of track is more than the first preset value.In this implementation, if the movement locus of equipment are similar to desired guiding trajectory
Degree is more than the first preset value, then can be determined that the movement locus of equipment and desired guiding trajectory match;If the movement locus of equipment with
The similarity of desired guiding trajectory is less than or equal to the first preset value, then not can be determined that the movement locus of equipment and desired guiding trajectory not
Join.
It should be noted that those skilled in the art can calculate movement locus and default rail by various known methods
Similarity between mark.For example, it is possible to movement locus and default rail are calculated by Fu Leixie distance (fr é chet distance)
Similarity between mark, is not limited thereto.
In a kind of possible implementation, desired guiding trajectory is closed curve.For example, desired guiding trajectory can for oval,
Circular or triangle etc., desired guiding trajectory can also for first to the left, more to the right, track to the left again, be not limited thereto.
Fig. 2 illustrates to determine the motion of equipment in player method step s11 of panoramic video according to an embodiment of the invention
One exemplary flowchart of track.As shown in Fig. 2 determining the movement locus of equipment, comprising:
The exercise data of equipment in step s21, is obtained by gyroscope.
The movement locus of equipment in step s22, are determined according to this exercise data.
As an example of the present embodiment, can by gyroscope obtain equipment rotational angular velocity it is possible to according to
The movement locus of the rotational angular velocity computing device obtaining.
Fig. 3 illustrates an exemplary flowchart of the player method of panoramic video according to an embodiment of the invention.
As shown in figure 3, the method includes:
In step s31, obtain information-setting by user.
In step s32, desired guiding trajectory is determined according to information-setting by user.
As an example of the present embodiment, can be by user setup desired guiding trajectory such that it is able to meet the individual character of user
Change demand, improves the experience that user watches panoramic video.
In step s33, during playing panoramic video, determine the movement locus of equipment.
In step s34, in the case that this movement locus is matched with desired guiding trajectory, aphorama is play with default visual angle
Frequently.
Wherein, step s33, s34 is seen above with the description to step s11, s12.
As another example of the present embodiment, desired guiding trajectory can be system default.
The player method of panoramic video according to embodiments of the present invention can make user by moving to equipment, makes to set
The movement locus that standby generation is matched with desired guiding trajectory, thus make the viewing visual angle of panoramic video quickly adjust to panoramic video
Initial visual angle or other default visual angles are such that it is able to improve the simple operation of adjustment viewing visual angle during playing panoramic video.
Embodiment 2
Fig. 4 illustrates the structured flowchart of the playing device of panoramic video according to another embodiment of the present invention.This device is permissible
For running the player method of the panoramic video shown in Fig. 1 to Fig. 3.For convenience of description, illustrate only and this enforcement in the diagram
The related part of example.
As shown in figure 4, this device includes: movement locus determining module 41, for during playing panoramic video, really
The movement locus of locking equipment;Default visual angle playing module 42, for situation about matching in described movement locus and desired guiding trajectory
Under, described panoramic video is play with default visual angle.
Fig. 5 illustrates an exemplary structured flowchart of the playing device of panoramic video according to another embodiment of the present invention.
This device can be used for running the player method of the panoramic video shown in Fig. 1 to Fig. 3.For convenience of description, only illustrate in Figure 5
Part related to the present embodiment.In Fig. 5, label and Fig. 4 identical assembly have identical function, for simplicity's sake, omit
Detailed description to these assemblies.As shown in Figure 5:
In a kind of possible implementation, described movement locus and desired guiding trajectory match, comprising: described movement locus
It is more than the first preset value with the similarity of described desired guiding trajectory.
In a kind of possible implementation, described desired guiding trajectory is closed curve.
In a kind of possible implementation, described movement locus determining module 41 includes: motion capture submodule
411, for obtaining the exercise data of described equipment by gyroscope;Movement locus determination sub-module 412, for according to described fortune
Dynamic data determines the movement locus of described equipment.
In a kind of possible implementation, described device also includes: information-setting by user acquisition module 43, for obtaining
Information-setting by user;Desired guiding trajectory determining module 44, for determining described desired guiding trajectory according to described information-setting by user.
In a kind of possible implementation, described default visual angle is the initial visual angle of described panoramic video.
It should be noted that so, by during playing panoramic video, determining the movement locus of equipment, and
In the case that the movement locus of equipment and desired guiding trajectory match, with default visual angle playing panoramic video, implemented according to the present invention
The playing device of the panoramic video of example can make user by moving to equipment, so that equipment is produced and match with desired guiding trajectory
Movement locus, thus make the viewing visual angle of panoramic video quickly adjust to the initial visual angle of panoramic video or other default regard
Angle is such that it is able to improve the simple operation of adjustment viewing visual angle during playing panoramic video.
Embodiment 3
Fig. 6 shows a kind of structured flowchart of the playback equipment of panoramic video of an alternative embodiment of the invention.Described
The playback equipment 1100 of panoramic video can be host server, personal computer pc or the portability possessing computing capability
Portable computer or terminal etc..The specific embodiment of the invention does not limit to implementing of calculate node.
The playback equipment 1100 of described panoramic video includes processor (processor) 1110, communication interface
(communications interface) 1120, memorizer (memory) 1130 and bus 1140.Wherein, processor 1110,
Communication interface 1120 and memorizer 1130 complete mutual communication by bus 1140.
Communication interface 1120 is used for and network device communications, and wherein the network equipment includes such as Virtual Machine Manager center, is total to
Enjoy storage etc..
Processor 1110 is used for configuration processor.Processor 1110 is probably a central processing unit cpu, or special collection
Become circuit asic (application specific integrated circuit), or be arranged to implement the present invention
One or more integrated circuits of embodiment.
Memorizer 1130 is used for depositing file.Memorizer 1130 may comprise high speed ram memorizer it is also possible to also include non-
Volatile memory (non-volatile memory), for example, at least one disk memory.Memorizer 1130 can also be deposited
Memory array.Memorizer 1130 is also possible to by piecemeal, and described piece can be combined into virtual volume by certain rule.
In a kind of possible embodiment, said procedure can be the program code including computer-managed instruction.This journey
Sequence is particularly used in: realizes the operation of each step in embodiment 1.
Those of ordinary skill in the art are it is to be appreciated that each exemplary cell in embodiment described herein and algorithm
Step, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually with hardware also
Being software form to realize, the application-specific depending on technical scheme and design constraint.Professional and technical personnel can be directed to
Specifically application selects different methods to realize described function, but this realization is it is not considered that exceed the model of the present invention
Enclose.
If to be realized using in the form of computer software described function and as independent production marketing or use when,
To a certain extent it is believed that all or part (part for example prior art being contributed) of technical scheme is
Embody in form of a computer software product.This computer software product is generally stored inside the non-volatile of embodied on computer readable
In storage medium, including some instructions with so that computer equipment (can be that personal computer, server or network set
Standby etc.) all or part of step of execution various embodiments of the present invention method.And aforesaid storage medium include u disk, portable hard drive,
Read only memory (rom, read-only memory), random access memory (ram, random access memory), magnetic
Dish or CD etc. are various can be with the medium of store program codes.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by described scope of the claims.