Tested on Windows 10.
Converts various videos of your choice with ffmpeg, or extracts audio from video files.
For more information see ffmpeg docs: link
ffmpeg needs to be installed on your computer.
- Download ffmpeg.
- Unzip ffmpeg.
- Copy all the files from bin to a folder of your choice.
- Add bin to your Path environment variables.
For this script to work, as PowerShell might be quite strict with some scripts, you need to activate this first:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
And to deactivate it once you're done:
Set-ExecutionPolicy Restricted -Scope CurrentUser
- Run:
- Convert videos: Convert-Video.ps1
- Extract audio: Extract-Audio.ps1
- Usage:
- Choose a name for the output file, such as video.mp4.