docs: new features and documentations

This commit is contained in:
Adrian Shum 2022-10-14 00:14:35 +08:00
parent 63c746777b
commit 5f7094b8df

View file

@ -49,9 +49,9 @@ http://localhost:8000/unsafe/300x0/7x7/filters:max_frames(70):fill(yellow)/http:
### Metadata
imagor provides metadata endpoint that extracts video metadata, dimension and duration data. By default, it only process the header without extracting the frame data, which result faster processing speed.
imagorvideo provides metadata endpoint that extracts video metadata, dimension and duration data. By default, it only process the header without extracting the frame data for better processing speed.
To use the metadata endpoint, add /meta right after the URL signature hash before the image operations. Example:
To use the metadata endpoint, add `/meta` right after the URL signature hash before the image operations. Example:
```
http://localhost:8000/unsafe/meta/https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/1080/Big_Buck_Bunny_1080_10s_30MB.mp4
@ -71,7 +71,7 @@ http://localhost:8000/unsafe/meta/https://test-videos.co.uk/vids/bigbuckbunny/mp
"has_audio": false
}
```
Appending the `max_frame()` filter however, would trigger the frames processing. This result more processing time but would also allow frames per second `fps` and selected frame index to be available:
Appending the `max_frames()` or `frame(n)` filter however, would trigger the frames processing. This results more processing time but also allows retrieving more frame related info, such as frames per second `fps` and selected frame index:
```json
{