Morgantao
![]() |
Hi everybody!
I need some help from those of you who, unlike me, actually know what they're doing ![]() I need to take a short video file, and stack all the frames in lighten blend mode to a single image. The only way I know is in photoshop, but that's a labor intensive and highly inaccurate process. Photoshop will only allow me to import up to 500 frames at a time, but there's a tiny slider for 1st\last frame and no frame numbers. Does anyone know if there's a way to automatically do this with a photoshop script? Or is there another way to do it, in other software? Thanks for the help!!!! ![]() |
|||
Posted: January 3, 2013 4:46 am | ||||
Skybase
![]() |
After Effects!
![]() |
|||
Posted: January 3, 2013 5:37 am | ||||
Morgantao
![]() |
OK, I'll check out AE then
![]() Can you give me a quick rundown on what to do? Never really used AE before, but I kinda know the interface. |
|||
Posted: January 3, 2013 7:02 pm | ||||
Morgantao
![]() |
Any tips are welcome
![]() |
|||
Posted: January 7, 2013 5:44 am | ||||
SpaceRay
![]() |
For learning After Effects, perhaps the best I can recommend are the Adobe TV´s tutorials
Here are some links for these tutorials although there are more if you search them inside www.adobetv.com See these links for the tutorials Also note that After Effects CS6 DOES USE GPU rendering and so it will be much better and faster if you have a good GPU card. |
|||
Posted: January 7, 2013 4:51 pm | ||||
Skybase
![]() |
Step 1: Get your two footages into AfterEffects, make a composition based on that. <---- This is basic interface stuff.
Step 2: Add the two footages as two layers on top of each other. <---- This is just drag and drop. Step 3: Set the top one to lighten. <--- you'll need to find this but it's just a right click away!! Also regarding the GPU render stuff, AECS6 is slightly smoother, but no better than its predecessors. You'd expect it to run faster, and it does ... very slightly. It's an observable difference in the smoothness of operation, but render speeds are pretty much the same. I mean, the most observable difference you'll see is when you go 3D. That's where you feel a slight lift in the smoothness of operation but you then bring it up to the final quality, and it really doesn't make a difference. Conclusion: It's ok. Most people expect GPU = faster, and it is, if you hit the right parameters. In my experience the speed increases are scalable and slightly observable. It's enough to say "sure" but it's also not significant enough to say "that's incredible." If you're looking for a fully GPU motion graphics design software, there's Apple Motion 5. Imagine After Effects, but $50, and has pretty much all functions you need for designing stuff. And you don't need FinalCutPro to run it. |
|||
Posted: January 7, 2013 10:51 pm | ||||
Betis
![]() |
Skybase I think Morgantao basically has her(?) layers stacked in the wrong direction (time) and needs to make a single still image, using each frame as a layer.
You can still use AE but it's a different process. Down in Effects under the Time Category, there should be a few time modules that offer different ways of displaying multiple frames and kind of "smudging" time. Echo might be your best bet. I think there is a lighten blend mode in there or at least Additive. Roses are #FF0000
Violets are #0000FF All my base are belong to you. |
|||
Posted: January 8, 2013 3:27 am | ||||
Skybase
![]() |
Oops seems like I wasn't reading things properly... or got lost writing other responses... time for a make up video tutorial!
![]() ![]() |
|||
Posted: January 8, 2013 5:29 am | ||||
Morgantao
![]() |
What do you mean 'in the wrong direction'? Oh, and it's his not her ![]() Skybase, as Betins mentioned, I don't need to blend two videos, I need to blend all frames of one video. I almost got to what I need with a Photoshop script, but then Photoshop desided to bug out and not load video files anymore. I'll have to reboot and see if that helps. I just hate rebooting ![]() |
|||
Posted: January 8, 2013 5:58 am | ||||
Skybase
![]() |
https://dl.dropbox.com/u/97854707/Time...index.html <--- video tutorial.
|
|||
Posted: January 8, 2013 8:09 am | ||||
Morgantao
![]() |
Oooooh! Perfect tutorial SkyBase!!!!
![]() You should s start your own Lynda.com type thing, with your favorite software. One of the best things about a tutor is the enthusiasm of creation, and we all know you have that ![]() Now, a question for the math heads, I suppose. When taking a long exposure on a stills camera, you get light added over time to the exposure. What would be the best blending mode (or other function) to simulate this effect? For example, let's say I take a 5 hour long exposure of the night sky with a stills camera, and also took a 5 hour long realtime video with another camera, of the same thing. Looking at the still frame, I get streaks of light where the stars traverse the sky. What blend mode, or function, or algorithm would be applied to all the video frames to achieve the closest image to the stills frame? Did that make any sense to anyone? ![]() |
|||
Posted: January 11, 2013 4:19 pm | ||||
Betis
![]() |
Additive (Linear Dodge)! It's 100% physically accurate.
However you're going to get a scene X times brighter where X is the number of frames you're blending together because each frame is already exposed properly. To fix this, divide each frame by how many frames you have (or multiply blend mode of 1/X, X still being the number of frames you have) Roses are #FF0000
Violets are #0000FF All my base are belong to you. |
|||
Posted: January 11, 2013 8:12 pm | ||||
Skybase
![]() |
Additive blend is technically the correct method here, but that's in the sensor. The output file format will affect additive blending and or any consequent blending methods. If each image were saved as jpeg, then additive blend will ruin stuff given its bit depth. If each image were camera raw, you kinda have extra leg room and not worry about the issues associated, but they're huge, and I strongly think the noise profile will creep in towards the end of the entire process (if you're doing night time star photography). You'll start seeing noise patterns appear as the images overlap.
I attached an image that shows how what Betis said could be achieved in After Effects. I suggest lighten mode / max mode, given the nature of the issues associated with such situations. With longer lengths of video you'll have to either do it in chunks (like do 500 frames at a time) and compile them all at the very very end or use a special piece of software capable of handling all the frames. Doing this in After Effects does involve putting a lot of frames into the buffer, which will eventually cause AE to explode. |
|||
Posted: January 11, 2013 11:23 pm | ||||
Morgantao
![]() |
Interesting.
I assume a DSLR's way of long exposures is to take lots of short exposures and combining them into one image. Does it use the algorithm described by Betis? Also, what do you mean by multiply blend mode of 1/X? And last, but not least, is there a way to divide in Photoshop? I already have a script that can take each frame of the video and blend it with the previous ones. I used Lighten blend mode, but would prefer having the more accurate Linear Dodge + Divide algorithm. |
|||
Posted: January 12, 2013 5:01 am | ||||
Skybase
![]() |
No DSLRs will expose just as film cameras do, it's just that the sensors are what catches the light, not the film. However, the technique can be achieved manually given long exposures tend to lead to louder noise patterns. You can break the exposure by doing (for example) 300 seconds of exposure at a time and later combine them using lighten for a full result.
Betis probably means this: if you have 100 exposures, you have to multiply each exposure by 0.01 so when they add up, they become a single exposure (100x0.01=1). That's the same as doing division at the very end of the whole set. Photoshop does have divide blend mode, but you have to enable it by changing your bit depth from 8 to 32 bit. So if you put the single value image set to divide mode at the very top of your additive chain, you should be able to do it. BUT WAIT!!! Photoshop will NOT let you go over certain values (nor go negative values) even if its in HDR mode. You can't set higher values than 20, so this method is inefficient if you have a bajillion frames, because you'd have to divide the entire thing by bajillion. Which is why multiplying it first makes sense. But the method is inaccurate because technically speaking, exposures add up but dont divide, the process is one way, and don't divide themselves, so you use a ND filter to darken per exposed time but not per image, so what you're manipulating is the EV value (exposure) not color values. ![]() |
|||
Posted: January 12, 2013 5:51 am | ||||
Morgantao
![]() |
You know you totaly lost me on that last paragraph, right?
![]() I guess that for my needs there's no point going 100% super duper accurate, but for argument's sake... The algorithm my script follows is: 1) take first video frame, copy it to a new image (layer 0) 2) take next video frame, copy it to the image as a new layer (layer 1) 3) set layer 1 blend mode to lighten 4) flatten image 5) repeat steps 2 to 4 untill last video frame suppose I replace step 3 with: A) divide layer 0 by 2 (or multiply it by 1/2) B) divide layer 1 by 2 (or multiply it by 1/2) C) set layer 1 blend mode to linear dodge and keep the rest as is, wouldn't it do the trick? |
|||
Posted: January 12, 2013 10:53 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,712 Registered Users
+18 new in 30 days!
153,537 Posts
+6 new in 7 days!
15,348 Topics
+72 new in year!
19 unregistered users.