Skip to content

Instantly share code, notes, and snippets.

@desjare
Last active September 4, 2020 11:32
Show Gist options
  • Save desjare/adc1514d46bcb38414a5e2a602f6d12d to your computer and use it in GitHub Desktop.
Save desjare/adc1514d46bcb38414a5e2a602f6d12d to your computer and use it in GitHub Desktop.
Beginner's guide to using python3 script and ffmpeg in command line

Beginner's Guide to using python3 scripts and FFmpeg

At times, using a bit of scripting and a powerful command-line tool like ffmpeg is very useful to perform tedious tasks. I noticed recently that while I was raised using DOS and I installed my first Linux distribution on a floppy, it was not the case of most people.

I recently helped a mathematics teacher setting up his machine to run one of my helper scripts to convert his podcasts to mp3. It was not that easy. This is why I wrote this guide.

This guide is for Windows users that want to learn how to run python3 scripts & ffmpeg in your path in command-line. It explains how to install and setup python & put it in your PATH environment variable so that you can use it from anywhere in the shell. This can be either cmd.exe or PowerShell a more modern shell for Windows.

I prepared a tutorial video to learn how to do that on Windows 10 where I set up a new machine for this step by step:

https://youtu.be/JPX1237UqpY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment