Method and device for playing video
A technology for playing videos and videos, applied in the Internet field, can solve the problems of large time difference and low video jumping accuracy, and achieve the effect of improving the jumping accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] The embodiment of the present invention provides a method for playing video, such as figure 1 As shown, the processing flow of the method may include the following steps:
[0025] In step 101, a jump request is received, and the jump request carries a jump time point.
[0026] Step 102, according to the jump time point, in the I frame of the current video and a plurality of pre-marked interval P frames (interval prediction frames), select the target image frame that meets the preset time difference condition with the jump time point; wherein, There is at least one image frame between each interval P frame and the number of interval frames is less than the number of interval frames of I frame, and the reference image frame of each interval P frame is an I frame or other interval P frames.
[0027] Step 103, starting from the target image frame, playing the current video.
[0028] In the embodiment of the present invention, a jump request is received, and the jump time ...
Embodiment 2
[0030] The embodiment of the present invention provides a method for playing video, and the method can be implemented by a terminal. The terminal may be a terminal capable of playing video, such as a mobile phone, a tablet computer, and the like.
[0031] The following will combine specific implementation methods, figure 1 The processing flow shown is described in detail, and the content can be as follows:
[0032] In step 101, a jump request is received, and the jump request carries a jump time point.
[0033] In the implementation, the user plays the video through the video player in the terminal. The video can be a local video stored locally in the terminal, or a network video obtained in real time from the server. At this time, the video player can obtain the currently played video. Duration, which can be displayed on the progress bar of the video player. The coded video can include I frame, P frame and B frame. The video player carries a decoder for decoding the image ...
Embodiment 3
[0061] Based on the same technical idea, the embodiment of the present invention also provides a device for playing video, such as image 3 As shown, the device includes:
[0062] The receiving module 310 is configured to receive a jump request, where the jump request carries a jump time point;
[0063] The selection module 320 is used to select a target image frame that satisfies the preset time difference condition with the jump time point in the I frame of the current video and a plurality of pre-marked interval P frames according to the jump time point; wherein each interval There is at least one image frame between two P frames and the interval frame number is less than the I frame interval frame number, and the reference image frame of each interval P frame is an I frame or other interval P frames;
[0064] The playing module 330 is configured to play the current video starting from the target image frame.
[0065] Optionally, select module 320 for:
[0066] According...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com