video:convert_flv_to_mpg
Differences
This shows you the differences between two versions of the page.
video:convert_flv_to_mpg [2017/04/03 14:46] – created peter | video:convert_flv_to_mpg [2019/12/04 22:06] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Video - Convert flv to mpg ====== | ||
- | |||
- | To convert an flv file to an mpeg file. | ||
- | |||
- | <code bash> | ||
- | ffmpeg -i input.flv output.mpg | ||
- | </ | ||
- | |||
- | where: | ||
- | |||
- | * **-i** stands for input. | ||
- | * **output.mpg** is the output file in mpg. | ||
- | |||
- | |||
- | |||
- | For more advanced setting, you can use the command below | ||
- | |||
- | <code bash> | ||
- | ffmpeg -i input.flv -ab 56 -ar 22050 -b 500 -s 320x240 output.mpg | ||
- | </ | ||
- | |||
- | where: | ||
- | |||
- | * **-ab** is audio bitrate with default of 64kbps. | ||
- | * **-ar** is audio sample-rate with default of 44100Hz. | ||
- | * **-b** is video bitrate with delault of 2000kbps. | ||
- | * **-s** is size with default of 160x128px. | ||
- | |||
video/convert_flv_to_mpg.1491230765.txt.gz · Last modified: 2020/07/15 09:30 (external edit)