guntramp26642460
Participant
guntramp26642460
Participant
Activity
‎Mar 11, 2024
08:28 AM
@dhpd you can switch to Davinci, but can you write some javascript/webpage automizing stuff in Davinci? And if so, can you easily communicate between all apps in use (vulcan, bridgetalk)? Also, UXP is on its way (I know there is no official release date yet), and I am very much looking forward to refactoring for this better environment. Additionally, I am hoping that bugged or missing features will be fixed/added/refactored in UXP, so that they get more stable. But I also know that it sucks when links get broken. 🙂
... View more
‎Jan 29, 2024
04:19 AM
If you want to access "MasterComment3" for example, you can see inside the metadata, that its identifier looks like "Master_Comment_3" without that other stuff "Column.Intrinsic.Something". So if you do not find your metadata field, look into the data you get from projectItem.getProjectMetadata(): <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 7.1-c000 79.b0f8be9, 2021/12/08-19:11:22 ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:premierePrivateProjectMetaData="http://ns.adobe.com/premierePrivateProjectMetaData/1.0/">
<premierePrivateProjectMetaData:Column.Intrinsic.Name>USA/ARIZONA: NB - HOBBYFILMER NIMMT SELTENEN JAGUAR MIT KAMERA AUF</premierePrivateProjectMetaData:Column.Intrinsic.Name>
<premierePrivateProjectMetaData:Column.PropertyText.Label>BE.Prefs.LabelColors.1</premierePrivateProjectMetaData:Column.PropertyText.Label>
[...]
<premierePrivateProjectMetaData:Column.PropertyText.FieldOrder>Upper Field First</premierePrivateProjectMetaData:Column.PropertyText.FieldOrder>
<premierePrivateProjectMetaData:Column.PropertyText.Proxy>Attached</premierePrivateProjectMetaData:Column.PropertyText.Proxy>
<premierePrivateProjectMetaData:Master_Comment_3>SOME VALUE</premierePrivateProjectMetaData:Master_Comment_3>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?>
... View more
‎Jan 08, 2024
07:22 AM
> "I've no idea how to unzip Pproj files with a mac" You just change the filename to have a "*.zip" ending, then you doubleclick it.
... View more
‎Dec 14, 2023
05:18 AM
> What workflow(s) would you create, given that information? We have original media on a server. Users usually use media which was already formatted. We are creating a workflow, so the user can see what material inside the bins has original media stored on the server. It would be nice to display the codec of the projectItems, so the user can see and choose if the original material is needed and import it on demand.
... View more
‎Sep 04, 2023
03:50 AM
Is this still how it does not work? I need to import sequences from Premiere via Extendscript to automize some workflows. Is there really no way to do this? I mean, it's 4 years later now... AI is trying to tell me there is a class "PremiereProSequence" i could instantiate and that there is a function "importPremiereProSequence()" inside the "project" object (which is not true, but sad). I do not want the user to decide which Sequence to import, because they do not have readable names... I am feeling like being the only person on the planet who wants to do that. 🙂 So, might there be any update to this thing?
... View more
‎Jul 26, 2023
08:12 AM
1 Upvote
You should send out drones to every license user carrying the message and some fireworks to make it more clear!
... View more
‎Jul 26, 2023
08:09 AM
Hey, thanks for the fast reply! It is really good to know that there is a rough milestone pending, rather than wandering in the dark mist 🙂 And sometimes I forget checking the beta- and dev-forums for news 😉
... View more
‎Jul 26, 2023
04:58 AM
Dear Bruce, can you roughly estimate when UXP will be available for PremierePro? Even google bard does not know 😉
... View more
‎Jul 18, 2023
07:42 AM
1 Upvote
It's only 132px on Mac, on Windows it is 134px...
... View more
‎Mar 08, 2023
04:27 AM
If a projectItem has a hires and a proxy, it will return false for isOffline(), if the hires is offline and the proxy is online. I have to detatch the proxy, check isOffline(), and re-attach the proxy. Is this a bug or a feature (feels a little strange)? 🙂 Cheers, Guntram
... View more
‎Feb 03, 2023
07:10 AM
In my case, it was a folder which could not be deleted by "deleteFile()", returning only {err: 8}. I thought it was because of a space in the folder name, but from cep.fs we see that error 8 means "not a file"... So I need to switch to node fs, because cep.fs does not support deleting folders?!
... View more
‎Jan 31, 2023
07:54 AM
It seems to be working with gifs!
... View more
‎Jan 31, 2023
06:41 AM
I was working with keyframes on videos and all was good (on Windows - did not try on Mac yet). Now I'm trying this with images => nothing works. Still now, using PPro 2023... (23.1.0 b86) How is the status of DVAPR-4217831? We cannot see it, I assume it was rejected or forgotten in the ticket tomb 😉 It also does not work with PPro Beta (23.3.0 b17) Just updated PPro and the Beta to the latest versions. It would be very nice if someone could post the status of DVAPR-4217831 🙂 Tüdelü, Guntram
... View more
‎Jan 31, 2023
05:01 AM
This only explains how to set keyframes to videos, not how to set them for images...
... View more
‎Jan 24, 2023
07:15 AM
I have implemented a button for a dirty hotfix (to refresh the links). You cannot relink! (canChangeMediaPath() returns false for ae-links or mogrts) So I delete the links, and re-import them and insert them again into their positions in the sequences.
... View more
‎Jan 16, 2023
07:27 AM
We wanted to apply some custom presets to items in the timeline, and the best way to do this seems to be to use a mogrt containing effect presets which takes a path to the media. This way we do not have to read and parse preset files and assemble effect sets manually. 🙂
... View more
‎Jan 11, 2023
07:35 AM
Thanks for clarifying 🙂
... View more
‎Jan 11, 2023
03:34 AM
What I am assuming here is that "Scale+ key" is a custom preset. I could not find a possibility to access custom effect presets and apply them to an item. (They do not appear in the getVideoEffectList() ...) Is it correct, that there is no way to access the custom presets?
... View more
‎Nov 08, 2022
09:33 AM
>> displayed in Comic Sans... 😄 I would prefer the Wingdings font (especially on Mac hehe)
... View more
‎Nov 08, 2022
09:08 AM
2 Upvotes
Yes, I know 🙂 That's why I wanted people to know, because until yesterday, I thought that adding a videoTrack always adds an audioTrack. Also, I was pretty much surprised that there are entries for QEDom in the object-model-viewer, which made me explore the addTrack() function again with a satisfying result (very nice!). Maybe writing "badly explained" seems a little harsh, but to me it is the opposite (especially when I find a satisfying solution without dirty workaround) - because as you told so many people that QEDom is not recommended and not documented. This does not stop us from using QEDom until it will be dropped out of availability. We desperately need some functionality from QEDom, otherwise we could not use most of our panels. We implement some very complex workflows which require some features from QEDom. If QEDom was unavailable, and there wouldn't be a substitute, I would refuse to implement panels with ExtendScript (because I would have to tell my customer that some features are completely impossible - or only with really bad workarounds - e.g. adding a sequence from a preset file). (off topic:) Also, you are recommending VSCode. I have some thoughts about VSCode: 1. it is a text-editor with plugins, which the user has to maintain 2. it is so far away from an IDE, and even more far away from a managed IDE (I use Webstorm) 3. the ExtendScript plugin in VSCode is unstable (ExtendScriptToolkit ALWAYS works - sometimes you gotta squeeze it, but it will do what I want and need) 4. when I see people working with VSCode, I have the feeling that they are slower in coding than people using an IDE (due to the concept of VSCode) So, sometimes I am forced to use VSCode (if something on the MacOS is not working properly), and I only identify the problem and switch back to Windows and Webstorm to fix or change it, if that is possible. I do not want to judge anyone or anything, but in my opinion, VSCode is a bad tool for coding, it does not help me at all, it blocks me from being productive (I have coded in quite some environments, including IDEs and text-editors - e.g. VI, notedpad.exe or even from the command line 😉 ). And as we can see, after some years now, as the Toolkit is now unsupported, I still find some jewels inside of it! 🙂 If I see someone asking about a feature which is in QEDom, and I can help or find out, I will do that. And I will not mind you saying again and again that this remains unsupported and disencouraged... So cheers and thanks for all your answers! Guntram
... View more
‎Nov 08, 2022
07:09 AM
1 Upvote
When using addTracks() from QEDom, you might see that it inserts a videoTrack at the beginning (so there will be a new videoTrack[0] and all others are pushed above it). When using addTracks(3) it will prepend 3 videoTracks into the videoTracks array! Now, if you set a second parameter, the desired number of videoTracks (first parameter) will be inserted after this index: addTracks(2, 3) inserts two videoTracks after index 3, so there will be a new empty videoTrack[4]! There are even more parameters (badly explained in the object-model-viewer inside ExtendScriptToolkit -> search for QESequence, see that addTracks() accepts a bunch of number parameters...). This is good if you do not want to add audioTracks "in the background" while adding a new videoTrack (which is done automatically by default): addTracks(1, 3, 0) will add one new videoTrack after videoTrackIndex 3, and NOT add an audioTrack! (I am not sure about the fourth parameter and further ones, if you execute addTracks(0, 0, 1, 3) it will prepend an audioTrack to the beginning of audioTracks, no matter the fourth parameter...)
... View more
‎Jan 21, 2022
05:26 AM
1 Upvote
Hey Bruce, thanks for your reply 🙂 The problem was, that using the remove functions with QEDom was causing an audioTrack to be deleted, which was not empty. I am not really sure why this happened, but after cleaning up my code a little the problem did not seem to occur anymore. In this case, I am sending commands to AfterEffects via BridgeTalk, because I thought we do not need an extra AE-panel for the usecase. This works pretty neat, but I forgot some simple things, like "do not import footage if it already exists" - or "do not insert footage to a layer if it is already in there".... So after cleaning up it seems to be good. I must emphasize that I did not try that on newer versions, as we are still stuck to the 2019 versions (PPRO & AEFT), and I also did not try on Mac yet (I test stuff on the Mac after it is running in Windows 😉 ). I will keep an eye on the remove functions (I know it is not part of the officially supported API), and test stuff in newer CC versions in the future... (To me, Eli_Portell-TUVs1qs answer seems already correct to the OP question - I just wanted to add some little more detailed code how to get a sequence if you do not want to work with the currently active one, and after I posted it I saw the other post by RajinderSingh where he made a separate post with his question, because it is kind of a different question than the one which was asked here...).
... View more
‎Jan 20, 2022
08:20 AM
Sorry, just found https://community.adobe.com/t5/premiere-pro-discussions/get-specific-sequence-with-qe-dom-extendscript/td-p/11313652 after I wrote that...
... View more
‎Jan 20, 2022
08:14 AM
Is there a way to get a specific sequence with the qe dom rather than just the active sequence? This might help when trying to find a sequence by id: var removeEmptyAudioAndVideoTracksInVersionSequence = function removeEmptyAudioAndVideoTracksInVersionSequence(sequenceId) {
app.enableQE();
var bin = getBinFromQEDomByPath('mybin/sequences');
if (bin) {
bin.flushCache();
for (var index = 0; index < bin.numSequences; index++) {
sequence = bin.getSequenceAt(index);
if (sequence && sequence.guid === sequenceId) {
sequence.removeEmptyAudioTracks();
sequence.removeEmptyVideoTracks();
return 'true';
}
}
}
return 'error: bin not found!';
};
var getBinFromQEDomByPath = function getBinFromQEDomByPath(binPath) {
app.enableQE();
var qeProject = qe.project;
// remove last char if it is a slash
binPath = binPath.replace(/\/$/, '');
var binPathAsArray = binPath.split('/');
// start at root level
var bin = qeProject;
// go as deep as the binPath is
for (var binNameIndex = 0; binNameIndex < binPathAsArray.length; binNameIndex++) {
for (var currentBinIndex = 0; currentBinIndex < bin.numBins; currentBinIndex++) {
var binToFind = bin.getBinAt(currentBinIndex);
if (binToFind.name === binPathAsArray[binNameIndex]) {
// return it because it is the last bin of the path from binPath
if (binNameIndex === binPathAsArray.length - 1) {
return binToFind;
}
// it was the next bin of the path from binPath
bin = binToFind;
// stop inner loop, continue with outer loop...
break;
}
}
}
// not found
return null;
}; I still have a sporadic problem, that sometimes audioTracks are removed by ``removeEmptyAudioTracks()`` which are not empty 😞 Can anyone confirm this? (at least in Windows, PPRO 2019 - did not test with other versions yet...)
... View more
‎Jan 13, 2022
09:31 AM
I think you can fetch the composition like this if you do not want to work with the currently active one: /** * Returns e.g. a composition from the bins. * If there are more files with the same name, * the first one will be returned and others will be ignored. * @param string name The name of the item to retrieve */ getFolderItemByName: function getFolderItemByName(name) { var project = app.project; for (var index = 1; index <= project.numItems; index++) { var folderItem = project.item(index); if (folderItem && folderItem.name === name) { return folderItem; } } return null; }, Or if you want to bring a composition to the active state, you can set it: composition.selected = true;
... View more
‎Aug 18, 2021
07:22 AM
So this error occurs when setting XMP meta, in this special case setting sequence metadata.
... View more
‎Aug 18, 2021
07:17 AM
Oh, I just realized that the "set empty value" was related to mogrt data, but my post also contains that we had to go to 2019 because we had problems with the checkboxes in mogrts...
... View more