Video clipping method and device

A video and video frame technology, applied in the field of video processing, can solve the problem of low accuracy of target video data, and achieve the effect of ensuring accuracy and cutting speed

Inactive Publication Date: 2018-08-03
广州市千钧网络科技有限公司
View PDF2 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] And the required target video data is: from the video frame corresponding to the preset start time point in the original video data, to the video data of the video frame corresponding to the preset cut-off time point, therefore, in the target video data actually obtained

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
  • Video clipping method and device
  • Video clipping method and device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0059] The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.

[0060] The embodiment of the application implements video cutting by calling the software library and hardware module provided by the Android system on the basis of the hardware codec provided by the Android system. In the embodiment of the present application, in the video data to be cropped, the video frame corresponding to the preset start time point is called the start video frame, and will be located after the start video frame and the key closest t...

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 video clipping method and device. The method comprises the following steps: acquiring a preset start time point and a preset stop time point for clipping video data to be clipped; determining a start video frame corresponding to the preset start time point in the video data to be clipped; if the start video frame is a non-key frame, respectively determining a target videoframe with a complete video picture for each video frame from the start video frame to a middle video frame, wherein the middle video frame is a video frame which is positioned behind the start videoframe and in front of a target key video frame and is adjacent to the target key video frame, and the target key video is a key video frame which is positioned behind the start video frame and is closest to the start video frame; and writing each encoded target video frame and each video frame from the target key video frame to a stop video frame into a target video file in sequence. According tothe video clipping method disclosed by the embodiment of the invention, the clipping speed of the video frame to be clipped is guaranteed, and the clipping precision is also guaranteed.

Description

technical field [0001] The present application relates to the field of video processing, in particular to a video cutting method and device. Background technique [0002] In practical applications, it is necessary to crop the original video data and original audio data contained in the video file, that is, to obtain the target corresponding to the preset starting time point to the preset ending time point from the original video data and original audio data respectively. Video data and target audio data. And write the target video data and the target audio data after trimming into the target video file. [0003] In order to realize that the target video data and target audio data in the target video file can be played normally, the first frame in the target video needs to be a video frame that retains the complete picture. Currently, when cutting the original video data, according to the preset start time point , determine the key video frame closest to the video frame cor...

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
IPC IPC(8): H04N21/44H04N21/4402H04N21/8547
CPCH04N21/44H04N21/44012H04N21/4402H04N21/8547
Inventor 高腾王国强
Owner 广州市千钧网络科技有限公司
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