ffmpeg¶
- To mp3
ffmpeg -i "${FILE}" -vn -c:a libmp3lame -y "${FILE%.mkv}to.mp3
- Extract frames
ffmpeg -i file.mpg -r 1/1 $filename%03d.bmp
GIF¶
1 2 |
|
http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html https://engineering.giphy.com/how-to-make-gifs-with-ffmpeg/ https://ffmpeg.org/ffmpeg-filters.html#palettegen-1
Refs¶
https://stackoverflow.com/questions/10957412/fastest-way-to-extract-frames-using-ffmpeg