Skip to content

Transcoding OIIOTool with padding and frames #1286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jakubjezek001 opened this issue May 23, 2025 · 0 comments
Open

Transcoding OIIOTool with padding and frames #1286

jakubjezek001 opened this issue May 23, 2025 · 0 comments
Labels
type: enhancement Improvement of existing functionality or minor addition

Comments

@jakubjezek001
Copy link
Member

jakubjezek001 commented May 23, 2025

#1276 (comment)

Isn't this exactly what the --framepadding argument is for in oiiotool.

I understand it's optional, but since it's a simple override optional why not just use that?

See: openimageio.readthedocs.io/en/latest/oiiotool.html#frame-sequences

Pretty sure I also used that and tested that in: #1217


#1276 (review)

Approving this PR as this code works and fixes the issue.
If that's a urgent/critical bugfix, I believe this patch is good enough.

Now as flagged, there is a specific --framepadding argument that could be used here.
Just wanted to add that from my tests, --framepadding needs to be there along --frames.

# Works
oiiotool.exe --info -v -i:infoformat=xml C:/Users/robin/output.948845-948869%07.exr

# Works
oiiotool.exe --info -v -i:infoformat=xml C:/Users/robin/output.#.exr --frames 948845-948869 --framepadding 7

# Does NOT work
oiiotool.exe --info -v -i:infoformat=xml C:/Users/robin/output.948845-948869.exr --framepadding 7

Originally posted by @rdelillo in #1276 (review)


@jakubjezek001 jakubjezek001 self-assigned this May 23, 2025
@jakubjezek001 jakubjezek001 added the type: enhancement Improvement of existing functionality or minor addition label May 23, 2025
@jakubjezek001 jakubjezek001 removed their assignment May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

No branches or pull requests

1 participant