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
all 4 comments
sorted by: hot top controversial new old
[โ€“] [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!

[โ€“] mark 4 points 8 months ago

Nice! I was looking for something like this the other day. Also great that it's available on Flathub.

Who are these people downvoting these posts? ๐Ÿ˜†

[โ€“] [email protected] 1 points 8 months ago

But can it rotate?