Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when opening video file with opus audio, it shows bitrate as 0 #1944

Closed
solidmaple opened this issue Mar 1, 2019 · 3 comments
Closed

when opening video file with opus audio, it shows bitrate as 0 #1944

solidmaple opened this issue Mar 1, 2019 · 3 comments

Comments

@solidmaple
Copy link

handbrake version: latest build
OS: windows 10 64bit

when opening video file with opus audio, it shows bitrate as 0

@abrezovsky
Copy link
Contributor

Right, I saw do this with TrueHD as well. I had thought it might be a thing with lossless codecs, but since opus is lossy, that likely isn't the case.

The obvious fix here is to check for 0 when writing the source bitrate string, but I'd like to be sure first that bitrate being reported as 0 isn't a bug.

@Nomis101
Copy link
Contributor

Nomis101 commented Mar 1, 2019

This issue happens if the audio stream does not report a bitrate. I have seen this for AAC as well. If you check the file with FFmpeg and for the audio stream you do not see a bitrate reported, HandBrake will report "0 kbps" for the very same file.
A solution would be this comment of sr55 to display (Unknown kbps) when the bitrate is <1
#1876 (comment)

@bradleysepos
Copy link
Contributor

We've been talking about this on IRC. Someone's working on a patch to simply remove the kbps portion if unavailable.

abrezovsky added a commit to abrezovsky/HandBrake that referenced this issue Mar 1, 2019
…andBrake#1944

Signed-off-by: Andrew Brezovsky <abrezovsky@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

4 participants