How to Use ffmpeg to Help You Work with Openshot

Extracting Audio of a Video to MP3 File

ffmpeg -i input.ext -codec:a libmp3lame -qscale:a 2 output.mp3

Cropping Media File Duration

ffmpeg -ss 00:02:20.0 -i input.ext -c copy -t 00:00:31.0 output.ext

Removing Audio Stream from a Video File

ffmpeg -i input.ext -c copy -an output.ext

Reducing Final Video File Size

ffmpeg -i input.mp4 -vcodec libx264 -crf 20 output.mp4