Duration of the layer adapts MainComp duration

Hi guys,.

I have this problem...

I created a few videos with a progressbar... I created a comp with progressbar, with 10-minute...

Now, I'm importing progressbar comp in the main computer, but I need, the time is automatically adjusted with the duration of the main computer, or better an audiosample...

Is there a way to script to accomplish?

Kind regards

Michele

You can also use the in and out point of an audio layer in the expression that I gave you. It would not cut your comp to the length of the audio layer but it would give you a progress bar that would scale up as the played audio layer. Try this by naming your audio layer "audio" and applying this preset (CC or later). It was a good idea that I built an animation preset to add to my library of more than 200 that I use all the time. Dropbox - progress to audio.ffx bar

Just save the preset in your user presets folder and then find in the Panel effects and settings preset or click Browse for the preset from the Animation > menu to apply predefined Animation. This preset will give you a new shape layer at the bottom of a model of HD that is filled with a gradient and which can develop into the top of the left during audio playback. He does not cut the model at the right length of length but it will do the job.

This is the expression:

l = thisComp.layer("audio").outPoint - thisComp.layer("audio").inPoint;

t = time - inPoint.

x = Math.ceil (linear (t, l, 0, 0, 101))

y = value [1];

[x, y]

The solution you gave my friend Mathias would work very well on an animated demo, but she also wouldn't give you a fully automated solution, which truncates your comp to the length of your audio or your video layers.

You can also use the term in the expression instead of the layer and point to l. it would give you a progress bar which began to evolve with at the point of the layer and has continued to evolve until the end of the composition.

l = thisComp.duration - inPoint.

t = time - inPoint.

x = Math.ceil (linear (t, l, 0, 0, 101))

y = value [1];

[x, y]

There are many ways to achieve this with just an expression, but none of these will give you a fully automated way of creating a model with an audio layer and a progress bar that corresponds to the duration of the layer audio or video in the model. That takes a script.

Tags: After Effects

