ffmpeg:conversions:convert_flv_to_mpg
Differences
This shows you the differences between two versions of the page.
ffmpeg:conversions:convert_flv_to_mpg [2023/06/13 10:46] – created peter | ffmpeg:conversions:convert_flv_to_mpg [2023/06/13 10:55] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ffmpeg - Conversions - Convert FLV to MPG ====== | ====== ffmpeg - Conversions - Convert FLV to MPG ====== | ||
+ | |||
+ | To convert an FLV file to an MPEG file. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Software Encoding ===== | ||
+ | |||
+ | <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. | ||
+ | |||
+ | </ | ||
ffmpeg/conversions/convert_flv_to_mpg.1686653192.txt.gz · Last modified: 2023/06/13 10:46 by peter