aboutsummaryrefslogtreecommitdiff
path: root/content/blog/miscellaneous/mencoder.md
blob: 4eeb5a958cf46e7b9f9d28a7922427fc93bcc9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
title: "Turning images into a video with mencoder"
date: 2018-04-30
description: How to turn images into a video with mencoder
tags:
  - toolbox
---

## Aggregate png images into a video

Example command :
{{< highlight sh >}}
mencoder mf://*.png -mf w=1400:h=700:fps=1:type=png -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi
{{< /highlight >}}

You should use the following to specify a list of files instead of `*.png`:
{{< highlight sh >}}
mf://@list.txt
{{< /highlight >}}

## References

- http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html