Skip to content

Instantly share code, notes, and snippets.

@DevEarley
Last active December 8, 2020 17:32
Show Gist options
  • Save DevEarley/1e1ea5647562b6218694dcc7c55d2900 to your computer and use it in GitHub Desktop.
Save DevEarley/1e1ea5647562b6218694dcc7c55d2900 to your computer and use it in GitHub Desktop.
FFMPEG FLV to MP4 converter
  1. Install FFMpeg - I got it from here: https://www.gyan.dev/ffmpeg/builds/

  2. Unzip and move to program files folder.

  3. Setup Environment variable for FFMPeg

Open start menu.
Type Edit environment variables.
Click Environment variables... button
Edit Path variable
Click New
Paste the Bin directory ( whichever directory the exe is in )
Restart Command Prompt.
  1. Run command like this:
convert-flv-to-mp4 my video name with spaces

Note: Do not use .flv or quotes when using this command.

ffmpeg -i "./%*.flv" -c:v libx264 -crf 19 -strict experimental "./%*.mp4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment