Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 There is an error between the number of video frames and the number of video frames in the required target video data, that is, the current method of cropping the original video data has the problem of low accuracy in the number of video frames of the obtained target video data

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

Embodiment Construction

[0059] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0060] In the embodiment of the present application, on the basis of the hardware codec provided by the Android system, video clipping is realized by calling the software library and hardware modules provided by the Android system. In this embodiment of the application, the video frame corresponding to the preset start time point in the video data to be trimmed is called the start video frame, and the key located after the start video frame and closest to the start video frame A fra...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products