WO2019104533A1 - 一种视频播放方法及装置 - Google Patents

一种视频播放方法及装置 Download PDF

Info

Publication number
WO2019104533A1
WO2019104533A1 PCT/CN2017/113594 CN2017113594W WO2019104533A1 WO 2019104533 A1 WO2019104533 A1 WO 2019104533A1 CN 2017113594 W CN2017113594 W CN 2017113594W WO 2019104533 A1 WO2019104533 A1 WO 2019104533A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
viewing
visual field
degree video
file
Prior art date
Application number
PCT/CN2017/113594
Other languages
English (en)
French (fr)
Inventor
徐培辰
Original Assignee
深圳市柔宇科技有限公司
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 深圳市柔宇科技有限公司 filed Critical 深圳市柔宇科技有限公司
Priority to CN201780095817.3A priority Critical patent/CN111213374A/zh
Priority to PCT/CN2017/113594 priority patent/WO2019104533A1/zh
Publication of WO2019104533A1 publication Critical patent/WO2019104533A1/zh

Links

Images

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
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Definitions

  • the present invention relates to the field of data processing technologies, and in particular, to a video playing method and apparatus.
  • the existing 360-degree video is viewed by rotating the video playback terminal, using gravity sensing technology to control the movement of the viewing field of view; or controlling the movement of the viewing field through peripheral devices such as a mouse or button response technology.
  • the existing way of viewing 360-degree video because of the need to manually control the movement of the viewing field, in the 360-degree video playback process, on the one hand, the user may have a busy operation phenomenon, on the other hand, the user may not know where the main viewing content It is easy to miss the information.
  • the existing way of viewing 360-degree video cannot record and share the viewing track.
  • the embodiment of the invention discloses a video playing method and device, which can automatically control the movement of the viewing field and realize the sharing of the 360-degree video viewing track.
  • a first aspect of the embodiments of the present invention discloses a video playing method, including:
  • the target viewing track file being any one of at least one viewing track file pre-generated for a 360 degree video
  • Target viewing trajectory file Determining, according to the target viewing trajectory file, target viewing trajectory information when the user views the 360-degree video, where the target viewing trajectory information includes a playing progress time, a visual field focusing position, and a visual field rotation angle;
  • the 360 degree video is played according to the target viewing trajectory information.
  • a second aspect of the embodiment of the present invention discloses a video playing device, including:
  • a first acquiring module configured to acquire a target viewing trajectory file, where the target viewing trajectory file is any one of at least one viewing trajectory file pre-generated for a 360-degree video;
  • a determining module configured to determine target viewing trajectory information when the user views the 360-degree video according to the target viewing trajectory file, where the target viewing trajectory information includes a playing progress time and a visual field Focal position and field of view rotation angle;
  • a playing module configured to play the 360-degree video according to the target viewing trajectory information.
  • a third aspect of the embodiments of the present invention discloses a computer readable storage medium, wherein the computer readable storage medium stores instructions for causing a computer to execute the video of the first aspect when the instruction is run on a computer Play method.
  • a fourth aspect of the embodiments of the present invention discloses a computer program product comprising instructions for causing a computer to execute the video playing method of the first aspect described above when the instructions are run on a computer.
  • the target viewing trajectory file is first acquired, and then the target viewing trajectory information when the user views the 360-degree video is determined according to the target viewing trajectory file, and finally the 360-degree video is played according to the target viewing trajectory information, thereby automatically controlling the viewing field. Move to share the 360-degree video viewing track.
  • FIG. 1 is a schematic flowchart of a video playing method according to an embodiment of the present invention.
  • FIG. 2a is a schematic diagram of a video viewing scene disclosed in an embodiment of the present invention.
  • FIG. 2b is a schematic diagram of another video viewing scenario disclosed in an embodiment of the present invention.
  • FIG. 3a is a schematic diagram of a video playback screen according to an embodiment of the present invention.
  • FIG. 3b is a schematic diagram of another video playback screen according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a video playback apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a video playing terminal according to an embodiment of the present invention.
  • the embodiment of the invention provides a video playing method and device, wherein the video playing method can be performed by a smart phone (such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.), a tablet computer, and a mobile Internet device (MID). , Virtual Reality (VR) devices, personal computers (Personal Computers, PCs) and other smart terminals with 360-degree video playback and data processing functions.
  • a smart phone such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.
  • MID mobile Internet device
  • VR Virtual Reality
  • PCs Personal computers
  • the video playing method and device provided by the embodiments of the present invention can automatically control the movement of the viewing field and realize the sharing of the 360-degree video viewing track, which are respectively described in detail below.
  • FIG. 1 is a schematic flowchart diagram of a video playing method according to an embodiment of the present invention.
  • the video playing method described in the embodiment of the present invention includes:
  • the playback terminal acquires a target viewing track file.
  • the playing terminal is an intelligent terminal having a 360-degree video playing function
  • the target viewing track file acquired by the playing terminal is any one of the at least one viewing track file pre-generated for the 360-degree video.
  • the specific manner of the playback terminal acquiring the target viewing track file is: the playing terminal first acquires and displays the file identifier of the at least one viewing track file generated by the 360-degree video; and then receives the selection instruction input by the user of the playing terminal for the displayed file identifier. And determining, according to the received selection instruction of the user input, the target file identifier selected by the user; and finally determining the viewing track file corresponding to the target file identifier as the target viewing track file.
  • 360-degree video is generated by multiple cameras simultaneously shooting objects in the same space at multiple angles.
  • 360-degree video supports multi-angle video playback, so users can freely control the playback terminal when viewing 360-degree video. Switching the viewing angle of 360-degree video enriches the form of video playback.
  • the playing terminal determines, according to the target viewing trajectory file, target viewing trajectory information when the user views the 360-degree video.
  • each of the viewing track files pre-generated for the 360-degree video includes viewing track information.
  • the playing terminal After acquiring the target viewing track file, acquires the target viewing track information included in the target viewing track file, and the playing terminal can determine the viewing track when the user watches the 360 video according to the target viewing track information.
  • the target viewing trajectory information includes information such as a play progress time, a visual field focus position, and a visual field rotation angle; the target viewing trajectory information further includes a mapping relationship between a play progress time, a visual field focus position, and a visual field rotation angle, that is, It is said that the corresponding visual field focus position and the visual field rotation angle can be determined according to the playback progress time; the visual field rotation angle is an angle at which the user's head rotates relative to the reference direction when the user looks at a certain visual field focus position.
  • the playing terminal plays the 360-degree video according to the target viewing trajectory information.
  • the playing terminal first acquires a current playing progress time of the 360-degree video, and determines a target playing progress time corresponding to the current playing progress time from the target viewing trajectory information; and then, according to the target viewing trajectory information, the playing progress time and the visual field included
  • the mapping relationship between the focus position and the rotation angle of the field of view determines the target field of view focus position and the target field of view rotation angle corresponding to the target playback progress time; finally, the target field of view focus position and target are determined from the multi-frame image of the 360-degree video.
  • the target image frame corresponding to the field of view rotation angle, and the target image frame is displayed.
  • the target image frame is a 360-degree video screen that the user can see through the display window of the playback terminal when the user's head rotates at the same angle as the target field of view rotation angle.
  • the foregoing describes a method for a playback terminal to play 360-degree video according to a 360-degree video viewing track file.
  • the process of generating a 360-degree video viewing track file is described in detail below.
  • the following is an example of playing a 360-degree video. In other cases, it can be deduced by analogy.
  • the playback terminal acquires the viewing track information when the user views the 360-degree video every preset time interval (for example, 50 ms) in the process of playing the 360-degree video in advance, and the obtained viewing track information includes the playing progress.
  • Time for example, t
  • field of view focus position for example, a
  • field of view rotation angle for example, r
  • the correspondence between the three Referring to FIG. 2a and FIG. 2b together, as shown in FIG. 2a, a 360-degree picture of 360-degree video is represented by a sphere, and a point w represents a user's eyes of the playback terminal, and point a is a point on the spherical surface and corresponds to a three-dimensional coordinate.
  • the line wa of the point w and the point a represents the direction viewed by the user's eyes; as shown in Fig. 2b, the point b is a reference point on the spherical surface, and the line wb of the point w and the point b represents the reference direction. It is assumed that at the time of viewing the trajectory information acquisition, when the user's eyes look at the point a, the three-dimensional coordinates of the point a are the visual field focus position a obtained during the acquisition of the trajectory information, and the connection of the point w and the point wa
  • the angle between the angle wb of the point w and the point b is the angle of view rotation r obtained during the acquisition of the viewing track information.
  • the field of view rotation angle r has directivity
  • the direction of the field of view rotation angle r can be used to represent the direction thereof, for example, a positive value indicates a clockwise rotation, and a negative value indicates a counterclockwise rotation.
  • point b is the focus position of the field of view acquired when the playback terminal last acquired the view track information
  • point a is the focus position of the view obtained when the play terminal acquires the view track information.
  • the angle of the angle between the connection line wa and the connection line wb can also be used to indicate the angle of view rotation r obtained when the playback terminal acquires the viewing track information. Therefore, the visual field rotation angle r indicates the angle at which the user's head is rotated relative to the direction in which the visual field focus position b acquired when the viewing trajectory information was last acquired and the direction in which the user's eye w is connected.
  • the playback terminal may acquire at least one set of viewing track information, and the format of the viewing track information is, for example, (t:a:r), and at least one group of viewings that the playing terminal will acquire.
  • the track information is stored in the same file to generate a viewing track file.
  • the storage format of the viewing track information in the viewing track file may be, for example: (t1: a1: r1), (t2: a2: r2), (t3: a3: r3), ..., (t: a: r) It indicates the playback progress time, the visual field focus position, and the visual field rotation angle acquired by the playback terminal at the same time, thereby forming a correspondence relationship among the three.
  • the 360-degree video is played once, and the playback terminal correspondingly generates a 360-degree video viewing track file. After playing the 360-degree video multiple times, the viewing track file of multiple 360-degree videos may be generated correspondingly.
  • the playback terminal acquires all the information acquired during the playback of the 360-degree video after acquiring the viewing trajectory information when the user views the 360-degree video in the process of playing the 360-degree video in advance. Viewing the track information to detect whether the 360-degree video is completed or not; or, the playing terminal detects whether the 360-degree video is completed according to all the image frames that have been played by the 360-degree video; if the playing terminal detects that the 360-degree video viewing is not completed, the prompt information is output.
  • the prompt information is used to prompt the user to view the incompleteness, and the prompt information may be used to prompt the user to view the direction of the field of view corresponding to the unwatched screen, thereby preventing the user from missing the viewing information; if the playing terminal detects that the 360-degree video viewing is completed, then The output viewing completed message prompts to avoid the problem of repeatedly watching the pictures that have already been viewed.
  • the playback terminal may store the 360-degree video viewing track file in the local storage medium, or may be 360.
  • the viewing track file of the degree video is stored in the cloud server, so that the playing terminal or other playing terminal downloads the viewing track file of the 360-degree video from the cloud server, and automatically controls the user to view the 360 degree according to the viewing track file of the 360-degree video.
  • Video painting Face switching which enables the sharing of 360-degree video viewing tracks.
  • FIG. 3a is a screen of the 360-degree video and the sequence of each picture when the user views the 360-degree video in the existing manner, that is, the user sees when watching the 360-degree video.
  • Unique story line In order to share the same story line or share the unique story line to other users next time, the playback terminal records the user's viewing track information every preset time interval when the user views the 360-degree video through the existing mode. Finally, a viewing track file of the 360-degree video is generated, and a process of generating a viewing track file of the 360-degree video may be referred to the foregoing description, and details are not described herein again.
  • FIG. 3a is a screen of the 360-degree video and the sequence of each picture when the user views the 360-degree video in the existing manner, that is, the user sees when watching the 360-degree video.
  • Unique story line In order to share the same story line or share the unique story line to other users next time, the playback terminal records the user's viewing track information every preset time interval when the
  • 3b is a playback screen of the 360-degree video and the sequence of each screen in the process of automatically playing a 360-degree video according to the viewing track file of the 360-degree video when the user or other user views the 360-degree video, according to the 360-degree.
  • the method for automatically playing the 360-degree video by the viewing track file of the video may also refer to the foregoing description, and details are not described herein again.
  • the playback screen and the sequence of each screen shown in FIG. 3b can be made the same as the playback screen and the sequence of each screen shown in FIG. 3a, thereby realizing 360-degree video viewing trajectory, or sharing of story lines, and not The key information that users want to share will be missed, enriching the viewing format of 360-degree video.
  • the target viewing trajectory file is first acquired, and then the target viewing trajectory information when the user views the 360-degree video is determined according to the target viewing trajectory file, and finally the 360-degree video is played according to the target viewing trajectory information, thereby automatically controlling the viewing field. Move to share the 360-degree video viewing track.
  • FIG. 4 is a schematic structural diagram of a video playing device according to an embodiment of the present invention.
  • the video playback device described in the embodiment of the present invention includes:
  • a first acquiring module 401 configured to acquire a target viewing trajectory file, where the target viewing trajectory file is any one of at least one viewing trajectory file pre-generated for a 360-degree video;
  • a determining module 402 configured to determine target viewing trajectory information when the user views the 360-degree video according to the target viewing trajectory file, where the target viewing trajectory information includes a playing progress time, a visual field focusing position, and a visual field rotation angle;
  • the playing module 403 is configured to play the 360-degree video according to the target viewing trajectory information.
  • the target viewing trajectory information includes a mapping relationship between a play progress time, a visual field focus position, and a visual field rotation angle
  • the first obtaining module 401 is further configured to acquire a current playing progress time of the 360-degree video.
  • the determining module 402 is further configured to determine a target visual field focus position and a target corresponding to the current playback progress time according to a mapping relationship between a playback progress time, a visual field focus position, and a visual field rotation angle included in the target viewing trajectory information.
  • the determining module 402 is further configured to determine a target image frame of the 360-degree video according to the target visual field focus position and the target visual field rotation angle;
  • the playing module 403 is specifically configured to display the target image frame.
  • the video playback device further includes:
  • the second obtaining module 404 is configured to: during the playing of the 360-degree video, the viewing trajectory information when the user views the 360-degree video is acquired every preset time interval, where the viewing trajectory information includes a playing progress. Time, field of view focus position and field of view rotation angle;
  • the generating module 405 is configured to generate at least one viewing track file of the 360-degree video according to the acquired viewing trajectory information.
  • the video playback device further includes:
  • a display module 406, configured to display a file identifier of the at least one viewing track file
  • the determining module 403 is further configured to determine, according to the selection instruction input by the user, the target file identifier
  • the determining module 403 is specifically configured to determine a viewing track file corresponding to the target file identifier as a target viewing track file.
  • the field of view rotation angle is an angle at which the user's head rotates relative to a reference direction when the user views the field of view focus position.
  • the video playback device further includes:
  • the storage module 407 is configured to store the at least one viewing track file to the cloud server, so that the video playing device downloads the at least one viewing track file from the cloud server.
  • the first acquiring module 401 acquires a target viewing trajectory file, and then the determining module 402 determines, according to the target viewing trajectory file, a target viewing trajectory when the user views the 360-degree video.
  • the information, the last playing module 402 plays the 360-degree video according to the target viewing trajectory information, thereby automatically controlling the movement of the viewing field and realizing the sharing of the 360-degree video viewing trajectory.
  • FIG. 5 is a schematic structural diagram of a video playing terminal according to an embodiment of the present invention.
  • the video playing terminal described in the embodiment of the present invention includes: a user interface 501, a display screen 502, a processor 503, a communication interface 504 and a memory 505, the user interface 501, a display screen 502, a processor 503, a communication interface 504, and
  • the memory 505 can be connected by a bus or otherwise connected.
  • the processor 503 can be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.
  • the processor 503 can also be a core for implementing communication identity binding in a multi-core CPU or a multi-core NP.
  • the processor 503 described above may be a hardware chip.
  • the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • the PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL), or any combination thereof.
  • the communication interface 504 can be used for transceiving information or signaling interactions, as well as for receiving and transmitting signals.
  • the communication interface 504 can communicate with the network and the signal transmitting device via wireless communication and receive data of the signal transmitting device.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Wireless Fidelity (WiFi), Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service). , GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), and the like.
  • the user interface 501 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the video playback device.
  • the user interface 501 described above may include a touch panel and other input devices.
  • a touch panel also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like, any suitable object or accessory on or near the touch panel).
  • the corresponding connecting device is driven according to a preset program.
  • the touch screen can be a flexible touch screen.
  • the touch panel may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller;
  • the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the user interface 501 can also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display screen 502 can be used to display information entered by the user or information provided to the user as well as various menus of the playback terminal.
  • the display screen 502 can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch panel in the user interface 501 can cover the display screen 502. When the touch panel detects a touch operation on or near the touch panel, the touch panel transmits to the processor to determine the type of the touch event, and then the processor according to the touch event. The type provides a corresponding visual output on display screen 502.
  • the touch panel and display screen 502 are used as two separate components to implement the input and output functions of the video playback terminal, in some embodiments, the touch panel can be integrated with the display screen 502. Realize the input and output functions of the video playback terminal.
  • the memory 505 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a storage program required for at least one function (such as a text storage function, a location storage function, etc.); the storage data area may be stored according to The data created by the use of the video playback terminal (such as image data, text data), etc., and may include a network communication module, a user interface module, an application storage program, and the like.
  • the network communication module can be used to store a network communication program, and the communication interface 504 can implement external or internal communication functions by calling a network communication program of the network communication module.
  • the user interface module can be used to store a human-computer interaction program for implementing touch, pressing, and the like on the video playback terminal.
  • the user interface 501 can implement a user signal input function by calling a human-computer interaction program of the user interface module.
  • the memory may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the above memory 505 is also used to store program instructions.
  • the above processor 503 can call the above memory
  • the program instructions stored in 505 implement a video playing method as shown in the embodiment of the present invention.
  • the processor 503 calls the program instructions stored in the memory 505 to perform the following steps:
  • the target viewing track file being any one of at least one viewing track file pre-generated for a 360 degree video
  • Target viewing trajectory file Determining, according to the target viewing trajectory file, target viewing trajectory information when the user views the 360-degree video, where the target viewing trajectory information includes a playing progress time, a visual field focusing position, and a visual field rotation angle;
  • the 360 degree video is played according to the target viewing trajectory information.
  • the method performed by the processor 503 in the embodiment of the present invention is described from the perspective of a processor. It can be understood that the processor 503 in the embodiment of the present invention needs to cooperate with other hardware structures to perform the above method. The specific implementation process is not described and limited in detail in the embodiments of the present invention.
  • the target viewing trajectory information includes a mapping relationship between a playback progress time, a visual field focus position, and a visual field rotation angle
  • the processor 503 plays the 360-degree video according to the target viewing trajectory information.
  • the specific way is:
  • the processor 503 is further configured to:
  • the viewing trajectory information when the user views the 360-degree video is acquired every preset time interval, and the viewing trajectory information includes a playback progress time, a visual field focus position, and a visual field rotation. angle;
  • the processor 503 is further configured to:
  • the viewing track file corresponding to the target file identifier is determined as the target viewing track file.
  • the field of view rotation angle is an angle at which the user's head rotates relative to a reference direction when the user views the field of view focus position.
  • the processor 503 is further configured to store the at least one viewing track file to a cloud server, so that the video playing terminal downloads the at least one viewing track file from the cloud server.
  • the user interface 501, the display screen 502, the processor 503, the communication interface 504, and the memory 505 are described in the embodiment of the present invention, and the implementation described in the video playback method provided by the embodiment of the present invention may be implemented.
  • the implementation manner described in the video playback apparatus provided in FIG. 4 of the embodiment of the present invention may also be implemented, and details are not described herein again.
  • the processor 503 first acquires the target viewing trajectory file, and then determines the target viewing trajectory information when the user views the 360-degree video according to the target viewing trajectory file, and finally plays the 360-degree video according to the target viewing trajectory information, thereby automatically controlling Watch the movement of the field of view and share the 360-degree video viewing track.
  • the present invention also provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the video playback method described in the above method embodiments.
  • the present invention also provides a computer program product comprising instructions for causing a computer to perform the video playback method described in the above method embodiments when the instructions are run on a computer.
  • the steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs. Less.
  • the modules in the video playback apparatus of the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, Read-Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

