Using clip markers to drive layer opacity

Hi folks, I need a little help with an expression. Your input would be most appreciated.
I'd like to have a solid layer in my comp which has 0% opacity most of the time, but has 100% opacity only on those frames where there is a clip marker on a specified footage layer, AND the frames where the footage layer has a clip marker on an adjacent frame.
That last part may be confusing, but the practical upshot is that the layer is transparent until a clip marker comes along, whereupon it goes opaque for the surrounding three frames.
Thanks again!
Ari

// expression 1
L = thisComp.layer("footage");
if (L.marker.numKeys > 0){
if (Math.abs(L.marker.nearestKey(time).time - time) <= thisComp.frameDuration*1.1){
100
}else{
0
}else{
0
// expression 2
L = thisComp.layer("footage");
n = 0;
if (L.marker.numKeys > 0){
n = L.marker.nearestKey(time).index;
if (L.marker.key(n).time > time + thisComp.frameDuration*1.1){
n--;
n
Dan

Similar Messages

  • Clip markers are gone??

    Prior to CS6 I would use clip markers (on each video clip - not the sequence markers) to synch up multiple cameras in a sequence.  Now in CS6 they are gone.  Can anyone tell me where I cam find clip markers in CS6.
    Thanx in advance,
    Mel

    By default, you can now only work with Clip Markers in the Source Monitor.
    There is a keyboard shortcut that you can set to return the ability to add them in a sequence, however all other clip marker activity, including navigation, has been removed at the sequence level.
    Please file a feature request to have Adobe restore what they took away, which is full clip marker functionality in the sequence.
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • See the logged content for clip markers at sequence level?

    I'm working on my first long form documentary, and I'm using a work flow a colleague recommended – although he typically works with Avid and an older version of Final Cut Pro, so there may be some areas where this work flow is broken.
    I've vascialleted a bit, as I've recently began to use Prelude to do the logging instead of Premiere Pro. Obviously logging in PL is quite a bit easier as it's set up with some handy keyboard shortcuts for doing so. Basically I'm adding clip markers to interview stringouts that contain transcriptions of what the person is saying at that point of the interview.  Now that Premiere Pro CC allows me to navigate to the clip makers the same way I could navigate to the sequence markers (Command-Shift-M for previous and Shift-M for next), it's pretty handy and it makes sense to use clip markers since they'll always be there no matter what sequence you put the source footage into.
    So, great. All makes sense right? Well...turns out I've run into a bit of a problem.
    There is the handy Markers pallete (windows>Markers) which highlights the text I captured for a specific marker, making it easy to navigate or search for a certain question or answer in a given interview. Trouble is, that only shows content at the sequence marker level. While I can navigate to a clip maker within a timeline, the Markers pallette stays blank for that clip marker. Which, is kind of a show stopper in terms of navigating the logged clip once it's in a sequence or stringout. I can still see what's in that clip marker if I hover the mouse over it and wait for a tool tip to show up, but that's not exactly optimal.
    I'm thinking about going back to logging in Premiere just to keep the sequence level markers easily searchable at the stringout level. Any feedback? I'd certainly prefer to do the logging in PL, but I'm dealing with a lot of footage here, and I need at least the stringouts to be easily searchable.
    Mind you, my colleague isn't a Premiere Pro power user, so he may have recommended a workflow that isn't exactly optimal for the tool. Any insight would be welcomed, but if there were some way for the Markers pallete to show the content of the clip marker, I'd be off and running.

    Well, I figure if I can get to both the sequence markers and clip markers with command shift M and the like, I may as well be able to see the content for said marker if content exists. My work flow here is probably a bit of an anomoly – but this is my first long form project, and it being a documentary, you can imagine that there are a lot of assets and stringouts to keep track of. Any shortcuts to getting to the logged content is a huge help throughout the entire process.

  • Clip markers lost when using "Replace Footage"

    I'm running into a problem with clip markers. I've got clips in my project that have been heavily marked. We need to transcode these clips to a better format because they are bogging down my edit. I've transcoded them to ProRes. When I try to replace the originals with the new prores versions I lose all of my clip markers.
    Same problem if I take the media offline and then link it to the ProRes versions. Clip names and timecode have not changed, just the compression.
    Is there any way to keep my markers and other metadata when I link to the new media?!

    As great as that would be, this is not native camera media, it's heavily compressed h.264. We are on a relatively beefy mac pro, but still having issues.

  • Link Media loses clip markers CC (2014)?

    Not sure if latest update has anything to do with this, but when I re-imported a clip to my Premiere CC (2014) project, I lost my clip markers.  (I had to move the media to a new drive.)  Link Media re-imports the clips just fine, but all the markers are gone.  This happens whether I link to the missing media at the startup screen, or whether I do it clip by clip, or whether I use Replace Footage. 
    I'm on a Mac (as you can see).  Anyone have any thoughts? 

    I am having the same problem; both Premiere and Audition are CC 2014 versions. The clip is output as a.wav file to an Adobe Audition Interchange folder, but isn't opening Audition. Doing it outside the dynamic link all works of course but not as it did with CS6. I am calling the video clips from an external drive; I am wondering if I need to have all the working files within the same folder on the same drive? I shouldn't have to, of course, but maybe this is a bug that has crept into this version.

  • Do macs use the worst dvd drives???

    this is just a question because i have noticed that a lot of DVDs that i burn on my mac play in my home DVD player, through my lacie external DVD drive and/or my friends PC work perfectly but they wont play in my iMac G5 or my MacBook Pro DVD player.
    PS. the DVDs that i use are verbatim 99% of the time. and a lot of the problems are with dual layer DVDs.
    PSS. please dont confuse my question with "macs DO use the worst DVD drives" as a statement. i do not mean it that way at all. thank you.

    Hi,
    It's a bit long story, page #39 of the following document shows you all:
     http://h10032.www1.hp.com/ctg/Manual/c01659847.pdf
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Emergency - Clip Disappeared from Drive

    I've just had a clip go offline in a project and it seems to have disappeared from the drive. I'm using a G5 2.5Ghz running OSX 10.4.8 and FCStudio 5.1.2. I have FCP on the A drive and use the internal B drive as a capture scratch. Everything was fine on this project until I closed it out because FCP wasn't recognizing the external monitor. When I re-started, the clip was offline. I tried to reconnect, but it was no longer in the Capture Scratch. I checked the trash (nope), used Disk Utility to verify permissions on A and verify B (no problems found), checked the other machines on our network and -- nothing. It's disappeared. I had to send the tapes back to Tokyo on this project, so I have no way to replace this. Any ideas on what happened and - more to the point - how to find this missing clip?
    G5 2.5 Ghz   Mac OS X (10.4.6)  

    I realize that you did not put the file in the trash, but I recently came across a GREAT program for data recovery:
    File Salvage
    http://www.subrosasoft.com/OSXSoftware/index.php?mainpage=product_info&productsid=1
    Great for recovering trash that has been emptied.
    N

  • What is the benefit of using clipping paths for a knock out?

    I found a posting saying they need someone to knock out the background of a lot of images using clipping paths. My question is, WHY use a clipping path? I know the rule of not using a selection tool such as the Magic Wand and then turning it into a clipping path and I know why that is. But if all is needed is for the background to be knocked out, why can't we just use the selection tool in the first place and just knock out the background from there? What is the benefit of that clipping mask?

    Usually the term Clipping Path refers to turning a path into a clipping path (in the paths panel) for use in older programs such as PageMaker that don't support transparency.
    For example if one wanted to import a file into PageMaker and only have a certain part of the document visible, one would make a path (or selection) around the object
    and turn the path (or selection) into a clipping path. Sorta the same results you see in photoshop using a layer mask or vector mask.
    Also clipping paths are used in certain printing workflows.
    Without seeing the posting it's hard to say what they meant and in photoshop 6 vector masks were labeled as Layer Clipping Paths not to be confused with real clipping paths.
    Old versions of photoshop also used the term Group With Previous to denote Create Clipping Mask.
    photoshop 6:
    Photoshop cs6:
    Anyway clipping masks and clipping paths are two different things in photoshop.
    layer masks, vector masks and clipping masks:
    http://helpx.adobe.com/content/help/en/photoshop/using/masking-layers.html
    an example of creating a clipping path:
    http://www.clippingpathspecialist.com/tutorials.html

  • Layer Opacity percentage from Photoshop is different in After Effects

    When importing a layered PS CS3 document into AE CS3 with layers set to different opacity, AE interprets the % differently. AE displays the % as a whole number but when you click on the field you can see the number goes to at least the thousandths.
    This is an issue as our animators need to usually make footage loop perfectly and if they use the default imported value as the start value, and then change it over time and then create a new keyframe at the end of the loop to the whole number it displays, it is actually different so there is a slight shift.
    As you can see in this example:
    PS layer opacity = 10%
    AE layer opacity = 10.196%
    PS layer opacity = 20%
    AE layer opacity = 20%
    PS layer opacity = 30%
    AE layer opacity = 30.196%
    PS layer opacity = 40%
    AE layer opacity = 40%
    PS layer opacity = 22%
    AE layer opacity = 21.0968%
    PS layer opacity = 88%
    AE layer opacity = 87.8431%
    Anyone else know why this is happening? This is a mind boggler for me.
    Thanks,
    Jon
    FYI, our Macs are running:
    OS X 10.5.4
    AE CS3 8.0.2.27
    PS CS3 10.0.1

    Simple: AE will use a higher precision than Photoshop even in the 8bpc/16bpc modes, let alone 32bpc. Photoshop will surely use the same values internally, but it doesn't display them. Dunno why, but PS being the old dog it is, I'm not really wondering... More of a question for that forum for sure. Could of course also be a problem with different color profiles/ color space settings between the apps, so this might be worth checking. Maybe you are using an outdated version of a profile in one of them... A simple solution inside AE would be to simply nail down those values with expressions, e.g.
    opacity.valueAtTime(thisComp.startTime)
    Otherwise: Stay away from the evil Photoshop. ;-)
    Mylenium

  • Where has "Duplicate Project + Used Clips" gone in 10.2 ?

    I want to backup my project and all the media it uses to an external hard drive.
    In 10.1 I could use, Duplicate Project + Used Clips , but where is that in 10.2?

    I'm assuming you mean 10.1.2, not 10.0.2. For the recent version, connect the external drive. Make a new library on it and set the library properties to be managed media, so the media in inside the library. Drag the project from the existing event on your drive to the event on the external drive, that will copy the project and the used media to that event. You'll also have the option to copy render and optimized media. I'd forget about that. Mail the drive and your colleague should be good to go.

  • Duplicate Project + Used Clips Only not working as expected.

    I am revisiting this once again and have had some good information on the matter, but I am not getting the results I think I should.
    Here's a link of instructions I followed and addresses my exact concern:  http://www.premiumbeat.com/blog/how-to-archive-projects-in-final-cut-pro-x/
    I want to archive ONLY the project and clips used for a project. 
    If I export my project using the current settings (ProRes) then shouldn't the Duplicate Project and Used Clips only feature give me a a backup that is roughly the same size as my exported Quicktime?
    Currewntly when I use any of the Duplicate operations other than the 1st, all media is duplicated, not just what is needed.
    Has anyone had success with just getting what you need for the project?
    The reason why I don't want to archive all of the media outside the project is due to hard drive space.  I have the camera raws backed up already.  I just want to be able to open the project again if needed and only the project with necessary media.
    Thanks.

    When you say " I also changed the default start to 7:30 and end 4:30", are you talking about the
    project information in the project tab? You're supposed to be able to specify only one of the parameters (start date or finish date) depending if you're back-planning or not.
    Check if the option "ignore resource calendar" on the task if checked.
    Also try to press F9.
    Are the task manually scheduled? Do you have constraints on the tasks?
    Maybe share a screenshot so it'll be easier to help you.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Why are my clip markers not saved?

    I'm using PE 9.  My clip markers are not getting saved.
    1)  Open a blank test project.
    2)  Select Organize \ Media.
    3)  Double-click one of the clips, and the preview window opens with the clip.
    4)  I move the Current-time Indicator to the point I want a clip marker.
    5)  Click (menu) Clip \ Set Clip Marker \ Next Available Numbered.
    6)  When I move the Current-time Indicator away from that location I can see the marker is visibly there.
    7)  I also set In and Out markers.
    My understand (from what little documentation exists) is that that is enough to persist clip markers on that clip, for all future projects that include that clip.  However, as soon as I close that clip, all markers are lost forever.  I can reopen it (from organize \ media) and see no markers.  I can also add it to a timeline, and still there are no markers.  The only way I can get markers to save is to add the clip to a timeline, place markers in the timeline, and save the project.  This is not supposed to be necessary according to the docs.
    As far as I can tell there is no "save" action needed to persist markers, and saving the project seems inappropriate, but I save it anyway out of desperate frustration.
    What am I doing wrong?

    Neale, thank you again. 
    Here's one of many references that distinguishes between source clip-marks and instance clip-marks specifically for PE9 (also referenced in many other versions of PE): http://help.adobe.com/en_US/PremiereElements/9.0/Using/WSC22A9AEC-AB3F-4fbc-9F00-F0CBFC211 4CF.html
    The image below is of my entire desktop with some scribble added.  You can see 3 source clip marks on the preview window (NOT the project timelene which has many more).  No matter what I do, those 3 clipmarks will be lost the moment I close the preview window.

  • How to save png from psd that preserves transparency of 85% FILL opacity & 100% Layer opacity?

    I am using PS CS3. My design has a shiny colored glass type effect with 100% layer opacity, but an 85% fill opacity so that you can see through it. I have tried everything to save as a png file that preserves the transparency but nothing works. Thanks for any help!

    Thank you both for your help and questions.
    I am using several effects including bevel and emboss, inner shadow, inner glow, satin, etc. If I lower the layer opacity then everything is affected and I want my highlights, etc. to stay crisp and still be able to see through the object as if it were colored glass.
    I did finally figure out how to get it to do what I wanted. I lowered my fill opacity to 0% and added a color overlay at 65% opacity. This got me the exact look and transparency that I wanted when I saved as a png.
    Thanks again.

  • Scripting Layer Opacity change

    Hello!
    I want to create a script that decreases current layer opacity by 5. Here's what I have now:
    app.activeDocument.activeLayer.opacity -= 5;
    The problem is, when I map the script to a hotkey and press it multiple times (e.g. to set opacity to 50%), it goes normal from 100 to 95, from 95 to 90 and so on until 75%. From that point, it goes to 69% (should be 70%). Then it proceeds as it should (69 -> 64, 64 -> 59).
    It also breaks at 24% (24 -> 18), if that matters.
    I use Adobe Photoshop CS6 on Windows 8.1 (x64).
    Why is this happening (decrease by 6 when I have 5 in my code)? Am I doing something wrong? Sorry if this question is stupid, I am just new to Photoshop scripting...

    ahawktom,
    opacity is not a rounded value and opacity works with percent.
    Try something like this:
    if (app.activeDocument.activeLayer.opacity > 5) {
        app.activeDocument.activeLayer.opacity = Math.round(app.activeDocument.activeLayer.opacity) -5;
    Have fun

  • Read native WAVE Cue points as clip markers?

    I'd love to see Premiere do that.
    We're using a Zoom audio recorder that can store cue markers in WAVE files. Audition can read them, Premiere can't, and I'm not aware of any way to export/import clip markers between those two apps either.

    Here's how to get it done.
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Tell your friends.

Maybe you are looking for