CN109587570B - Video playing method and device - Google Patents

Video playing method and device Download PDF

Info

Publication number
CN109587570B
CN109587570B CN201710912339.2A CN201710912339A CN109587570B CN 109587570 B CN109587570 B CN 109587570B CN 201710912339 A CN201710912339 A CN 201710912339A CN 109587570 B CN109587570 B CN 109587570B
Authority
CN
China
Prior art keywords
video
playing
videos
played
decoding
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
CN201710912339.2A
Other languages
Chinese (zh)
Other versions
CN109587570A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710912339.2A priority Critical patent/CN109587570B/en
Publication of CN109587570A publication Critical patent/CN109587570A/en
Application granted granted Critical
Publication of CN109587570B publication Critical patent/CN109587570B/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/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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video playing method and device. Wherein, the method comprises the following steps: receiving first indication information, wherein the first indication information at least comprises information indicating that a plurality of videos are played continuously according to a first sequence and indicating the playing start position and the playing end position of each video in the plurality of videos; acquiring a plurality of videos to be played according to the first indication information; the method comprises the steps of continuously playing a plurality of videos according to a first sequence, and when playing to the playing end position of a first video in the plurality of videos at the current moment, continuing playing from the playing start position of a second video in the plurality of videos at the next moment of the current moment, wherein the second video is a video which is indicated by the first sequence and is played after the first video. The invention solves the technical problem that the decoding and encoding needs to consume a long time before a plurality of videos are continuously played in the related technology.

Description

