CN110913278B - Video playing method, display terminal and storage medium - Google Patents

Video playing method, display terminal and storage medium Download PDF

Info

Publication number
CN110913278B
CN110913278B CN201911242156.XA CN201911242156A CN110913278B CN 110913278 B CN110913278 B CN 110913278B CN 201911242156 A CN201911242156 A CN 201911242156A CN 110913278 B CN110913278 B CN 110913278B
Authority
CN
China
Prior art keywords
video
playing
panoramic
fragment
segment
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.)
Active
Application number
CN201911242156.XA
Other languages
Chinese (zh)
Other versions
CN110913278A (en
Inventor
张毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth New World Technology Co ltd
Original Assignee
Shenzhen Skyworth New World Technology Co ltd
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 Shenzhen Skyworth New World Technology Co ltd filed Critical Shenzhen Skyworth New World Technology Co ltd
Priority to CN201911242156.XA priority Critical patent/CN110913278B/en
Publication of CN110913278A publication Critical patent/CN110913278A/en
Application granted granted Critical
Publication of CN110913278B publication Critical patent/CN110913278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/816Monomedia components thereof involving special video data, e.g 3D video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Abstract

The invention provides a video playing method, a display terminal and a storage medium, wherein the method comprises the following steps: acquiring video fragments required by video playing, wherein the video fragments comprise panoramic video fragments and planar video fragments; selecting video fragments according to the playing sequence of the video to play the video, and detecting whether the video frame of the currently selected video fragment has a view angle switching identifier; if the visual angle switching identifier exists, the planar video fragment or the panoramic video fragment is correspondingly selected to be played after the currently selected video fragment is the panoramic video fragment or the planar video fragment and the playing of the video fragment is finished. According to the scheme, mutual switching between the panoramic video fragments and the plane video fragments can be realized according to the visual angle switching identification, so that plane video playing is inserted between two segments of panoramic videos needing to be switched in visual angles on the premise that the video fusion playing technology ensures that the playing visual angles can be adjusted, and playing switching is not abrupt.

Description

Video playing method, display terminal and storage medium
Technical Field
The present invention relates to the field of display, and in particular, to a video playing method, a display terminal, and a computer-readable storage medium.
Background
In order to bring a polymorphic visual experience to a user, video production related technologies are gradually developed, and therefore, a flat video and a panoramic video appear in succession. The plane video is edited in the video production process, so that the plane video is played at a fixed visual angle according to video planning in the whole video playing process; in contrast, panoramic video enables a free choice of viewing angle through the playback device, thereby bringing a free viewing experience of a full angle, e.g., 360 °, to the user. However, in practical use, if the device playing the panoramic video is switched or moved at will, the viewer may feel dizzy, or the video being played may jump excessively due to the adjustment of the viewing angle. Therefore, how to provide a video playing method capable of adjusting the viewing angle without being too obtrusive is a problem to be solved urgently.
Disclosure of Invention
The invention mainly aims to provide a video playing method, a display terminal and a computer readable storage medium, and aims to provide a video playing means which can adjust a visual angle and is not too obtrusive.
In order to achieve the above object, the present invention provides a video playing method, including the steps of:
acquiring video fragments required by video playing, wherein the video fragments comprise panoramic video fragments and planar video fragments;
selecting video fragments according to the playing sequence of the video to play the video, and detecting whether the video frame of the currently selected video fragment has a view angle switching identifier;
if the visual angle switching identifier exists, the planar video fragment or the panoramic video fragment is correspondingly selected to be played after the currently selected video fragment is the panoramic video fragment or the planar video fragment and the playing of the video fragment is finished.
Optionally, the step of obtaining video segments required for video playing includes:
acquiring a video play list;
and acquiring the video fragments required by video playing through the video playing list.
Optionally, before the step of correspondingly selecting the panoramic video segment for playing after the currently selected video segment is the flat video segment and the playing of the video segment is completed, the method further includes:
acquiring a panoramic projection model according to the video play list;
the step of correspondingly selecting the panoramic video fragment for playing comprises the following steps:
and playing the selected panoramic video fragment under the panoramic projection model.
Optionally, before the step of selecting the planar video segment for playing after the currently selected video segment is the panoramic video segment and the playing of the video segment is completed, the method further includes:
judging whether scene resources corresponding to the planar video fragments exist in the video play list or not;
if yes, acquiring the scene resource according to the video play list;
the step of playing the corresponding selected flat video fragment comprises:
and playing the selected flat video fragments under the scene corresponding to the scene resources.
Optionally, before the step of correspondingly selecting the planar video segment or the panoramic video segment for playing after the currently selected video segment is the panoramic video segment or the planar video segment and the playing of the video segment is completed, the method further includes:
acquiring video transition dynamic effect resources according to the video playlist;
the step of correspondingly selecting the planar video segment or the panoramic video segment for playing after the currently selected video segment is the panoramic video segment or the planar video segment and the playing of the video segment is finished comprises the following steps:
and when the currently selected video fragment is a panoramic video fragment or a planar video fragment, sequentially playing the currently selected video fragment, the video dynamic effect corresponding to the video transition dynamic effect resource and the correspondingly selected planar video fragment or panoramic video fragment.
Optionally, the step of obtaining the video segments required for video playing through the video playlist includes:
and acquiring a Uniform Resource Locator (URL) of a video fragment required by video playing from the video playing list, and acquiring the video fragment according to the URL.
Optionally, the step of obtaining a video playlist includes:
initiating a video playing request to a server;
and receiving a video play list fed back by the server according to the video play request.
Optionally, the step of correspondingly selecting a planar video segment or a panoramic video segment for playing after the currently selected video segment is a panoramic video segment or a planar video segment and the playing of the video segment is completed includes:
judging whether the coding formats or resolutions of the currently selected video fragment and the correspondingly selected planar video fragment or panoramic video fragment are different according to the view switching identifier;
if so, initializing a decoder and decoding the correspondingly selected planar video segment or panoramic video segment through the decoder so as to play the correspondingly decoded planar video segment or panoramic video segment after the currently selected video segment is played.
In addition, to achieve the above object, the present invention further provides a display terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the video playing method as described above.
Furthermore, to achieve the above object, the present invention further provides a computer readable storage medium, having a computer program stored thereon, which when executed by a processor, implements the steps of the video playing method as described above.
According to the video playing method, the display terminal and the computer readable storage medium provided by the embodiment of the invention, the video fragments required by video playing are obtained, wherein the video fragments comprise panoramic video fragments and planar video fragments; selecting video fragments according to the playing sequence of the video to play the video, and detecting whether the video frame of the currently selected video fragment has a view angle switching identifier; if the visual angle switching identifier exists, the planar video fragment or the panoramic video fragment is correspondingly selected to be played after the currently selected video fragment is the panoramic video fragment or the planar video fragment and the playing of the video fragment is finished. The switching between the panoramic video fragments and the planar video fragments can be realized according to the visual angle switching identification, so that the planar video playing is inserted between two segments of panoramic videos needing to be switched in visual angles on the premise of ensuring the adjustability of the playing visual angles through a video fusion playing technology, and the playing switching is not abrupt.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a video playing method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a detailed process of step S20 in another embodiment of the video playing method of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The embodiment of the invention provides a display terminal, namely a video playing device, wherein the display terminal can be composed of an independent video playing device or can be combined with a server side for manufacturing video fragment resources. The display terminal in this embodiment may be implemented in various forms, and preferably may be a wearable device similar to a virtual reality helmet, and may also be a PC, a smart television, a smart phone, a tablet computer, an e-book reader, a navigation apparatus, a network-side device (or a network-side device cluster), and the like.
The display terminal may include components such as a communication module 10, a memory 20, and a processor 30. In the display terminal, the processor 30 is connected to the memory 20 and the communication module 10, respectively, the memory 20 stores thereon a computer program, which is executed by the processor 30 at the same time, and when executed, implements the steps of the method embodiments described below.
The communication module 10 may be connected to an external communication device through a network. The communication module 10 may receive a request from an external communication device, and may also send a request, an instruction, and information to the external communication device. The external communication device may be other functional devices, such as a server, or other display terminals, etc.
The memory 20 may be used to store software programs as well as various data. The memory 20 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as acquisition of video slices), and the like; the storage data area may include a database, and the storage data area may store data or information created according to the use of the display terminal, or the like. Further, the memory 20 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 30, which is a control center of the display terminal, connects various parts of the entire display terminal using various interfaces and lines, and performs various functions of the display terminal and processes data by operating or executing software programs and/or modules stored in the memory 20 and calling data stored in the memory 20, thereby performing overall monitoring of the display terminal. Processor 30 may include one or more processing units; alternatively, the processor 30 may integrate an application processor that mainly processes an operating system, a user interface, an application program, and the like, a video decoder that mainly decodes a compressed video stream transmitted from a network into image frames, a graphic processor that mainly processes graphic and video rendering and display, and a modem processor that mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 30.
Although not shown in fig. 1, the display terminal may further include a power control module for connecting to a power source to ensure normal operation of other components. The display terminal may further include a display module, configured to extract data in the memory 20 and display a system interface and a video playing screen of the display terminal. Those skilled in the art will appreciate that the display terminal configuration shown in fig. 1 is not intended to be limiting of display terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The invention provides a video playing method, which comprises the following steps:
step S10, obtaining video fragments required by video playing, wherein the video fragments comprise panoramic video fragments and planar video fragments;
in this embodiment, videos are played on a segment basis, and the video segments are divided into panoramic video segments and planar video segments according to the fixity of the viewing angle or the difference of the viewing mode. It can be understood that a complete video may be composed of multiple video segments, and in the prior art, a video may be correspondingly segmented into multiple panoramic video segments or multiple flat video segments according to types, in this embodiment, in a video production process, a video is segmented into a video segment set composed of flat video segments and panoramic video segments according to actual needs, such as narration scenarios and switching of display angles, and at this time, the total number of video segments in a video may be equal to a pre-planned total number of segments, or may be greater than the total number of segments but less than 2 times the total number of segments, that is, in some scenarios, there may be a flat video segment and a panoramic video segment at the same time.
Step S20, selecting video segments according to the playing sequence of the video to play the video, and detecting whether the video frame of the currently selected video segment has a view angle switching identifier; if yes, go to step S30;
it should be noted that, the video segments are sequentially arranged during the production, so that the sequential playing of the video can be ensured, and whether the view switching identifier exists in the video frame of the segment corresponding to the currently playing episode can be detected during the playing process. If the current video playing is not the next sub-slice playing, the switching of the visual angle does not occur, otherwise, if the current video playing is the next sub-slice playing, the switching of the visual angle occurs.
The view switching identifier is a view switching label (Tag), and the view switching identifier may be set in a previous video production process, may be set in a part of the video segment, and corresponds to a certain video frame in the video segment, for example, may correspond to a certain frame in the last frames of the currently played video segment, specifically, may be the last frame, or may be the last frame. It should be further noted that the view switching identifier may be stored together with the video clip, or may only have a corresponding relationship, for example, stored in an index file or a video playlist required for video playing. The video switch flag may also be marked with a difference of the front and rear view switch videos, such as whether the encoding format is changed, whether the resolution is changed, and the like. The video switching view may be switched from planar to panoramic, e.g., 360 degrees panoramic, 180 degrees or other display view, or from panoramic to planar.
Step S30, when the currently selected video segment is a panoramic video segment or a flat video segment and the playing of the video segment is completed, the flat video segment or the panoramic video segment is correspondingly selected for playing.
If the current fragment of the video frame corresponding to the video switching identifier is detected to be the panoramic video fragment, the video fragment to be switched is the planar video fragment; and if the video is the planar video fragment, the video fragment to be switched is the panoramic video fragment. When the switch identifier corresponds to a video frame other than the last frame, preferably in several frames relatively behind, the transition process of the play switch based on the panoramic video and the flat video is gradual or transitional, for example, the display screen is first changed from deep to shallow, and then changed from shallow to deep, or other transition effects. And when the video frame corresponding to the switching identifier is in the last frame, the switching has no gradual change process.
According to the embodiment, mutual switching between the panoramic video fragments and the planar video fragments can be realized according to the visual angle switching identification, so that planar video playing is inserted between two segments of panoramic videos needing to be switched in visual angles on the premise that the playing visual angle is adjustable through a video fusion playing technology, and playing switching is not abrupt.
In addition, in other embodiments, the number of the video segments may be that one video has all panoramic video segments and all planar video segments, or another type of segment is used for alternate playing when the user has a switching requirement and the current segment playing is completed, and the implementation process may refer to the foregoing embodiments and is not described herein in any more detail.
Further, based on the foregoing one embodiment, referring to fig. 3, in another embodiment of the video playing method of the present invention, the step S10 includes:
step S11, acquiring a video play list;
and step S12, obtaining the video fragments required by video playing through the video playing list.
The process of acquiring the video playlist may be that the display terminal initiates a video playing request to the server, where the video playing request includes an identifier of a video to be requested to be played, the server feeds back a corresponding video playlist for playing the video according to the video playing request, and the display terminal may parse and start playing after receiving the video playlist. When the server and the display terminal are integrated, namely the display terminal has a video production function, the request and the distribution list can be directly transmitted in a local mode, and when the server is in communication connection with the display terminal, the request and the distribution list can be transmitted in a network mode.
The video playlist may be a custom extension of an existing playlist, such as hls (HTTP Live streaming) or MPEG-DASH, where MPEG-DASH (dynamic adaptive streaming over HTTP, ISO/IEC 23009-1) is a vendor-independent international standard approved by MPEG and ISO and is a HTTP-based streaming media transmission technology using TCP transmission protocol, thereby ensuring compatible support of video playback for products or players. Of course, a new standard may be redefined, which may be a new video playlist or a new file format, for example, a file resource package is formed by encapsulating the video clips and other required resources/information, where the file resource package is similar to the video playlist, and exists as a video playing resource in a new format, and when the video clips are acquired, the corresponding video streams may be read from the media files of the video playing resource similar to the MP4 format for acquisition.
The content included in the video playlist may be set according to actual needs, and since the video clips need to be acquired through the video playlist, the video playlist may store the required video clips, that is, the video clips required for video playing are acquired from the video playlist, or may store locators required for acquiring the video clips, for example, a URL (Uniform Resource Locator) of the video clip required for video playing is acquired from the video playlist, and the video clips are acquired according to the URL. Other information may also be included, such as at least one of a view switch identification, scene resources, and video transition animation resources.
The embodiment obtains the video fragments through the video playlist, provides a specific scheme for how to obtain the video fragments, and takes the video playlist as a channel, so that other required information for video playing can be included at the same time, the method is convenient and fast, and the interaction times are reduced.
Further, in yet another embodiment, special effects may be added during video playing, which may be setting scene resources, such as cinema scenes, during plane playing, and setting switching animations/effects during video switching. In addition, as a special playing mode, panoramic video playing also needs to be provided with a model for back projecting video.
Specifically, when the corresponding selected next video segment is a panoramic video segment, a panoramic projection model may be obtained according to the video playlist before the video segment is played, so that the selected panoramic video segment is played under the loaded panoramic projection model after the planar video segment is played. The method includes the steps that a model is obtained according to a video play list, a scene resource package URL can be actually set in the play list, the scene resource package generally comprises a dynamically loaded model or a picture resource, when a play end of a display terminal is switched to a first frame or a few previous frames of a new plane video play visual angle, the scene resource can be loaded at a rendering end of the display terminal at the same time, and the method is correspondingly suitable for loading of a relevant model for panoramic video back projection in the panoramic video, such as a spherical model or a polyhedral model.
Similarly, if the video playing is switched to the video playing in the display terminal by using the flat video segment, the virtual scene can be defined to play, and the scene resource packet URL corresponding to the video playing list has the scene resource packet address. If the scene resource package address is not provided, a default scene or a custom scene of the playing end can be used. In concrete implementation, when it is determined that the video segment to be played next is the flat video segment, it may be determined that there is no scene resource corresponding to the flat video segment in the video playlist, and if there is a scene resource corresponding to the flat video segment, the scene resource is acquired, otherwise, the default or custom scene of the playing end is selected for playing in combination. After the scene resources are acquired, when the playing end of the display terminal is switched to the first frame or the first frames of the panoramic video playing new view angle, the acquired scene resources can be loaded at the rendering end of the display terminal to play the selected planar video segments in the corresponding scene.
The embodiment simulates the actual watching scene effect by adding the scene special effect during the playing of the plane video, and is more simulation. In addition, when the panoramic video is played, the panoramic video is played under the loaded model, so that the playing effect of panoramic back projection is ensured.
Further, in this embodiment, when switching animation/effect is set during video switching, that is, when the switching animation/effect is interspersed during view switching, a transition animation resource URL may be set in the video playlist or the transition animation resource may be directly stored in the video playlist, so that before the view switching is performed, the video transition animation resource may be obtained according to the video playlist. It can be understood that the transition dynamic effect resource is similar to a scene resource, and is mainly used for being loaded by a rendering section of a display terminal player in different types of video switching processes, so that scene transition is realized, and the transition process is more natural. Corresponding to the video switching process added with the transition dynamic effect, the player can sequentially play the currently selected video fragments, the video dynamic effect corresponding to the video transition dynamic effect resource and the corresponding selected video fragments. If the currently selected panoramic video is, sequentially playing the currently selected panoramic video fragment, the video dynamic effect corresponding to the video transitional dynamic effect resource and the correspondingly selected planar video fragment. And if the currently selected planar video fragment is the planar video fragment, sequentially playing the currently selected planar video fragment, the video dynamic effect corresponding to the video transition dynamic effect resource and the correspondingly selected panoramic video fragment.
It should be noted that the sequential playing may be to play only one video resource at a time, or to play the last frames of the currently selected video segment and the transitional animation effect in an overlapping manner when the video transitional animation/effect is used for transition, and/or to play the first frames of the correspondingly selected video segment and the transitional animation effect in an overlapping manner. Through the interpenetration of the transition dynamic effect resources, the transition is ensured to be more natural.
In addition, transition dynamic effect resources and scene resources can exist in the whole video playing process, and when the scene resources are loaded, the transition dynamic effect can be closed, and the scene resources are displayed; when the switching is started, the switching dynamic effect loading is completed, the scene resources can be closed, and the video switching process is started.
Optionally, in other embodiments, the switching between the flat video segment and the panoramic video segment may further involve a difference in resolution or video format, and further may be determined by other information in the view switching identifier, and if both are consistent, the new video segment is directly switched to be played; when any one of the video slices is different, the player of the display terminal needs to reinitialize the decoder to input the video stream of the new visual angle to be switched and played to the decoder for decoding until the new video slice is refreshed to the last frame, and the specific implementation process is to judge whether the coding formats or resolutions of the currently selected video slice and the correspondingly selected planar video slice or panoramic video slice are different according to the visual angle switching identifier; if so, initializing a decoder and decoding the correspondingly selected planar video segment or panoramic video segment through the decoder so as to play the correspondingly decoded planar video segment or panoramic video segment after the playing of the currently selected video segment is finished, thereby ensuring the normal playing of the video.
Furthermore, the invention also proposes a computer-readable storage medium, on which a computer program is stored. The computer-readable storage medium may be the Memory 20 in the terminal in fig. 1, and may also be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and the computer-readable storage medium includes instructions for enabling a terminal device (which may be a helmet, a smart television, a mobile phone, a computer, a server, or a network device) having a processor to execute the method according to the embodiments of the present invention.
In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, and those skilled in the art can understand the specific meanings of the above terms in the present invention according to specific situations.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although the embodiment of the present invention has been shown and described, the scope of the present invention is not limited thereto, it should be understood that the above embodiment is illustrative and not to be construed as limiting the present invention, and that those skilled in the art can make changes, modifications and substitutions to the above embodiment within the scope of the present invention, and that these changes, modifications and substitutions should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A video playback method, comprising the steps of:
acquiring video fragments required by video playing, wherein the video fragments comprise panoramic video fragments and planar video fragments;
selecting video fragments according to the playing sequence of the video to play the video, and detecting whether the video frame of the currently selected video fragment has a view angle switching identifier;
if the visual angle switching identifier exists, the planar video fragment or the panoramic video fragment is correspondingly selected to be played after the currently selected video fragment is the panoramic video fragment or the planar video fragment and the playing of the video fragment is finished;
in the video pre-production process, according to the actual video arrangement requirement, the video is divided into video fragment sets consisting of the panoramic video fragments and the planar video fragments;
in the video playing process, the planar video fragments are inserted between the adjacent panoramic video fragments needing visual angle switching.
2. The video playback method of claim 1, wherein the step of obtaining video slices required for video playback comprises:
acquiring a video play list;
and acquiring the video fragments required by video playing through the video playing list.
3. The video playing method according to claim 2, wherein before the step of selecting the panoramic video segment for playing after the currently selected video segment is the flat video segment and the playing of the video segment is completed, the method further comprises:
acquiring a panoramic projection model according to the video play list;
the step of correspondingly selecting the panoramic video fragment for playing comprises the following steps:
and playing the selected panoramic video fragment under the panoramic projection model.
4. The video playing method according to claim 2, wherein before the step of selecting the planar video segment for playing after the currently selected video segment is the panoramic video segment and the playing of the video segment is completed, the method further comprises:
judging whether scene resources corresponding to the planar video fragments exist in the video play list or not;
if yes, acquiring the scene resource according to the video play list;
the step of playing the corresponding selected flat video fragment comprises:
and playing the selected flat video fragments under the scene corresponding to the scene resources.
5. The video playing method according to claim 2, wherein before the step of selecting the planar video segment or the panoramic video segment for playing after the currently selected video segment is the panoramic video segment or the planar video segment and the playing of the video segment is completed, the method further comprises:
acquiring video transition dynamic effect resources according to the video playlist;
the step of correspondingly selecting the planar video segment or the panoramic video segment for playing after the currently selected video segment is the panoramic video segment or the planar video segment and the playing of the video segment is finished comprises the following steps:
and when the currently selected video fragment is a panoramic video fragment or a planar video fragment, sequentially playing the currently selected video fragment, the video dynamic effect corresponding to the video transition dynamic effect resource and the correspondingly selected planar video fragment or panoramic video fragment.
6. The video playback method according to claim 2, wherein the step of obtaining the video clips required for video playback from the video playlist comprises:
and acquiring a Uniform Resource Locator (URL) of a video fragment required by video playing from the video playing list, and acquiring the video fragment according to the URL.
7. The video playback method of claim 2, wherein the step of obtaining a video playlist comprises:
initiating a video playing request to a server;
and receiving a video play list fed back by the server according to the video play request.
8. The video playing method according to any one of claims 1 to 7, wherein the step of selecting the planar video segment or the panoramic video segment for playing correspondingly after the currently selected video segment is the panoramic video segment or the planar video segment and the playing of the video segment is completed comprises:
judging whether the coding formats or resolutions of the currently selected video fragment and the correspondingly selected planar video fragment or panoramic video fragment are different according to the view switching identifier;
if so, initializing a decoder and decoding the correspondingly selected planar video segment or panoramic video segment through the decoder so as to play the correspondingly decoded planar video segment or panoramic video segment after the currently selected video segment is played.
9. A display terminal, characterized in that the display terminal comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the video playback method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the video playback method according to any one of claims 1 to 8.
CN201911242156.XA 2019-12-06 2019-12-06 Video playing method, display terminal and storage medium Active CN110913278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911242156.XA CN110913278B (en) 2019-12-06 2019-12-06 Video playing method, display terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911242156.XA CN110913278B (en) 2019-12-06 2019-12-06 Video playing method, display terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110913278A CN110913278A (en) 2020-03-24
CN110913278B true CN110913278B (en) 2022-04-08

