linux/ffmpeg.md
... ...
@@ -42,6 +42,13 @@ ffmpeg -i input.mp3 -vn -codec:a copy -map_metadata -1 output.mp3
42 42
ffmpeg -i input.mp4 -ss 00:00:10 -to 01:23:14 -async 1 -c copy output.mp4
43 43
```
44 44
45
+### rotate video
46
+* 90° clockwise - increase transpose number for greater rotation
47
+```
48
+ffmpeg -i input.mp3 -vf "transpose=1" output.mp4
49
+```
50
+
51
+
45 52
## firefox corrupt file
46 53
firefox complains about videos recorded with `ffmpeg`, saying they are corrupt. apparently using the following options fixes this (mentioned by seninha in #nixers irc)
47 54
```