Skip to content

Adding rendition resources to 3.2/1.7/2.3#239

Merged
iyoung merged 6 commits into3.2-basefrom
rendition-resources
Oct 17, 2025
Merged

Adding rendition resources to 3.2/1.7/2.3#239
iyoung merged 6 commits into3.2-basefrom
rendition-resources

Conversation

@bquinn
Copy link
Copy Markdown
Contributor

@bquinn bquinn commented Sep 29, 2025

As discussed recently and to be proposed at the Standards Committee meeting at IPTC Autumn Meeting 2025. Fixes #235

Added as ninjs 3.2.  Back-ported to 1.x (now 1.7) and 2.x (now 2.3).
@bquinn bquinn requested a review from iyoung September 29, 2025 12:42
@bquinn bquinn changed the base branch from main to 3.2-base September 29, 2025 12:43
@bquinn
Copy link
Copy Markdown
Contributor Author

bquinn commented Sep 29, 2025

One point for discussion:

We decided to back-port this new feature to 1.x and 2.x, but we haven't added similar properties within rendition like 'bitrate', 'frameRate', 'scanType', 'transportProtocol', 'videoCodec'.

Should we add those in this version too?

@hledwards
Copy link
Copy Markdown

hledwards commented Sep 29, 2025

@bquinn for rendition properties, we are using for video renditions:
width, height, duration, fileextension, mimetype, videocodec, framerate, averagebitrate, samplerate, aspectratio, videoscaling, format, sizeinbytes, type, title, rel, contentid, href.

@iyoung
Copy link
Copy Markdown
Contributor

iyoung commented Sep 30, 2025

I think we should @bquinn especially as we have an example of the rendition in 1.x being extended in this way

@bquinn bquinn marked this pull request as ready for review October 1, 2025 07:46
@iyoung iyoung merged commit f34555e into 3.2-base Oct 17, 2025
1 check passed
@iyoung iyoung deleted the rendition-resources branch October 17, 2025 13:13
iyoung added a commit that referenced this pull request Nov 10, 2025
* Updated schemas, examples and tests to versions 1.7 / 2.3 / 3.2 with no actual changes.

* Bump brace-expansion from 1.1.11 to 1.1.12 in /validation (#234)

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Adding rendition resources to 3.2/1.7/2.3 (#239)

* Schema changes and test files for "resources" section in "renditions".
Added as ninjs 3.2.  Back-ported to 1.x (now 1.7) and 2.x (now 2.3).

* Fix: contenttype should be all lower case to conform with naming convention for ninjs 2.x

* Removed redundant empty "required" property in schema for each version.

* Fixing 1.7 issue - contentType should be contenttype in 1.7

* Back-porting video- and live-specific rendition properties from 3.x to 1.7 and 3.2.

* test(js-tests): bring in latest 3.2 tests

for the js test suite

---------

Co-authored-by: Ian Young <ian@iansramblings.com>

* Updating documentation for 3.2/2.3/1.7, including adding a new example
covering rendition resources.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ian Young <ian@iansramblings.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants