using ffmpeg to morph images

Поделиться
HTML-код
  • Опубликовано: 18 сен 2022
  • link to github github.com/afrum/my_ffmpeg/bl...
    heres a link to the documentation:
    ffmpeg.org/ffmpeg-all.html#mi...
    heres a helpful question and answer I found:
    stackoverflow.com/questions/7...
    the commands I used. (I used low fps because my computer crashed when I used 24 fps, try with the lower fps first, if you have a good computer you can go higher)
    first I wanted to combine a number of images into a single video:
    cat *.png | ffmpeg -framerate .5 -f image2pipe -i - input.mp4
    I use the video I just created called input.mp4 for the minterpotaltion command:
    ffmpeg -i input.mp4 -vf minterpolate=fps=6 output.mp4
    this command below is for a blend effect:
    ffmpeg -i input.mp4 -vf minterpolate=fps=4:mi_mode=blend blend-minterpolate.mp4
    have a nice day.
  • НаукаНаука

Комментарии • 3

  • @SbF6H
    @SbF6H 5 дней назад

    Wow, I've never thought that minterpolate could be used for morphing frames too. Although, the transitions appear to be weird.

  • @joeldcanfield_spinhead
    @joeldcanfield_spinhead Год назад

    Nice! Thanks for posting the exact commands you used. I love scripting and coding, and I love visual design, and I've been using ffmpeg more and more over the past couple years to combine the two.

    • @aforum4459
      @aforum4459  Год назад +1

      you're welcome, It's nice to know that my video's are helpful to other people. Have a nice day.