Video playing method and device
Technical Field
The invention relates to the field of internet, in particular to a video playing method and device.
Background
In life, there is often a need to continuously play a specified segment (and use a specific theme effect) in a plurality of videos, and in the related art, in order to achieve the need, the following manner is used:
step S11, taking the first video, locating the nearest key frame forward according to the video start time point selected by the user, decoding from the key frame, solving the image of a frame, and decoding until the video end time point selected by the user.
And step S12, taking the next video, decoding one frame of image in the time interval according to the starting time point and the ending time point of the video selected by the user, and sequentially decoding the image frames in the corresponding time interval of all the videos selected by the user.
In step S13, the image frames are encoded and compressed into a single video file.
In step S14, the independent video file is played and decoded by using a conventional player, and the theme effect is superimposed.
In the above technical solution, each video is decoded to take out the frame of the corresponding segment content, and then according to the sequence, the frame is encoded and compressed into the final complete video in a point-by-point manner, and after the complete video is obtained, the theme effect is superimposed on the complete video.
Decoding and encoding are very time consuming operations that consume from one third to one half the video duration even if hardware acceleration is used for decoding and encoding on a device such as an android phone. That is, the user wants to obtain one ten-minute video, and it takes three to five minutes each time the content of the video is changed, such time consumption is unbearable to the user because the preparation time before playing a plurality of videos is long.
Aiming at the technical problem that the decoding and encoding needs to consume a long time before a plurality of videos are played continuously in the related art, no effective solution is provided at present.
Disclosure of Invention
The embodiment of the invention provides a video playing method and a video playing device, which at least solve the technical problem that the decoding and encoding needs to consume a long time before a plurality of videos are continuously played in the related art.
According to an aspect of an embodiment of the present invention, there is provided a method for playing a video, the method including: receiving first indication information, wherein the first indication information at least comprises information indicating that a plurality of videos are played continuously according to a first sequence and indicating the playing start position and the playing end position of each video in the plurality of videos; acquiring a plurality of videos to be played according to the first indication information; the method comprises the steps of continuously playing a plurality of videos according to a first sequence, and when playing to the playing end position of a first video in the plurality of videos at the current moment, continuing playing from the playing start position of a second video in the plurality of videos at the next moment of the current moment, wherein the second video is a video which is indicated by the first sequence and is played after the first video.
According to another aspect of the embodiments of the present invention, there is also provided a video playing apparatus, including: a receiving unit, configured to receive first indication information, where the first indication information at least includes information indicating that a plurality of videos are continuously played in a first order and indicating a play start position and a play end position of each of the plurality of videos; the acquisition unit is used for acquiring a plurality of videos to be played according to the first indication information; the playing unit is used for continuously playing the plurality of videos according to a first sequence, and when the playing is finished at the current moment to the playing end position of a first video in the plurality of videos, the playing is continued from the playing start position of a second video in the plurality of videos at the next moment of the current moment, wherein the second video is a video which is indicated by the first sequence and is played after the first video.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device for video, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes any one of the methods described above through the computer program.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium of a video, the storage medium storing thereon a program for executing any one of the methods described above when the program is executed.
In the embodiment of the invention, when the first indication information is received, a plurality of videos to be played are obtained; the plurality of videos are continuously played according to the first sequence, when the playing ending position of the first video in the plurality of videos is played at the current moment, the playing starting position of the second video in the plurality of videos is played continuously at the next moment of the current moment, the second video is the video which is indicated by the first sequence and is played after the first video, and as the segment which needs to be played in the plurality of videos does not need to be decoded into a new video to be played in the playing process and the video to be played is prepared in advance to be played as needed, the technical problem that the decoding and encoding needs to consume long time before the plurality of videos are continuously played in the related technology can be solved, and the technical effect of directly and continuously playing the segment to be played in the plurality of videos is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of a hardware environment of a video playing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative video playback method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative player configuration according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative video segment according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of an alternative input data according to an embodiment of the invention;
FIG. 6 is a flow chart of an alternative method of playing video according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an alternative temporal control layer in accordance with embodiments of the present invention;
FIG. 8 is a schematic diagram of an alternative picture refresh layer according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of an alternative decoder operation according to an embodiment of the present invention;
FIG. 10 is a schematic illustration of an alternative image display according to an embodiment of the invention;
FIG. 11 is a schematic diagram of an alternative video playback device according to an embodiment of the present invention; and
fig. 12 is a block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, partial terms or terms appearing in the description of the embodiments of the present invention are applied to the following explanations:
a decoder (decoder) is a hardware or software device that can decode and restore a digital video and audio data stream into an analog video and audio signal. For example, mpeg4 for video, mp3, ac3, dts for audio, etc. encoders can compress and store original data, and in multimedia aspects, encoders mainly compress data encoded files for analog video and audio signals, and decoders convert the data encoded files into analog video and audio signals.
Frame: is a single image frame of the minimum unit in the video animation. One frame is a still picture, and the continuous frames form a moving picture, such as a television image. Each frame is a still image and displaying frames in rapid succession creates the illusion of motion. A high frame rate may result in a smoother, more realistic animation.
According to an embodiment of the present invention, a method embodiment of a video playing method is provided.
Alternatively, in this embodiment, the video playing method described above may be applied to a hardware environment formed by the server 102 and the terminal 104 as shown in fig. 1. As shown in fig. 1, a server 102 is connected to a terminal 104 via a network including, but not limited to: the terminal 104 is not limited to a PC, a mobile phone, a tablet computer, etc. in a wide area network, a metropolitan area network, or a local area network. The video playing method according to the embodiment of the present invention may be executed by the server 102, or executed by the terminal 104, or executed by both the server 102 and the terminal 104. The terminal 104 may execute the video playing method according to the embodiment of the present invention by a client installed thereon.
When the video playing method of the embodiment of the present invention is executed by the server or the terminal alone, the program code corresponding to the method of the present application may be executed directly on the server or the terminal.
When the video playing method of the embodiment of the invention is executed by the server and the terminal together, the terminal can initiate the video playing requirement, at this time, the terminal sends the first indication information to the server, and then the server executes the program code corresponding to the method of the application, and feeds back the video stream to be played to the terminal for playing.
The following describes an embodiment of the present application in detail by taking program codes corresponding to the method of the present application as an example, where the program codes are executed on a server or a terminal, and fig. 2 is a flowchart of an optional video playing method according to an embodiment of the present invention, and as shown in fig. 2, the method may include the following steps:
step S202, receiving first indication information, where the first indication information at least includes information indicating to continuously play the plurality of videos according to a first order and indicating a play start position and a play end position of each of the plurality of videos, that is, the first indication information is used to indicate to continuously play the plurality of videos according to the first order and indicate the play start position and the play end position of each of the plurality of videos.
The first indication information may be indication information generated according to operation information of a user, such as generated after the user sets a play start position and a play end position of each video and a play order of all videos in a player for playing the videos.
Alternatively, the first indication information may also be generated according to default settings in the player (settings regarding the play start position and the play end position of each video, and the play order of all videos). And when the user selects all the videos to be played, generating the videos according to default settings.
The video files of the plurality of videos are mutually independent and are coded independently. Allowing all videos to have the same video format also allows all videos not to have the same video format, and in extreme terms allows any two videos to have different video formats.
If the video formats of all the videos are different, a plurality of decoders can be adopted to decode the videos in parallel, so that the time consumed by replacing the decoders or decoding plug-ins (specifically including operations of starting, initializing, loading the videos, decoding the videos and the like) caused by different formats is avoided, and the videos with different formats can be played continuously.
Step S204, obtaining a plurality of videos to be played according to the first indication information (i.e. responding to the first indication information).
Step S206, continuously playing the plurality of videos according to a first sequence, and when playing to the playing end position of the first video in the plurality of videos at the current time, continuing playing from the playing start position of a second video in the plurality of videos at the next time of the current time, where the second video is a video indicated by the first sequence and played after the first video.
For playing a plurality of videos, the playing is similar to the playing of the same video, and for the connection between any two videos, no pause exists. For example, when playing a video frame of a first video, predecoding a second video in advance, wherein the video frame played at the current time is a video frame at the playing end position of the first video, and directly skipping to a video frame at the playing start position of the second video decoded in advance at the next time of the current time for playing.
Through the steps S202 to S206, when the first indication information is received, a plurality of videos to be played are acquired; the plurality of videos are continuously played according to the first sequence, when the playing ending position of the first video in the plurality of videos is played at the current moment, the playing starting position of the second video in the plurality of videos is played continuously at the next moment of the current moment, the second video is the video which is indicated by the first sequence and is played after the first video, and as the segment which needs to be played in the plurality of videos does not need to be decoded into a new video to be played in the playing process and the video to be played is prepared in advance to be played as needed, the technical problem that the decoding and encoding needs to consume long time before the plurality of videos are continuously played in the related technology can be solved, and the technical effect of directly and continuously playing the segment to be played in the plurality of videos is achieved.
The method can be integrated in a video player for use, and can also be integrated in an application with a video playing requirement for use. Including but not limited to P-map (i.e., image processing) applications, social applications, video processing applications, instant messaging applications. The applications can be installed on intelligent devices such as computers and mobile terminals, and the client can be obtained. Embodiments of the present application are described below in detail with reference to steps S202 to S206:
in the technical solution provided in step S202, the client receives first indication information generated based on a user operation, where the first indication information includes an indication that a plurality of videos are continuously played in a first order (a playing order specified by a user), and indicates a playing start position and a playing end position of each of the plurality of videos (that is, a playing start position and a playing end position set in the client by the user).
Optionally, the first indication information is further used to indicate a storage location of each video, where the storage location is a directory location where the video is located when the user selects the video.
Optionally, the first indication information is also used to indicate a target video theme (i.e., a theme effect, including but not limited to a video background, background music, a video foreground, a subtitle, an illustration, etc.) used when playing the video.
In the technical solution provided in step S204, according to the first indication information, the client acquires a plurality of videos to be played. Specifically, the client loads the videos according to the storage position of each video indicated by the first indication information.
In the technical solution provided in step S206, the client continuously plays the plurality of videos according to a first order, and when the playing end position of the first video in the plurality of videos is played at the current time, the playing is continued from the playing start position of a second video in the plurality of videos at the next time of the current time, where the second video is a video that is indicated by the first order and is played after the first video.
In an embodiment of the present application, playing the plurality of videos consecutively in the first order includes: before the first video is played, decoding a second video to be played through a first decoder to obtain decoded data, wherein the decoded data is at least used for indicating a video picture on the playing starting position of the second video; and when the first video is played to the playing ending position, continuing to play from the video picture at the playing starting position of the second video.
In this embodiment, when the first video is played, the first decoder is used to decode the second video to be played in advance, where the decoding at least includes decoding the video frame at the playing start position of the second video, and of course, may also include decoding the video frame after the playing start position of the second video. Through the pre-decoding, when the second video is played, the operations of starting the first decoder, initializing the first decoder, loading the video file of the second video by using the first decoder, identifying the video file of the second video, decoding the video frame at the playing starting position in the video file of the second video and the like do not need to be executed, so that the intermediate pause is avoided, and the effect of continuous playing is realized.
It should be noted that, for the first video, the decoding is performed by using a second decoder that operates in parallel with the first decoder. If the video formats of the plurality of videos are different, the decoding plug-in of the second decoder here is a decoding plug-in matching the video format of the first video, and correspondingly, the decoding plug-in of the first decoder is also a decoding plug-in matching the video format of the second video.
The second decoder does not stop running after the decoding of the first video is completed, and the present application adopts a mechanism in which two decoders (the first decoder and the second decoder) run alternately, before the playing of the first video is completed, the client decodes the first video by using the second decoder, and after the playing of the first video is completed, the client continues to decode a third video of the plurality of videos by using the second decoder to obtain decoded data, where the third video is a video indicated by the first sequence and played after the playing of the second video.
And when the video is played to the playing ending position of the second video, continuing to play from the video picture at the playing starting position of the third video indicated by the data obtained by decoding the third video by the second decoder.
In the above embodiment, if the video formats of the third video and the first video are the same, the decoding plug-in called when the second decoder decodes the third video is the same as the decoding plug-in called when the second decoder decodes the first video, and if the video formats of the third video and the first video are the same, the second decoder calls the decoding plug-in matching with the video format of the third video.
In an optional embodiment, when the first video is played, the decoding logic code of the second decoder may be executed by the first thread to decode the first video, and play a video picture indicated by data obtained by decoding the first video. Accordingly, playing the second video includes: and then, the decoding logic code of the first decoder can be executed through the second thread to decode the second video, and the video picture indicated by the data obtained by decoding the second video is played, wherein the second thread runs in parallel with the first thread.
Optionally, in the process of continuously playing the plurality of videos in the first order, an operation instruction is received, where the operation instruction is used to instruct one of the following operations to be performed on the playing video: pausing, ending, dragging, fast forwarding and fast rewinding; and responding to the operation instruction, and executing the operation indicated by the operation instruction.
In order to avoid the jam caused by the cross-video dragging fast forward of the user, when the first video is played, a plurality of third decoders can be used for pre-decoding the video behind the second video in advance, and each third decoder is used for decoding a corresponding video, so that when the cross-video dragging fast forward of the user occurs, the corresponding picture can be directly entered, and the jam stopping condition can not occur.
In the technical solution provided in step S206, the first indication information is further used for indicating a target video topic used when playing the video, where continuously playing the plurality of videos according to the first order includes: and setting the video subjects of the plurality of videos as target video subjects, and continuously playing the plurality of videos according to a first sequence. The theme here includes information of background, background music, subtitles, a map, etc. of the set video.
In an optional embodiment, after the plurality of videos are continuously played in the first order, a played video segment of the plurality of videos is stored as a target video in the first order, and the played video segment is a segment between the playing start position and the playing end position of the video indicated by the first indication information.
In another optional embodiment, after the plurality of videos are continuously played in the first order, if the user is not satisfied with the previous adjustment, the order of the plurality of videos, the playing start position and the playing end position of each video may be readjusted to generate second indication information corresponding to the readjusted information, and the client receives the second indication information, where the second indication information is used to indicate that the plurality of videos are continuously played in the second order and indicate the playing start position and the playing end position of each video of the plurality of videos. And performs the same procedure as that when the first indication information is received in the foregoing embodiment according to the second indication information.
The following detailed description of embodiments of the present application refers to specific real-time scenarios and implementations:
implementation scenario one
At present, the processing demand of users on videos is increasing. Providing efficient video processing capability is a direction of effort for applications (e.g., cell phone applications, computer applications). The user shoots a plurality of content-related segment videos in a travel or life scene. It is often desirable to organize them into a complete video and to add additional elements of music, text, stickers, etc. to the video to make it more expressive.
The mobile phone can provide various theme effects (styles, backgrounds and templates) to meet the preferences of different users so as to adapt to the styles of different content videos. The user needs to preview the theme effects first, and then can select the favorite theme effects from the theme effects to generate the final complete video.
The user shoots the obtained video according to the scene during shooting, and the video is added into the final complete video and has redundant parts. Therefore, a user may hope that when a plurality of videos are arranged into a complete video, the segment interval of each video can be designated, and the video content segment which is considered to be really important by the user can be selected to arrange an essential complete video.
When an essential complete video is arranged, the user can also adjust the video, the user can hope to quickly see the effect every time the user modifies the time of the selected video clip and every time the user switches different theme effects to preview, and therefore whether the next adjustment is needed can be judged.
By using the method in the embodiment of the application, videos to be processed are selected, the clip intercepting time (the playing start position and the playing end position of each video) of each video is appointed, the player can immediately play the complete video, and no pause exists in the middle, so that the function of quickly previewing the effect is provided.
In implementing the present application, "continuously playing a plurality of videos in a first order, and when playing to a playing end position of a first video in the plurality of videos at a current time, continuing to play from a playing start position of a second video in the plurality of videos at a next time of the current time, where the second video is a video that is indicated by the first order and played after the first video", the present embodiment provides an optional implementation manner as follows: this is achieved by designing a player (or client) comprising a five-layer process model. As shown in fig. 3, the five-layer process model includes:
a state control layer: each state of the player is controlled.
A time control layer: the time axis of the player is controlled to determine when to refresh the next frame.
A picture refreshing layer: and receiving a refreshing request of the time control layer, and acquiring corresponding frame image data by the de-decoding layer.
A decoding layer: the double-decoder double-thread is used for decoding the video file, and when the frame image is needed by the picture refreshing layer, the frame image can be given out at the first time.
Rendering a layer: and is responsible for correctly rendering the decoded image data (frame image) on the screen.
Before describing the five-layer processing model in detail, a data representation mode of a video clip to be played is described:
the VideoItem represents a segment range in which a video is to be played, and has a structure as shown in fig. 4, where start specifies a start time (play start position) of the segment, and end specifies an end time (play end position) of the segment.
The input data is a List with VideoItem as a basic unit, as shown in fig. 5.
The five-layer model realized by the player is described in detail as follows:
(1) state control layer
Receives input data and controls the state of the player. The state diagram for implementation is shown in fig. 6:
step S602, a position to which the decoded frame is to be rendered is set by using the setSurfaces () function. And sets input data, i.e., an input data List VideoItem List, using a setDataSource () function.
In step S604, the player is initialized by the prepare () function, and the player enters the ready state.
Step S606, the player starts playing through the start () function.
In step S608, the operation indicated by the user instruction is executed, for example, when the instruction is received, the player is paused through the pause () function, the playing of the player is ended through the stop () function, and the like.
(2) Time control layer
For sensing the lapse of time and then deciding whether a next frame needs to be refreshed based on the current time. If refresh is required, the picture is notified to refresh the layer.
The display time stamp of each frame in the segment of the original video is converted into the display time stamp of each frame in the player, and the resulting mFrameStamps (mFrameStamps are a time data list) is shown in fig. 7. The temporal control layer compares the current time with the mFrameStamps to determine whether the next frame needs to be refreshed.
(3) Picture refreshing layer
And the decoder is scheduled to give the next frame data when the indication for refreshing the next frame by the time control layer is obtained.
As shown in fig. 8, clip information of all inputted videos is recorded in mVideoItems. When the player plays, the switching time between videos is recorded in the mEndings. The mfontWorker and the mpBackWorker are two decoding threads (or decoding processes), the mfontWorker being responsible for decoding the currently required frame and the mpBackWorker being responsible for preparing the first frame of the segment of the next video. When video is switched, the two decoding threads are also switched.
(4) Decoding layer
As shown in fig. 9, two decoders of mcackworker and mcontworker are included, and decoding actions are performed in two threads respectively. The mfontWorker is responsible for decoding the currently needed frame, which prepares the first frame of the next video clip. The two decoding threads interoperate, running alternately, to give the next frame quickly.
(5) Rendering layers
Each decoder corresponds to a surface (which is a handle of the raw buffer of the original image buffer), and the decoded frame image is dropped into the corresponding surface. The rendering layer controls which surface image should be rendered onto the display screen each time the image is refreshed.
Through the embodiment, after the user selects a plurality of videos and designates the time segment to be played of each video, the user can immediately see the playing effect of the video segments which are combined into the whole video, and the fluency is the same as that of the whole video. When the user modifies the selected video and modifies the time segment of the selected video, the effect of seamless playing of the video segments can be immediately previewed.
(II) implementation scenario II
At present, with the development of the internet, videos are more and more abundant, and how to find valuable videos from the videos becomes a more tedious matter, for example, a large number of videos (which may be repeated or overlapped) may exist in the same event (field, news, etc.), by using the method of the present application, the series of videos can be processed to obtain a video with main content concentrated, so that the user can watch the videos conveniently, and the time for the user to find the videos and drag and filter the repeated content by himself is saved.
For a specific implementation, reference may be made to the implementation scheme in the first real-time scenario, which is not described herein again.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
According to the embodiment of the invention, the video playing device for implementing the video playing method is also provided. Fig. 11 is a schematic diagram of an alternative video playing apparatus according to an embodiment of the present invention, and as shown in fig. 11, the apparatus may include: a receiving unit 112, an obtaining unit 114, and a playing unit 116.
A receiving unit 112, configured to receive first indication information, where the first indication information at least includes information indicating that a plurality of videos are played continuously in a first order and indicating a play start position and a play end position of each of the plurality of videos.
The first indication information may be indication information generated according to operation information of a user, such as generated after the user sets a play start position and a play end position of each video and a play order of all videos in a player for playing the videos.
Alternatively, the first indication information may also be generated according to default settings in the player (settings regarding the play start position and the play end position of each video, and the play order of all videos). And when the user selects all the videos to be played, generating the videos according to default settings.
The video files of the plurality of videos are mutually independent and are coded independently. Allowing all videos to have the same video format also allows all videos not to have the same video format, and in extreme terms allows any two videos to have different video formats.
An obtaining unit 114, configured to obtain a plurality of videos to be played according to the first indication information.
The playing unit 116 is configured to continuously play the plurality of videos in a first order, and when the playing is completed at the current time to the playing end position of the first video in the plurality of videos, continue playing from the playing start position of a second video in the plurality of videos at a next time of the current time, where the second video is a video that is indicated by the first order and played after the first video.
For playing a plurality of videos, the playing is similar to the playing of the same video, and for the connection between any two videos, no pause exists. For example, when playing a video frame of a first video, predecoding a second video in advance, wherein the video frame played at the current time is a video frame at the playing end position of the first video, and directly skipping to a video frame at the playing start position of the second video decoded in advance at the next time of the current time for playing.
It should be noted that the receiving unit 112 in this embodiment may be configured to execute step S202 in this embodiment, the obtaining unit 114 in this embodiment may be configured to execute step S204 in this embodiment, and the playing unit 116 in this embodiment may be configured to execute step S206 in this embodiment.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 1, and may be implemented by software or hardware.
Through the module, when the first indication information is received, a plurality of videos to be played are obtained; the plurality of videos are continuously played according to the first sequence, when the playing ending position of the first video in the plurality of videos is played at the current moment, the playing starting position of the second video in the plurality of videos is played continuously at the next moment of the current moment, the second video is the video which is indicated by the first sequence and is played after the first video, and as the segment which needs to be played in the plurality of videos does not need to be decoded into a new video to be played in the playing process and the video to be played is prepared in advance to be played as needed, the technical problem that the decoding and encoding needs to consume long time before the plurality of videos are continuously played in the related technology can be solved, and the technical effect of directly and continuously playing the segment to be played in the plurality of videos is achieved.
The device of the application can be integrated in a video player for use, and can also be integrated in an application with a video playing requirement for use. Including but not limited to P-graph applications, social applications, video processing applications, instant messaging applications. The applications can be installed on intelligent devices such as computers and mobile terminals, and the client can be obtained.
In an embodiment of the present application, the playback unit includes: the first decoding module is used for decoding a second video to be played through a first decoder before the playing of the first video is finished to obtain decoded data, wherein the decoded data is at least used for indicating a video picture at the playing starting position of the second video; and the first playing module is used for continuing to play from the video picture on the playing starting position of the second video when the first video is played to the playing ending position of the first video.
Optionally, the second decoder does not stop operating after the decoding of the first video is completed, and the present application adopts a mechanism that two decoders (the first decoder and the second decoder) operate alternately, and the apparatus of the present application may further include: the second decoding module is used for decoding a third video in the plurality of videos through a second decoder after the playing of the first video is finished to obtain decoded data, wherein the second decoder is used for decoding the first video before the playing of the first video is finished, and the third video is a video which is indicated by the first sequence and is played after the playing of the second video; and the second playing module is used for continuing to play the video picture at the playing starting position of the third video indicated by the data decoded by the second decoder when the playing of the second video is finished.
Optionally, the playback unit further comprises: and the third playing module is used for executing the decoding logic code of the second decoder through the first thread to decode the first video and playing the video picture indicated by the data obtained by decoding the first video. The first playing module is further configured to execute the decoding logic code of the first decoder through a second thread to decode the second video and play a video picture indicated by data obtained by decoding the second video, where the second thread runs in parallel with the first thread.
Optionally, the first indication information is further configured to indicate a target video topic used when the video is played, and the playing unit is further configured to set a video topic of the plurality of videos as the target video topic, and continuously play the plurality of videos according to the first order.
Optionally, the apparatus of the present application may further comprise: and the storage unit is used for storing a played video segment in the plurality of videos as a target video according to a first sequence after the plurality of videos are continuously played according to the first sequence, wherein the played video segment is a segment between a playing start position and a playing end position of the video indicated by the first indication information.
After the plurality of videos are continuously played in the first order, the receiving unit is further configured to receive second indication information, where the second indication information is used to indicate that the plurality of videos are continuously played in the second order and indicate a play start position and a play end position of each of the plurality of videos.
Through the embodiment, after the user selects a plurality of videos and designates the time segment to be played of each video, the user can immediately see the playing effect of the video segments which are combined into the whole video, and the fluency is the same as that of the whole video. When the user modifies the selected video and modifies the time segment of the selected video, the effect of seamless playing of the video segments can be immediately previewed.
As an alternative embodiment, the apparatus of the present application may be integrated in a video player, and may also be integrated in an application that requires video playing. Including but not limited to P-graph applications, social applications, video processing applications, instant messaging applications. The applications can be installed on intelligent devices such as computers and mobile terminals.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to an embodiment of the present invention, a server or a terminal (i.e., an electronic device) for implementing the video playing method is also provided.
Fig. 12 is a block diagram of a terminal according to an embodiment of the present invention, and as shown in fig. 12, the terminal may include: one or more processors 1201 (only one is shown in fig. 12), a memory 1203, and a transmission means 1205 (such as the transmission means in the above embodiments), as shown in fig. 12, the terminal may further include an input-output device 1207.
The memory 1203 may be used to store software programs and modules, such as program instructions/modules corresponding to the video playing method and apparatus in the embodiments of the present invention, and the processor 1201 executes various functional applications and data processing by running the software programs and modules stored in the memory 1203, that is, implements the video playing method described above. The memory 1203 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1203 may further include memory located remotely from the processor 1201, which may be connected to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The above-mentioned transmission means 1205 is used for receiving or sending data via a network, and may also be used for data transmission between the processor and the memory. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1205 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 1205 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
Among them, the memory 1203 is specifically used for storing an application program.
The processor 1201 may invoke an application stored in the memory 1203 via the transmission 1205 to perform the following steps: receiving first indication information, wherein the first indication information at least comprises information indicating that a plurality of videos are played continuously according to a first sequence and indicating the playing start position and the playing end position of each video in the plurality of videos; acquiring a plurality of videos to be played according to the first indication information; the method comprises the steps of continuously playing a plurality of videos according to a first sequence, and when playing to the playing end position of a first video in the plurality of videos at the current moment, continuing playing from the playing start position of a second video in the plurality of videos at the next moment of the current moment, wherein the second video is a video which is indicated by the first sequence and is played after the first video.
The processor 1201 is further configured to perform the following steps: before the first video is played, decoding a second video to be played through a first decoder to obtain decoded data, wherein the decoded data is at least used for indicating a video picture at the playing starting position of the second video; and when the first video is played to the playing ending position, continuing to play from the video picture at the playing starting position of the second video.
By adopting the embodiment of the invention, when the first indication information is received, a plurality of videos to be played are obtained; the plurality of videos are continuously played according to the first sequence, when the playing ending position of the first video in the plurality of videos is played at the current moment, the playing starting position of the second video in the plurality of videos is played continuously at the next moment of the current moment, the second video is the video which is indicated by the first sequence and is played after the first video, and as the segment which needs to be played in the plurality of videos does not need to be decoded into a new video to be played in the playing process and the video to be played is prepared in advance to be played as needed, the technical problem that the decoding and encoding needs to consume long time before the plurality of videos are continuously played in the related technology can be solved, and the technical effect of directly and continuously playing the segment to be played in the plurality of videos is achieved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 12 is only an illustration, and the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 12 is a diagram illustrating a structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 12, or have a different configuration than shown in FIG. 12.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The embodiment of the invention also provides a storage medium. Alternatively, in this embodiment, the storage medium may be a program code for executing a video playing method.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
s21, receiving first indication information, wherein the first indication information at least comprises information indicating that a plurality of videos are played continuously according to a first sequence and indicating the playing start position and the playing end position of each video in the plurality of videos;
s22, acquiring a plurality of videos to be played according to the first indication information;
s23, playing the plurality of videos continuously in a first order, and when playing to the playing end position of the first video in the plurality of videos at the current time, continuing playing from the playing start position of the second video in the plurality of videos at the next time of the current time, where the second video is a video that is indicated by the first order and played after the first video.
Optionally, the storage medium is further arranged to store program code for performing the steps of:
s31, before playing the first video, decoding a second video to be played through a first decoder to obtain decoded data, wherein the decoded data is at least used for indicating a video picture at the playing start position of the second video;
s32, when the playback is completed to the playback completion position of the first video, the playback is continued from the video screen at the playback start position of the second video.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (13)

1. A method for playing a video, comprising:
receiving first indication information, wherein the first indication information at least includes information indicating that a plurality of videos are played continuously in a first order and indicating a playing start position and a playing end position of each video in the plurality of videos, and the first indication information is further used for indicating a target video theme used when the plurality of videos are played, and the target video theme includes at least one of a video background, background music, a video foreground, subtitles and illustrations;
acquiring the plurality of videos to be played according to the first indication information;
continuously playing the videos according to the first sequence, and in the process of continuously playing the videos, setting a theme used by the videos as a target video theme, wherein when the video is played to a playing end position of a first video in the videos at a current moment, the video is continuously played from a playing start position of a second video in the videos at a next moment of the current moment, and the second video is a video indicated by the first sequence and played after the first video;
continuously playing the plurality of videos in the first order, comprising: under the condition that the video formats of the plurality of videos are different, respectively decoding the plurality of videos in parallel by adopting a first decoder and a second decoder through an alternate operation mechanism to obtain the decoded first video and the decoded second video, wherein a decoding plug-in of the second decoder is a decoding plug-in matched with the video format of the first video, and a decoding plug-in of the first decoder is a decoding plug-in matched with the video format of the second video;
the method further comprises the following steps: before the playing of the first video is finished, decoding the first video by using the second decoder, and after the playing of the first video is finished, decoding a third video in the plurality of videos by using the second decoder to obtain decoded data, wherein the third video is a video which is indicated by the first sequence and is played after the playing of the second video;
the method further comprises the following steps: under the condition that the video formats of the third video and the first video are the same, a decoding plug-in called when the second decoder decodes the third video is the same as the decoding plug-in called when the second decoder decodes the first video, and under the condition that the video formats of the third video and the first video are different, the second decoder calls a decoding plug-in matched with the video format of the third video;
the method further comprises the following steps: when the first video is played, pre-decoding videos after the second video in advance by utilizing a plurality of third decoders, wherein each third decoder is used for decoding a corresponding one of the videos.
2. The method of claim 1, wherein playing the plurality of videos in succession in the first order comprises:
before the first video is played, decoding the second video to be played through a first decoder to obtain decoded data, wherein the decoded data is at least used for indicating a video picture at the playing starting position of the second video;
and when the first video is played to the playing ending position of the first video, continuing to play from the video picture on the playing starting position of the second video.
3. The method of claim 2, wherein after the playing of the first video is completed, the method further comprises:
decoding a third video of the plurality of videos through a second decoder to obtain decoded data, wherein the second decoder is used for decoding the first video before the first video finishes playing, and the third video is a video indicated by the first sequence and played after the second video is played;
and when the video is played to the playing ending position of the second video, continuing to play from the video picture at the playing starting position of the third video indicated by the data decoded by the second decoder.
4. The method according to claim 2 or 3,
playing the first video comprises: executing a decoding logic code of a second decoder through a first thread to decode the first video and play a video picture indicated by data obtained by decoding the first video;
playing the second video comprises: and executing the decoding logic code of the first decoder through a second thread to decode the second video and play a video picture indicated by data obtained by decoding the second video, wherein the second thread runs in parallel with the first thread.
5. The method of claim 1, wherein after the plurality of videos are played consecutively in the first order, the method further comprises:
and storing the played video segment in the plurality of videos as a target video according to the first sequence, wherein the played video segment is a segment between the playing start position and the playing end position of the video indicated by the first indication information.
6. The method of claim 1, wherein after the plurality of videos are played consecutively in the first order, the method further comprises:
and receiving second indication information, wherein the second indication information is used for indicating that the plurality of videos are played continuously according to a second sequence and indicating the playing start position and the playing end position of each video in the plurality of videos.
7. A video playback apparatus, comprising:
a receiving unit, configured to receive first indication information, where the first indication information at least includes information indicating that a plurality of videos are played continuously in a first order and indicating a play start position and a play end position of each of the plurality of videos, and the first indication information is further used to indicate a target video theme used when the plurality of videos are played, where the target video theme includes at least one of a video background, background music, a video foreground, subtitles, and an illustration;
the acquisition unit is used for acquiring the plurality of videos to be played according to the first indication information;
a playing unit, configured to continuously play the multiple videos according to the first order, and set a theme used by the multiple videos as a target video theme in a process of continuously playing the multiple videos, where when playing to a playing end position of a first video in the multiple videos at a current time, playing is continued from a playing start position of a second video in the multiple videos at a next time of the current time, where the second video is a video indicated by the first order and played after the first video;
the playing unit is configured to continuously play the plurality of videos in the first order by: under the condition that the video formats of the plurality of videos are different, respectively decoding the plurality of videos in parallel by adopting a first decoder and a second decoder through an alternate operation mechanism to obtain the decoded first video and the decoded second video, wherein a decoding plug-in of the second decoder is a decoding plug-in matched with the video format of the first video, and a decoding plug-in of the first decoder is a decoding plug-in matched with the video format of the second video;
the apparatus is further configured to: before the playing of the first video is finished, decoding the first video by using the second decoder, and after the playing of the first video is finished, decoding a third video in the plurality of videos by using the second decoder to obtain decoded data, wherein the third video is a video which is indicated by the first sequence and is played after the playing of the second video;
the apparatus is further configured to: under the condition that the video formats of the third video and the first video are the same, a decoding plug-in called when the second decoder decodes the third video is the same as the decoding plug-in called when the second decoder decodes the first video, and under the condition that the video formats of the third video and the first video are different, the second decoder calls a decoding plug-in matched with the video format of the third video;
the apparatus is further configured to: when the first video is played, pre-decoding videos after the second video in advance by utilizing a plurality of third decoders, wherein each third decoder is used for decoding a corresponding one of the videos.
8. The apparatus of claim 7, wherein the playback unit comprises:
the first decoding module is configured to decode, by a first decoder, the second video to be played before playing of the first video is completed, so as to obtain decoded data, where the decoded data is at least used to indicate a video picture at a playing start position of the second video;
and the first playing module is used for continuing to play from the video picture on the playing starting position of the second video when the first video is played to the playing ending position of the first video.
9. The apparatus of claim 8, further comprising:
a second decoding module, configured to decode, by a second decoder, a third video of the multiple videos after the playing of the first video is completed, so as to obtain decoded data, where before the playing of the first video is finished, the second decoder is configured to decode the first video, and the third video is a video indicated by the first sequence and played after the playing of the second video;
and the second playing module is used for continuing to play the video picture at the playing starting position of the third video indicated by the data decoded by the second decoder when the second video is played to the playing ending position of the second video.
10. The apparatus according to claim 8 or 9,
the playback unit further includes: the third playing module is used for executing the decoding logic code of the second decoder through the first thread to decode the first video and playing the video picture indicated by the data obtained by decoding the first video;
the first playing module is further configured to execute the decoding logic code of the first decoder through a second thread to decode the second video and play a video picture indicated by data obtained by decoding the second video, where the second thread runs in parallel with the first thread.
11. The apparatus of claim 7, further comprising:
and a storage unit, configured to store, as a target video, a video segment that is played in the first order after the plurality of videos are continuously played in the first order, where the played video segment is a segment from a playing start position to a playing end position of the video indicated by the first indication information.
12. A storage medium, comprising a stored program, wherein the program, when executed on a processor, performs the method of any one of claims 1 to 6.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the method of any of the preceding claims 1 to 6 by means of the computer program.
CN201710912339.2A 2017-09-29 2017-09-29 Video playing method and device Active CN109587570B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710912339.2A CN109587570B (en) 2017-09-29 2017-09-29 Video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710912339.2A CN109587570B (en) 2017-09-29 2017-09-29 Video playing method and device

