ffprobe:video:rotate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ffprobe:video:rotate [2025/01/13 10:12] – peter | ffprobe:video:rotate [2025/01/13 10:20] (current) – peter | ||
---|---|---|---|
Line 13: | Line 13: | ||
**NOTE: | **NOTE: | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Getting Width, Height, Rotation ==== | ||
+ | |||
+ | <code bash> | ||
+ | ffprobe -v error -select_streams v:0 -show_entries stream=width, | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | 1920, | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * Due to the 270 rotation, in reality the actual input should be 1080x1920, and not 1920x1080. | ||
+ | * But ffprobe reports the actual width x height; Width is displayed first, then height (no matter the order it is requested). | ||
+ | |||
+ | </ | ||
+ | |||
---- | ---- |
ffprobe/video/rotate.1736763147.txt.gz · Last modified: 2025/01/13 10:12 by peter