Family

ID=69822928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911242156.XA Active CN110913278B (en) 2019-12-06 2019-12-06 Video playing method, display terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110913278B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111596558A (en) * 2020-04-02 2020-08-28 深圳创维-Rgb电子有限公司 Display switching method, device, equipment and storage medium of intelligent display terminal
CN111431947A (en) * 2020-06-15 2020-07-17 广东睿江云计算股份有限公司 Method and system for optimizing display of cloud desktop client
CN112995596B (en) * 2021-02-18 2023-08-15 咪咕文化科技有限公司 Panoramic video transmission method and device, electronic equipment and storage medium
CN115086603A (en) * 2022-05-12 2022-09-20 南方电网深圳数字电网研究院有限公司 Video processing method and device based on compatible player

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055984A (en) * 2011-01-27 2011-05-11 山东大学 Three-dimensional video decoding structure for smoothly switching 2D and 3D play modes and operating method
CN106454317A (en) * 2016-11-15 2017-02-22 天津大学 Three-dimensional video quality adaptation algorithm based on fuzzy control
CN106445437A (en) * 2016-09-08 2017-02-22 深圳市金立通信设备有限公司 Terminal and view angle switching method thereof
WO2017080420A1 (en) * 2015-11-09 2017-05-18 Versitech Limited Auxiliary data for artifacts –aware view synthesis
CN106713891A (en) * 2016-12-16 2017-05-24 暴风集团股份有限公司 Method and system for playing cubic panoramic video based on D3D interface
CN107896333A (en) * 2017-11-29 2018-04-10 北京未来媒体科技股份有限公司 The method and device that a kind of remote control panoramic video based on intelligent terminal plays
CN108616557A (en) * 2016-12-13 2018-10-02 中兴通讯股份有限公司 A kind of panoramic video transmission method, device, terminal, server and system
CN108632631A (en) * 2017-03-16 2018-10-09 华为技术有限公司 The method for down loading and device of video slicing in a kind of panoramic video
CN109218848A (en) * 2017-07-06 2019-01-15 阿里巴巴集团控股有限公司 View angle switch method, apparatus, equipment and the computer storage medium of video flowing
CN109587579A (en) * 2018-11-09 2019-04-05 深圳威尔视觉传媒有限公司 Multi-view code stream transmission method, device, equipment and storage medium based on CDN
CN110166764A (en) * 2018-02-14 2019-08-23 阿里巴巴集团控股有限公司 Visual angle synchronous method and device in Virtual Reality live streaming
CN110351607A (en) * 2018-04-04 2019-10-18 优酷网络技术(北京)有限公司 A kind of method, computer storage medium and the client of panoramic video scene switching

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2326101B1 (en) * 2008-09-18 2015-02-25 Panasonic Corporation Stereoscopic video reproduction device and stereoscopic video display device
JP5428697B2 (en) * 2009-09-16 2014-02-26 ソニー株式会社 Receiving device, receiving method, transmitting device, and computer program
JP5166571B2 (en) * 2011-05-30 2013-03-21 株式会社東芝 Electronic device, display control method, and display control program
CN103548348B (en) * 2012-03-26 2016-10-05 松下知识产权经营株式会社 Stereoscopic image processing means and method for processing stereo image
CN109729365B (en) * 2017-10-27 2021-03-26 腾讯科技(深圳)有限公司 Video processing method and device, intelligent terminal and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055984A (en) * 2011-01-27 2011-05-11 山东大学 Three-dimensional video decoding structure for smoothly switching 2D and 3D play modes and operating method
WO2017080420A1 (en) * 2015-11-09 2017-05-18 Versitech Limited Auxiliary data for artifacts –aware view synthesis
CN106445437A (en) * 2016-09-08 2017-02-22 深圳市金立通信设备有限公司 Terminal and view angle switching method thereof
CN106454317A (en) * 2016-11-15 2017-02-22 天津大学 Three-dimensional video quality adaptation algorithm based on fuzzy control
CN108616557A (en) * 2016-12-13 2018-10-02 中兴通讯股份有限公司 A kind of panoramic video transmission method, device, terminal, server and system
CN106713891A (en) * 2016-12-16 2017-05-24 暴风集团股份有限公司 Method and system for playing cubic panoramic video based on D3D interface
CN108632631A (en) * 2017-03-16 2018-10-09 华为技术有限公司 The method for down loading and device of video slicing in a kind of panoramic video
CN109218848A (en) * 2017-07-06 2019-01-15 阿里巴巴集团控股有限公司 View angle switch method, apparatus, equipment and the computer storage medium of video flowing
CN107896333A (en) * 2017-11-29 2018-04-10 北京未来媒体科技股份有限公司 The method and device that a kind of remote control panoramic video based on intelligent terminal plays
CN110166764A (en) * 2018-02-14 2019-08-23 阿里巴巴集团控股有限公司 Visual angle synchronous method and device in Virtual Reality live streaming
CN110351607A (en) * 2018-04-04 2019-10-18 优酷网络技术(北京)有限公司 A kind of method, computer storage medium and the client of panoramic video scene switching
CN109587579A (en) * 2018-11-09 2019-04-05 深圳威尔视觉传媒有限公司 Multi-view code stream transmission method, device, equipment and storage medium based on CDN

