Home

Awesome

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

Dependencies

Install FFmpeg for Linux

$ sudo apt-get install ffmpeg
# 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

# Install homebrew.
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install FFmpeg via homebrew.
$ brew install ffmpeg
# 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/.

Video and Audio Editing

Please use the code provided in VideoAudio_Editing/.

<br>

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

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