Log in

View Full Version : Swaying source


gizmotech
29th March 2004, 20:20
Ok, this is the silly question I've ever asked.

is there a filter besides deshaker which could be used to stabalize a video which is swaying back and forth.

I'm doing backups of my SM DVD's, as I can do alot of video clean up to them, and enhance the audio a bit (seems like it lost the base tones in the creation), however I'm having a very difficult time w/ the compression. The Video insists on swaying back and forth about +/- 10px, which causes the codec to SUCK down bits. If I could some how stabalize the video, crop the edges to remove the compensation artifacts, I would be able to encode it to 512x384@175mb/24minutes, however as is, at those specs the file uses mostly quants 3/4 w/ b-frames @ 5/6 to maintain something remotely useable.

so my question is, is there a filter which can stabalize video sway motion. The interesting thing is, there is no vertical motion, it's strictly horizontal. I tried using deshaker on it, however either I was inept at using the filter or it wasn't designed for this purpose.

Gizmo.

WarpEnterprises
29th March 2004, 22:11
what did deshaker make wrong?
did you set the motion smoothness for all other than "horizontal" to 0 and horizontal to a high value (e.g.4000)?
I simulated a random X-shake around 15px and it made it stay completely still.

AS
29th March 2004, 23:45
Just out of interest, is the horizontal shaking cyclical?

If it is, it's possible to to stablise it with the combination of stickboy's jdl_applyevery, addborders() to left/right and crop().

gizmotech
1st April 2004, 21:54
Sorry for the delay in posting.

It wasn't correcting far enough temporally. The sway is over say, 30 frames @ 10-15px movement total. So the individual sways were very small, and it corrected into steps.

Gizmo.