CN112911402A - Video playing method, device, terminal and computer readable storage medium - Google Patents

Video playing method, device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN112911402A
CN112911402A CN202110069784.3A CN202110069784A CN112911402A CN 112911402 A CN112911402 A CN 112911402A CN 202110069784 A CN202110069784 A CN 202110069784A CN 112911402 A CN112911402 A CN 112911402A
Authority
CN
China
Prior art keywords
video data
video
target
playing
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.)
Granted
Application number
CN202110069784.3A
Other languages
Chinese (zh)
Other versions
CN112911402B (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202110069784.3A priority Critical patent/CN112911402B/en
Publication of CN112911402A publication Critical patent/CN112911402A/en
Application granted granted Critical
Publication of CN112911402B publication Critical patent/CN112911402B/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/4728End-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 selecting a Region Of Interest [ROI], e.g. for requesting a higher resolution version of a selected region
    • 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/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/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/632Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing using a connection between clients on a wide area network, e.g. setting up a peer-to-peer communication via Internet for retrieving video segments from the hard-disk of other client devices
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video playing method, a video playing device, a terminal and a computer readable storage medium, wherein the method comprises the following steps: acquiring the starting time and the ending time of a target segment in a target video, and downloading target video data according to the starting time and the ending time, wherein the target video data comprises first video data and second video data; decoding the first video data and then playing; after a preset instruction is obtained, decoding and playing the second video data; the first video data is the video data of the target segment, and the second video data comprises the video data with a first preset time length before the starting time and the video data with a second preset time length after the ending time. The invention also downloads the video data of a certain time before the starting time and after the ending time of the target segment when downloading the video data of the target segment, so that the user can play smoothly when interested in the front and back contents of the target segment after watching the target segment and selecting to watch.

Description

Video playing method, device, terminal and computer readable storage medium
Technical Field
The present invention relates to the multimedia field, and in particular, to a video playing method, apparatus, terminal, and computer-readable storage medium.
Background
Many video applications now provide a function of "only see him" or "only see climax part", a corresponding segment is preset, after the user starts the function, the user can automatically skip other parts and only play the corresponding segment, in this case, the application only downloads the data of the corresponding segment, but due to the fact that the content in the video has front-back correlation, the user is likely to be interested in the content before or after the segment after watching one segment, and also wants to watch the video content before watching the next segment, and since the application downloads the data of the preset segment in advance, the user needs to download and decode the other content in real time, and the problem of unsmooth playing or even jamming can be caused.
Thus, there is a need for improvements and enhancements in the art.
Disclosure of Invention
The invention provides a video playing method, a video playing device, a video playing terminal and a computer readable storage medium, and aims to solve the problem that in the prior art, when a user watches adjacent content of a preset segment in a video, playing is not smooth.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
in a first aspect of the present invention, a video playing method is provided, including:
acquiring the starting time and the ending time of a target segment in a target video, and downloading target video data according to the starting time and the ending time, wherein the target video data comprises first video data and second video data;
decoding the first video data and then playing;
after a preset instruction is obtained, decoding and playing the second video data;
the first video data is the video data of the target segment, and the second video data comprises the video data of a first preset duration before the starting time and the video data of a second preset duration after the ending time.
The video playing method, wherein before the start time and the end time of the target segment in the target video are obtained, the method further includes:
and acquiring a segment selection instruction, and determining the target segment according to the segment selection instruction.
The video playing method, wherein the decoding and playing the first video data includes:
and decoding the first video data and outputting the decoded first video data to a screen for playing.
The video playing method, wherein after downloading the target video data according to the starting time and the ending time, comprises:
directly sending the first video data to a decoding module;
and processing the second video data and then sending the second video data to the decoding module.
The video playing method, wherein the directly sending the first video data to a decoding module, includes:
and generating a data transmission driving signal to control a video transmission control module to generate a transmission signal, wherein the frequency of the transmission signal is greater than the output speed of the first video data.
The video playing method, wherein the processing the second video data and then sending the second video data to the decoding module, includes:
and performing signal enhancement or attenuation processing on the second video data and then sending the second video data to the decoding module.
The video playing method, wherein the performing signal enhancement or signal reduction processing on the second video data includes:
and generating a video transmission control signal, and overlapping the video transmission control signal with the digital signal of the second video data.
In a second aspect of the present invention, there is provided a video playback apparatus, including:
the data downloading module is used for acquiring the starting time and the ending time of a target segment in a target video and downloading target video data according to the starting time and the ending time, wherein the target video data comprises first video data and second video data;
the playing module is used for decoding and playing the first video data, and decoding and playing the second video data after acquiring a preset instruction;
the first video data is the video data of the target segment, and the second video data comprises the video data of a first preset duration before the starting time and the video data of a second preset duration after the ending time.
In a third aspect of the present invention, a terminal is provided, where the terminal includes: the video playing system comprises a processor and a computer-readable storage medium which is in communication connection with the processor, wherein the computer-readable storage medium is suitable for storing a plurality of instructions, and the processor is suitable for calling the instructions in the computer-readable storage medium to execute the steps for realizing the video playing method.
In a fourth aspect of the present invention, a computer-readable storage medium is provided, in which one or more programs are stored, the one or more programs being executable by one or more processors to implement the steps of the above-mentioned video playing method.
Compared with the prior art, the embodiment of the invention has the following advantages:
compared with the prior art, the invention provides a video playing method, a device, a terminal and a computer readable storage medium, when a user selects and watches a designated target segment, the video data of the target segment is downloaded, and the video data before the starting time and after the ending time of the target segment are also downloaded for a certain time, so that the user can play smoothly when interested in selecting and watching the front and back contents of the target segment after watching the target segment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an embodiment of a video playing method provided in the present invention;
fig. 2 is a schematic structural diagram of an embodiment of a video playing apparatus provided in the present invention;
fig. 3 is a schematic diagram of an embodiment of a terminal provided by 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.
Various non-limiting embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Example one
The video playing method provided in this embodiment is applied to a terminal, where a processor is disposed in the terminal, and the processor executes the steps of the video playing method provided in this embodiment, so that the terminal plays a video according to the video playing method provided in this embodiment, and the terminal may be, but is not limited to, a computer, a mobile phone, a tablet computer, a vehicle-mounted device, a wearable device, and the like.
Referring to fig. 1, fig. 1 is a flowchart illustrating a video playing method according to an embodiment of the present invention. The video playing method comprises the following steps:
s100, acquiring the starting time and the ending time of a target segment in a target video, and downloading target video data according to the starting time and the ending time.
The target video data comprises first video data and second video data, the first video data is the video data of the target segment, and the second video data comprises video data of a first preset duration before the starting time and video data of a second preset duration after the ending time. Specifically, when a user browses a video website or uses a video application by using a terminal, the video website and the video application can display a plurality of videos, the user can select the target video to watch according to the needs of the user, the user can select the target video by means of click operation or voice control, and after selecting the target video, the user can select whether to watch a target segment in the target video, specifically, the user can select whether to start functions of 'only watching him' or 'only watching a climax part', and the like, and select to watch one or more segments preset in the target video, wherein the target segment is one or more segments preset in the target video.
Specifically, many video websites and video applications have developed functions of "only see him" and "only see climax part", one or several segments are set in advance from a longer video, the user does not play the whole video when starting the functions of "only see him" or "only see climax part", but automatically skips other parts, sequentially plays one or several preset segments in the video, for example, the "see only" function, is to select and mark in advance segments of the video where a certain actor appears, when the user selects to only see a certain actor, the segments of the actor appearing in the video selected in advance are automatically played in sequence, the function of only watching the climax part is to mark the wonderful segments in the video in advance, and when the user selects to start the function of only watching the climax part, the wonderful segments selected from the video in advance can be automatically played in sequence. However, since the contents of the video mostly have front-back continuity, in many cases, the scenario of an actor may exceed the range of the segment where the actor appears, a highlight segment may be generated due to long-time accumulation, which may cause the scenario to be discontinuous when only the segment of the actor or the highlight segment is watched, the scenario cannot be understood, and the user may have interest in the start and the end of the scenario of the segment after watching a segment, which may cause the user to know the start of the scenario of the segment by pulling the progress bar to watch a small part of the content before the segment before watching the segment when watching a segment, or to watch the content after the segment to know the end of the scenario after watching the segment by pulling the progress bar after watching the segment, and, a user who has turned on the "see only" function tends to be discouraged from a scenario that is not associated with the relevant actor, and therefore, after selecting a target segment, the user will mostly view only the preceding and following segments of the target segment to determine whether the relevant scenario exists. And under the 'only watching the other' mode, the terminal only downloads the data of the preset segment, and when a user watches a certain preset segment, the user plays and downloads the data of the rest segments simultaneously, so that the user is ensured to play more smoothly when watching the next segment, but when watching the content of the non-preset segment, the user cannot download in advance, and the phenomenon of unsmooth playing or even blockage can be caused.
In order to solve the above problem, in the video playing method provided in this embodiment, after the user selects to play the target segment in the target video, in addition to downloading the video data of the target segment, the video data in a period of time before and after the target segment is downloaded, so that when the user finishes watching the scenario of the target segment from the target segment or generates interest later to watch the video content adjacent to the target segment, a smooth watching experience can be obtained.
Specifically, the first preset duration and the second preset duration may be equal or different, specific values of the first preset duration and the second preset duration may be set according to the content type, the total duration, and the like of the target video, for example, when the target video is a variety, a continuous scenario may not generally generate a relatively large time span, the first preset duration and the second preset duration may be set to be shorter, for example, 1 minute, 30 seconds, and the like, when the target video is a tv series, a movie, and the like, a scenario with a relatively large span may be generated, and the first preset duration and the second preset duration may be set to be longer, for example, 5 minutes, 10 minutes, and the like.
Before the start time and the end time of the target segment in the target video are obtained, the video playing method provided by this embodiment further includes the steps of:
and acquiring a segment selection instruction, and determining the target segment according to the segment selection instruction.
Specifically, the target video may be provided with a plurality of segments according to different setting rules, and a user may select the target segment desired to be viewed according to his own needs, for example, a tv series, a video website or a video application may be divided into 3 segment combinations according to the exhibition time of 3 main actors in advance: the target segments are determined to be segments corresponding to the actors if the user selects the 'only see' function of one of the actors, for example, if the user selects only see the actor a, the pre-selected segments in which the actor a appears are taken as the target segments.
Referring to fig. 1 again, the video playing method provided in this embodiment further includes the steps of:
s200, decoding the first video data and then playing.
The first video data is the video data of the target segment and the video data of the segment which is selected by the user and wanted to be watched, so that the first video data can be directly decoded and played after being downloaded. Specifically, the decoding and playing of the first video data is to decode and output the first video data to a screen for playing, where the screen may be a screen of a terminal itself or a display screen in communication connection with the terminal.
After downloading the target video data according to the start time and the end time, since the user does not necessarily generate interest in video content before and after the target segment after finishing watching the target segment, after the second video data is obtained by downloading, the second video data may not be decoded temporarily, and specifically, the second video data may be processed and then sent to the decoding module, so that the decoding module does not decode the second video data. And the target segment is a segment which the user has selected to watch, so the first video data can be directly sent to a decoding module, and the decoding module decodes and plays the first video data.
Namely, after downloading the target video data according to the start time and the end time, the method further comprises the following steps:
directly sending the first video data to a decoding module;
and processing the second video data and then sending the second video data to the decoding module.
Specifically, the directly sending the first video data to a decoding module includes:
and generating a data transmission driving signal to control a video transmission control module to generate a transmission signal, wherein the frequency of the transmission signal is greater than the output speed of the first video data.
The output speed of the first video data is the speed of the processor of the terminal for outputting the first video data, after the processor of the terminal downloads the first video data, the processor generates a data transmission driving signal to control a video transmission control module to generate a transmission signal with the frequency f, the transmission signal is used for transmitting the first video data to the decoding module, the frequency f of the transmission signal is greater than the speed of the processor for outputting the first video data, namely, the video transmission control module communicates with the processor of the terminal according to the transmission signal with the frequency f, transmits the first video data to the decoding module for decoding, and enhances the video transmission of the first video data.
The sending the processed second video data to the decoding module includes:
and performing signal enhancement or attenuation processing on the second video data and then sending the second video data to the decoding module.
In order to avoid power consumption caused by decoding the second video data in advance, after the processor downloads the second video data, the second video data is subjected to signal enhancement or reduction processing and then is sent to the decoding module, and after the second video data is subjected to signal enhancement or reduction processing, the decoding module cannot correctly receive or correctly decode the second video data, namely, the decoding module cannot decode the second video data, so that unnecessary power consumption caused by decoding the second video data under the condition that a user does not need to watch video contents before and after the target segment is prevented.
Specifically, the signal enhancing or reducing processing on the second video data includes:
and generating a video transmission control signal, and overlapping the video transmission control signal with the digital signal of the second video data.
After the processor acquires the second video data, the processor or the video transmission control module generates a video transmission control signal, the video transmission control signal is a continuous digital pulse signal, the digital pulse signal can be a positive pulse or a negative pulse, and the processor superposes the video transmission control signal and the digital signal of the second video data to realize signal enhancement or attenuation processing on the second video data. For example, the digital signal of the first video data is D1(V1), D2(V1),. D.,. D (n) (V1), the signal received by the decoding module is also D1(V1), D2(V1),. D.,. D (n) (V1), the digital signal of the second video data is D1(V2), D2(V2),. D.,. D (n) (V2), the video transmission control signal is D (p1), D (p2),. D (p2), and D (p (n)), then the signal generated after processing the second video data is (D1+ D (p1)) (V2), (D2+ D (p2)) (V2),. D., (D n) + (p2), and the decoding module cannot decode: (D1+ D (p1)) (V2), (D2+ D (p2)) (V2),., (D (n)) + D (p (n)) (V2), that is, the second video data cannot be decoded, and the video content corresponding to the second video data cannot be played, thereby reducing power consumption.
Referring to fig. 1 again, after the video playing method provided in this embodiment decodes and plays the first video data, the method further includes the following steps:
s300, after the preset instruction is obtained, the second video data is decoded and played.
The preset instruction is an instruction of video content sent by a user for playing the first preset time before the target segment or the second preset time after the target segment, and after the user finishes watching the target segment, if interest is generated in and after the plot of the target segment, the preset instruction may be sent, for example, the preset instruction is sent by clicking or dragging a progress bar, and after receiving the preset instruction, the terminal decodes and plays the second video data, specifically, the unprocessed second video data downloaded by the processor may be directly sent to the decoding module for decoding and playing, or the processed second video data may be decoded after signal restoration, and signal restoration of the processed second video data may be performed by the processor or performed by the decoding module, after the processed second video data is subjected to signal restoration, the decoding module can correctly decode the second video data, and output the decoded second video data to a screen for playing. Therefore, when the user selects to watch the video contents before and after the target segment, the corresponding video data is downloaded in advance, and real-time downloading is not needed, so that the time for downloading the data can be saved, smoother playing can be realized, and the watching experience of the user is improved.
In summary, the present invention provides a video playing method, when a user selects a designated target segment to watch, the video playing method downloads not only the video data of the target segment, but also the video data of a certain duration before the start time and after the end time of the target segment, so that the user can watch the content before and after the target segment with interest, and can play the content smoothly.
It should be understood that, although the steps in the flowcharts shown in the figures of the present specification are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps in the description are not to be performed in the exact order recited, unless explicitly stated, and may be performed in other orders. Moreover, at least a portion of the steps in the specification may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Example two
Based on the video playing method provided by the above embodiment, the present invention further provides a video playing apparatus, as shown in fig. 2, including:
the data downloading module is configured to acquire a start time and an end time of a target segment in a target video, and download target video data according to the start time and the end time, where the target video data includes first video data and second video data, the first video data is video data of the target segment, and the second video data includes video data of a first preset duration before the start time and video data of a second preset duration after the end time, which are specifically described in embodiment one;
the playing module is configured to decode and play the first video data, and decode and play the second video data after acquiring the preset instruction, as described in embodiment one.
EXAMPLE III
Based on the video playing method provided by the above embodiment, based on the above embodiment, the present invention further provides a terminal, whose functional block diagram can be shown in fig. 3, and the terminal includes a processor 10 and a memory 20. It is to be understood that fig. 3 only shows some of the components of the terminal, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 20 may in some embodiments be an internal storage unit of the terminal, such as a hard disk or a memory of the terminal. The memory 20 may also be an external storage device of the terminal in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the terminal. The memory 20 is used for storing application software installed in the terminal and various data. The memory 20 may also be used to temporarily store data that has been output or is to be output. In an embodiment, the memory 20 stores a video playing program 30, and the video playing program 30 can be executed by the processor 10, so as to implement the video playing method in the present application.
The processor 10 may be, in some embodiments, a Central Processing Unit (CPU), microprocessor or other chip for running program codes stored in the memory 20 or Processing data, such as executing the video playing method. In one possible implementation, the processor 10, when executing the computer program, may implement at least the following steps:
acquiring the starting time and the ending time of a target segment in a target video, and downloading target video data according to the starting time and the ending time, wherein the target video data comprises first video data and second video data;
decoding the first video data and then playing;
after a preset instruction is obtained, decoding and playing the second video data;
the first video data is the video data of the target segment, and the second video data comprises the video data of a first preset duration before the starting time and the video data of a second preset duration after the ending time.
Before the start time and the end time of the target segment in the target video are obtained, the method further includes:
and acquiring a segment selection instruction, and determining the target segment according to the segment selection instruction.
Wherein the decoding and playing the first video data comprises:
and decoding the first video data and outputting the decoded first video data to a screen for playing.
Wherein, after downloading the target video data according to the starting time and the ending time, the method comprises the following steps:
directly sending the first video data to a decoding module;
and processing the second video data and then sending the second video data to the decoding module.
Wherein the directly sending the first video data to a decoding module comprises:
and generating a data transmission driving signal to control a video transmission control module to generate a transmission signal, wherein the frequency of the transmission signal is greater than the output speed of the first video data.
Wherein, the processing the second video data and then sending to the decoding module includes:
and performing signal enhancement or attenuation processing on the second video data and then sending the second video data to the decoding module.
Wherein the performing signal enhancement or reduction processing on the second video data comprises:
and generating a video transmission control signal, and overlapping the video transmission control signal with the digital signal of the second video data.
Example four
The present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the video playing method described in the first embodiment.
Finally, it should be noted that: other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and any modifications, equivalents, improvements, etc. that fall within the spirit and principle of the present invention should be construed as being included in the scope of the present invention.

Claims (10)

1. A video playback method, the method comprising:
acquiring the starting time and the ending time of a target segment in a target video, and downloading target video data according to the starting time and the ending time, wherein the target video data comprises first video data and second video data;
decoding the first video data and then playing;
after a preset instruction is obtained, decoding and playing the second video data;
the first video data is the video data of the target segment, and the second video data comprises the video data of a first preset duration before the starting time and the video data of a second preset duration after the ending time.
2. The video playing method according to claim 1, wherein before the start time and the end time of the target segment in the target video, the method further comprises:
and acquiring a segment selection instruction, and determining the target segment according to the segment selection instruction.
3. The video playing method according to claim 1, wherein said playing the first video data after decoding comprises:
and decoding the first video data and outputting the decoded first video data to a screen for playing.
4. The video playing method according to claim 1, wherein after downloading the target video data according to the start time and the end time, the method comprises:
directly sending the first video data to a decoding module;
and processing the second video data and then sending the second video data to the decoding module.
5. The video playing method according to claim 4, wherein said directly sending the first video data to a decoding module comprises:
and generating a data transmission driving signal to control a video transmission control module to generate a transmission signal, wherein the frequency of the transmission signal is greater than the output speed of the first video data.
6. The video playing method according to claim 4, wherein the processing the second video data and sending the processed second video data to the decoding module includes:
and performing signal enhancement or attenuation processing on the second video data and then sending the second video data to the decoding module.
7. The video playing method according to claim 6, wherein said signal enhancing or signal reducing the second video data comprises:
and generating a video transmission control signal, and overlapping the video transmission control signal with the digital signal of the second video data.
8. A video playback apparatus, comprising:
the data downloading module is used for acquiring the starting time and the ending time of a target segment in a target video and downloading target video data according to the starting time and the ending time, wherein the target video data comprises first video data and second video data;
the playing module is used for decoding and playing the first video data, and decoding and playing the second video data after acquiring a preset instruction;
the first video data is the video data of the target segment, and the second video data comprises the video data of a first preset duration before the starting time and the video data of a second preset duration after the ending time.
9. A terminal, characterized in that the terminal comprises: a processor, a computer readable storage medium communicatively connected to the processor, the computer readable storage medium adapted to store a plurality of instructions, the processor adapted to invoke the instructions in the computer readable storage medium to perform the steps of implementing the video playback method of any of claims 1-7.
10. A computer-readable storage medium, storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the video playback method as claimed in any one of claims 1 to 7.
CN202110069784.3A 2021-01-19 2021-01-19 Video playing method, device, terminal and computer readable storage medium Active CN112911402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110069784.3A CN112911402B (en) 2021-01-19 2021-01-19 Video playing method, device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110069784.3A CN112911402B (en) 2021-01-19 2021-01-19 Video playing method, device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112911402A true CN112911402A (en) 2021-06-04
CN112911402B CN112911402B (en) 2023-07-18

Family

ID=76115789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110069784.3A Active CN112911402B (en) 2021-01-19 2021-01-19 Video playing method, device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112911402B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296593A (en) * 2021-12-25 2022-04-08 游密科技(深圳)有限公司 Conference video marking interaction method and device, computer equipment and storage medium
CN115695910A (en) * 2022-09-27 2023-02-03 北京奇艺世纪科技有限公司 Video arrangement method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345852A (en) * 2008-05-13 2009-01-14 深圳市迅雷网络技术有限公司 Method and system for choosing and playing on-line video fragment
US20130259442A1 (en) * 2012-04-02 2013-10-03 Jonathan BLOCH Systems and methods for loading more than one video content at a time
CN105516828A (en) * 2015-12-14 2016-04-20 成都易瞳科技有限公司 Method and device for downloading video
CN110209879A (en) * 2018-08-15 2019-09-06 腾讯科技(深圳)有限公司 A kind of video broadcasting method, device, equipment and storage medium
CN110798716A (en) * 2019-11-19 2020-02-14 深圳市迅雷网络技术有限公司 Video highlight playing method and related device
CN110809186A (en) * 2019-10-28 2020-02-18 维沃移动通信有限公司 Video processing method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345852A (en) * 2008-05-13 2009-01-14 深圳市迅雷网络技术有限公司 Method and system for choosing and playing on-line video fragment
US20130259442A1 (en) * 2012-04-02 2013-10-03 Jonathan BLOCH Systems and methods for loading more than one video content at a time
CN105516828A (en) * 2015-12-14 2016-04-20 成都易瞳科技有限公司 Method and device for downloading video
CN110209879A (en) * 2018-08-15 2019-09-06 腾讯科技(深圳)有限公司 A kind of video broadcasting method, device, equipment and storage medium
CN110809186A (en) * 2019-10-28 2020-02-18 维沃移动通信有限公司 Video processing method and electronic equipment
CN110798716A (en) * 2019-11-19 2020-02-14 深圳市迅雷网络技术有限公司 Video highlight playing method and related device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296593A (en) * 2021-12-25 2022-04-08 游密科技(深圳)有限公司 Conference video marking interaction method and device, computer equipment and storage medium
CN115695910A (en) * 2022-09-27 2023-02-03 北京奇艺世纪科技有限公司 Video arrangement method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112911402B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN109089154B (en) Video extraction method, device, equipment and medium
US10225613B2 (en) Method and apparatus for video playing processing and television
EP3193509B1 (en) Video advertisement filtering method, device and equipment
US20210160577A1 (en) Method for playing video, electronic device and storage medium
US20180262809A1 (en) Method and Device for switching Broadcast TV Program to on-demand Program
EP3732889B1 (en) Adaptive bitrate optimization upon video streaming initialization
CN111327917B (en) Live content preview method, device, equipment and storage medium
CN112911402A (en) Video playing method, device, terminal and computer readable storage medium
CN109040811A (en) A kind of video broadcasting method and device
CN109089128A (en) A kind of method for processing video frequency, device, equipment and medium
US20210377618A1 (en) Video playback processing method, terminal device, server, and storage medium
EP2701393A1 (en) Method and apparatus for providing live program replay service
US10560730B2 (en) Electronic apparatus and operating method thereof
CN105898398A (en) Advertisement play method and device, advertising method and device and advertisement system
CN113766261B (en) Method and device for determining pre-fetch duration, electronic equipment and storage medium
US10798466B2 (en) Method and apparatus for improving over the top (OTT) delivery of interactive advertisements
US20150189339A1 (en) Display of abbreviated video content
KR102461104B1 (en) video content replay
CN112804579B (en) Video playing method and device, computer equipment and readable storage medium
CN112965686A (en) Music playing method and equipment
US20150026711A1 (en) Method and apparatus for video content distribution
US20170279909A1 (en) Method and electronic device for resuming playing videos between multi-terminals
GB2563267A (en) Methods and systems for generating a reaction video
CN113014981A (en) Video playing method and device, electronic equipment and readable storage medium
US9521435B2 (en) Processing content streams that include additional content segments added in response to detection of insertion messages

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