All Projects → HeZhang1994 → video-audio-tools

HeZhang1994 / video-audio-tools

Licence: MIT License
To process/edit video and audio with Python+FFmpeg. [简单实用] 基于Python+FFmpeg的视频和音频的处理/剪辑。

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to video-audio-tools

eloquent-ffmpeg
High-level API for FFmpeg's Command Line Tools
Stars: ✭ 71 (-56.71%)
Mutual labels:  ffmpeg, video-processing, audio-processing
Auto Editor
Auto-Editor: Effort free video editing!
Stars: ✭ 382 (+132.93%)
Mutual labels:  video-processing, video-editing, audio-processing
Mlt
MLT Multimedia Framework
Stars: ✭ 836 (+409.76%)
Mutual labels:  ffmpeg, video-processing, audio-processing
DuME
A fast, versatile, easy-to-use and cross-platform Media Encoder based on FFmpeg
Stars: ✭ 66 (-59.76%)
Mutual labels:  ffmpeg, video-processing, audio-processing
Pyjumpcutterv2
carykh's but with improvements and a GUI!
Stars: ✭ 25 (-84.76%)
Mutual labels:  ffmpeg, video-processing, video-editing
Online Video Editor
API based Online Video Editing using FFMPEG & NodeJs for Backend Editing
Stars: ✭ 176 (+7.32%)
Mutual labels:  ffmpeg, video-processing
Lintel
A Python module to decode video frames directly, using the FFmpeg C API.
Stars: ✭ 240 (+46.34%)
Mutual labels:  ffmpeg, video-processing
ffcvt
ffmpeg convert wrapper tool
Stars: ✭ 32 (-80.49%)
Mutual labels:  video-processing, audio-processing
recode-converter
A modern & simple audio converter for video files
Stars: ✭ 22 (-86.59%)
Mutual labels:  ffmpeg, audio-converter
Screen Recorder Ffmpeg Cpp
*Multimedia project* A screen recording application to capture your desktop and store in a video format. Click here to watch the demo
Stars: ✭ 98 (-40.24%)
Mutual labels:  ffmpeg, video-processing
Implicit-Internal-Video-Inpainting
[ICCV 2021]: IIVI: Internal Video Inpainting by Implicit Long-range Propagation
Stars: ✭ 190 (+15.85%)
Mutual labels:  video-processing, video-editing
FFCreatorLite
一个基于node.js的轻量极速短视频加工库 A lightweight and fast short video processing library based on node.js
Stars: ✭ 155 (-5.49%)
Mutual labels:  ffmpeg, video-processing
Prism Media
Easily transcode media using Node.js 🎶
Stars: ✭ 136 (-17.07%)
Mutual labels:  ffmpeg, audio-processing
Vidgear
A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features 🔥
Stars: ✭ 2,048 (+1148.78%)
Mutual labels:  ffmpeg, video-processing
editor
MediaBits.io editor to create videos for audio clips
Stars: ✭ 48 (-70.73%)
Mutual labels:  video-editing, audio-processing
Fwf
HTML video editor with FFmpeg
Stars: ✭ 128 (-21.95%)
Mutual labels:  ffmpeg, video-processing
acxi
acxi is an audio conversion tool that helps sync lossless to lossy formats.
Stars: ✭ 35 (-78.66%)
Mutual labels:  audio-converter, audio-processing
ffEdit
Minimal visual editor for ffmpeg
Stars: ✭ 17 (-89.63%)
Mutual labels:  ffmpeg, video-editing
video-summarizer
Summarizes videos into much shorter videos. Ideal for long lecture videos.
Stars: ✭ 92 (-43.9%)
Mutual labels:  ffmpeg, video-processing
Super-Stitch
一款视频超级拼接软件
Stars: ✭ 28 (-82.93%)
Mutual labels:  ffmpeg, video-processing

Video and Audio Processing/Editing

image image image

English Version | 中文版

This is a Python implementation of processing/editing video and audio with FFmpeg libraries.

Many thanks to FFmpeg and its contributors. For more related information, please visit FFmpeg website.

Table of Contents

Functions

  • Extracting the audio from a video.

  • Adding the audio to a video that contains no audio.

  • Removing the audio from a video.

  • Converting the format of audio.

  • Cutting video or audio into clips.

  • Merging video or audio clips.

Dependencies

  • ffmpeg 4.1.1 (for Linux)
  • ffmpeg 4.1.3 (for Mac)

Install FFmpeg for Linux

  • Installation
$ sudo apt-get install ffmpeg
  • Upgrade (if applicable)
# The latest version of FFmpeg is 4.1.x (11th April 2019).
$ sudo add-apt-repository ppa:jonathonf/ffmpeg-4
$ sudo apt update && sudo apt upgrade

Install FFmpeg for Mac

  • Installation
# Install homebrew.
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install FFmpeg via homebrew.
$ brew install ffmpeg
  • Upgrade (if applicable)
# Upgrade FFmpeg via homebrew.
$ brew update && brew upgrade ffmpeg

Usage

Specify the path/name of input and output media in the code (see comments).

Video and Audio Processing

Please use the code provided in VideoAudio_Processing/.

  • To extract the audio from a video, run run_VAP_extract.py.

  • To add the audio to a video, run run_VAP_add.py.

  • To remove the audio from a video, run run_VAP_remove.py.

  • To convert the format of audio, run run_VAP_convert.py.

Video and Audio Editing

Please use the code provided in VideoAudio_Editing/.

  • To cut video or audio into clips, run run_VAE_Video_01Clip.py or run_VAE_Audio_01Clip.py.

  • To merge video or audio clips, run run_VAE_Video_02Merge.py or run_VAE_Audio_02Merge.py.


Please report an issue if you have any question about this repository, I will respond ASAP.

Please star this repository if you found its content useful. Thank you very much. ^_^

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].