https://www.ostechnix.com/20-ffmpeg-commands-beginners/
$ ffmpeg -i input.mp4 -vn -ar 44100 -ac 2 -ab 320 -f mp3 output.mp3
Here,
-vn – Indicates that we have disabled video recording in the output file.
-ar – Set the audio frequency of the output file. The common values used are 22050, 44100, 48000 Hz.
-ac – Set the number of audio channels.
-ab – Indicates the audio bitrate.
-f – Output file format. In our case, it’s mp3 format.
ffmpeg -i input.mp4 -filter:v scale=1280:720 -c:a copy output.mp4
ffmpeg -i input.mp3 -ab 128 output.mp3
96
https://www.ostechnix.com/20-ffmpeg-commands-beginners/
https://www.ostechnix.com/category/command-line-utilities/
$ ffmpeg -i input.mp4 -vn -ar 44100 -ac 2 -ab 320 -f mp3 output.mp3
Here,
-vn – Indicates that we have disabled video recording in the output file.
-ar – Set the audio frequency of the output file. The common values used are 22050, 44100, 48000 Hz.
-ac – Set the number of audio channels.
-ab – Indicates the audio bitrate.
-f – Output file format. In our case, it’s mp3 format.
ffmpeg -i input.mp4 -filter:v scale=1280:720 -c:a copy output.mp4
ffmpeg -i input.mp3 -ab 128 output.mp3
96
https://www.ostechnix.com/20-ffmpeg-commands-beginners/
https://www.ostechnix.com/category/command-line-utilities/
Kommentit
Lähetä kommentti