FORUMS: list search recent posts

Crop Project

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Cagdas Kara
Crop Project
on Jul 19, 2018 at 8:36:20 pm
Last Edited By Cagdas Kara on Jul 19, 2018 at 8:38:37 pm

Hello to everyone.
The project size is 11520x5400px. The project consists of 80 x 720p screens.
I'll cut out every screen and get a single render.
But how do I cut each screen smoothly? Is there an easy way to do this?
When I do it by creating a guide, there are millimeter shifts.
Is there a script for this?
Could you please guide me for this.
Thank you for the answers.



Return to posts index

Greg Gesch
Re: Crop Project
on Jul 19, 2018 at 11:27:27 pm

Hi, You could try creating a screen size comp (1080x720?), drag the master comp into it then slide it on the X so its end is flush with the screen edge - it becomes Screen #1 (better to do the math and slide it the exact number of pixels). Then duplicate that comp and slide the master comp 1080 pixels along, duplicate that comp and slide etc. etc. to create each screen. Should work in theory.


Return to posts index

Cagdas Kara
Re: Crop Project
on Jul 20, 2018 at 6:45:12 am

Hi,
In this case, even if the composition is 1280x720px, will 11520x5400px not get the entire render while it gets the render?
Can not we cut every screen from here?

Thank you.


Return to posts index


David Byrne
Re: Crop Project
on Jul 20, 2018 at 12:24:19 pm

I may be missing something but the maths doesn't seem to add up here -

11520 x 5400