一种视频播放方法及装置,其中方法包括:获取目标观看轨迹文件,所述目标观看轨迹文件为针对360度视频预先生成的至少一个观看轨迹文件中的任意一个;根据所述目标观看轨迹文件,确定用户观看所述360度视频时的目标观看轨迹信息,所述目标观看轨迹信息包括播放进度时间、视野聚焦位置和视野旋转角度;按照所述目标观看轨迹信息播放所述360度视频。通过本发明实施例可以自动控制观看视野的移动,实现360度视频观看轨迹的分享。

Description

一种视频播放方法及装置 技术领域
本发明涉及数据处理技术领域,尤其涉及一种视频播放方法及装置。
背景技术
现有360度视频的观看方式为:通过转动视频播放终端,利用重力感应技术来控制观看视野的移动;或者通过外围设备(例如鼠标或按键响应技术)来控制观看视野的移动。
现有观看360度视频的方式,因为需要人为控制观看视野的移动,故而在360度视频播放过程中,一方面用户可能存在操作忙乱的现象,另一方面会存在用户无法知晓哪里有主要观看内容而容易遗漏信息的问题。另外,现有观看360度视频的方式无法实现观看轨迹的记录以及分享。
发明内容
本发明实施例公开了一种视频播放方法及装置,可以自动控制观看视野的移动,实现360度视频观看轨迹的分享。
本发明实施例第一方面公开了一种视频播放方法,包括:
获取目标观看轨迹文件,所述目标观看轨迹文件为针对360度视频预先生成的至少一个观看轨迹文件中的任意一个;
根据所述目标观看轨迹文件,确定用户观看所述360度视频时的目标观看轨迹信息,所述目标观看轨迹信息包括播放进度时间、视野聚焦位置和视野旋转角度;
按照所述目标观看轨迹信息播放所述360度视频。
本发明实施例第二方面公开了一种视频播放装置,包括:
第一获取模块,用于获取目标观看轨迹文件,所述目标观看轨迹文件为针对360度视频预先生成的至少一个观看轨迹文件中的任意一个;
确定模块,用于根据所述目标观看轨迹文件,确定用户观看所述360度视频时的目标观看轨迹信息,所述目标观看轨迹信息包括播放进度时间、视野聚 焦位置和视野旋转角度;
播放模块,用于按照所述目标观看轨迹信息播放所述360度视频。
本发明实施例第三方面公开了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上运行时,使计算机执行上述第一方面所述的视频播放方法。
本发明实施例第四方面公开了一种包含指令的计算机程序产品,当所述指令在计算机上运行时,使计算机执行上述第一方面所述的视频播放方法。
本发明实施例中,首先获取目标观看轨迹文件,然后根据目标观看轨迹文件确定用户观看360度视频时的目标观看轨迹信息,最后按照目标观看轨迹信息播放360度视频,从而可以自动控制观看视野的移动,实现360度视频观看轨迹的分享。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例公开的一种视频播放方法的流程示意图;
图2a是本发明实施例公开的一种视频观看场景的示意图;
图2b是本发明实施例公开的另一种视频观看场景的示意图;
图3a是本发明实施例公开的一种视频播放画面的示意图;
图3b是本发明实施例公开的另一种视频播放画面的示意图;
图4是本发明实施例公开的一种视频播放装置的结构示意图;
图5是本发明实施例公开的一种视频播放终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
本发明实施例提供了一种视频播放方法及装置,其中,视频播放方法可以由智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、移动互联网设备(Mobile Internet Devices,MID)、虚拟现实(Virtual Reality,VR)设备、个人计算机(Personal Computer,PC)等具有360度视频播放功能以及数据处理功能的智能终端来实现。本发明实施例提供的视频播放方法及装置,可以自动控制观看视野的移动,实现360度视频观看轨迹的分享,以下分别进行详细说明。
请参阅图1,图1为本发明实施例提供的一种视频播放方法的流程示意图。本发明实施例中所描述的视频播放方法,包括:
101、播放终端获取目标观看轨迹文件。
本发明实施例中,该播放终端是具有360度视频播放功能的智能终端,播放终端获取到的目标观看轨迹文件,为针对360度视频预先生成的至少一个观看轨迹文件中的任意一个观看轨迹文件。播放终端获取目标观看轨迹文件的具体方式为:播放终端首先获取并显示该360度视频预先生成的至少一个观看轨迹文件的文件标识;然后接收播放终端的用户针对显示的文件标识输入的选择指令,并根据接收到的用户输入的选择指令确定用户选择的目标文件标识;最后将该目标文件标识对应的观看轨迹文件确定为目标观看轨迹文件。其中,360度视频是通过多个摄像机同时对同一个空间下的物体,进行多个角度拍摄生成的,360度视频支持多角度视频播放,故而用户在观看360度视频时,可以自由控制播放终端切换360度视频的观看角度,丰富了视频播放的形式。
102、所述播放终端根据所述目标观看轨迹文件,确定用户观看所述360度视频时的目标观看轨迹信息。
本发明实施例中,针对360度视频预先生成的每一个观看轨迹文件都包括有观看轨迹信息。播放终端在获取到目标观看轨迹文件之后,获取目标观看轨迹文件包括的目标观看轨迹信息,播放终端从而可以根据该目标观看轨迹信息确定出用户此次观看360视频时的观看轨迹。其中,该目标观看轨迹信息包括播放进度时间、视野聚焦位置和视野旋转角度等信息;该目标观看轨迹信息还包括播放进度时间、视野聚焦位置、视野旋转角度三者之间的映射关系,也即 是说根据播放进度时间可以确定出对应的视野聚焦位置和视野旋转角度;视野旋转角度是用户看向某一视野聚焦位置时,用户的头部相对于参考方向旋转的角度。
103、所述播放终端按照所述目标观看轨迹信息播放所述360度视频。
具体地,播放终端首先获取360度视频的当前播放进度时间,并从目标观看轨迹信息中确定出与当前播放进度时间对应的目标播放进度时间;然后根据目标观看轨迹信息包括的播放进度时间、视野聚焦位置和视野旋转角度之间的映射关系,确定出与目标播放进度时间对应的目标视野聚焦位置和目标视野旋转角度;最后从360度视频的多帧图像中确定出与目标视野聚焦位置和目标视野旋转角度对应的目标图像帧,并显示该目标图像帧。其中,目标图像帧即是用户的头部旋转了与目标视野旋转角度相同的角度后,用户看向目标视野聚焦位置时,用户通过播放终端的显示窗口能够看到的360度视频的画面。
前文介绍了播放终端根据360度视频的观看轨迹文件播放360度视频的方法,下面详细介绍生成360度视频的观看轨迹文件的过程。下面以播放一次360度视频为例进行说明,其他情况则可以以此类推。
具体地,播放终端在事先播放一次360度视频的过程中,每隔预设时间间隔(例如50ms)获取一次用户观看360度视频时的观看轨迹信息,每次获取到的观看轨迹信息包括播放进度时间(例如t)、视野聚焦位置(例如a)、视野旋转角度(例如r)以及三者的对应关系。请一并参见图2a和图2b,如图2a所示,用球形来表示360度视频的360度画面,点w表示播放终端的用户的眼睛,点a是球面上的一点且对应一个三维坐标,点w和点a的连线wa表示用户眼睛所观看的方向;如图2b所示,点b为球面上的参考点,点w和点b的连线wb表示参考方向。假设在观看轨迹信息获取时刻,用户的眼睛看向a点,则点a的三维坐标即为此次观看轨迹信息获取过程中获取到的视野聚焦位置a;则点w和点a的连线wa,与点w和点b的连线wb之间的夹角的大小即为此次观看轨迹信息获取过程中获取到的视野旋转角度r。其中,视野旋转角度r具有方向性,可以用视野旋转角度r的正负代表其方向,例如用正值表示顺时针方向旋转,用负值表示逆时针方向旋转。
在一些实施方式中,如图2b所示,假设b点是播放终端上一次获取观看轨迹信息时获取到的视野聚焦位置,a点是播放终端此次获取观看轨迹信息时获取到的视野聚焦位置,则同样可以用连线wa与连线wb之间的夹角的大小来表示播放终端此次获取观看轨迹信息时获取到的视野旋转角度r。故而视野旋转角度r表示用户的头部相对于,上一次获取观看轨迹信息时获取到的视野聚焦位置b与用户眼睛w的连线所在方向旋转的角度。
进一步地,在360度视频本次播放结束后,播放终端可以获取到至少一组观看轨迹信息,观看轨迹信息的格式例如是(t:a:r),播放终端将获取到的至少一组观看轨迹信息存储到同一文件中,从而生成一个观看轨迹文件。其中,观看轨迹信息在观看轨迹文件中的存储格式例如可以是:(t1:a1:r1),(t2:a2:r2),(t3:a3:r3)……,(t:a:r)表示播放终端同一次获取到的播放进度时间、视野聚焦位置和视野旋转角度,进而形成了三者之间的对应关系。需要说明的是,360度视频播放一次,播放终端对应生成一个360度视频的观看轨迹文件,在多次播放360度视频后,可以对应生成多个360度视频的观看轨迹文件。
在一些实施方式中,播放终端在事先播放一次360度视频的过程中,每获取到一组用户观看360度视频时的观看轨迹信息之后,根据在360度视频的播放过程中所获取到的所有观看轨迹信息检测360度视频是否观看完成;或者,播放终端根据360度视频已经播放过的所有图像帧检测360度视频是否观看完成;若播放终端检测到360度视频观看未完成,则输出提示信息,该提示信息用于提示用户观看未完成,进一步该提示信息可以用于提示用户未观看的画面对应的视野旋转方向,从而避免用户遗漏观看信息;若播放终端检测到360度视频观看完成,则输出观看已完成提示信息,从而避免出现重复观看已经观看过的画面的问题。
在一些实施方式中,在360度视频此次播放完成,且对应得到一个360度视频的观看轨迹文件之后,播放终端可以将360度视频的观看轨迹文件存储在本地存储介质中,也可以将360度视频的观看轨迹文件存储到云端服务器中,以便于播放终端或者其他播放终端从云端服务器下载该360度视频的观看轨迹文件,并根据该360度视频的观看轨迹文件自动控制用户观看该360度视频时的画 面切换,从而实现360度视频观看轨迹的分享。
请一并参见图3a和图3b,图3a是用户通过现有方式观看360度视频时,看到的360度视频的画面以及各个画面的顺序,也即是观看360度视频时用户所看到的独特故事线。为了下次看到相同的故事线或者将看到的独特故事线分享给其他用户,播放终端在用户通过现有方式观看360度视频时,每隔预设时间间隔记录一次用户的观看轨迹信息,最后生成360度视频的观看轨迹文件,360度视频的观看轨迹文件的生成过程可参考前文描述,在此不再赘述。图3b是用户或者其他用户观看该360度视频时,播放终端根据该360度视频的观看轨迹文件自动播放360度视频的过程中,360度视频的播放画面以及各个画面的顺序,根据该360度视频的观看轨迹文件自动播放该360度视频的方法亦可参考前文描述,在此不再赘述。采用上述方式,可以使得图3b所示的播放画面以及各个画面的顺序与图3a所示的播放画面以及各个画面的顺序相同,从而实现360度视频观看轨迹,或者说故事线的分享,且不会遗漏用户想分享的关键信息,丰富了360度视频的观看形式。
本发明实施例中,首先获取目标观看轨迹文件,然后根据目标观看轨迹文件确定用户观看360度视频时的目标观看轨迹信息,最后按照目标观看轨迹信息播放360度视频,从而可以自动控制观看视野的移动,实现360度视频观看轨迹的分享。
请参阅图4,图4为本发明实施例提供的一种视频播放装置的结构示意图。本发明实施例中所描述的视频播放装置,包括:
第一获取模块401,用于获取目标观看轨迹文件,所述目标观看轨迹文件为针对360度视频预先生成的至少一个观看轨迹文件中的任意一个;
确定模块402,用于根据所述目标观看轨迹文件,确定用户观看所述360度视频时的目标观看轨迹信息,所述目标观看轨迹信息包括播放进度时间、视野聚焦位置和视野旋转角度;
播放模块403,用于按照所述目标观看轨迹信息播放所述360度视频。
在一些实施方式中,所述目标观看轨迹信息包括的播放进度时间、视野聚焦位置和视野旋转角度之间具有映射关系;
所述第一获取模块401,还用于获取所述360度视频的当前播放进度时间;
所述确定模块402,还用于根据所述目标观看轨迹信息包括的播放进度时间、视野聚焦位置和视野旋转角度之间的映射关系,确定所述当前播放进度时间对应的目标视野聚焦位置和目标视野旋转角度;
所述确定模块402,还用于根据所述目标视野聚焦位置和所述目标视野旋转角度确定所述360度视频的目标图像帧;
所述播放模块403,具体用于显示所述目标图像帧。
在一些实施方式中,所述视频播放装置还包括:
第二获取模块404,用于在播放所述360度视频的过程中,每隔预设时间间隔获取一次所述用户观看所述360度视频时的观看轨迹信息,所述观看轨迹信息包括播放进度时间、视野聚焦位置和视野旋转角度;
生成模块405,用于根据获取到的观看轨迹信息生成所述360度视频的至少一个观看轨迹文件。
在一些实施方式中,所述视频播放装置还包括:
显示模块406,用于显示所述至少一个观看轨迹文件的文件标识;
其中,所述确定模块403,还用于根据所述用户输入的选择指令确定目标文件标识;
所述确定模块403,具体用于将所述目标文件标识对应的观看轨迹文件确定为目标观看轨迹文件。
在一些实施方式中,所述视野旋转角度是所述用户看向视野聚焦位置时,所述用户的头部相对于参考方向旋转的角度。
在一些实施方式中,所述视频播放装置还包括:
存储模块407,用于将所述至少一个观看轨迹文件存储到云端服务器,以便于视频播放装置从所述云端服务器下载所述至少一个观看轨迹文件。
可以理解的是,本发明实施例的视频播放装置的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。
本发明实施例中,首先第一获取模块401获取目标观看轨迹文件,然后确定模块402根据目标观看轨迹文件确定用户观看360度视频时的目标观看轨迹 信息,最后播放模块402按照目标观看轨迹信息播放360度视频,从而可以自动控制观看视野的移动,实现360度视频观看轨迹的分享。
请参阅图5,图5为本发明实施例提供的一种视频播放终端的结构示意图。本发明实施例中所描述的视频播放终端,包括:用户接口501,显示屏502,处理器503,通信接口504和存储器505,上述用户接口501,显示屏502,处理器503,通信接口504以及存储器505可以通过总线连接,也可以以其他方式连接。
处理器503可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。处理器503也可以是多核CPU或多核NP中用于实现通信标识绑定的核。
上述处理器503可以是硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。
通信接口504可用于收发信息或信令的交互,以及信号的接收和发送,特别地,通信接口504可以通过无线通信与网络和信号发射设备进行通信,并接收信号发射设备的数据。上述无线通信可以使用任一通信标准或协议,包括但不限于无线保真技术(Wireless Fidelity,WiFi),全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)等。
用户接口501可用于接收输入的数字或字符信息,以及产生与该视频播放装置的用户设置以及功能控制有关的键信号输入。具体地,上述用户接口501可包括触控面板以及其他输入设备。触控面板,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并根据预先设定的程式驱动相应的连接装置。其中,触摸屏可以是柔性触摸屏。
可选的,触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器,并能接收处理器发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板。除了触控面板,用户接口501还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示屏502可用于显示由用户输入的信息或提供给用户的信息以及该播放终端的各种菜单。显示屏502可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置。进一步的,用户接口501中的触控面板可覆盖显示屏502,当触控面板检测到在其上或附近的触摸操作后,传送给处理器以确定触摸事件的类型,随后处理器根据触摸事件的类型在显示屏502上提供相应的视觉输出。虽然在图5中,触控面板与显示屏502是作为两个独立的部件来实现视频播放终端的输入和输出功能,但是在某些实施例中,可以将触控面板与显示屏502集成而实现视频播放终端的输入和输出功能。
上述存储器505可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的存储程序(比如文字存储功能、位置存储功能等);存储数据区可存储根据视频播放终端的使用所创建的数据(比如图像数据、文字数据)等,并可以包括网络通信模块、用户接口模块,应用存储程序等。其中,该网络通信模块可以用于存储网络通信程序,该通信接口504可以通过调用该网络通信模块的网络通信程序实现对外或对内通信的功能。该用户接口模块可以用于存储实现用户对视频播放终端的触控、按压等人机交互程序,该用户接口501可以通过调用该用户接口模块的人机交互程序实现用户信号的输入功能。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
上述存储器505还用于存储程序指令。上述处理器503可以调用上述存储器 505存储的程序指令,实现如本发明实施例所示的视频播放方法。
具体的,上述处理器503调用存储在上述存储器505存储的程序指令执行以下步骤:
获取目标观看轨迹文件,所述目标观看轨迹文件为针对360度视频预先生成的至少一个观看轨迹文件中的任意一个;
根据所述目标观看轨迹文件,确定用户观看所述360度视频时的目标观看轨迹信息,所述目标观看轨迹信息包括播放进度时间、视野聚焦位置和视野旋转角度;
按照所述目标观看轨迹信息播放所述360度视频。
本发明实施例中处理器503执行的方法均从处理器的角度来描述,可以理解的是,本发明实施例中处理器503要执行上述方法需要其他硬件结构的配合。本发明实施例对具体的实现过程不作详细描述和限制。
在一些实施方式中,所述目标观看轨迹信息包括的播放进度时间、视野聚焦位置和视野旋转角度之间具有映射关系,所述处理器503按照所述目标观看轨迹信息播放所述360度视频的具体方式为:
获取所述360度视频的当前播放进度时间;
根据所述目标观看轨迹信息包括的播放进度时间、视野聚焦位置和视野旋转角度之间的映射关系,确定所述当前播放进度时间对应的目标视野聚焦位置和目标视野旋转角度;
根据所述目标视野聚焦位置和所述目标视野旋转角度确定所述360度视频的目标图像帧,并控制所述显示屏502显示所述目标图像帧。
在一些实施方式中,所述处理器503还用于:
在播放所述360度视频的过程中,每隔预设时间间隔获取一次所述用户观看所述360度视频时的观看轨迹信息,所述观看轨迹信息包括播放进度时间、视野聚焦位置和视野旋转角度;
根据获取到的观看轨迹信息生成所述360度视频的至少一个观看轨迹文件。
在一些实施方式中,所述处理器503还用于:
控制所述显示屏502显示所述至少一个观看轨迹文件的文件标识;
根据所述用户输入的选择指令确定目标文件标识;
将所述目标文件标识对应的观看轨迹文件确定为目标观看轨迹文件。
在一些实施方式中,所述视野旋转角度是所述用户看向视野聚焦位置时,所述用户的头部相对于参考方向旋转的角度。
在一些实施方式中,所述处理器503,还用于将所述至少一个观看轨迹文件存储到云端服务器,以便于视频播放终端从所述云端服务器下载所述至少一个观看轨迹文件。
具体实现中,本发明实施例中所描述的用户接口501,显示屏502,处理器503,通信接口504,和存储器505,可执行本发明实施例提供的一种视频播放方法中所描述的实现方式,也可执行本发明实施例图4提供的一种视频播放装置中所描述的实现方式,在此不再赘述。
本发明实施例中,处理器503首先获取目标观看轨迹文件,然后根据目标观看轨迹文件确定用户观看360度视频时的目标观看轨迹信息,最后按照目标观看轨迹信息播放360度视频,从而可以自动控制观看视野的移动,实现360度视频观看轨迹的分享。
本发明还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上运行时,使计算机执行上述方法实施例所述的视频播放方法。
本发明还提供一种包含指令的计算机程序产品,当所述指令在计算机上运行时,使计算机执行上述方法实施例所述的视频播放方法。
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删 减。本发明实施例视频播放装置中的模块可以根据实际需要进行合并、划分和删减。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。
以上对本发明实施例所提供的一种视频播放方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (13)

  1. 一种视频播放方法,其特征在于,所述方法包括:
    获取目标观看轨迹文件,所述目标观看轨迹文件为针对360度视频预先生成的至少一个观看轨迹文件中的任意一个;
    根据所述目标观看轨迹文件,确定用户观看所述360度视频时的目标观看轨迹信息,所述目标观看轨迹信息包括播放进度时间、视野聚焦位置和视野旋转角度;
    按照所述目标观看轨迹信息播放所述360度视频。
  2. 根据权利要求1所述的方法,其特征在于,所述目标观看轨迹信息包括的播放进度时间、视野聚焦位置和视野旋转角度之间具有映射关系,所述按照所述目标观看轨迹信息播放所述360度视频,包括:
    获取所述360度视频的当前播放进度时间;
    根据所述目标观看轨迹信息包括的播放进度时间、视野聚焦位置和视野旋转角度之间的映射关系,确定所述当前播放进度时间对应的目标视野聚焦位置和目标视野旋转角度;
    根据所述目标视野聚焦位置和所述目标视野旋转角度确定所述360度视频的目标图像帧,并显示所述目标图像帧。
  3. 根据权利要求1或2所述的方法,其特征在于,所述获取目标观看轨迹文件之前,所述方法还包括:
    在播放所述360度视频的过程中,每隔预设时间间隔获取一次所述用户观看所述360度视频时的观看轨迹信息,所述观看轨迹信息包括播放进度时间、视野聚焦位置和视野旋转角度;
    根据获取到的观看轨迹信息生成所述360度视频的至少一个观看轨迹文件。
  4. 根据权利要求1所述的方法,其特征在于,所述获取目标观看轨迹文件,包括:
    显示所述至少一个观看轨迹文件的文件标识;
    根据所述用户输入的选择指令确定目标文件标识;
    将所述目标文件标识对应的观看轨迹文件确定为目标观看轨迹文件。
  5. 根据权利要求3所述的方法,其特征在于,所述视野旋转角度是所述用户看向视野聚焦位置时,所述用户的头部相对于参考方向旋转的角度。
  6. 根据权利要求5所述的方法,其特征在于,所述根据获取到的观看轨迹信息生成所述360度视频的至少一个观看轨迹文件之后,所述方法还包括:
    将所述至少一个观看轨迹文件存储到云端服务器,以便于视频播放装置从所述云端服务器下载所述至少一个观看轨迹文件。
  7. 一种视频播放装置,其特征在于,所述装置包括:
    第一获取模块,用于获取目标观看轨迹文件,所述目标观看轨迹文件为针对360度视频预先生成的至少一个观看轨迹文件中的任意一个;
    确定模块,用于根据所述目标观看轨迹文件,确定用户观看所述360度视频时的目标观看轨迹信息,所述目标观看轨迹信息包括播放进度时间、视野聚焦位置和视野旋转角度;
    播放模块,用于按照所述目标观看轨迹信息播放所述360度视频。
  8. 根据权利要求7所述的装置,其特征在于,所述目标观看轨迹信息包括的播放进度时间、视野聚焦位置和视野旋转角度之间具有映射关系,
    所述第一获取模块,还用于获取所述360度视频的当前播放进度时间;
    所述确定模块,还用于根据所述目标观看轨迹信息包括的播放进度时间、视野聚焦位置和视野旋转角度之间的映射关系,确定所述当前播放进度时间对应的目标视野聚焦位置和目标视野旋转角度;
    所述确定模块,还用于根据所述目标视野聚焦位置和所述目标视野旋转角度确定所述360度视频的目标图像帧;
    所述播放模块,具体用于显示所述目标图像帧。
  9. 根据权利要求7或8所述的装置,其特征在于,所述装置还包括:
    第二获取模块,用于在播放所述360度视频的过程中,每隔预设时间间隔获取一次所述用户观看所述360度视频时的观看轨迹信息,所述观看轨迹信息包括播放进度时间、视野聚焦位置和视野旋转角度;
    生成模块,用于根据获取到的观看轨迹信息生成所述360度视频的至少一个观看轨迹文件。
  10. 根据权利要求7所述的装置,其特征在于,所述装置还包括:
    显示模块,用于显示所述至少一个观看轨迹文件的文件标识;
    其中,所述确定模块,还用于根据所述用户输入的选择指令确定目标文件标识;
    所述确定模块,具体用于将所述目标文件标识对应的观看轨迹文件确定为目标观看轨迹文件。
  11. 根据权利要求9所述的装置,其特征在于,所述视野旋转角度是所述用户看向视野聚焦位置时,所述用户的头部相对于参考方向旋转的角度。
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:
    存储模块,用于将所述至少一个观看轨迹文件存储到云端服务器,以便于视频播放装置从所述云端服务器下载所述至少一个观看轨迹文件。
  13. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上运行时,使计算机执行如权利要求1至6任一项所述的视频播放方法。
