www/content/blog/miscellaneous/mencoder.md

24 lines
524 B
Markdown
Raw Normal View History

2020-04-28 17:29:52 +02:00
---
2021-03-12 18:12:41 +01:00
title: "Turning images into a video with mencoder"
2020-04-28 17:29:52 +02:00
date: 2018-04-30
2021-03-12 18:12:41 +01:00
description: How to turn images into a video with mencoder
tags:
- toolbox
2020-04-28 17:29:52 +02:00
---
## Aggregate png images into a video
2021-03-12 18:12:41 +01:00
Example command :
```sh
2020-04-28 17:29:52 +02:00
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
```
2020-04-28 17:29:52 +02:00
You should use the following to specify a list of files instead of `*.png`:
```sh
2020-04-28 17:29:52 +02:00
mf://@list.txt
```
2020-04-28 17:29:52 +02:00
## References
- http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html