ffmpeg transfer stream files mp4 on CentOS 8
1 Download tarball from below:
https://www.ffmpeg.org/download.html
2 go into folder
cd ffmpeg{} # tab key
2. if your account has sudo option #/etc/sudeors
$ sudo dnf install nasm
$ sudo ./configure
$ sudo make && sudo make install
3.with Constant Bitrate Encoding(CBR)
$ffmpeg -i input.mp4 -vn -acodec libmp3lanme -ac 2 -ab 128k -ar 44100 output.mp3
with Variable Bitrate Encodeing(VBR)
$ffmpeg -i input.mp4 -vn -acodec libmp3lanme -ac 2 -qscale:a 4 -ar 44100 output.mp3
4. Press enter to excute
reference
https://www.ffmpeg.org/download.html
2 go into folder
cd ffmpeg{} # tab key
2. if your account has sudo option #/etc/sudeors
$ sudo dnf install nasm
$ sudo ./configure
$ sudo make && sudo make install
3.with Constant Bitrate Encoding(CBR)
$ffmpeg -i input.mp4 -vn -acodec libmp3lanme -ac 2 -ab 128k -ar 44100 output.mp3
with Variable Bitrate Encodeing(VBR)
$ffmpeg -i input.mp4 -vn -acodec libmp3lanme -ac 2 -qscale:a 4 -ar 44100 output.mp3
4. Press enter to excute
Other Solution
bandbrake -https://handbrake.fr/downloads.php
https://askubuntu.com/questions/84584/converting-mp4-to-mp3