Skip to content

Editor remove command requires frame ranges in descending order? #112

@Ironclad17

Description

@Ironclad17

I didn't see this documented anywhere.
hdr10plus_tool 1.7.1

hdr10plus_tool editor -i source.json -j edits.json -o test.json
Parsing JSON file...
EditConfig {
  "remove": [
    "0-7983",
    "8202-143843"
  ]
}
Error: invalid end range 143843

However, this was valid so the actual frame index was not wrong.

Parsing JSON file...
EditConfig {
  "remove": [
    "8202-143843"
  ]
}
Removed 135642 metadata frames.
Generating and writing metadata to JSON file... Done.

This did work though:

Parsing JSON file...
EditConfig {
  "remove": [
    "8202-143843",
    "0-7983"
  ]
}
Removed 143626 metadata frames.
Generating and writing metadata to JSON file... Done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions