Wiggle a video every frame for 1 px

Useful and helpful Windows specific command line samples and examples.
Post Reply
Schocke86
Posts: 1
Joined: Sat Sep 28, 2019 8:36 pm

Wiggle a video every frame for 1 px

Post by Schocke86 » Sat Sep 28, 2019 9:16 pm

Hello guys,
I have a little problem. I have an movie with 1080/50p that should be converted to 1080/i50.

I have tried something in AfterEffects to see, what would works best for me to get an clean result without jitter and moiré.
By the way the standard lowpass filter or the pp=l5 does a great job, but some moiré remains.

First i want tell you what I created with After Effects.
I have created a composition with clip source settings (1080/50p).

I applied a code to the position value, that affect on every 2nd frame (later: Bottom Field) of the clip and move it up 1px; And it doesn't affect on even frames: they will stay in position.

Here's the AE Code, if you maybe understand better what I am talking about:

Code: Select all

XXX = Math.floor((timeToFrames(time)+1)%2);
if(XXX < 1 )
{
[960,539];
}
else
{
value;
}

Is it possible to do the same thing in ffmpeg, to interlace just "top" fields" from an progressive source?

HERE'S WHAT INTERLACER REGULARLY DOES:

50p > 50i

A-LINE1
B-LINE2
A-LINE3
B-LINE4
...


BUT HERE COMES WHAT I WANT:

50p > 50i

A-LINE1
B-LINE1
A-LINE3
B-LINE3
...


Please, can anyone help my or tell my, if this is possible to encode with ffmpeg?


Thank you very much.
greez

Manu

Post Reply
'