Skip to main content
Participant
October 1, 2019
Question

Customize Posterize time to work on 'odds' instead of 'evens'.

  • October 1, 2019
  • 3 replies
  • 1884 views

Hi All,

 

I'm working on a cartoon compositing job where i'm given a bunch of SWF files to composite on top of a PSD BG and then add camera moves using a Null object. 

 

The camera move request is for moves to be on 2's, or, 12fps in a 24fps comp. The problem i'm experiencing is that the posterize time effect / expression sets the cam to move on even frames, when my animated SWF files are animated on odds. This causes strobing when my CAM and animation layers are not moving on the same frames as each other.

 

Are there any methods for customizing a posterize time effect to achieve what I need?

 

Cheers

    This topic has been closed for replies.

    3 replies

    Community Expert
    October 2, 2019

    It may be wrong because you translated the language,
    You can shift by one frame using valueAtTime ().
    However, the following expression will display one frame later, so it may need to be corrected.

     

     

    var atime = thisLayer.sourceTime(time);
    var aframe = timeToFrames(atime);
    var t = 0;
    
    if(aframe % 2 == 0){		// == (1.2.2.3.3.4.4.) !==(1.1.2.2.3.3.4.4)
    	t = time - thisComp.frameDuration;
    } else {
    	t = time;
    }
    valueAtTime(t)

     

    Community Expert
    October 2, 2019

    We really need to see your comp with the modified properties of the layers you are having problems showing. UU + PrintScreen + Paste or drag to the forum. 

     

    I think you are trying to animate the camera so that it stops on each frame to try and match the movement of one of the placed SWF files. That is quite an odd workflow.

     

    It is pretty easy to shift footage one frame. All you have to do is zoom in so you can see a frame at a time then click the layer and move it one frame in either direction. If you are then adding time-altering effects to the layer you need to pre-compose it before you add the time effects because almost all of them work on the first frame of the source video and not on the in point of the layer.

    Participant
    October 2, 2019
    I have uploaded a screen capture to my original post 'TL.jpg'. Essentially what I want to control is for the posterize time to begin either one frame earlier or later, so the movement happens on 'odd' frames instead of 'even' frames. The only way I know to get around this is to manually keyframe my camera moves, frame by frame. An automated solution would be a huge timesaver as I have around 150 of these style shots to do per week.
    Jose Panadero
    Community Expert
    Community Expert
    October 1, 2019

    I can not check at this time but try to add the Posterize Time effect over an adjustment layer and move this adjustment layer one frame to the left/right. 

    Participant
    October 1, 2019

    Hi Jose, thanks for the suggestion .I am not able to layer my animation layer under the posterize time adjustment layer because while the Cam move needs to be on 2's, some of the character lip sync is on 1's. I need the position / scale property of my null to be custom posterize, rather than the entire SWF layer.