ubuntu:video:convert_flv_to_mpg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:video:convert_flv_to_mpg [2023/06/06 18:25] – 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 | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | 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 | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | 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.1686075916.txt.gz · Last modified: 2023/06/06 18:25 by peter