Similar Questions

  • After effects pre composed the whole MVI_0000.MOV instead of just the LENGTH of the LAYER?

    Hey guys

    I'm working on a project in AE that involves the green screen.

    I'm having a problem with the COMPOSITION of PRE. Please keep in mind that I have done about 0 video and HAVE NOT suffered this problem so far.

    Now, whenever I try to compose Pre pictures green screen, after effects Pre composed the whole MVI_0000.MOV instead of just the DURATION of the LAYER.

    Thus forcing me to do things the long extreme way to find my points IN and OUT, that I'm afraid to do for audio, reason for synchronization.

    I feel like a one hit shortcut keyboard or something because I have not had to deal with this issue all the time I've been editing.

    I tried the things:

    removal of the preferences.

    Open a new project

    uninstalling / reinstalling AE

    software update

    analysis diagnosis by computer

    And yet nothing has worked... Does anyone else have this problem?

    Suite CS6

    MAC PRO

    the "Adjust composition duration the duration of the selected layers to ' in the dialog of Pre-composed was only introduced in CC if you CS6 and that you want to dial prior to the duration of the layer, you must take the long road that is:

    1. your layer should be cut like that

    2. While the layer is selected, you type Cmd + Alt + B so the work area be cut to the layer like this:

    3. you dial before with these settings:

    4. in your demo, you right-click on the work area and select "Trim Comp to work Area"

    5. you return to your master comp and feel happy with what you have done

  • The window of editing to the layer and Footage window (?)

    I tried to learn AE & that it is confusing. one of the most confusing things is the layer Timeline Windows and Footage (?). They both appear in the same place using the different tabs. And I don't know how to explain it: - but when I put a picture in the Timeline layer, it does not appear if I rub it beyond the first image. If I place images of film in the chronology of the layer I can rub thru & see it. I mainly work with still images I want to cover anime titles. Can someone point me to some info to help me understand how as well how to understand whhen use images windo - VS - layers / chronology. It's so confusing - I hope that I asked a coherent question!

    Thank you very much!

    Hmm not sure if that's what you mean but if you put your image in the timeline to look right and you will see a color bar that represents the length of the sequence (your image) Unlike the duration of the timeline. Scroll to the right of the color bar and take the end of it (left click the mouse and hold the button) and drag (extend) the end of the timeline or the desired length, you need. Looks like the length of your comp is longer than the length of your movie (photos).

  • USB port from a digital Multiport card will not read the external SSD drive. Right USB - c for the USB adapter works fine.

    USB port from a digital Multiport card will not read the external SSD drive. Right USB - c for the USB adapter works fine.

    It's a new 12 '' MacBook

  • HP Pavilion 15 laptop: Cannot install the driver/adapter wifi

    Hello, my wifi card has had a history of problems before now, I had to reset it frequently that I lost the connection easily. Today, I had to start questions so I did a hard reset on my computer. Then I realized the wifi adapter "disappeared" networks and sharing centre and I could not connect to any wifi. Broadcom wireless adapter was also hidden in Device Manager. I then uninstalled and tried to reinstall the card using HP Recovery Manager but the Device Manager I don't see anything installed. Installation on the HP site can also get nothing. I'm not sure if the Broadcom adapter is the problem at my misfortunes of wifi.

    That's what I see in the Device Manager. Thanks in advance!

    Hello

    Please try Broadcom Wireless LAN Driver for Windows 10:

    Details

    This package contains the Broadcom Wireless LAN drivers for the laptop models running a supported operating system. Broadcom wireless LAN drivers are required to activate the built-in Broadcom wireless LAN adapter.

    File name: sp71994.exe

    You may also need to Bluetooth:

    Details

    This package contains the Broadcom Bluetooth driver for the supported models that are running a supported operating system. Broadcom Bluetooth driver is necessary to enable the Bluetooth of Broadcom devices.

    File name: sp71995.exe

    Kind regards.

  • Firefox loses Internet every 5-10 minutes (as for example, Skype does not work), and the only way to solve this is to reset the network adapter (reset DNS and get the new IP address?)

    I click with the right button on the icon of the network adapter and press "fix." After that, I can browse sites for 5-15 minutes. But then the story repeats itself. And all of this can happen while I will have a video chat on Skype, so the internet connection is OK.

    • Try this.
    • Type in the bar of address about: config.
    • Accept the warning.
    • On the page that appears, in the filter box, type Network.http.Max - connections.
    • Replace the value 32 (which is probably the value 256 in your case).
    • Close the topic: config page.
    • Restart the browser.
  • Satellite Pro U200: VGA output works not properly when the AC adapter / CC has been connected

    Hello

    I have a problem with vga output. When I'm working on the battery and connect my laptop to external monitor is ok, but when I connect adapter then start waving also bluetooth and wlan is not working properly. In other cases when I disconnect laptop battery and connect the AC adapter it works correctly.

    Thanks in advance

    Hello

    Can you please describe more precisely what is happening here? Does not properly is a rather general statement.

  • Tecra M5-388: touchpad question after you have connected the new adapter

    Hello

    I have recently brought a new adapter to replace my old on my Tecra M5-388 by ebay, it has the Toshiba logo on it and safety symbols and plug in my mouse immediately after began to falter on the point that I rely on and the touch pad has become rather not consistent; Disconnect the power supply and it goes back to normal.

    The thing is that the former adapter was a clover sheet plug in brick, even if this new is a figure 8.
    Does anyone know if the maps are specific to each model?
    I'm a little worried that too much current is running through the laptop.

    Any help would be great.

    Thank you

    That s a great info!

  • Performance of WLan Z830 satellite falls down when the AC adapter is plugged

    Hello

    When I plug my whole wifi power cord breaks. 54 MB to 2Mb!

    In the Power Options, everything is the same as the answer key, battery with or without.

    Any ideas?

    My camera is a

    My laptop:
    SATELLITE Z830-10J ZB040302H

    How about WLan driver update?
    Have you tried that?

    To be honest I have never heard of such symptoms when the power adapter has been inserted
    Of course, I read on the issue when the power adapter has been removed from power saving

  • Satellite Pro A120 - no power supply the AC adapter

    Hello

    I recently had some problems with powering the my Satellite PRO A120. Initially I was not getting any power to the laptop of my adapter. I bought a new card on ebay that seems to have solved the problem as my laptop turned on once more, even if I could use it only for a few minutes on the stand alone mode as it would drain completely after a few minutes. After a few weeks, the adapter has stopped working. This led me to believe that my battery might be the problem that caused the adapter switch defective.

    I then bought a battery of reco and tried to see how long he would stay on without the adapter - even once the laptop only lasted a few minutes before I die

    I can only use my laptop with a power adapter borrowed right now. The battery is the cause or is there an underlying problem with memory or the motherboard?

    It will be expensive to fix or should I try to buy a battery and the original power cord and see if it works

    Your opinions and comments would be greatly appreciated.

    > After a few weeks, the adapter has stopped working. This led me to believe that my battery might be the problem that caused the adapter switch defective.

    It is a nonsense. The battery does not affect the power adapter!
    The battery loses own performance during use of the laptop and sooner or later, the battery will discharge.
    This is nothing unusual happens to all batteries

    In your case, it could be a defective battery and AC adapter malfunction
    It is very rare that the two parties would begin to malfunction at the same time, but it possible s

    However, in my view the laptop must be tested using the new battery and AC adapter.

    Welcome them

  • Tecra A5: touchpad issues only when the AC adapter plugged

    Hello

    I have a very strange pb with my tecra a5: when I plug in the power supply, my touchpad behaves oddly (latency), as soon as I unplug the power touchpad is ok.

    I tried many things (including total reinstall + change the touchpad), the pb is still there.

    An idea or a similar experience?

    Hello

    Recommend to test this with the new adapter recommended by Toshiba.
    I read here in the forum on a similar topic that could be solved by the new adapter.

  • Tecra A7 still sees the AC adapter - even if not connected

    Hello

    I've had this problem for awhile now. It happened quite suddenly, one day it worked great, the other day and the following days later, it didn't. The problem is like this:

    My Tecra A7 still "sees" the adapter connected, even if it's not! This can be quite annoying if I turn the laptop on its battery, because it will automatically run on full power b/c of the Toshiba power management utility is installed. That said, running at full power, the battery is discharged very quickly. Beside that, if it is disconnected from the net power for some time, the laptop battery is draining, even if turned off all the time!

    Of course, the problem is not huge. I can always manage the electricity utility myself if necessary, but as you can imagine this probem is quite annoying. And I really want a solution to this problem.

    If someone knows the solution?

    Thanks in advance,

    Arjan

    Hello

    That means the power icon in the taskbar says?
    Have you noticed changes especially after connect/disconnect the power adapter?

    I think it might be a software problem
    I mean the energy saver.

    You he should remove the system and needs to be reinstalled the version downloaded from the European driver from Toshiba site.

    See you soon

  • Tecra 8000: Question on the AC adapter

    Sorry bad English.
    The power suply to my tecra 8000 does not work it is not the wire but the receiver most? in Notepad. I have a new laptop, but there are some files inside the tecra and because I have no power I can't reach it. Does anyone nows a solution that won't cost me a lot of money?
    Greetings:

    Hello

    I'm not sure what you mean by 'receiver' on the adapter, but if the AC adapter is dead you will need a new.
    The Tecra 8000 uses this AC adapter: PA2450U - 15V, 3A, 45W
    If you want you can try to google for the part number and I'm sure you can find some good offers.
    You can also order this part form the Toshiba service partner in your country.
    It is a way easier to buy some supported and compatible.

  • 600xt only occasionally don't market/wake... light green on the AC adapter is released... strange

    In the last 3 weeks or so our TouchSmart 600xt goes into a strange state 4 different times... have been left unattended for a period of time that we return to find the machine seems to be off and does not turn on via the power button (the button on the top right of the screen). He's usually asleep after 20 minutes, and if the Start button / stop he sleep will be orange glowing... in this case the light turns off completely. In addition, in this case the green light on the power adapter is not lit. The behavior of power adapter is quite out of the ordinary; its light never seens is disabled, even if the PC is turned off completely. But it is when this happens.

    The only recourse seems to be to unplug the power adapter, and then plug it back, after which the green light on the adapter lights, the power button lights up and the machine can be turned on by the power button.

    Concerned we will lose some files if stops keep occurred. We had the machine almost a year and this is a new behavior in the last 3 weeks. Note, however, that during each sleep cycle didn't appear. (The machine goes to sleep after being unsupervised on average 6 times a day and it produces "only" 4 times he slept in the last 3 weeks).

    Thoughts? Some circuit for energy in the power adapter went wrong maybe?

    I have come to resolution on this, but in a quite ridiculous way, with HP. My machine is under warranty so I called HP support. They have paid shipping for me to return the PC. The shipping box included explicit instructions, not to include the power adapter. I've included anyway so they could use it in the trials, including a note on the behavior and I figured the adapter not the PC. They I returned the PC with a note saying they were unable to repro the problem, and highlighted with a copy of the notice with the part that I intentionally did not follow! The log files indicate this was true, but he had not yet left on the MTBF I mentioned in the note... So even if they had used the adapter in the test, which is not surprising. The problem reappeared in the days at home. I called again. They paid shipping again. I've included the adapter again. This time they kept the PC on in the laboratory for several days until something of villain that has happened with the graphics drivers... not the unexpected loss of power and not something that I've never seen before in the newspapers. They replaced this material returned set. The problem reappeared in the days at home. I called one more time and said ' Please, can you just send me an AC adapter... If that doesn't work I'll send it back.» They did it. And I started using it. The problem is not reappeared since.

  • Satellite P300-1 has 8 - part number for the AC adapter / CC

    Hello.

    Can anyone tell me the part number of the AC adapter I need to buy for my Satellite P300-1 c 8?
    Model No.: PSPCOE-01H008EN 15550 / 1024/1024/160 G 54/17W + BT/D52/L/M/L

    The toshiba site list or recognize the model, CarPhone Warehouse does not provide me with detailed documents and the original adapter was stolen. If not, can anyone provide an email address for toshiba (I am unable to call during their office hours).

    Or failing that, some general tips on an adapter compatible Please, I bought an adapter for the correct base - 19V, 3 specification. 95 a, (75W), Connector (PA3715E-1ACE) 2.5/5.5mm however, it does not work. The toshiba site lists another card of the same specs (PA3468E-1AC3) but I am reluctant to risk without being sure that it is just to buy it. I'd be happy to buy a universal adapter but only a high quality which will not be an electrical danger.

    Thanks in advance for any help.
    Clare

    Hey Buddy,

    You can search for options and accessories here:
    http://EU.computers.Toshiba-Europe.com/innovation/generic/PC-options-Accessories-EU/

    Why you need an email at Toshiba?
    If you have questions about spare parts, you must contact a Toshiba instead authorized service provider.

    In general, I would recommend the original adapter because it of tested and designed for your laptop. With other words, it s a product of high quality.

Maybe you are looking for

  • YouTube does not work on Firefox Nightly (31.0a1)

    When I try to watch any movie, it's saying "this video is not available. blah blah blah need Flash or HTML5-compatible browser. I guess this is something related to the browser, since he recognizes as Firefox. BTW, the video normally works on Chrome

  • Why do I need to install flash when it is on the PC under IE

    Just changed to Firefox recently. Why the Firefox browser tell that I need flash to view some pages when the flash is already on the PC for IE. What's flash browser specific? Should I 2 flash facilities, for IE and Firefox? This has happened A few ti

  • Help? I can't put the local backup password.

    I get this error message: "the password to protect your iPad backup could not be set. Please try again. » I'm trying to back her up to my imac os 10.10.5 if I can put my data on a new ipad. It seems that if I encrypt the local backup, it will allow t

  • Several instances of VI in separate threads

    Hello I am trying to run two instances of the same VI (with separate sequence contexts) in two separate threads. These two instances are called from two separate sequences, using a new thread for each sequence. The problem is that the instance of the

  • Update blackBerry 10 Z30 os 10.3

    New Board of Directors, id like Update 10.2 to 10.3, thank you