icon picker
29/11/2023

info

Sure! Here are a few examples of how you can use FFmpeg:

1. Convert a video file to a different format: ```bash ffmpeg -i input.mp4 output.avi ```
2. Extract audio from a video file: ```bash ffmpeg -i input.mp4 -vn output.mp3 ```
3. Convert a video to a specific resolution and bitrate: ```bash ffmpeg -i input.mp4 -s 1280x720 -b:v 1500k output.mp4 ```
4. Concatenate multiple video files into one: ```bash ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0]concat=n=2:v=1:a=1[outv][outa]" -map "[outv]" -map "[outa]" output.mp4 ```
5. Extract a specific portion of a video: ```bash ffmpeg -i input.mp4 -ss 00:01:30 -t 00:00:30 -c copy output.mp4 ```
6. Create a video slideshow from images: ```bash ffmpeg -framerate 1/5 -i image%d.jpg -c:v libx264 -r 30 -pix_fmt yuv420p slideshow.mp4 ```
These are just a few examples, and FFmpeg offers many more features and options for manipulating multimedia files.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.