# ffmpeg

#### Image sequence (png) to mp4 :

```bash
ffmpeg -framerate 24 -i image_%03d.png -vcodec mpeg4 video.mp4
```

#### WebM loop image sequence (png) with music (mp3)

```bash
ffmpeg -stream_loop -1 -t 106 -framerate 10 -f image2 -i frame\%04d.png -i dance.mp3 -c:v libvpx-vp9 -pix_fmt yuva420p dance.webm
```

> Total duration : 1'46"