Skip to main content
Inspiring
November 3, 2017
Resuelto

quick way to overlay text to display the file names?

  • November 3, 2017
  • 1 respuesta
  • 6380 visualizaciones

someone has send me a load of photos of wedding coupled to edit into a montage

they have carefully named each of the photos with the name of bride and groom

they want me to overlay some text onto the video, as each photo appears, the name of the couple will appear

its quite a lot of photos, about 100.

im just wondering , is there any quick way to get AE to do this without  having to do this manually?

    Este tema ha sido cerrado para respuestas.
    Mejor respuesta de Rick Gerard

    Select the type tool and then click and drag in the Comp Panel to create a fixed size text box. Your text will now wrap. Just duplicate the layer and drag it above the next image for each image that needs a name so all of them look the same and are in the same prosition.

    1 respuesta

    Community Expert
    November 3, 2017

    Add a text layer above the photo then reveal the source text property and Alt/Option click on the stopwatch to add this expression:

    thisComp.layer(index + 1).name

    That will give you the name of the layer below the text layer. If you select the Source Text property you can save this as an animation preset to make it easier to use. I have it in my collection of over 200 custom presets that I use all the time.

    I should mention that if there is a file extension on the layer name you'll have to delete it. I've been going to write some code to strip file names automatically but I have not gotten around to it because I rename almost all of my layers in a comp anyway.

    Inspiring
    November 3, 2017

    Rick, you are the MAN   thanks!!

    one thing i noticed is that it appears as one long line ot text, going off the screen sometimes.

    is there a way to force the text to 'wrap' inside the confines of a certain space?

    Inspiring
    November 3, 2017

    ok just one more thing....

    i do need some effects between the photos and the text, to make the text pop out more. but im limited since i cannot put something between the text files and the photos.

    is there a way to , say,  create a layer in a master comp, and tell it to basically do what another layer in one of the lower comps is doing.

    in this case, to show the same text that these text files are showing?

    that way i can keep the photos and the original text files in a comp of their own, possibly mute the original text files, and then but  all my effects and stuff in a master comp where i can seperate the text and the photos.

    kinda complicated question, but its something i have often wondered actually.


    ok i have come up with a workaround,   by duplicating the original text & photo comp.

    muting the photos on the new comp, and muting the text on the old comp.  this gives me the desired effect.