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

Is it possible to retrieve info from Premiere Pro to outside of it though a text file or sendin data

Engaged ,
Nov 21, 2023 Nov 21, 2023

Copy link to clipboard

Copied

Let's say we have this timeline:

Bed30321077z973_0-1700602198304.png

 

And you want to retrieve info about the "ENDs" of every item,

so in this case, the red yellows = end of every image displayed in the video tracks.

The green yellows = end of every video clip on the video track.

1) I would like to get that info into a TEXT file, exported SOMEHOW (during exporting video or any other process) --> Is that possible?

2) Send that data to visualcode somehow. --> Is that possible? I am supposing it is not.

3) Last solution, sending that information inside the NAME of the exported video.

--> Is it possible PROGRAM the name of the exported video without changing it manually? Meaning I want its name to be like this for example "nameofSeq_Endofclip1_endofclip2_.mp4"

--> Is that possible?

 

If none of the 3 above is possible, then please show me the path.

TOPICS
Editing , Export , Performance , SDK , User interface or workspaces

Views

210

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 2 Correct answers

Adobe Employee , Nov 27, 2023 Nov 27, 2023

1 : yes, in and out point information is available via API; see PProPanel. You can then save that info into a text file...

2 : ...or see it as a variable value, within VSCode. 

3 : Yes, you can specify the name of output files; see PProPanel

Votes

Translate

Translate
Adobe Employee , Jan 21, 2024 Jan 21, 2024

> ...do you think it is possible to CHEAT the premiere.jsx and insert a NEW FUNCTION (that I NEED), please?

No, we will not be further expanding or modifying PPro's ExtendScript API. 

Votes

Translate

Translate
Engaged ,
Nov 22, 2023 Nov 22, 2023

Copy link to clipboard

Copied

up

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 27, 2023 Nov 27, 2023

Copy link to clipboard

Copied

1 : yes, in and out point information is available via API; see PProPanel. You can then save that info into a text file...

2 : ...or see it as a variable value, within VSCode. 

3 : Yes, you can specify the name of output files; see PProPanel

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
Engaged ,
Jan 21, 2024 Jan 21, 2024

Copy link to clipboard

Copied

Discussuing point number 3:

Hello @Bruce Bullis , OK 2 months later, Now I am trying this CEP tech, (Don't you wish you could learn and do eveything in one instant sometimes? Anyway I am taking my time BUT I think I can do it somehow hopefully).

Anyway, As I am exploring the codes to try to find a way to realize this use case. I went through allt he samples of the categroy "EXPORT" and I think the last one might be related to "exporting a video"?

The function related to this button :

 

<button id="renderusingdefaultpreset">Render active sequence in AME</button>

 

?

This buttons uses: this function:

 

render : function (outputPresetPath) {
		app.enableQE();
		var activeSequence = qe.project.getActiveSequence(); // we use a QE DOM function, to determine the output extension.
		if (activeSequence) {
			var ameInstalled = false;
			var ameStatus = BridgeTalk.getStatus("ame");
			if (ameStatus == "ISNOTINSTALLED") {
				$._PPP_.updateEventPanel("AME is not installed.");
			} else {
				if (ameStatus == 'ISNOTRUNNING') {
					app.encoder.launchEncoder(); // This can take a while; let's get the ball rolling.
				}
				var seqInPointAsTime 	= app.project.activeSequence.getInPointAsTime();
				var seqOutPointAsTime 	= app.project.activeSequence.getOutPointAsTime();
				var useLast 			= false;
				var outputPath = app.encoder.lastExportMediaFolder();

.....
....
...

 

Is this the one that I need to use to export a video while giving it a name of my choosing?

If you re read this post, you will see that I wanted to be able to name my video as follows:

nameofSeq_Endofclip1_endofclip2_.mp4

(example)

 

This means I need to somehow get the info about available items in the tracks and somehow insert them into "fullPathToFile"?

The question, is it indeed possible to retrieve that info?

 

I saw something about markers, that might possibly help somehow maybe?

 

Discussing point number 1:

You mentioned this :

>" yes, in and out point information is available via API; see PProPanel. You can then save that info into a text file..."

Hum I started looking at the second category (Metadata and Project manipulation)

=>

I see things about metadata maybe?

I am not sure how to go about this. I can spend hours reading every bit of code to try to find it (I will try that), but I would not be opposed to a clue or two if that's okay.

Thanks!

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 ,
Jan 21, 2024 Jan 21, 2024

Copy link to clipboard

Copied

Is this the one that I need to use to export a video while giving it a name of my choosing?


That's the function on which you should base your own export function, yes.

 

>The question, is it indeed possible to retrieve that info?

Yes, it is possible to retrieve the names of trackItems. 

>I saw something about markers, that might possibly help somehow maybe?


I'm not sure; markers have nothing to do with trackItem names, but yes, you could also export marker ranges, if you like. 

>I can spend hours reading every bit of code to try to find it (I will try that)

I'm not sure what you're still trying to find...? In and out points for projectItems and trackItems are both available.

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
Engaged ,
Jan 21, 2024 Jan 21, 2024

Copy link to clipboard

Copied

Oh I see, the in and out are properties from the extend script lines of codes and attributes etc (Now I am starting to remember it), I think I need to tweek a little bit more and i might do it.

However, one impotant thing for me and please answer, do you think it is possible to CHEAT the premiere.jsx and insert a NEW FUNCTION (that I NEED), please? I am essentially needing a function that let you add effects to a clip (vid or aud) and/or transitions beween clips. Would not that be awesome?

If it's theoretically possible, but not in the program, then tell me anyway please. We will see.

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 ,
Jan 21, 2024 Jan 21, 2024

Copy link to clipboard

Copied

> ...do you think it is possible to CHEAT the premiere.jsx and insert a NEW FUNCTION (that I NEED), please?

No, we will not be further expanding or modifying PPro's ExtendScript API. 

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
Engaged ,
Jan 21, 2024 Jan 21, 2024

Copy link to clipboard

Copied

LATEST

Ok that's what I was expecting, I suppose the "budget" for activities around the ES API has ended and there is no plans within adobe or new budget to revisit this. Unless.. unless ..(Will send a PM or email, please make sure to read it).

Thanks again for the answers.

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