Also Published As

Publication number Publication date
CN110913278A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN110913278B (en) Video playing method, display terminal and storage medium
CN109155873B (en) Method, apparatus and computer program for improving streaming of virtual reality media content
US11902350B2 (en) Video processing method and apparatus
US11632571B2 (en) Media data processing method and apparatus
US10897646B2 (en) Video stream transmission method and related device and system
CN109074678B (en) Information processing method and device
US10460501B2 (en) System and method for processing digital video
US20200145736A1 (en) Media data processing method and apparatus
CN108965929B (en) Video information presentation method, video information presentation client and video information presentation device
CN107888993B (en) Video data processing method and device
WO2018058773A1 (en) Video data processing method and apparatus
CN109587478A (en) A kind of processing method and processing device of media information
US20210218908A1 (en) Method for Processing Media Data, Client, and Server
CN107959861B (en) Data processing method, related equipment and system
WO2018058993A1 (en) Video data processing method and apparatus
WO2022116822A1 (en) Data processing method and apparatus for immersive media, and computer-readable storage medium
CN112203101B (en) Remote video live broadcast method and device and electronic equipment
US20230046971A1 (en) Data processing method, apparatus, and device for point cloud media, and storage medium
CN108271084B (en) Information processing method and device
CN111200580A (en) Player and playing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant