Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques FFmpeg support for animation

  • FFmpeg support for animation

    Posted by Md. faruk Hossain on February 5, 2014 at 3:45 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

    BR,
    Faruk

    Stephen Dixon replied 12 years, 3 months ago 3 Members · 2 Replies
  • 2 Replies
  • Lou Logan

    February 5, 2014 at 7:26 pm

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

  • Stephen Dixon

    February 6, 2014 at 12:57 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

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy