FORUMS: list search recent posts

FFmpeg support for animation

COW Forums : Compression Techniques

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Md. Faruk Hossain
FFmpeg support for animation
on Feb 5, 2014 at 3:45:46 am

Dear All,

I am a Android Developer. Recently I have a project to integrate ffmpeg in our Android project. But i face a problem to add different animation on different images such as: fade-in, fade-out, scale, rotate, translate etc android animation. These images will make a video. I successfully made video from images but didn't add animation on images.

Can you please suggest me how can i do this. Is there any command in ffmpeg to add animation on Images.

I run this command on Linux platform:

"ffmpeg -i input.mp4 "fade=in:5:8" output.mp4"

But the problem is that new new created video "output.mp4" just show a black screen no images.

Thanks for your time


Return to posts index

Lou Logan
Re: FFmpeg support for animation
on Feb 5, 2014 at 7:26:27 pm

Please include the complete ffmpeg console output, and don't forget the code button to format it.

Return to posts index

stephen dixon
Re: FFmpeg support for animation
on Feb 6, 2014 at 12:57:13 pm

I think it should be
ffmpeg -i input.mp4 -vf "fade=in:5:8" output.mp4

Many ffmpeg filters can be animated programatically over time, for example rotate can be applied thus: rotate=2*PI*t to rotate the image once every second (t is a constant representing the current time in seconds)

Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 All Rights Reserved