ubuntu:video:convert_flv_to_mpg
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:video:convert_flv_to_mpg [2019/12/04 22:06] – created peter | ubuntu:video:convert_flv_to_mpg [2023/06/13 10:54] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - 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. | ||
- | |||
ubuntu/video/convert_flv_to_mpg.1575497219.txt.gz · Last modified: 2020/07/15 09:30 (external edit)