Update changelog and docs

This commit is contained in:
DarthSim
2023-09-12 21:27:20 +03:00
parent 1cd344cbb7
commit d52c005446
2 changed files with 26 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
# Changelog
## [Unreleased]
### Add
- Add video streams info to the `/info` response.
### Change
- Limit vector image sizes to `IMGPROXY_MAX_SRC_RESOLUTION`.

View File

@@ -56,6 +56,7 @@ imgproxy responses with a JSON body and returns the following info:
* `iptc`: IPTC data
* `xmp`: XMP data
* `photoshop`: Photoshop metadata (currently, only the resolution data)
* `video_streams`: info about the video streams (maximum 20 streams)
* `video_meta`: metadata from the video
**📝 Note:** There are lots of IPTC tags in the spec, but imgproxy supports only a few of them. If you need some tags to be supported, just contact us.
@@ -122,6 +123,28 @@ imgproxy responses with a JSON body and returns the following info:
"height": 730,
"size": 984963,
"exif": {},
"video_streams": [
{
"type": "video",
"codec": "h264",
"bps": 16910024,
"fps": 24,
"language": "eng"
},
{
"type": "audio",
"codec": "eac3",
"bps": 768000,
"frequency": 48000,
"layout": "5.1(side)",
"language": "eng"
},
{
"type": "subtitle",
"codec": "subrip",
"language": "eng"
}
],
"video_meta": {
"com.android.version": "9",
"compatible_brands": "isommp42",