PCT/CN2017/113594 2017-11-29 2017-11-29 一种视频播放方法及装置 WO2019104533A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780095817.3A CN111213374A (zh) 2017-11-29 2017-11-29 一种视频播放方法及装置
PCT/CN2017/113594 WO2019104533A1 (zh) 2017-11-29 2017-11-29 一种视频播放方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/113594 WO2019104533A1 (zh) 2017-11-29 2017-11-29 一种视频播放方法及装置

Publications (1)

Publication Number Publication Date
WO2019104533A1 true WO2019104533A1 (zh) 2019-06-06

Family

ID=66663745

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113594 WO2019104533A1 (zh) 2017-11-29 2017-11-29 一种视频播放方法及装置

Country Status (2)

Country Link
CN (1) CN111213374A (zh)
WO (1) WO2019104533A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113221713A (zh) * 2021-05-06 2021-08-06 新疆爱华盈通信息技术有限公司 一种多媒体播放设备的智能旋转方法、装置及计算机设备
CN115396740B (zh) * 2022-07-29 2023-11-21 北京势也网络技术有限公司 全景视频的播放方法、装置、电子设备及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253862A (zh) * 2014-09-12 2014-12-31 北京诺亚星云科技有限责任公司 基于数字全景的沉浸式互动导览支持服务系统及设备
CN106341620A (zh) * 2016-10-20 2017-01-18 传线网络科技(上海)有限公司 全景视频的播放方法及装置
CN106484122A (zh) * 2016-11-16 2017-03-08 捷开通讯(深圳)有限公司 一种虚拟现实装置及其浏览轨迹跟踪方法
US20170339341A1 (en) * 2016-05-19 2017-11-23 Avago Technologies General Ip (Singapore) Pte. Ltd. 360 degree video recording and playback with object tracking

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210549A (zh) * 2016-09-07 2016-12-07 传线网络科技(上海)有限公司 全景视频的播放方法及装置
CN106954093B (zh) * 2017-03-15 2020-12-04 北京小米移动软件有限公司 全景视频处理方法、装置及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253862A (zh) * 2014-09-12 2014-12-31 北京诺亚星云科技有限责任公司 基于数字全景的沉浸式互动导览支持服务系统及设备
US20170339341A1 (en) * 2016-05-19 2017-11-23 Avago Technologies General Ip (Singapore) Pte. Ltd. 360 degree video recording and playback with object tracking
CN106341620A (zh) * 2016-10-20 2017-01-18 传线网络科技(上海)有限公司 全景视频的播放方法及装置
CN106484122A (zh) * 2016-11-16 2017-03-08 捷开通讯(深圳)有限公司 一种虚拟现实装置及其浏览轨迹跟踪方法

Also Published As

Publication number Publication date
CN111213374A (zh) 2020-05-29

Similar Documents

Publication Publication Date Title
US11635873B2 (en) Information display method, graphical user interface, and terminal for displaying media interface information in a floating window
CN109729411B (zh) 直播互动方法及装置
CN109660817B (zh) 视频直播方法、装置及系统
US11880999B2 (en) Personalized scene image processing method, apparatus and storage medium
CN108038726B (zh) 物品展示方法及装置
JP6798288B2 (ja) 通信端末、通信システム、映像出力方法、及びプログラム
US11954200B2 (en) Control information processing method and apparatus, electronic device, and storage medium
JP2018520725A (ja) 情報処理方法、端末、およびコンピュータ記憶媒体
JP2018518766A (ja) 情報処理方法、端末、およびコンピュータ記憶媒体
CN111045511B (zh) 基于手势的操控方法及终端设备
US20140282204A1 (en) Key input method and apparatus using random number in virtual keyboard
US20210042980A1 (en) Method and electronic device for displaying animation
RU2666626C1 (ru) Способ и устройство для управления состоянием воспроизведения
CN112711300A (zh) 具有多个显示器的设备中的相机资源的动态控制
US11394757B2 (en) Communication terminal, communication system, and method of sharing data
US10015442B1 (en) Three-way video calling on hinged multi-screen device
CN112565911B (zh) 弹幕显示方法、弹幕生成方法、装置、设备及存储介质
WO2023169305A1 (zh) 特效视频生成方法、装置、电子设备及存储介质
CN113485626A (zh) 一种智能显示设备、移动终端和显示控制方法
CN113490010A (zh) 基于直播视频的互动方法、装置、设备及存储介质
CN106464976B (zh) 显示设备、用户终端设备、服务器及其控制方法
WO2019104533A1 (zh) 一种视频播放方法及装置
WO2020000975A1 (zh) 视频拍摄方法、客户端、终端及介质
WO2024051540A1 (zh) 特效处理方法、装置、电子设备及存储介质
CN110134902B (zh) 资料信息生成方法、装置及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17933717

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17933717

Country of ref document: EP

Kind code of ref document: A1