Publications (2)

Publication Number Publication Date
CN109587570A CN109587570A (en) 2019-04-05
CN109587570B true CN109587570B (en) 2022-02-22

Family

ID=65919043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710912339.2A Active CN109587570B (en) 2017-09-29 2017-09-29 Video playing method and device

Country Status (1)

Country Link
CN (1) CN109587570B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109996104A (en) * 2019-04-22 2019-07-09 北京奇艺世纪科技有限公司 A kind of video broadcasting method, device and electronic equipment
CN110996134B (en) * 2019-12-23 2022-09-09 腾讯科技(深圳)有限公司 Video playing method, device and storage medium
CN111949825B (en) * 2020-08-21 2024-05-28 上海连尚网络科技有限公司 Method for adding and displaying article information in video, electronic device and storage medium
CN114125516B (en) * 2020-08-26 2024-05-10 Oppo(重庆)智能科技有限公司 Video playing method, wearable device and storage medium
CN112399238B (en) * 2020-10-28 2023-01-31 维沃移动通信有限公司 Video playing method and device and electronic equipment
CN112887774A (en) * 2021-02-05 2021-06-01 冠捷显示科技(厦门)有限公司 Method and device for playing content seamlessly
CN113507637A (en) * 2021-07-13 2021-10-15 北京字跳网络技术有限公司 Media file processing method, device, equipment, readable storage medium and product
CN114286184B (en) * 2021-12-15 2023-11-28 北京达佳互联信息技术有限公司 Video playing method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581230A (en) * 2015-01-20 2015-04-29 卡内基投资科技有限公司 Method capable of continuously playing different video clips without regeneration
CN105376612A (en) * 2014-08-26 2016-03-02 华为技术有限公司 Video playing method, media equipment, playing equipment and multimedia system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100586883B1 (en) * 2004-03-04 2006-06-08 삼성전자주식회사 Method and apparatus for video coding, pre-decoding, video decoding for vidoe streaming service, and method for image filtering
CN101710992B (en) * 2009-11-16 2011-08-24 乐视网信息技术(北京)股份有限公司 Pre-decoding high definition player and playing method
WO2012154156A1 (en) * 2011-05-06 2012-11-15 Google Inc. Apparatus and method for rendering video using post-decoding buffer
CN106604056B (en) * 2016-11-30 2019-05-24 腾讯科技(深圳)有限公司 Video broadcasting method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376612A (en) * 2014-08-26 2016-03-02 华为技术有限公司 Video playing method, media equipment, playing equipment and multimedia system
CN104581230A (en) * 2015-01-20 2015-04-29 卡内基投资科技有限公司 Method capable of continuously playing different video clips without regeneration

