MPEG Audio Constant bit rate conversion

后端 未结 2 799
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-26 06:12

I am trying to convert few .wav files to .mp3 format

The desired .mp3 format is :

I tried with FFmpeg with this code :

ffmpeg -i input.wav -         


        
2条回答
  •  臣服心动
    2021-01-26 06:28

    The output using ffmpeg -i input.wav -vn -ac 2 -b:a 160k output1.mp3 is constant bit rate, however ffmpeg writes a header with the title Xing and Mediainfo infers that to indicate VBR. Disable writing that header if you want Mediainfo to detect Constant bit rate.

    ffmpeg -i input.wav -vn -ac 2 -b:a 160k -write_xing 0 output1.mp3
    

    Note that the actual MP3 encoding won't change.

提交回复
热议问题