Video playing method and device
A video and video streaming technology, which is applied in the field of Internet video, can solve problems such as difficult adjustment of display styles, and achieve the effects of saving time and labor costs, good user experience, and flexible adjustment
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0068] figure 1 It is a flowchart of a video presentation method shown according to an exemplary embodiment of the present invention. This method can be used, for example, in terminal devices such as mobile phones, televisions, tablet computers, personal computers, and projectors.
[0069] see figure 1 As shown, the method may include:
[0070] Step S101, acquiring template data, wherein the template data is used to describe the layout style of multiple video objects in the playback interface.
[0071] For the situation that there are multiple video objects playing simultaneously on the playback interface of the terminal device, technicians can pre-design multiple layout styles for the multiple video objects, and one layout style is also a template. For a layout style, there are a total of several video objects in the playback interface (that is, a total of several channels of video), the size and position of the playback window of each video object, etc., all of which can ...
Embodiment 2
[0089] This embodiment is based on the first embodiment, and is a further expansion or deepening of the first embodiment. In this embodiment, as an example, the template data can be recorded in JSON format. JSON, JavaScript Object Notation, is a lightweight data exchange format that uses a text format that is completely independent of programming languages.
[0090] The layout style may specifically include position information and size information of each video object;
[0091] The position information may include: the left or right margin, and the upper or lower margin of each video object in the playback interface;
[0092] The size information may include: the width and height of each video object.
[0093] Taking left margin (x), top margin (y), width (w) and height (h) as an example, Figure 5 An example of x, y, w, h is given. In the template data, each set of x, y, w, and h can be regarded as a node. As an example, the following text contains three nodes:
[0094]...
Embodiment 3
[0104] The present invention will be further described below in conjunction with specific scenarios. This embodiment is based on Embodiment 1 or Embodiment 2, involving TV and server, see Figure 6 As shown, the following steps may be included:
[0105] Step S601, at a certain moment, the server sends template data to the TV.
[0106] Step S602, after the TV receives the template data, it lays out the playing interface according to the layout style described in the template data.
[0107] In step S603, the TV feeds back the information that the layout has been completed to the server.
[0108] Step S604, the server sends the video stream and sequence information of the video stream to the TV.
[0109] Step S605, after receiving the video streams and the sequence information of the video streams, the television fills each video stream into the corresponding slots according to the sequence information, and then starts to play these video streams at the same time.
[0110] St...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com