question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a VBR option for audio codecs that support it

See original GitHub issue

I saw a pull request that is like 3 years old, not sure why it still hasn’t been merged, for now I changed a few lines to make it use VBR whenever it sees libfdk_aac: avcodecs.py:161

            if self.ffmpeg_codec_name == 'libfdk_aac':
                optlist.extend(['-vbr', '5'])
            else:
                optlist.extend(['-b:a:' + stream, str(br) + 'k'])

it took some effort to find it as I haven’t really dug into this project much, but anyways adding this feature is a must IMO

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mdhigginscommented, Jan 18, 2022

ef4bdbd7142bbbe113b0e17aa1d4816e65ea5cf5

Should close it out, adds variable-bitrate and profile options to the Audio and Universal Audio sections

0reactions
VXszcommented, Jan 20, 2022

Everything looks perfect so far, thank you again

Read more comments on GitHub >

github_iconTop Results From Across the Web

Web audio codec guide - Web media technologies | MDN
In this article, we look at audio codecs used on the web to compress and decompress audio, ... Variable Bit Rate (VBR) support,...
Read more >
FFmpeg Codecs Documentation
In addition each codec may support so-called private options, ... The list of supported options follow: ... Set video quantizer scale compression (VBR)....
Read more >
Common settings for sharing - Adobe Support
Click the tab for the category that you want to adjust (Format, Video, Audio, Multiplexer, or Audiences), and adjust the corresponding options ......
Read more >
What's the Difference Between CBR and VBR Encoding?
Unless you're restricted by old hardware that only supports audio formats encoded using CBR, then VBR is the recommended method. Support for VBR...
Read more >
Choose import settings in Music on Mac - Apple Support
Use Variable Bit Rate Encoding (VBR): This setting varies the number of bits used to store the music depending on the complexity of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found