Hi,

in my application I want to generate few effects with ffmpeg. This is
modified overlay filter that allows to create moving effect.

example:
ffmpeg -i <background_video> -vfilters
"[in]setpts=PTS-STARTPTS,[T1]overlay=<formula>[out];movie=0:avi:<video_file>,scale=<scale_resolution>,setpts=PTS-STARTPTS[T1]"
-vcodec mjpeg -b 200k -r 25 -qscale .1 -y <target>

forumula example:
-20+14*atan(N/30):20-14*atan(N/30)
-------
-<delta>+<delta_pi_x>*atan(N/<speed>):<delta>-<delta_pi>*atan(N/<speed>)

Attachment: vf_overlay.patch
Description: Binary data

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to