Posts

Showing posts with the label FFmpeg

FFmpeg: Basics, Trim and Concatenate

Location: FFmpeg can either be installed individually or as part of other applications. E.g. if installed together with Audacity usually the entire contents of the downloaded ZIP file are extracted to a folder anywhere on the computer, then the Libraries Preferences are configured to locate the file "avformat-55.dll". One location could be C:\Program Files (x86)\FFmpeg for Audacity . Basic Conversion: FFmpeg can be overwhelming with its options. If you only want to encode a larger video to MP4 and do not care much about smaller compression artifacts go for: ffmpeg -i "input.avi" "output.mp4" Basic Trim (Cut) from/to: e.g. from the begin of the file to 45 1/2 seconds. ffmpeg -i "input.mp4" -ss 00:00:00 -to 00:00:45.5 -c:v copy -c:a copy "output.mp4" For some stream-to-MP4-rips the audio bitstream filter 'aac_adtstoasc' might be needed as follows: ffmpeg -i "input.mp4" -ss 00:00:00 -to 00:00:45.5 -c:v c...