aboutsummaryrefslogtreecommitdiff
path: root/content/blog/miscellaneous/mencoder.md
blob: 4bb8fd05f4ffb9c5827cb0495ba6bfc4c87c0c77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
title: "Aggregate images into a video with mencoder"
linkTitle: "Aggregate images into a video with mencoder"
date: 2018-04-30
description: >
  Aggregate images into a video withmencoder
---

## Aggregate png images into a video
{{< 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