The transpose filter accepts the values from 0-3. Let’s take a look at what each value represents:
- 0 = 90° counter-clockwise and vertical flip (default)
- 1 = 90° clockwise
- 2 = 90° counter-clockwise
- 3 = 90° clockwise and vertical flip
Let’s see how we can rotate the sample video using the transpose filter:
ffmpeg -i big_buck_bunny_720p_1mb.mp4 -vf “transpose=0” output_0.mp4