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













Other Solution

reference
https://askubuntu.com/questions/84584/converting-mp4-to-mp3

這個網誌中的熱門文章

取消Excel與word網際網路與網路路徑超連結自動格式

Installing VMware workstation pro on Ubuntu 22.X (Jammy Jellyfish)