mirror of
https://gitlab.waag.org/make/fablab/interns/2025/sam.git
synced 2025-08-04 12:24:56 +00:00
18 lines
504 B
Markdown
18 lines
504 B
Markdown
# ffmpeg
|
|
|
|
## What is ffmpeg
|
|
ffmpeg is a tool to modify images with. It can do all sorts of stuff for example it can resize images or compress them.
|
|
|
|
## How do I use it?
|
|
|
|
### Playing videos and getting details
|
|
* To play a video using ffmpeg you can use `ffmpeg.ffplay <filename>`
|
|
* To see all details of a video you can use `ffmpeg.ffprobe <filename>`
|
|
|
|
### Compressing videos
|
|
Command to scale down a video
|
|
|
|
```bash
|
|
ffmpeg -i input_video.mp4 -s 800x800 -vcodec libx264 -b:v 1000k -an output_video.mp4
|
|
```
|