this post was submitted on 20 Mar 2024
42 points (95.7% liked)

Open Source

31408 readers
78 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 8 months ago* (last edited 8 months ago)

Trim

ffmpeg -ss [start] -to [stop] -i in.mp4 -c copy out.mp4

Crop

ffmpeg -i in.mp4 -vf "crop=out_w:out_h:x:y" out.mp4

Mirror

ffmpeg -i in.mp4 -vf vflip -c:a copy out.mp4

Rotate

ffmpeg -i in.mp4 -vf "transpose=1" out.mp4

... Not gonna lie - its nice to also have a GUI for this!