WO2017101401A1 - 视频播放方法、装置及系统 - Google Patents
视频播放方法、装置及系统 Download PDFInfo
- Publication number
- WO2017101401A1 WO2017101401A1 PCT/CN2016/089476 CN2016089476W WO2017101401A1 WO 2017101401 A1 WO2017101401 A1 WO 2017101401A1 CN 2016089476 W CN2016089476 W CN 2016089476W WO 2017101401 A1 WO2017101401 A1 WO 2017101401A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- data
- live
- client
- video source
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/16—Analogue secrecy systems; Analogue subscription systems
- H04N7/173—Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/23602—Multiplexing isochronously with the video sync, e.g. according to bit-parallel or bit-serial interface formats, as SDI
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/2365—Multiplexing of several video streams
Definitions
- the embodiments of the present invention relate to the field of video technologies, and in particular, to a video playing method, apparatus, and system.
- Live video live broadcasts can be easily viewed online, for example, live sports events, live concerts, and more.
- the live broadcast of the terminal device refers to the use of the Internet and streaming media technology for live broadcast.
- the video is combined with images, text, sound and other elements, and the effect is excellent.
- the user can directly watch the live video through the client.
- each live content has a video stream of multiple slots, each slot corresponds to a shooting angle, and a single terminal device can no longer carry more rich live content.
- the embodiment of the invention provides a video playing method, device and system, and the main purpose is to switch the video data of different planes corresponding to the live video played on the current terminal device to other terminal devices for playing.
- An embodiment of the present invention provides a video playing method, where the method includes:
- the method further includes:
- the video source data is acquired
- the live video information is video sound information and/or video image information.
- An embodiment of the present invention provides another video playing method, where the method includes:
- the server Sending a video acquisition request to the server, where the video acquisition request carries the identification information of the video source, so that the server determines the video source data according to the identification information of the video source, and detects whether the video source exists.
- the live video data of the different units of the data if yes, obtain the live video data;
- the live video data and the video source data are video data of different units of the same live content
- the method further includes:
- the server detects that there is no live video data of a different location from the video source data, the video source data sent by the server is received and played.
- the live video information is video sound information and/or video image information.
- An embodiment of the present invention provides a server, where the server includes:
- a receiving unit configured to receive a video acquisition request sent by the client when the client collects the live video information, where the video acquisition request carries the identification information of the video source corresponding to the live video information;
- a determining unit configured to determine video source data according to the identification information of the video source
- a detecting unit configured to detect whether there is live video data of a different location than the video source data determined by the determining unit, where the live video data and the video source data are video data of different units of the same live content;
- An acquiring unit configured to acquire the live video data if the detecting unit detects that live video data that is different from the video source data is detected;
- a sending unit configured to send the live video data to the client, so that the client plays the live video data.
- the acquiring unit is further configured to: if the live video data that does not have a different location from the video source data is detected, obtain the video source data;
- the sending unit is further configured to send the video source data to the client, so that the client plays the video source data.
- the live video information is video sound information and/or video image information.
- An embodiment of the present invention provides another server, where the server includes:
- One or more processors are One or more processors.
- the memory stores instructions that are configured to be executed by the one or more processors, and the one or more processors can perform the following operations by executing the instructions:
- the live video data is acquired
- An embodiment of the present invention provides a client, where the client includes:
- An obtaining unit configured to acquire, when the live video information is collected, the identification information of the video source corresponding to the live video information
- a sending unit configured to send a video acquisition request to the server, where the video acquisition request carries the identification information of the video source, so that the server determines the video source data according to the identification information of the video source, and detects whether the presence The live video data of the different location of the video source data, if yes, acquiring the live video data;
- the live video data and the video source data are video data of different units of the same live content
- a receiving unit configured to receive the live video data sent by the server
- a playing unit configured to play live video data received by the receiving unit.
- the receiving unit when the server detects that there is no different machine from the video source data Receiving the video source data sent by the server when the live video data of the bit is live;
- the playing unit is further configured to play the video source data received by the receiving unit.
- the live video information is video sound information and/or video image information.
- An embodiment of the present invention provides another client, where the client includes:
- One or more processors are One or more processors.
- the memory stores instructions that are configured to be executed by the one or more processors, and the one or more processors can perform the following operations by executing the instructions:
- the server Sending a video acquisition request to the server, where the video acquisition request carries the identification information of the video source, so that the server determines the video source data according to the identification information of the video source, and detects whether the video source exists.
- the live video data of the different locations of the data if yes, the live video data is obtained; wherein the live video data and the video source data are video data of different units of the same live content;
- An embodiment of the present invention provides a video playing system, including a server and a client.
- the client is configured to acquire the identification information of the video source corresponding to the live video information when the live video information is collected, and send a video acquisition request to the server, where the video acquisition request carries the identifier of the video source. information;
- the server is configured to receive a video acquisition request sent by the client, determine video source data according to the identification information of the video source, and detect whether there is live video data of a different location from the video source data;
- the live video data and the video source data are video data of different units of the same live content; if yes, the live video data is acquired; and the live video data is sent to the client;
- the client is further configured to receive the live video data sent by the server and play the same.
- the video playback method, device, and system provided by the embodiment of the present invention, when the client collects the live video information, receives the video acquisition request sent by the client, and the video acquisition request carries the video corresponding to the live video information.
- the identification information of the source determines the video source data according to the identifier information, and detects whether there is live video data of a different location from the video source data. If yes, the live video data is sent to the client, so that the client performs the data. Play, In order to allow the user to view the live video data of different mobile stations, the video data of different planes corresponding to the live video played on the current terminal device can be switched to other terminal devices for playback, and then played by different terminals through different angles.
- the live content enables the live content to be played more comprehensively, enabling more interactive video images and enhancing the user experience.
- FIG. 1 is a flowchart of a video playing method according to an embodiment of the present invention
- FIG. 2 is a flowchart of another video playing method according to an embodiment of the present invention.
- FIG. 3 is a flowchart of still another video playing method according to an embodiment of the present invention.
- FIG. 4 is a flowchart of still another video playing method according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of another server according to an embodiment of the present disclosure.
- FIG. 7 is a schematic structural diagram of a client according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of another client according to an embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of a video playing system according to an embodiment of the present disclosure.
- FIG. 10 is a schematic diagram of a physical structure of a server according to an embodiment of the present invention.
- the embodiment of the invention provides a video playing method, which can be applied to a server. As shown in FIG. 1 , the specific steps include:
- the client receives the video acquisition request sent by the client.
- the video acquisition request carries the video source corresponding to the live video information.
- Identification information may be name information, an ID (Identity) number, or the like.
- the live video information may be image information, audio information, and the like of the live video.
- the live video data and the video source data are video data of different units of the same live content.
- live video data of a different location from the video source data exists, the live video data is obtained.
- the client is caused to play the live video data.
- a specific application scenario of the embodiment of the present invention may be as follows, but is not limited thereto, and includes:
- the live video played on the current display interface of the terminal device 1 is the live video of the station 1.
- the live video data of the 4 positions is the same. Live video content of different locations.
- the video source identifies a corresponding video acquisition request, and the server determines the corresponding video source data according to the video source identifier, that is, the video source data corresponding to the location 1, the server may randomly select the location 2, the location 3, and the location 4
- the live video data of any one of the stations is sent to the client on the terminal device 2 for playback.
- the video playback method when the client collects the live video information, receives the video acquisition request sent by the client, where the video acquisition request carries the identification information of the video source corresponding to the live video information. Determining the video source data according to the identifier information, and detecting whether there is live video data of a different location from the video source data, and if yes, sending the live video data to the client, so that the client plays the user, so that the user View live video data of different positions, and switch the video data of different planes corresponding to the live video played on the current terminal device to other terminal devices for playback, and then play live broadcasts of different angles through different terminal devices.
- the content enables the live content to be played more comprehensively, enabling more interaction of video images and enhancing the user experience.
- the embodiment of the present invention provides another video playing method, which can be applied to a server, as shown in FIG. 2, and the specific steps include:
- the video acquisition request carries the identification information of the video source corresponding to the live video information.
- the identification information may be name information, an ID number, or the like.
- the live video information is video sound information and/or video image information.
- the live video data and the video source data are video data of different units of the same live content.
- live video data having a different location from the video source data is detected, the live video data is obtained.
- the client is caused to play the live video data.
- Step 204b which is parallel to step 204a, acquires video source data if it detects that there is no live video data of a different location from the video source data.
- the client is caused to play the video source data.
- the method may further include: detecting whether the video source data is sent to the client on only one terminal device during the process of transmitting the video source data, and if yes, stopping the terminal device The client sends the video source data, and at the same time, step 205b is performed to enable the user to experience video delivery, which can enhance the user experience.
- a specific application scenario of the embodiment of the present invention may be as follows, but is not limited thereto, and includes:
- the client acquires the corresponding video source identifier and sends the video to the server.
- the source identifier corresponding to the video identification request the server determines the corresponding video source data according to the video source identifier, and detects whether there is live video data of a different location from the video source data. If yes, the live video data of the different location of the video source data is sent to the client on the terminal device B for playing; if not, the video source data is sent to the client on the terminal device B for playing.
- the video playback method when the client collects the live video information, receives the video acquisition request sent by the client, where the video acquisition request carries the identifier of the video source corresponding to the live video information. And determining, according to the identification information, video source data, and detecting whether there is live video data of a different location from the video source data, and if yes, sending the live video data to the client, so that the client plays the video, so that The user can view the live video data of different planes, and can implement different machines corresponding to the live video played on the current terminal device.
- the video data is switched to other terminal devices for playing, and then the live content captured by different angles is played through different terminal devices, so that the live content is played more comprehensively, and more video images can be interacted and the user experience is enhanced.
- the embodiment of the present invention provides another video playing method, which can be applied to a client. As shown in FIG. 3, the specific steps include:
- the identification information may be name information, ID information, or the like.
- the live video information may be image information, audio information, and the like of the live video.
- the live video information can be detected and collected through a camera or an audio input terminal of the terminal device where the client is located.
- the video acquisition request carries the identification information of the video source.
- the server is configured to determine video source data according to the identification information of the video source, and detect whether there is live video data that is different from the video source data, and if yes, obtain the live video data.
- the live video data and the video source data are video data of different units of the same live content.
- the user is allowed to view the live content through different angles.
- the video playback method when the client collects the live video information, receives the video acquisition request sent by the client, where the video acquisition request carries the identifier of the video source corresponding to the live video information.
- the information is determined according to the identification information, and detects whether there is live video data of a different location from the video source data. If yes, the live video data is sent to the client, so that the client plays the video data.
- the video data of different planes corresponding to the live video played on the current terminal device can be switched to other terminal devices for playback, and then played by different terminals through different angles.
- the live content enables the live content to be played more comprehensively, enabling more interactive video images and enhancing the user experience.
- An embodiment of the present invention provides a video playback method, which can be applied to a client. As shown in FIG. 4, the specific steps include:
- the live video information is video sound information and/or video image information.
- the logo The information can be name information, ID information, and the like.
- the video image information may be collected by the camera of the terminal device where the client is located; the video sound information may be collected through the audio input end of the terminal device where the client is located.
- the video acquisition request carries the identification information of the video source.
- the server is configured to determine video source data according to the identification information of the video source, and detect whether there is live video data that is different from the video source data, and if yes, obtain the live video data.
- the live video data and the video source data are video data of different units of the same live content.
- the server detects that live video data having a different location from the video source data is present, the live video data sent by the server is received and played.
- Step 404b which is parallel to step 403a, when the server detects that there is no live video data of a different location from the video source data, the video source data sent by the server is received and played.
- the video playback method when the client collects the live video information, receives the video acquisition request sent by the client, and the video acquisition request carries the identifier of the video source corresponding to the live video information.
- the information is determined according to the identification information, and detects whether there is live video data of a different location from the video source data. If yes, the live video data is sent to the client, so that the client plays the video data.
- the video data of different planes corresponding to the live video played on the current terminal device can be switched to other terminal devices for playback, and then played by different terminals through different angles.
- the live content enables the live content to be played more comprehensively, enabling more interactive video images and enhancing the user experience.
- the embodiment of the present invention provides a server.
- the server includes: a receiving unit 51, a determining unit 52, a detecting unit 53, and an obtaining unit 54, Transmitting unit 55.
- the receiving unit 51 may be configured to: when the client collects the live video information, receive the video acquisition request sent by the client, where the video acquisition request carries the identification information of the video source corresponding to the live video information. .
- the receiving unit 51 faces the client.
- the determining unit 52 may be configured to determine video source data according to the identification information of the video source.
- the determining unit 52 is a main functional module for determining the video source data for the server.
- the detecting unit 53 may be configured to detect whether there is live video data that is different from the video source data determined by the determining unit 52; wherein the live video data and the video source data are different from the same live content. Bit of video data.
- the detecting unit 53 is a service
- the server detects whether there is a main functional module of live video data that is different from the video source data.
- the obtaining unit 54 may be configured to acquire the live video data if the detecting unit 53 detects that live video data having a different location from the video source data exists.
- the obtaining unit 54 is a main functional module of the server for acquiring live video data.
- the sending unit 55 may be configured to send the live video data to the client.
- the transmitting unit 55 faces the client.
- the client is caused to play the live video data.
- a related function module can be implemented by a hardware processor.
- the server provided by the embodiment of the present invention, when the client collects the live video information, receives the video acquisition request sent by the client, where the video acquisition request carries the identification information of the video source corresponding to the live video information, according to the The identification information determines the video source data, and detects whether there is live video data of a different location from the video source data. If yes, the live video data is sent to the client, so that the client plays the video for the user to watch.
- the live video data of different positions can be switched to other terminal devices corresponding to the live video played on the current terminal device, and then played to other terminal devices for playback, and then the live content captured by different angles is played through different terminal devices.
- the live content can be played more comprehensively, and more interactive video images can be realized, which enhances the user experience.
- the embodiment of the present invention provides another server.
- the server includes: a receiving unit 61, a determining unit 62, a detecting unit 63, and an obtaining unit 64. And a transmitting unit 65.
- the receiving unit 61 may be configured to: when the client collects the live video information, receive the video acquisition request sent by the client, where the video acquisition request carries the identifier information of the video source corresponding to the live video information. .
- the receiving unit 61 faces the client.
- the determining unit 62 is configured to determine video source data according to the identification information of the video source.
- the determining unit 52 is a main functional module for determining the video source data for the server.
- the detecting unit 63 may be configured to detect whether there is live video data that is different from the video source data determined by the determining unit 62, where the live video data and the video source data are different from the same live content. Bit of video data.
- the detecting unit 63 is a main functional module of the server for detecting whether there is live video data of a different location from the video source data.
- the obtaining unit 64 may be configured to acquire the live video data if the detecting unit 63 detects that live video data that is different from the video source data exists.
- the obtaining unit 64 is a main functional module of the server for acquiring live video data.
- the sending unit 65 may be configured to send the live video data to the client.
- the transmitting unit 65 faces the client.
- the client is caused to play the live video data.
- the acquiring unit 64 may be further configured to acquire the video source data if it is detected that there is no live video data that is different from the video source data.
- the sending unit 65 is further configured to send the video source data to the client.
- the client is caused to play the video source data.
- the live video information is video sound information and/or video image information.
- a related function module can be implemented by a hardware processor.
- Another server when the client collects the live video information, receives the video acquisition request sent by the client, where the video acquisition request carries the identification information of the video source corresponding to the live video information. Determining the video source data according to the identifier information, and detecting whether there is live video data of a different location from the video source data, and if yes, sending the live video data to the client, so that the client plays the user, so that the user View live video data of different positions, and switch the video data of different planes corresponding to the live video played on the current terminal device to other terminal devices for playback, and then play live broadcasts of different angles through different terminal devices.
- the content enables the live content to be played more comprehensively, enabling more interaction of video images and enhancing the user experience.
- an embodiment of the present invention provides a client.
- the client includes: an obtaining unit 71, a sending unit 72, a receiving unit 73, and a playing unit. 74.
- the obtaining unit 71 may be configured to acquire the identifier information of the video source corresponding to the live video information when the live video information is collected.
- the obtaining unit 71 is a main functional module for the client to collect the identification information of the video source.
- the sending unit 72 may be configured to send a video acquisition request to the server, where the video acquisition request carries the identification information of the video source.
- the transmitting unit 72 faces the server.
- the server is configured to determine video source data according to the identification information of the video source, and detect whether there is live video data of a different location from the video source data, if yes, And acquiring the live video data.
- the live video data and the video source data are video data of different units of the same live content.
- the receiving unit 73 may be configured to receive the live video data sent by the server.
- the receiving unit 73 faces the server.
- the playing unit 74 can be configured to play the live video data received by the receiving unit 73.
- the playing unit 74 is a main functional module for playing live video data for the client.
- a related function module can be implemented by a hardware processor.
- the client When the client collects the live video information, the client receives the video acquisition request sent by the client, and the video acquisition request carries the identification information of the video source corresponding to the live video information. Determining the video source data according to the identifier information, and detecting whether there is live video data of a different location from the video source data, and if yes, sending the live video data to the client, so that the client plays the user, so that the user View live video data of different positions, and switch the video data of different planes corresponding to the live video played on the current terminal device to other terminal devices for playback, and then play live broadcasts of different angles through different terminal devices.
- the content enables the live content to be played more comprehensively, enabling more interaction of video images and enhancing the user experience.
- the embodiment of the present invention provides another client.
- the client includes: an obtaining unit 81, a sending unit 82, a receiving unit 83, and playing. Unit 84.
- the obtaining unit 81 may be configured to acquire the identifier information of the video source corresponding to the live video information when the live video information is collected.
- the obtaining unit 81 is a main functional module for the client to collect the identification information of the video source.
- the sending unit 82 may be configured to send a video acquisition request to the server, where the video acquisition request carries the identification information of the video source.
- the transmitting unit 82 faces the server.
- the server determines the video source data according to the identification information of the video source, and detects whether there is live video data that is different from the video source data, and if yes, acquires the live video data.
- the live video data and the video source data are video data of different units of the same live content.
- the receiving unit 83 can be configured to receive the live video data sent by the server.
- the receiving unit 83 faces the server.
- the playing unit 84 can be configured to play the live video data received by the receiving unit 83.
- the playing unit 84 is a main functional module for playing live video data for the client.
- the receiving unit 83 may be further configured to: when the server detects that there is no live video data that is different from the video source data, receive the video source data sent by the server.
- the playing unit 84 is further configured to play the video source data received by the receiving unit 83.
- the live video information is video sound information and/or video image information.
- a related function module can be implemented by a hardware processor.
- Another client when the client collects the live video information, receives the video acquisition request sent by the client, where the video acquisition request carries the identification information of the video source corresponding to the live video information. Determining the video source data according to the identifier information, and detecting whether there is live video data of a different location from the video source data, and if yes, sending the live video data to the client, so that the client plays the video.
- the user can watch different live video data of different live broadcasts, and switch to different terminal video data corresponding to the live video played on the current terminal device, and switch to other terminal devices for playback, and then play different angles through different terminal devices.
- the live content enables the live content to be played more comprehensively, enabling more interactive video images and enhancing the user experience.
- an embodiment of the present invention provides a video playing system, including: a server 91 and a client 92.
- the client 92 may be configured to acquire the identification information of the video source corresponding to the live video information when the live video information is collected, and send a video acquisition request to the server 91, where the video acquisition request carries The identification information of the video source.
- the server 91 may be configured to receive a video acquisition request sent by the client 92, determine video source data according to the identification information of the video source, and detect whether there is live video data that is different from the video source data.
- the live video data and the video source data are video data of different units of the same live content; if yes, the live video data is acquired; and the live video data is sent to the client 92.
- the client 92 is further configured to receive the live video data sent by the server 91 and play the same.
- FIG. 10 shows a service provided by an embodiment of the present invention.
- the physical structure of the device may include: a processor 101, a communications interface 102, a memory 103, and a bus 104, wherein the processor 101, the communication interface 102, and the memory 103 pass through the bus 104. Complete communication with each other.
- Communication interface 102 can be used for information transfer between the server and the client.
- the processor 101 may call the logic instruction in the memory 103 to perform the following method: when the client collects the live video information, receiving a video acquisition request sent by the client, where the video acquisition request carries the live video The identification information of the video source corresponding to the information; determining the video source data according to the identification information of the video source; detecting whether there is live video data of a different location from the video source data; wherein the live video data is The video source data is video data of different positions of the same live content; if yes, the live video data is acquired; the live video data is sent to the client, so that the client performs the live video data. Play.
- the logic instructions in the memory 103 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
- the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
- the video playback system when the client collects the live video information, receives the video acquisition request sent by the client, and the video acquisition request carries the identification information of the video source corresponding to the live video information. Determining the video source data according to the identifier information, and detecting whether there is live video data of a different location from the video source data, and if yes, sending the live video data to the client, so that the client plays the video.
- the user can watch different live video data of different live broadcasts, and switch to different terminal video data corresponding to the live video played on the current terminal device, and switch to other terminal devices for playback, and then play different angles through different terminal devices.
- the live content enables the live content to be played more comprehensively, enabling more interactive video images and enhancing the user experience.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to implement the embodiment. The purpose of the program. Those of ordinary skill in the art can understand and implement without deliberate labor.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例提供的一种视频播放方法、装置及系统,涉及视频技术领域,主要目的在于可以实现将当前终端设备上播放的直播视频对应的不同机位视频数据,切换到其他终端设备上进行播放。所述方法包括:当客户端采集到直播视频信息时,接收所述客户端发送的视频获取请求,所述视频获取请求中携带有所述直播视频信息对应的视频源的标识信息;根据所述视频源的标识信息,确定视频源数据;检测是否存在与所述视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;若存在,则获取所述直播视频数据;向所述客户端发送所述直播视频数据,以使得所述客户端对所述直播视频数据进行播放。
Description
本申请基于申请号为2015109235204、申请日为2015年12月14日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本发明实施例涉及视频技术领域,尤其涉及一种视频播放方法、装置及系统。
在互联网越来越高速发展的今天,直播视频技术也开始互联网化。人们通过网络就可以轻松观看实时视频直播,例如、实时体育赛事直播、实时演唱会等。终端设备的视频直播是指利用互联网及流媒体技术进行直播,视频因融合了图像、文字、声音等元素,声形并茂,效果极佳,用户通过客户端可以直接收看直播的视频。
目前随着直播信息量的内容丰富,有时每个直播内容都有多个机位的视频流,每个机位对应一个拍摄角度,而单一的终端设备已经不能承载更为丰富的直播内容。
发明内容
本发明实施例提供了一种视频播放方法、装置及系统,主要目的是可以实现将当前终端设备上播放的直播视频对应的不同机位视频数据,切换到其他终端设备上进行播放。
本发明实施例提供了一种视频播放方法,该方法包括:
当客户端采集到直播视频信息时,接收所述客户端发送的视频获取请求,所述视频获取请求中携带有所述直播视频信息对应的视频源的标识信息;
根据所述视频源的标识信息,确定视频源数据;
检测是否存在与所述视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;
若存在,则获取所述直播视频数据;
向所述客户端发送所述直播视频数据,以使得所述客户端对所述直播
视频数据进行播放。
进一步地,所述方法还包括:
若检测出不存在与所述视频源数据不同机位的直播视频数据,则获取所述视频源数据;
向所述客户端发送所述视频源数据,以使得所述客户端对所述视频源数据进行播放。
优选地,所述直播视频信息为视频声音信息和/或视频图像信息。
本发明实施例提供了另一种视频播放方法,该方法包括:
当采集到直播视频信息时,获取所述直播视频信息对应的视频源的标识信息;
向服务器发送视频获取请求,所述视频获取请求中携带有所述视频源的标识信息,以使得所述服务器根据所述视频源的标识信息确定视频源数据,并检测是否存在与所述视频源数据不同机位的直播视频数据,若存在,则获取所述直播视频数据;
其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;
接收所述服务器发送的所述直播视频数据并进行播放。
进一步地,所述方法还包括:
当所述服务器检测出不存在与所述视频源数据不同机位的直播视频数据时,接收所述服务器发送的所述视频源数据并进行播放。
优选地,所述直播视频信息为视频声音信息和/或视频图像信息。
本发明实施例提供了一种服务器,该服务器包括:
接收单元,用于当客户端采集到直播视频信息时,接收所述客户端发送的视频获取请求,所述视频获取请求中携带有所述直播视频信息对应的视频源的标识信息;
确定单元,用于根据所述视频源的标识信息,确定视频源数据;
检测单元,用于检测是否存在与所述确定单元确定的视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;
获取单元,用于若所述检测单元检测出存在与所述视频源数据不同机位的直播视频数据,则获取所述直播视频数据;
发送单元,用于向所述客户端发送所述直播视频数据,以使得所述客户端对所述直播视频数据进行播放。
所述获取单元,还用于若检测出不存在与所述视频源数据不同机位的直播视频数据,则获取所述视频源数据;
所述发送单元,还用于向所述客户端发送所述视频源数据,以使得所述客户端对所述视频源数据进行播放。
优选地,所述直播视频信息为视频声音信息和/或视频图像信息。
本发明实施例提供了另一种服务器,该服务器包括:
一个或多个处理器;和
存储器;
其中所述存储器中存储有指令,经配置所述指令由所述一个或多个处理器执行,所述一个或多个处理器通过执行所述指令能进行如下操作:
当客户端采集到直播视频信息时,接收所述客户端发送的视频获取请求,所述视频获取请求中携带有所述直播视频信息对应的视频源的标识信息;
根据所述视频源的标识信息,确定视频源数据;
检测是否存在与确定的视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;
若检测出存在与所述视频源数据不同机位的直播视频数据,则获取所述直播视频数据;
向所述客户端发送所述直播视频数据,以使得所述客户端对所述直播视频数据进行播放。
本发明实施例提供了一种客户端,该客户端包括:
获取单元,用于当采集到直播视频信息时,获取所述直播视频信息对应的视频源的标识信息;
发送单元,用于向服务器发送视频获取请求,所述视频获取请求中携带有所述视频源的标识信息,以使得所述服务器根据所述视频源的标识信息确定视频源数据,并检测是否存在与所述视频源数据不同机位的直播视频数据,若存在,则获取所述直播视频数据;
其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;
接收单元,用于接收所述服务器发送的所述直播视频数据;
播放单元,用于对所述接收单元接收的直播视频数据进行播放。
所述接收单元,当所述服务器检测出不存在与所述视频源数据不同机
位的直播视频数据时,接收所述服务器发送的所述视频源数据;
所述播放单元,还用于对所述接收单元接收的视频源数据进行播放。
优选地,所述直播视频信息为视频声音信息和/或视频图像信息。
本发明实施例提供了另一种客户端,该客户端包括:
一个或多个处理器;和
存储器;
其中所述存储器中存储有指令,经配置所述指令由所述一个或多个处理器执行,所述一个或多个处理器通过执行所述指令能进行如下操作:
当采集到直播视频信息时,获取所述直播视频信息对应的视频源的标识信息;
向服务器发送视频获取请求,所述视频获取请求中携带有所述视频源的标识信息,以使得所述服务器根据所述视频源的标识信息确定视频源数据,并检测是否存在与所述视频源数据不同机位的直播视频数据,若存在,则获取所述直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;
接收所述服务器发送的所述直播视频数据;
对接收的直播视频数据进行播放。
本发明实施例提供了一种视频播放系统,包括服务器和客户端;
所述客户端,用于当采集到直播视频信息时,获取所述直播视频信息对应的视频源的标识信息;向服务器发送视频获取请求,所述视频获取请求中携带有所述视频源的标识信息;
所述服务器,用于接收所述客户端发送的视频获取请求;根据所述视频源的标识信息,确定视频源数据;检测是否存在与所述视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;若存在,则获取所述直播视频数据;向所述客户端发送所述直播视频数据;
所述客户端,还用于接收所述服务器发送的所述直播视频数据并进行播放。
本发明实施例提供的一种视频播放方法、装置及系统,当客户端采集到直播视频信息时,通过接收客户端发送的视频获取请求,该视频获取请求中携带有该直播视频信息对应的视频源的标识信息,根据该标识信息确定视频源数据,并检测是否存在与该视频源数据不同机位的直播视频数据,若存在,向客户端发送该直播视频数据,以使得客户端对其进行播放,
以便用户观看不同机位的直播视频数据,可以实现将当前终端设备上播放的直播视频对应的不同机位视频数据,切换到其他终端设备上进行播放,进而通过不同终端设备播放了不同角度所拍摄的直播内容,使直播内容播放得更加全面,可以实现更多视频画面的互动,增强了用户体验。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作以简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种视频播放方法流程图;
图2为本发明实施例提供的另一种视频播放方法流程图;
图3为本发明实施例提供的又一种视频播放方法流程图;
图4为本发明实施例提供的再一种视频播放方法流程图;
图5为本发明实施例提供的一种服务器结构示意图;
图6为本发明实施例提供的另一种服务器结构示意图;
图7为本发明实施例提供的一种客户端结构示意图;
图8为本发明实施例提供的另一种客户端结构示意图;
图9为本发明实施例提供的一种视频播放系统结构示意图;
图10为本发明实施例提供的一种服务器的实体结构示意图。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供了一种视频播放方法,可以应用于服务器,如图1所示,具体步骤包括:
101、当客户端采集到直播视频信息时,接收客户端发送的视频获取请求。
其中,所述视频获取请求中携带有所述直播视频信息对应的视频源的
标识信息。所述标识信息可以为名称信息、ID(Identity,身份标识号码)号等。所述直播视频信息可以为直播视频的图像信息、音频信息等。
102、根据视频源的标识信息,确定视频源数据。
103、检测是否存在与视频源数据不同机位的直播视频数据。
其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据。
104、若存在与视频源数据不同机位的直播视频数据,则获取直播视频数据。
105、向客户端发送直播视频数据。
进一步地,以使得所述客户端对所述直播视频数据进行播放。
对于本发明实施例的具体应用场景可以如下所示,但不限于此,包括:
终端设备1当前的显示界面上播放的直播视频为机位1的直播视频,当前除了机位1以外还有机位2、机位3、机位4,这4个机位的直播视频数据为同一直播内容不同机位的视频数据。此时当终端设备2靠近终端设备1,并且终端设备2上的客户端应用采集到了终端设备1上播放的直播视频图像或者声音等时,该客户端获取对应的视频源标识,并向服务器发送该视频源标识对应的视频获取请求,服务器根据该视频源标识确定了对应的视频源数据,即机位1对应的视频源数据,服务器可以随机将机位2、机位3、机位4中的任一个机位的直播视频数据发送给终端设备2上的客户端进行播放。
本发明实施例提供的一种视频播放方法,当客户端采集到直播视频信息时,通过接收客户端发送的视频获取请求,该视频获取请求中携带有该直播视频信息对应的视频源的标识信息,根据该标识信息确定视频源数据,并检测是否存在与该视频源数据不同机位的直播视频数据,若存在,向客户端发送该直播视频数据,以使得客户端对其进行播放,以便用户观看不同机位的直播视频数据,可以实现将当前终端设备上播放的直播视频对应的不同机位视频数据,切换到其他终端设备上进行播放,进而通过不同终端设备播放了不同角度所拍摄的直播内容,使直播内容播放得更加全面,可以实现更多视频画面的互动,增强了用户体验。
具体地,本发明实施例提供了另一种视频播放方法,可以应用于服务器,如图2所示,具体步骤包括:
201、当客户端采集到直播视频信息时,接收客户端发送的视频获取请求。
其中,所述视频获取请求中携带有所述直播视频信息对应的视频源的标识信息。所述标识信息可以为名称信息、ID号等。所述直播视频信息为视频声音信息和/或视频图像信息。
202、根据视频源的标识信息,确定视频源数据。
203、检测是否存在与视频源数据不同机位的直播视频数据。
其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据。
204a、若检测出存在与视频源数据不同机位的直播视频数据,则获取直播视频数据。
205a、向客户端发送直播视频数据。
进一步地,以使得所述客户端对所述直播视频数据进行播放。
与步骤204a并列的步骤204b、若检测出不存在与视频源数据不同机位的直播视频数据,则获取视频源数据。
205b、向客户端发送视频源数据。
进一步地,以使得所述客户端对所述视频源数据进行播放。
再进一步地,在步骤205b之前,还可以包括:检测当前正在传输该视频源数据的过程中,是否只向一台终端设备上的客户端发送该视频源数据,若是,则停止向该终端设备上的客户端发送该视频源数据,与此同时,进行步骤205b,可以使用户体验视频传递,可以增强用户的体验。
对于本发明实施例的具体应用场景可以如下所示,但不限于此,包括:
当终端设备A靠近终端设备B,并且终端设备A上的客户端应用采集到了终端设备B上播放的直播视频图像或者声音等时,该客户端获取对应的视频源标识,并向服务器发送该视频源标识对应的视频获取请求,服务器根据该视频源标识确定了对应的视频源数据,并且检测是否存在与视频源数据不同机位的直播视频数据。若存在,则向终端设备B上的客户端发送与视频源数据不同机位的直播视频数据进行播放;若不存在,则向终端设备B上的客户端发送该视频源数据进行播放。
本发明实施例提供的另一种视频播放方法,当客户端采集到直播视频信息时,通过接收客户端发送的视频获取请求,该视频获取请求中携带有该直播视频信息对应的视频源的标识信息,根据该标识信息确定视频源数据,并检测是否存在与该视频源数据不同机位的直播视频数据,若存在,向客户端发送该直播视频数据,以使得客户端对其进行播放,以便用户观看不同机位的直播视频数据,可以实现将当前终端设备上播放的直播视频对应的不同机
位视频数据,切换到其他终端设备上进行播放,进而通过不同终端设备播放了不同角度所拍摄的直播内容,使直播内容播放得更加全面,可以实现更多视频画面的互动,增强了用户体验。
本发明实施例提供了又一种视频播放方法,可以应用于客户端,如图3所示,具体步骤包括:
301、当采集到直播视频信息时,获取直播视频信息对应的视频源的标识信息。
其中,所述标识信息可以为名称信息、ID信息等。所述直播视频信息可以为直播视频的图像信息、音频信息等。
具体地,可以通过客户端所在终端设备的摄像头或者音频输入端等,对直播视频信息进行检测采集。
302、向服务器发送视频获取请求。
其中,所述视频获取请求中携带有所述视频源的标识信息。进一步地,以使得所述服务器根据所述视频源的标识信息确定视频源数据,并检测是否存在与所述视频源数据不同机位的直播视频数据,若存在,则获取所述直播视频数据,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据。
303、接收服务器发送的直播视频数据并进行播放。
进一步地,以便于用户通过不同角度对所述直播内容进行观看。
本发明实施例提供的又一种视频播放方法,当客户端采集到直播视频信息时,通过接收客户端发送的视频获取请求,该视频获取请求中携带有该直播视频信息对应的视频源的标识信息,根据该标识信息确定视频源数据,并检测是否存在与该视频源数据不同机位的直播视频数据,若存在,则向客户端发送该直播视频数据,以使得客户端对其进行播放,以便用户观看不同机位的直播视频数据,可以实现将当前终端设备上播放的直播视频对应的不同机位视频数据,切换到其他终端设备上进行播放,进而通过不同终端设备播放了不同角度所拍摄的直播内容,使直播内容播放得更加全面,可以实现更多视频画面的互动,增强了用户体验。
本发明实施例提供了再一种视频播放方法,可以应用于客户端,如图4所示,具体步骤包括:
401、当采集到直播视频信息时,获取直播视频信息对应的视频源的标识信息。
其中,所述直播视频信息为视频声音信息和/或视频图像信息。所述标识
信息可以为名称信息、ID信息等。
具体地,可以通过客户端所在终端设备的摄像头采集视频图像信息;可以通过客户端所在终端设备的音频输入端采集视频声音信息。
402、向服务器发送视频获取请求。
其中,所述视频获取请求中携带有所述视频源的标识信息。进一步地,以使得所述服务器根据所述视频源的标识信息确定视频源数据,并检测是否存在与所述视频源数据不同机位的直播视频数据,若存在,则获取所述直播视频数据,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据。
403a、当服务器检测出存在与视频源数据不同机位的直播视频数据时,接收服务器发送的直播视频数据并进行播放。
与步骤403a并列的步骤404b、当服务器检测出不存在与视频源数据不同机位的直播视频数据时,接收服务器发送的视频源数据并进行播放。
本发明实施例提供的再一种视频播放方法,当客户端采集到直播视频信息时,通过接收客户端发送的视频获取请求,该视频获取请求中携带有该直播视频信息对应的视频源的标识信息,根据该标识信息确定视频源数据,并检测是否存在与该视频源数据不同机位的直播视频数据,若存在,则向客户端发送该直播视频数据,以使得客户端对其进行播放,以便用户观看不同机位的直播视频数据,可以实现将当前终端设备上播放的直播视频对应的不同机位视频数据,切换到其他终端设备上进行播放,进而通过不同终端设备播放了不同角度所拍摄的直播内容,使直播内容播放得更加全面,可以实现更多视频画面的互动,增强了用户体验。
进一步地,作为图1所述方法的具体实现,本发明实施例提供了一种服务器,如图5所示,所述服务器包括:接收单元51、确定单元52、检测单元53、获取单元54、发送单元55。
所述接收单元51,可以用于当客户端采集到直播视频信息时,接收所述客户端发送的视频获取请求,所述视频获取请求中携带有所述直播视频信息对应的视频源的标识信息。所述接收单元51面向客户端。
所述确定单元52,可以用于根据所述视频源的标识信息,确定视频源数据。所述确定单元52为本服务器确定视频源数据的主要功能模块。
所述检测单元53,可以用于检测是否存在与所述确定单元52确定的视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据。所述检测单元53为本服
务器检测是否存在与视频源数据不同机位的直播视频数据的主要功能模块。
所述获取单元54,可以用于若所述检测单元53检测出存在与所述视频源数据不同机位的直播视频数据,则获取所述直播视频数据。所述获取单元54为本服务器获取直播视频数据的主要功能模块。
所述发送单元55,可以用于向所述客户端发送所述直播视频数据。所述发送单元55面向客户端。
进一步地,以使得所述客户端对所述直播视频数据进行播放。
需要说明的是,本发明实施例提供的一种服务器所涉及各功能单元的其他相应描述,可以参考图1中的对应描述,在此不再赘述。本发明实施例中可以通过硬件处理器(hardware processor)来实现相关功能模块。
本发明实施例提供的一种服务器,当客户端采集到直播视频信息时,通过接收客户端发送的视频获取请求,该视频获取请求中携带有该直播视频信息对应的视频源的标识信息,根据该标识信息确定视频源数据,并检测是否存在与该视频源数据不同机位的直播视频数据,若存在,则向客户端发送该直播视频数据,以使得客户端对其进行播放,以便用户观看不同机位的直播视频数据,可以实现将当前终端设备上播放的直播视频对应的不同机位视频数据,切换到其他终端设备上进行播放,进而通过不同终端设备播放了不同角度所拍摄的直播内容,使直播内容播放得更加全面,可以实现更多视频画面的互动,增强了用户体验。
进一步地,作为图2所述方法的具体实现,本发明实施例提供了另一种服务器,如图4所示,所述服务器包括:接收单元61、确定单元62、检测单元63、获取单元64、发送单元65。
所述接收单元61,可以用于当客户端采集到直播视频信息时,接收所述客户端发送的视频获取请求,所述视频获取请求中携带有所述直播视频信息对应的视频源的标识信息。所述接收单元61面向客户端。
所述确定单元62,可以用于根据所述视频源的标识信息,确定视频源数据。所述确定单元52为本服务器确定视频源数据的主要功能模块。
所述检测单元63,可以用于检测是否存在与所述确定单元62确定的视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据。所述检测单元63为本服务器检测是否存在与视频源数据不同机位的直播视频数据的主要功能模块。
所述获取单元64,可以用于若所述检测单元63检测出存在与所述视频源数据不同机位的直播视频数据,则获取所述直播视频数据。所述获取单元64为本服务器获取直播视频数据的主要功能模块。
所述发送单元65,可以用于向所述客户端发送所述直播视频数据。所述发送单元65面向客户端。
进一步地,以使得所述客户端对所述直播视频数据进行播放。
所述获取单元64,还可以用于若检测出不存在与所述视频源数据不同机位的直播视频数据,则获取所述视频源数据。
所述发送单元65,还可以用于向所述客户端发送所述视频源数据。
进一步地,以使得所述客户端对所述视频源数据进行播放。
可选地,所述直播视频信息为视频声音信息和/或视频图像信息。
需要说明的是,本发明实施例提供的另一种服务器所涉及各功能单元的其他相应描述,可以参考图2中的对应描述,在此不再赘述。本发明实施例中可以通过硬件处理器来实现相关功能模块。
本发明实施例提供的另一种服务器,当客户端采集到直播视频信息时,通过接收客户端发送的视频获取请求,该视频获取请求中携带有该直播视频信息对应的视频源的标识信息,根据该标识信息确定视频源数据,并检测是否存在与该视频源数据不同机位的直播视频数据,若存在,则向客户端发送该直播视频数据,以使得客户端对其进行播放,以便用户观看不同机位的直播视频数据,可以实现将当前终端设备上播放的直播视频对应的不同机位视频数据,切换到其他终端设备上进行播放,进而通过不同终端设备播放了不同角度所拍摄的直播内容,使直播内容播放得更加全面,可以实现更多视频画面的互动,增强了用户体验。
进一步地,作为图3所述方法的具体实现,本发明实施例提供了一种客户端,如图7所示,所述客户端包括:获取单元71、发送单元72、接收单元73、播放单元74。
所述获取单元71,可以用于当采集到直播视频信息时,获取所述直播视频信息对应的视频源的标识信息。所述获取单元71为客户端采集视频源的标识信息的主要功能模块。
所述发送单元72,可以用于向服务器发送视频获取请求,所述视频获取请求中携带有所述视频源的标识信息。所述发送单元72面向服务器。
进一步地,以使得所述服务器根据所述视频源的标识信息确定视频源数据,并检测是否存在与所述视频源数据不同机位的直播视频数据,若存在,
则获取所述直播视频数据。
其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据。
所述接收单元73,可以用于接收所述服务器发送的所述直播视频数据。所述接收单元73面向服务器。
所述播放单元74,可以用于对所述接收单元73接收的直播视频数据进行播放。所述播放单元74为客户端播放直播视频数据的主要功能模块。
需要说明的是,本发明实施例提供的一种客户端所涉及各功能单元的其他相应描述,可以参考图3中的对应描述,在此不再赘述。本发明实施例中可以通过硬件处理器来实现相关功能模块。
本发明实施例提供的一种客户端,当客户端采集到直播视频信息时,通过接收客户端发送的视频获取请求,该视频获取请求中携带有该直播视频信息对应的视频源的标识信息,根据该标识信息确定视频源数据,并检测是否存在与该视频源数据不同机位的直播视频数据,若存在,则向客户端发送该直播视频数据,以使得客户端对其进行播放,以便用户观看不同机位的直播视频数据,可以实现将当前终端设备上播放的直播视频对应的不同机位视频数据,切换到其他终端设备上进行播放,进而通过不同终端设备播放了不同角度所拍摄的直播内容,使直播内容播放得更加全面,可以实现更多视频画面的互动,增强了用户体验。
进一步地,作为图4所述方法的具体实现,本发明实施例提供了另一种客户端,如图8所示,所述客户端包括:获取单元81、发送单元82、接收单元83、播放单元84。
所述获取单元81,可以用于当采集到直播视频信息时,获取所述直播视频信息对应的视频源的标识信息。所述获取单元81为客户端采集视频源的标识信息的主要功能模块。
所述发送单元82,可以用于向服务器发送视频获取请求,所述视频获取请求中携带有所述视频源的标识信息。所述发送单元82面向服务器。
进一步地,以使得所述服务器根据所述视频源的标识信息确定视频源数据,并检测是否存在与所述视频源数据不同机位的直播视频数据,若存在,则获取所述直播视频数据。
其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据。
所述接收单元83,可以用于接收所述服务器发送的所述直播视频数据。
所述接收单元83面向服务器。
所述播放单元84,可以用于对所述接收单元83接收的直播视频数据进行播放。所述播放单元84为客户端播放直播视频数据的主要功能模块。
所述接收单元83,还可以用于当所述服务器检测出不存在与所述视频源数据不同机位的直播视频数据时,接收所述服务器发送的所述视频源数据。
所述播放单元84,还可以用于对所述接收单元83接收的视频源数据进行播放。
可选地,所述直播视频信息为视频声音信息和/或视频图像信息。
需要说明的是,本发明实施例提供的另一种客户端所涉及各功能单元的其他相应描述,可以参考图4中的对应描述,在此不再赘述。本发明实施例中可以通过硬件处理器来实现相关功能模块。
本发明实施例提供的另一种客户端,当客户端采集到直播视频信息时,通过接收客户端发送的视频获取请求,该视频获取请求中携带有该直播视频信息对应的视频源的标识信息,根据该标识信息确定视频源数据,并检测是否存在与该视频源数据不同机位的直播视频数据,若存在,则向客户端发送该直播视频数据,以使得客户端对其进行播放,以便用户观看不同机位的直播视频数据,可以实现将当前终端设备上播放的直播视频对应的不同机位视频数据,切换到其他终端设备上进行播放,进而通过不同终端设备播放了不同角度所拍摄的直播内容,使直播内容播放得更加全面,可以实现更多视频画面的互动,增强了用户体验。
进一步地,本发明实施例提供了一种视频播放系统,包括:服务器91、客户端92。
所述客户端92,可以用于当采集到直播视频信息时,获取所述直播视频信息对应的视频源的标识信息;向所述服务器91发送视频获取请求,所述视频获取请求中携带有所述视频源的标识信息。
所述服务器91,可以用于接收所述客户端92发送的视频获取请求;根据所述视频源的标识信息,确定视频源数据;检测是否存在与所述视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;若存在,则获取所述直播视频数据;向所述客户端92发送所述直播视频数据。
所述客户端92,还可以用于接收所述服务器91发送的所述直播视频数据并进行播放。
示例性的,如图10所示,图10示出了本发明实施例提供的一种服务
器的实体结构示意图,该服务器可以包括:处理器(processor)101、通信接口(Communications Interface)102、存储器(memory)103和总线104,其中,处理器101、通信接口102、存储器103通过总线104完成相互间的通信。通信接口102可以用于服务器与客户端之间的信息传输。处理器101可以调用存储器103中的逻辑指令,以执行如下方法:当客户端采集到直播视频信息时,接收所述客户端发送的视频获取请求,所述视频获取请求中携带有所述直播视频信息对应的视频源的标识信息;根据所述视频源的标识信息,确定视频源数据;检测是否存在与所述视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;若存在,则获取所述直播视频数据;向所述客户端发送所述直播视频数据,以使得所述客户端对所述直播视频数据进行播放。此外,上述的存储器103中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
本发明实施例提供的一种视频播放系统,当客户端采集到直播视频信息时,通过接收客户端发送的视频获取请求,该视频获取请求中携带有该直播视频信息对应的视频源的标识信息,根据该标识信息确定视频源数据,并检测是否存在与该视频源数据不同机位的直播视频数据,若存在,则向客户端发送该直播视频数据,以使得客户端对其进行播放,以便用户观看不同机位的直播视频数据,可以实现将当前终端设备上播放的直播视频对应的不同机位视频数据,切换到其他终端设备上进行播放,进而通过不同终端设备播放了不同角度所拍摄的直播内容,使直播内容播放得更加全面,可以实现更多视频画面的互动,增强了用户体验。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例
方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。
Claims (15)
- 一种视频播放方法,其特征在于,包括:当客户端采集到直播视频信息时,接收所述客户端发送的视频获取请求,所述视频获取请求中携带有所述直播视频信息对应的视频源的标识信息;根据所述视频源的标识信息,确定视频源数据;检测是否存在与所述视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;若存在,则获取所述直播视频数据;向所述客户端发送所述直播视频数据,以使得所述客户端对所述直播视频数据进行播放。
- 根据权利要求1所述的视频播放方法,其特征在于,所述方法还包括:若检测出不存在与所述视频源数据不同机位的直播视频数据,则获取所述视频源数据;向所述客户端发送所述视频源数据,以使得所述客户端对所述视频源数据进行播放。
- 根据权利要求1或2所述的视频播放方法,其特征在于,所述直播视频信息为视频声音信息和/或视频图像信息。
- 一种视频播放方法,其特征在于,包括:当采集到直播视频信息时,获取所述直播视频信息对应的视频源的标识信息;向服务器发送视频获取请求,所述视频获取请求中携带有所述视频源的标识信息,以使得所述服务器根据所述视频源的标识信息确定视频源数据,并检测是否存在与所述视频源数据不同机位的直播视频数据,若存在,则获取所述直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;接收所述服务器发送的所述直播视频数据并进行播放。
- 根据权利要求4所述的视频播放方法,其特征在于,所述方法还包括:当所述服务器检测出不存在与所述视频源数据不同机位的直播视频数据时,接收所述服务器发送的所述视频源数据并进行播放。
- 根据权利要求4或5所述的视频播放方法,其特征在于,所述直播视 频信息为视频声音信息和/或视频图像信息。
- 一种服务器,其特征在于,包括:接收单元,用于当客户端采集到直播视频信息时,接收所述客户端发送的视频获取请求,所述视频获取请求中携带有所述直播视频信息对应的视频源的标识信息;确定单元,用于根据所述视频源的标识信息,确定视频源数据;检测单元,用于检测是否存在与所述确定单元确定的视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;获取单元,用于若所述检测单元检测出存在与所述视频源数据不同机位的直播视频数据,则获取所述直播视频数据;发送单元,用于向所述客户端发送所述直播视频数据,以使得所述客户端对所述直播视频数据进行播放。
- 根据权利要求7所述的服务器,其特征在于,所述获取单元,还用于若检测出不存在与所述视频源数据不同机位的直播视频数据,则获取所述视频源数据;所述发送单元,还用于向所述客户端发送所述视频源数据,以使得所述客户端对所述视频源数据进行播放。
- 根据权利要求7所述的服务器,其特征在于,所述直播视频信息为视频声音信息和/或视频图像信息。
- 一种服务器,其特征在于,包括:一个或多个处理器;和存储器;其中所述存储器中存储有指令,经配置所述指令由所述一个或多个处理器执行,所述一个或多个处理器通过执行所述指令能进行如下操作:当客户端采集到直播视频信息时,接收所述客户端发送的视频获取请求,所述视频获取请求中携带有所述直播视频信息对应的视频源的标识信息;根据所述视频源的标识信息,确定视频源数据;检测是否存在与确定的视频源数据不同机位的直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;若检测出存在与所述视频源数据不同机位的直播视频数据,则获取所述直播视频数据;向所述客户端发送所述直播视频数据,以使得所述客户端对所述直播视 频数据进行播放。
- 一种客户端,其特征在于,包括:获取单元,用于当采集到直播视频信息时,获取所述直播视频信息对应的视频源的标识信息;发送单元,用于向服务器发送视频获取请求,所述视频获取请求中携带有所述视频源的标识信息,以使得所述服务器根据所述视频源的标识信息确定视频源数据,并检测是否存在与所述视频源数据不同机位的直播视频数据,若存在,则获取所述直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;接收单元,用于接收所述服务器发送的所述直播视频数据;播放单元,用于对所述接收单元接收的直播视频数据进行播放。
- 根据权利要求11所述的客户端,其特征在于,所述接收单元,还用于当所述服务器检测出不存在与所述视频源数据不同机位的直播视频数据时,接收所述服务器发送的所述视频源数据;所述播放单元,还用于对所述接收单元接收的视频源数据进行播放。
- 根据权利要求11所述的客户端,其特征在于,所述直播视频信息为视频声音信息和/或视频图像信息。
- 一种客户端,其特征在于,包括:一个或多个处理器;和存储器;其中所述存储器中存储有指令,经配置所述指令由所述一个或多个处理器执行,所述一个或多个处理器通过执行所述指令能进行如下操作:当采集到直播视频信息时,获取所述直播视频信息对应的视频源的标识信息;向服务器发送视频获取请求,所述视频获取请求中携带有所述视频源的标识信息,以使得所述服务器根据所述视频源的标识信息确定视频源数据,并检测是否存在与所述视频源数据不同机位的直播视频数据,若存在,则获取所述直播视频数据;其中,所述直播视频数据与所述视频源数据为同一直播内容不同机位的视频数据;接收所述服务器发送的所述直播视频数据;对接收的直播视频数据进行播放。
- 一种视频播放系统,其特征在于,包括:权利要求7-10任一项所述的服务器和权利要求11-14任一项所述的客户端。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/246,466 US20170171567A1 (en) | 2015-12-14 | 2016-08-24 | Method, electronic device and system for playing videos |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510923520.4A CN105872601A (zh) | 2015-12-14 | 2015-12-14 | 视频播放方法、装置及系统 |
| CN201510923520.4 | 2015-12-14 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/246,466 Continuation US20170171567A1 (en) | 2015-12-14 | 2016-08-24 | Method, electronic device and system for playing videos |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017101401A1 true WO2017101401A1 (zh) | 2017-06-22 |
Family
ID=56624543
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/089476 Ceased WO2017101401A1 (zh) | 2015-12-14 | 2016-07-08 | 视频播放方法、装置及系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105872601A (zh) |
| WO (1) | WO2017101401A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111031359A (zh) * | 2019-12-24 | 2020-04-17 | 北京奇艺世纪科技有限公司 | 视频播放方法、装置、电子设备和计算机可读存储介质 |
| WO2023050611A1 (zh) * | 2021-09-29 | 2023-04-06 | 天翼物联科技有限公司 | 视频直播方法、装置、计算机设备及计算机可读存储介质 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107147918A (zh) * | 2017-06-12 | 2017-09-08 | 北京佰才邦技术有限公司 | 一种数据处理方法、系统、设备和服务器 |
| CN108156467B (zh) * | 2017-11-16 | 2021-05-11 | 腾讯科技(成都)有限公司 | 数据传输方法和装置、存储介质及电子装置 |
| CN109257614B (zh) * | 2018-09-11 | 2021-05-07 | 腾讯数码(天津)有限公司 | 一种直播会话接入控制方法、装置及存储介质 |
| CN111083504B (zh) * | 2018-10-22 | 2022-06-14 | 阿里巴巴集团控股有限公司 | 互动方法、装置、设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101588488A (zh) * | 2009-06-18 | 2009-11-25 | 北京浪弯融科科技有限责任公司 | 多机位流媒体发送方法、多机位流媒体播放方法及系统 |
| CN101938628A (zh) * | 2009-06-29 | 2011-01-05 | 未序网络科技(上海)有限公司 | 互联网直播信号动态切换方法 |
| CN102186038A (zh) * | 2011-05-17 | 2011-09-14 | 浪潮(山东)电子信息有限公司 | 一种在数字电视屏幕上同步播放多视角画面的方法 |
| WO2013093176A1 (en) * | 2011-12-23 | 2013-06-27 | Nokia Corporation | Aligning videos representing different viewpoints |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7079176B1 (en) * | 1991-11-25 | 2006-07-18 | Actv, Inc. | Digital interactive system for providing full interactivity with live programming events |
-
2015
- 2015-12-14 CN CN201510923520.4A patent/CN105872601A/zh active Pending
-
2016
- 2016-07-08 WO PCT/CN2016/089476 patent/WO2017101401A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101588488A (zh) * | 2009-06-18 | 2009-11-25 | 北京浪弯融科科技有限责任公司 | 多机位流媒体发送方法、多机位流媒体播放方法及系统 |
| CN101938628A (zh) * | 2009-06-29 | 2011-01-05 | 未序网络科技(上海)有限公司 | 互联网直播信号动态切换方法 |
| CN102186038A (zh) * | 2011-05-17 | 2011-09-14 | 浪潮(山东)电子信息有限公司 | 一种在数字电视屏幕上同步播放多视角画面的方法 |
| WO2013093176A1 (en) * | 2011-12-23 | 2013-06-27 | Nokia Corporation | Aligning videos representing different viewpoints |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111031359A (zh) * | 2019-12-24 | 2020-04-17 | 北京奇艺世纪科技有限公司 | 视频播放方法、装置、电子设备和计算机可读存储介质 |
| CN111031359B (zh) * | 2019-12-24 | 2023-01-10 | 北京奇艺世纪科技有限公司 | 视频播放方法、装置、电子设备和计算机可读存储介质 |
| WO2023050611A1 (zh) * | 2021-09-29 | 2023-04-06 | 天翼物联科技有限公司 | 视频直播方法、装置、计算机设备及计算机可读存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105872601A (zh) | 2016-08-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017101401A1 (zh) | 视频播放方法、装置及系统 | |
| CN106162235B (zh) | 用于切换视频流的方法和装置 | |
| CN113411642B (zh) | 投屏方法、装置、电子设备和存储介质 | |
| CN110198456B (zh) | 基于直播的视频推送方法、装置和计算机可读存储介质 | |
| WO2017092360A1 (zh) | 多媒体播放时的交互方法及装置 | |
| US9866916B1 (en) | Audio content delivery from multi-display device ecosystem | |
| US11025967B2 (en) | Method for inserting information push into live video streaming, server, and terminal | |
| US20150058413A1 (en) | Method, server, client and system for data presentation in a multiplayer session | |
| WO2017071184A1 (zh) | 直播音频切换方法、流媒体服务器及客户端 | |
| JP6232666B2 (ja) | Ottビデオの品質を監視する方法、装置、およびシステム | |
| WO2017101369A1 (zh) | 直播视频的转码方法及装置 | |
| WO2016078186A1 (zh) | 一种视频直播的方法以及装置 | |
| CN109089127A (zh) | 一种视频拼接方法、装置、设备及介质 | |
| CN108933948A (zh) | 一种视频播放进度同步方法及装置 | |
| WO2017185641A1 (zh) | 一种语音弹幕的生成、播放方法及其装置、客户端 | |
| WO2019114330A1 (zh) | 一种视频播放方法、装置和终端设备 | |
| CN110536075B (zh) | 视频生成方法和装置 | |
| CN105871800A (zh) | 一种拉流控制的方法、装置及系统 | |
| CN104717542A (zh) | 一种智能电视的同步信息获取方法、装置及系统 | |
| WO2014190655A1 (zh) | 应用同步方法、应用服务器及终端 | |
| WO2017101370A1 (zh) | 直播视频的处理方法及装置 | |
| CN108200444B (zh) | 一种视频直播的方法、装置和系统 | |
| WO2017045590A1 (zh) | 一种多媒体信息交互方法及系统 | |
| CN118200063A (zh) | 用以修正网络中断的方法及装置 | |
| US20170171567A1 (en) | Method, electronic device and system for playing videos |
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: 16874463 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: 16874463 Country of ref document: EP Kind code of ref document: A1 |