Also Published As

Publication number Publication date
CN109587570A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN109587570B (en) Video playing method and device
US11551721B2 (en) Video recording method and device
CN106257930B (en) Generate the dynamic time version of content
US11582497B2 (en) Methods, systems, processors and computer code for providing video clips
US10460501B2 (en) System and method for processing digital video
CN105359544B (en) Special play-back in digital video frequency flow transmission
CN106792152B (en) Video synthesis method and terminal
CN104159151A (en) Device and method for intercepting and processing of videos on OTT box
CN103190092A (en) A system and method for synchronized playback of streaming digital content
CN110858827B (en) Broadcast starting acceleration method and device and computer readable storage medium
CN109905749B (en) Video playing method and device, storage medium and electronic device
EP3361738A1 (en) Method and device for stitching multimedia files
US20200304768A1 (en) Methods, systems, and media for generating a summarized video using frame rate modification
US10142605B1 (en) Systems and methods for playing a video clip of an encoded video file
US20170213577A1 (en) Device for generating a video output data stream, video source, video system and method for generating a video output data stream and a video source data stream
JP2020524450A (en) Transmission system for multi-channel video, control method thereof, multi-channel video reproduction method and device thereof
JP7290260B1 (en) Servers, terminals and computer programs
CN115314732B (en) Multi-user collaborative film examination method and system
US9451231B1 (en) Systems and methods for switching between multiple software video players linked to a single output
EP2978225B1 (en) Method for obtaining in real time a user selected multimedia content part
US11546666B1 (en) Key event trick-play operation
CN212649591U (en) Terminal recording and playing system
CN115002335B (en) Video processing method, apparatus, electronic device, and computer-readable storage medium
JP2016082266A (en) Recording/reproducing apparatus
EP4285597A1 (en) Methods for generating videos, and related systems and servers

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