Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
| #!/bin/bash | |
| echo "[ build and install vim from source ]" | |
| # Create directories... | |
| sudo mkdir -p ~/fs/dev; | |
| # This script needs "fpm". If you don't have it | |
| # install ruby, etc. with: | |
| sudo apt-get install ruby ruby-dev build-essential; |
| /* Read this comment first: https://gist.github.com/tonious/1377667#gistcomment-2277101 | |
| * 2017-12-05 | |
| * | |
| * -- T. | |
| */ | |
| #define _XOPEN_SOURCE 500 /* Enable certain library functions (strdup) on linux. See feature_test_macros(7) */ | |
| #include <stdlib.h> | |
| #include <stdio.h> |