Video Format
fm
Initiates the Imgix Video feature and allows you to specify the video format. fm=mp4 is required to use most of the Imgix Video parameters.
The following formats are supported:
mp4: Required for Imgix Video. MP4 is the most widely supported video format compatible with most browsers and devices.json: Outputs the video metadata as JSON
The video-thumbnail modifies the accepted value list. Check the video-thumbnail documentation for more information.
See the example below for when When fm is set to json:
// https://assets.imgix.net/videos/girl-reading-book-in-library.mp4?fm=json
{
"streams": [
{
"index": 0,
"codec_name": "h264",
"height": 2160,
"color_space": "bt709",
"codec_type": "video",
"bit_rate": "13259156",
"duration": "22.080000",
"width": 4096
}
]
}