• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to get Source file path in plugin

New Here ,
Nov 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

I‘m using C++ and ppro's SDK to write an video filter type plug-in. I need to get the source file address of the selected video material.

Is there any way to get it in the SDK?

Thanks

TOPICS
SDK

Views

130

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Nov 28, 2024 Nov 28, 2024

No. 
A video filter is designed to operate on pixel buffers, not source media. Footage interpretation, source settings effects, and video filters earlier in the stack all have the opportunity to modify pixels, before they are sent to your video filter.

Additionally, the source pixels could be coming from a nested sequence (which will not have a path), or a synthetic importer....

No video filter should be relying on a media path. 

Votes

Translate

Translate
Community Expert ,
Nov 28, 2024 Nov 28, 2024

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 28, 2024 Nov 28, 2024

Copy link to clipboard

Copied

Thanks for reply:
thist answer is use PPro's ExtendScript  js  API and  I use Premiere Pro CC 12.0 Win SDK  C++。

These are two different SDKs? 

That's probably not what I want

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 28, 2024 Nov 28, 2024

Copy link to clipboard

Copied

No. 
A video filter is designed to operate on pixel buffers, not source media. Footage interpretation, source settings effects, and video filters earlier in the stack all have the opportunity to modify pixels, before they are sent to your video filter.

Additionally, the source pixels could be coming from a nested sequence (which will not have a path), or a synthetic importer....

No video filter should be relying on a media path. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 28, 2024 Nov 28, 2024

Copy link to clipboard

Copied

You're right, it's just that my plugin's special logic requires it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 02, 2024 Dec 02, 2024

Copy link to clipboard

Copied

Even if you somehow obtained the source media path for the trackItem to which your effect is applied, there is a very, very small chance that the source media is what your plugin is actually being asked to operate on. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 02, 2024 Dec 02, 2024

Copy link to clipboard

Copied

LATEST

There will not be any operation on the source file, it is just for effect preview. I saw that other plug-ins can be obtained but the API does not

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines