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 :
|
2023-04-23 22:33:49 +02:00
|
|
|
```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
|
2023-04-23 22:33:49 +02:00
|
|
|
```
|
2020-04-28 17:29:52 +02:00
|
|
|
|
|
|
|
You should use the following to specify a list of files instead of `*.png`:
|
2023-04-23 22:33:49 +02:00
|
|
|
```sh
|
2020-04-28 17:29:52 +02:00
|
|
|
mf://@list.txt
|
2023-04-23 22:33:49 +02:00
|
|
|
```
|
2020-04-28 17:29:52 +02:00
|
|
|
|
|
|
|
## References
|
|
|
|
|
|
|
|
- http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html
|