Method and device for playing video

A technology for playing video and video, applied in the Internet field, can solve the problems of large time difference and low video jump accuracy, and achieve the effect of improving the jump accuracy

Active Publication Date: 2015-05-13
TENCENT TECH (BEIJING) CO LTD
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since the time interval between two adjacent I frames is relatively large, there may be a large time difference between the target I frame and the jump time point, often reaching 4 seconds or 5 seconds, which makes the video jump accuracy relatively low. Low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for playing video
  • Method and device for playing video
  • Method and device for playing video

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for playing a video and belongs to the field of Internet. The method comprises the steps of receiving a skip request which carries a skip time point, selecting a target image frame satisfying a preset condition of time difference with the skip time point from the key frame of the current video and a plurality of pre-marked interval prediction frames, and playing the current video from the target image frame, wherein every two interface prediction frames are spaced by at least one image frame and the number of the interval frames is smaller than the number of the interval frames of the key frame, and the reference image frame of each interval prediction frame is the key frame or other interval prediction frame. According to the method, the skip accuracy of the video can be improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for playing video. Background technique [0002] With the continuous development of video technology, video encoding and decoding technology has brought convenience to the storage of video files. Image frames in the coded video may include an I frame (Important frame, key frame), a P frame (Predictive frame, predictive frame), and a B frame (Bidirectional predictive frame, bidirectional predictive frame). Correspondingly, when decoding the video, the I frame can be directly decoded based on its own data, the P frame and the B frame need to be decoded based on the data of their corresponding reference image frame, and the reference image frame of the P frame is the frame before the P frame The image frame of the B frame, the reference image frame of the B frame is any two image frames before or after the B frame. Generally, when performing video encoding...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/438H04N21/4402H04N21/472
CPCH04N21/440281H04N21/47217
Inventor 李大龙
Owner TENCENT TECH (BEIJING) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products