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

Video editing method and device based on ffmpeg

A video editing and video technology, applied in the field of video editing, can solve the problems of user inconvenience and too simple functions.

Active Publication Date: 2020-08-04
GUANGZHOU AIYOU INFORMATION TECH
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In view of this, the object of the present invention is to provide a video editing method and device based on ffmpeg, so as to alleviate the problems of existing mobile terminal video editing, such as too simple functions and inconvenient use for users.

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 editing method and device based on ffmpeg
  • Video editing method and device based on ffmpeg
  • Video editing method and device based on ffmpeg

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] figure 1 Shows a schematic flow chart of the ffmpeg-based video editing method provided by the embodiment of the present invention, as figure 1 As shown, the method adopts the secondary development ffmpeg video editing library for video editing, and is applied to mobile terminals, specifically the Android platform of mobile terminals, including:

[0063] Step S110, acquiring and opening video files in a specified directory.

[0064] Specifically, the user puts the video file to be edited in a designated directory, and the embodiment of the present invention, the embodiment provided by the present invention, obtains and opens the video file through the user's click operation.

[0065] Step S120, receiving an operation instruction input by the user.

[0066] Wherein, the operation instruction includes one or more of a video cutting instruction, a watermark adding instruction, and a recording mixing instruction. Among them, the video cutting instruction includes cutting...

Embodiment 2

[0143] Figure 4 A schematic structural diagram of an ffmpeg-based video editing device provided by an embodiment of the present invention is shown. Such as Figure 4 As shown, the device includes:

[0144] Video acquisition module 50, used to acquire and open the video file under the specified directory;

[0145] An operation receiving module 60, configured to receive an operation instruction input by a user, wherein the operation instruction includes one or more of a video cutting instruction, a watermark adding instruction, and a recording mixing instruction;

[0146] Video cutting module 71, is used for cutting video file when operating instruction is video cutting instruction;

[0147] Watermark adding module 72, for when operation instruction is watermark adding instruction, by enabling neon instruction in soft coding process or utilizing hard coding to add watermark to video file;

[0148] The recording mixing module 73 is configured to mix the recording file and th...

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 provides an ffmpeg-based video editing method and device, and relates to the video editing technical field. The method includes the following steps: obtaining and opening a video file in a designated directory; receiving an operation instruction input by a user, wherein the operation instruction includes one or more of a video shearing instruction, a watermark adding instruction and a recording mixing instruction; when the operation instruction is the video shearing instruction, shearing the video file; when the operation instruction is the watermark adding instruction, adding a watermark to the video file by launching a neon instruction during soft coding or through hard cording; and when the operation instruction is the recording mixing instruction, mixing a recording file with the video file. The ffmpeg-based video editing method and device help to solve the problems of the prior art that a mobile terminal video editing function is too simple, a conventional editing device is inconvenient for users to use, etc.

Description

technical field [0001] The invention relates to the technical field of video editing, in particular to a video editing method and device based on ffmpeg. Background technique [0002] In recent years, with the continuous improvement of mobile phone performance, the continuous increase in the size of mobile phone screens, and the continuous popularization of large-screen handheld devices, the birth of mobile platform media has been given birth. The number of mobile phone video shooting users, especially young mobile phone shooting enthusiasts, is gradually increasing. The effect of the video shot by using the mobile terminal is relatively monotonous. When sharing the mobile phone video recorded by the user, users often need to edit and process it before releasing it. Apps are born accordingly. [0003] For the editing of videos on the android platform, there are many options to choose from. [0004] 1. The ffmpeg framework, which decodes and encodes the video frame by fram...

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 Patents(China)
IPC IPC(8): H04N21/472H04N21/414H04N21/8358
CPCH04N21/41407H04N21/47205H04N21/8358
Inventor 宋逾
Owner GUANGZHOU AIYOU INFORMATION TECH
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