Skip to main content
Participant
October 15, 2025
Answered

UXP: Razor tool and marking clipped sections

  • October 15, 2025
  • 1 reply
  • 178 views

Hi everyone,
I'm building a premier pro plugin with uxp and stuck with a problem as I'm facing a challenge to mimic the razor tool feature.

I'd like to 
- Programmatically create these cut sections in my original video/sequence

- Add markers or tags to indicate which parts came from the original source
- Place them in a new sequence one after another
- Export srt file programmatically
- Extract video metadata programmatically

Is there any way to do this using the UXP APIs, or would I need to fall back to CEP (ExtendScript) to achieve it?

Thanks

Correct answer bbb_999
  • There is not yet any UXP API that mimics the razor tool.
  • In PPro, all markers and metadata associated with trackItems, are actually attached to the backing projectItem; it's not possible to have different markers and metadata for each trackItem. [Same for CEP+ExtendScript and UXP.]
  • Placing trackItems in a sequence = no problem. [This is the same for CEP+ExtendScript and UXP.]
  • Export .srt file = no problem. You would use an output preset (.epr file) that specifies whatever settings you want. [Same for CEP+ExtendScript and UXP.]
  • Which video metadata do you mean? As mentioned, each projectItem has XMP metadata (which includes markers); width/height info is included in that. [Same for CEP+ExtendScript and UXP.]

1 reply

bbb_999
Community Manager
bbb_999Community ManagerCorrect answer
Community Manager
October 15, 2025
  • There is not yet any UXP API that mimics the razor tool.
  • In PPro, all markers and metadata associated with trackItems, are actually attached to the backing projectItem; it's not possible to have different markers and metadata for each trackItem. [Same for CEP+ExtendScript and UXP.]
  • Placing trackItems in a sequence = no problem. [This is the same for CEP+ExtendScript and UXP.]
  • Export .srt file = no problem. You would use an output preset (.epr file) that specifies whatever settings you want. [Same for CEP+ExtendScript and UXP.]
  • Which video metadata do you mean? As mentioned, each projectItem has XMP metadata (which includes markers); width/height info is included in that. [Same for CEP+ExtendScript and UXP.]