DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   Digital Compositing and Effects (https://www.dvinfo.net/forum/digital-compositing-effects/)
-   -   reducing jitter on still image pans in AE... (https://www.dvinfo.net/forum/digital-compositing-effects/91372-reducing-jitter-still-image-pans-ae.html)

David J. Payne April 12th, 2007 02:35 PM

reducing jitter on still image pans in AE...
 
Hi guys, I am desperate for some help on this issue.

I have a panoramic picture that I import into after effects and keyframe so that the view pans from the middle of the picture out to the far left, then the far right then returning to the middle. I overlay video over the top of this and set the parent so that it follows the keyframe. When i export the video and convert to an mpeg using mainconcept mpeg encoder I see serious jitter when the pan is moving, especially at the faster end of the pan (as i have enabled easy in and out on the keyframes). This is especially noticeable when watching on a television, which is what the clip will be intended for...

I am unsure of whether the usual rules of deinterlacing and field dominance etc is applicable seeing as i'm using a still image and not a video.

I have tried the following adjustments but none have led to success:

- imported the photo into photoshop and changed the pixel aspect ratio to the 4:3 standard option

- added motion blur

- selected interpret footage

- enabled frame blending

if anyone can sort this simple but annoying problem I would be VERY greatful...

David

John Huebbe April 12th, 2007 07:45 PM

What kind of jitter?

Are you viewing the video on your computer monitor or a TV? Since you said you are converting it to Mpeg using the mainconcept encoder, I'm going to assume TV.

When you encode the video, make sure you set the correct field (top or bottom). Otherwise when you view it on the TV, the image will look like it jumps ahead one frame, then back.

David J. Payne April 13th, 2007 04:12 AM

Quote:

Originally Posted by John Huebbe (Post 659228)
Otherwise when you view it on the TV, the image will look like it jumps ahead one frame, then back.


John, thanks for your reply. That is exactly the type of jitter I'm seeing, however I just put the uncompressed avi onto a disc and read it with a divx dvd player and I still see the jitter.

I also tried converting in mainconcept with top fileld first, bottom field first and progressive, none of which sort the issue...

I am well and truly stumped...!

Martin Chab April 14th, 2007 01:51 AM

Hi David,
The jitter coud be generated by the movement itself. When you move a still using two (or more, doenst matter) keyframes sometimes could happens that the interpolation gives results that doesnt match an exact pixel number but fractions of pixels.
You can try to modify this code http://aenhancers.com/viewtopic.php?t=457
to work with pan intead of scroll (it should be very simple)

Hope this helps

David J. Payne April 15th, 2007 01:12 PM

Martin,

thanks for your reply. Unfortunately Im a relative newbie compared to you guys and I dont have a clue what to do with this code...

David

p.s - I have uploaded the photo I am having trouble with incase anyone else fancies having a play to see if they can create a pan that doesnt jitter on tv playback.

www.rideoutproductions.co.uk/Copy4.jpg

Martin Chab April 18th, 2007 09:22 AM

I have both machines rendering right now (and will take a while) but I´ll try to put the image and write the code for you (and explain how to use, of course) so you can reuse in the future.
Give me some time.

David J. Payne April 19th, 2007 08:33 AM

Martin,
I'd appreciate that. Many thanks
David

Martin Chab April 25th, 2007 04:35 AM

Hi David,
I´m back again.
Sorry for the delay but I couldnt finish my rendering (the system said around 450 hours!!!) as soon as the render finish I will make the code.
Sorry again

David J. Payne April 25th, 2007 06:14 AM

450 hours?! wow.. thats a pretty heavy project...

Ok no problem, I will keep checking back to see if you've replied. I should be starting the work that needs this info on tuesday the 1st of May, but take your time. Whenever you get a chance I'd appreciate it.

David

David J. Payne May 3rd, 2007 10:11 AM

Martin,

Any luck with this? Im starting the work now and would be super chuffed if i could solve this problem.

Thanks
David

Aric Mannion May 11th, 2007 02:41 PM

Did you say your jitter is a frame forward then one back through the whole pan? I had this problem and it was because I was rendering lower fields first, rendering upper fields first fixed it. -that depends on where it's going, in my case it was avid HD. Play with the fields: lower, upper, and off -then do a test.

David J. Payne May 12th, 2007 10:11 AM

Aric,
thanks for the suggestion, that was one of the first things i tried and it did not make a difference. Ive had that problem with video before but when panning accross still images clearly something different is causing the jitter...

Mikko Lopponen May 14th, 2007 01:10 AM

Are you changing the field settings in AE or in the mpeg encoder?

David J. Payne May 15th, 2007 10:57 AM

Quote:

Originally Posted by Mikko Lopponen (Post 678712)
Are you changing the field settings in AE or in the mpeg encoder?

I have tried both. I also played back to avi before conversion with different AE field settings and I get the same result on playback

Martin Chab May 24th, 2007 03:56 AM

Hi David,
I´m really sorry for the delay (it was absolutely impossible to use my machines).
I made two differet codes and both didnt work ok enough but finally I discovered that using a directional blur with the same direction as the movement the jitter dissapears completely. Also I keyframed the blur to use more blur in the fast moving parts and going to zero when the image stops and stays still.
It seems that the problem is with the sharp edges in the areas where you have high contrast for example the windows (and not the tree that has no jitter). That means that the ultimatte solution would be to make a rough mask aroun that objects and use the directional blur to maintain a clear image and get rid of the jitter (anyway I found that to use the blur in the whole image is quite ok).
I think the problem was caused not by AE but from the ocular retention. I mean, the lack of a real moblur.
I hope is not too late for you.


All times are GMT -6. The time now is 08:27 AM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2025 The Digital Video Information Network