Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -1,19 +1,19 @@
# ffmpeg
> Video conversion tool
> Video conversion tool.
- Extract the sound from a video and save it as MP3
- Extract the sound from a video and save it as MP3:
`ffmpeg -i {{video-filename}} -vn -ar 44100 -ac 2 -ab 192 -f mp3 {{sound.mp3}}`
- Convert frames from a video into individual numbered images
- Convert frames from a video into individual numbered images:
`ffmpeg -i {{video-filename}} {{image%d.png}}`
- Combine numbered images (image1.jpg, image2.jpg, etc) into a video
- Combine numbered images (image1.jpg, image2.jpg, etc) into a video:
`ffmpeg -f image2 -i {{image%d.jpg}} {{video.mpg}}`
- Convert AVI video to MP4. AAC Audio @ 128kbit, Video @ 1250Kbit
- Convert AVI video to MP4. AAC Audio @ 128kbit, Video @ 1250Kbit:
`ffmpeg -i {{in.avi}} -acodec libfaac -ab 128k -vcodec mpeg4 -b 1250K {{out.mp4}}`