Closed Mhuang77 closed 1 year ago
That's what setAudioQuality() is for: http://bytedeco.org/javacv/apidocs/org/bytedeco/javacv/FrameRecorder.html#getAudioQuality--
That's what setAudioQuality() is for: http://bytedeco.org/javacv/apidocs/org/bytedeco/javacv/FrameRecorder.html#getAudioQuality--
thx~
How to use the JavaCV API to set the audio quality option, which equals to the "-q:a 0" option in ffmpeg command? The FFmpeg command is like this:
I tried the FFmpegFrameRecorder class and wrote the " recorder.setOption("-q:a", "0")" in my code, but it does not work the code snippet like this:
FFmpeg MP3 Encoding Guide ref : https://trac.ffmpeg.org/wiki/Encode/MP3#:~:text=Control%20quality%20with%20%2Dqscale%3Aa,produces%20an%20%22acceptable%22%20quality.