Differences between revisions 1 and 2
Revision 1 as of 2023-11-03 15:45:19
Size: 1060
Comment:
Revision 2 as of 2023-11-03 15:45:38
Size: 1063
Comment: Fixed filenames
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
ffmpeg -i input.mp3 output.flac ffmpeg -i example.mp3 example.flac

FFmpeg

ffmpeg(1) is a command-line utility for manipulating media files programmatically.


Installation

Most Linux or BSD distributions offer a ffmpeg package.


Usage

Converting Audio Files

To convert from MP3 into FLAC formats, try:

ffmpeg -i example.mp3 example.flac

The input and output formats are automatically detected from the filenames.

Converting Video Files

To convert from MP4 into WEBM formats, try:

ffmpeg -i example.mp4 example.webm

The input and output formats are automatically detected from the filenames.

Extracting Thumbnail Images

To extract the frame at 1 minute into a video as a PNG image, try:

ffmpeg -i example.webm -ss 00:01:00.000 -vframes 1 example.png


See also

FFmpeg project documentation

ffmpeg(1)


CategoryRicottone

FFmpeg (last edited 2023-11-03 15:57:31 by DominicRicottone)