80 screens of (I'm assuming) 1080 x 720 would not look like your graphic above.

If we split 11520 by 16 (as on your graphic) we get 720 which would mean the width of each of those screen should be 720.
If we then split 5400 by 5 (as on your graphic) we get 1080.

That would give us 80 screens but in a portrait (Vertical) screens as seen below- so before we go on, what is your graphic referring to?



I'm sure I have something mixed up but please give the dimensions of each screen (if portrait lets say 720x1080 - start with width end then height). Also what is the frame rate?

You mention 1280 x 720 but with that Master Comp resolution this would give you the following image of 63 screens, and 9 half screens:



Cheers!
David Byrne
Animo Motion Graphics
Freelancer, UK


Return to posts index

Cagdas Kara
Re: Crop Project
on Jul 20, 2018 at 6:07:02 pm

Dear David,
I apologize for the wrong information.
Composition resolution 20.480 x 3600 px. I updated the resolution of each screen to 1280x720. There are 16 screens horizontally and 5 screens vertically. 16x5 = 80 screens.
Is this information sufficient?

I would really appreciate if you can help.
Because I do not know what to do.

Thank you for your help.


Return to posts index

Dave LaRonde
Re: Crop Project
on Jul 21, 2018 at 12:17:34 am

Do all your After Effects work in a 20,480 x 3600 comp. Now, get organized! This is all about organization! Follow these steps to avoid confusion:
  • Using paper & pen/pencil, make a map of all 80 screens on the video wall. Number each screen from 1 to 80. Pick a corner in which to start numbering -- the upper-left screen would be good. Screen 2 would be to its right, and so on until screen 16.
  • Screen 17 will be directly BELOW screen 16, and screen 18 will be to screen 17's left.
  • Continue numbering, going to the left. Screen 32 will be directly below screen 1.
  • Continue this process of numbering left to right, going down, and numbering right to left until all 80 screens are numbered
.
You will use this map as a guide to change the horizontal position of the large comp, and its vertical position at the ends of the rows. Now follow these steps:
  • Make your first 1280x720 comp. Name it Screen 1.
  • Nest the large comp into the Screen 1 comp. Drag it in. The upper-left corner of the comp will snap into position. Make a check mark on your map to indicate Screen 1 is done.
  • Duplicate the Screen 1 comp in the project pane. You will see that the new comp's name is Screen 2.
  • Open the Screen 2 comp. Reveal the layer's position property. Subtract 1280 from the layer's horizontal position. You are done with Screen 2. Put a check mark on your map for Screen 2.
  • Continue the process of duplicating comps and changing the horizontal position by subtracting 1280 on the layer until you get to screen 16. DO NOT forget to make your check marks!
  • When you get to Screen 17, you will subtract 720 from the layer's VERTICAL position.
  • When you get to Screen 18, you will ADD 1280 to the layer's horizontal position. You will do this until you get to Screen 32.
  • On Screen 33, you will subtract 720 from the layer's vertical position, and on Screen 34, you will subtract 1280 from the layer's horizontal position.
  • Continue this process until you have made all 80 screens.

I have tested this method myself using a large comp containing a layer of Fractal Noise. I only used a 4 x 3 video wall, but when I put all 12 of my comps in a large comp, all the Fractal noise matched up.

This method is precise. It is organized. Now get busy.

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index


Cagdas Kara
Re: Crop Project
on Jul 21, 2018 at 6:49:32 pm

Dear Dave,
Thank you very much for your detailed comment.
I've done everything you say and it happened.
Thank you so much.
I share the template I prepared.



Return to posts index

Dave LaRonde
Re: Crop Project
on Jul 22, 2018 at 6:18:10 pm

You did not follow my instructions precisely. Your numbering is is not the same as mine. If you want to keep it, you will have to figure out your own system for adding & subtracting horizontal position values.

If it works for you, that is fine. But you have to make up your own system for adding/subtracting horizontal values. You can not use mine or it will not work.

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index

Cagdas Kara
Re: Crop Project
on Jul 20, 2018 at 6:22:33 pm

Dear David,
I apologize for the wrong information.
Composition resolution 20.480 x 3600 px. I updated the resolution of each screen to 1280x720. There are 16 screens horizontally and 5 screens vertically. 16x5 = 80 screens.
Frame rate: 50fps.
Is this information sufficient?

I would really appreciate if you can help.
Because I do not know what to do.

Thank you for your help.


Return to posts index


Matthew Keane
Re: Crop Project
on Jul 23, 2018 at 3:47:18 pm

Dave's pencil-and-paper method is good advice but, for lazy people like me, there are some tools that can help automate the process...

If you are going to be doing a lot of large-scale LED wall projects, there is a script on AEscripts - https://aescripts.com/stagetool/ - that is designed to help layout comps for LED pixel mapping in Resolume, but it could perhaps be useful for setting up LED wall projects generally, so might be worth a look.

Personally though, any time I see a repetitive task like slicing up a giant comp, I'd start thinking about using expressions to speed up the process...

So, first of all, a shameless plug for one of my own tools (https://matkeane.com/project/watchout-display-builder-softedge-calculator), which I use for calculating the layout of grids of displays for Dataton's Watchout software. Usually, I use it to calculate the softedge blending area between projectors, but with the softedge set to zero, it works for non-overlapping displays like LED walls too. I built it to be able to copy-paste layouts straight into Watchout, but one of the things on my to-do list is to create a direct export to AE. For the moment though, you can quickly export a list of the screen coordinates and crop values for a 16x5 wall of 1280x720 displays, and generate a lineup grid image while you're at it.

I then imported the lineup image into AE and created a main comp at 20480x3600px with the grid image. Then I created a 1280x720 comp, dragged in the main comp, and then added an expression to the anchor point based on the comp name (which should be in the format 'screen whatever 01'):


// Comp numbering should begin at 01.
grid_columns = 16; // Number of columns in grid.
grid_rows = 5; // Number of rows in grid.
screen_count_total = (grid_columns * grid_rows); // Total number of screens.
screen_number = thisComp.name.substr(-2,2); // Get screen number from last two characters of Comp name.
screen_id = parseInt(screen_number) - 1; // Parse chars to Int and change to zero-index value.
screen_row_id = Math.floor(screen_id / grid_columns); // Calculate row ID.
screen_column_id = (screen_id % grid_columns); // Calculate column ID.
screen_origin_x = (screen_column_id * thisComp.width) + (thisComp.width / 2); // Get screen horizontal pixel origin.
screen_origin_y = (screen_row_id * thisComp.height) + (thisComp.height / 2); // Get screen vertical pixel origin.
[screen_origin_x, screen_origin_y]


Duplicate the comp in the Project window until you have 80 comps, and each one will display the correct section of the main comp. Drag the all to the render queue and... go find something to do while AE renders your enormous main comp 80 times!

I think it would be faster to render out the master 20480x3600px comp as an image sequence, then re-import that into AE (or use it as a comp proxy) to render each screen.

Alternatively you could render only once, but add 80 output modules with different crop settings, but I don't know how to automate setting that up. I wouldn't be surprised if there is already a script or plug-in out there to do that...

Matthew Keane

Freelancer based in Paris, France
- Motion Graphics, Video Editing & Effects, Watchout Programming & Live Operation.


Return to posts index

Cagdas Kara
Re: Crop Project
on Jul 23, 2018 at 6:04:47 pm

Dear Matthew,
Thank you for your time.
The watchout tool went well. It will be very useful. But how do we send the generated screens to After Effects?

I also do not understand the script you share. But it seems like it would be very easy to throw out the 80 compositions that were created. I really want to find out.
Please guide me. I need to find out.

Thank you.


Return to posts index

Matthew Keane
Re: Crop Project
on Jul 23, 2018 at 6:37:27 pm

Like I said, I developed the tool to allow me to work with Watchout, so it doesn't create AE comps for you. I used it to export a grid lineup image to check that my expression to position the master comp in individual screens was working correctly.

I added the expression to the anchor point of the main comp inside the 1280x720 screen comp. It looks at the name of the comp and uses that to calculate the position for the main comp so that the correct part is displayed in each screen. Now, in the Project window, hit 'duplicate' 79 times, and you end up with 80 comps showing the correct part of the main comp.

Example project (with just the first screen comp, ready to be duplicated) here:
12569_aeledwall01.zip

But - and it's a big 'but' - if you make 80 copies of your main comp, you will be basically be rendering your huge master comp 80 times, and discarding pixels outside of the smaller screen comps - not very efficient. Which is why I suggested rendering the main comp out once, to an image sequence, and using that as the source in the screen comps - it will be much, much faster.

Matthew Keane

Freelancer based in Paris, France
- Motion Graphics, Video Editing & Effects, Watchout Programming & Live Operation.


Return to posts index


Matthew Keane
Re: Crop Project
on Jul 23, 2018 at 6:53:31 pm

Forgot to say: The zip file contains an AE (CC 2017) project, which has the grid image imported. Also in the zip are an XML Display Builder project file, a CSV .txt export with all the crop values for the screen comps and a screen grab of the layout project.

Matthew Keane

Freelancer based in Paris, France
- Motion Graphics, Video Editing & Effects, Watchout Programming & Live Operation.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]