How to Trim Videos Using Python and FFMPEG

Published: 20 June 2022
on channel: Coding With Adam
13,387
182

In this exciting video we are going to learn how to trim a video using Python and FFMPEG.

I will guide you through setting up the python project in VSCode. I assume you have Python 3 and Pipenv installed. Using the FFMPEG-Python package we will trim a video.

I will show you how to install the FFMPEG command line tool on Mac and Windows

FFMPEG Python video has no sound after trim? As we will discover the video and audio must be trimmed separately and then concatenated together. If you don't do this then your video will have no audio.

GitHub
https://github.com/CodingWith-Adam/tr...

FFMPEG-Python
https://github.com/kkroening/ffmpeg-p...

Brew Package Manager for Mac
https://brew.sh/

Chocolatey Package Manager for Windows
https://chocolatey.org/install#indivi...

Chapters
00:00 Intro
00:43 FFMPEG installed?
1:12 FFMPEG Mac Install
1:40 FFMPEG Win Install
2:03 Project setup
3:15 Install FFMPEG-Python
3:46 Code
10:59 Probe Trim
12:02 Trim duration off by a little bit?

#python #programming #coding #ffmpeg #ffmpeg-python


Watch video How to Trim Videos Using Python and FFMPEG online without registration, duration hours minute second in high quality. This video was added by user Coding With Adam 20 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 13,38 once and liked it 18 people.