cad and ffmpeg

This commit is contained in:
2025-01-30 15:40:43 +01:00
parent 658b6181b4
commit 454f9ba0ae
24 changed files with 248 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# 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
```