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

Audio sounds blown out/distorted #831

Closed
ainstushar opened this issue Jun 4, 2014 · 5 comments
Closed

Audio sounds blown out/distorted #831

ainstushar opened this issue Jun 4, 2014 · 5 comments

Comments

@ainstushar
Copy link

If I play a movie in mpv, the audio sounds like it's distorted. It sounds like the sound is coming through blown out speakers. This same video, when played in other media players like mplayerx, sounds normal. I am not sure what kinds of logs would be helpful in this.

@ChrisK2
Copy link
Member

ChrisK2 commented Jun 4, 2014

Try with --no-config. If it's fine then, there is something weird in your config. If it's still weird, check your systems audio settings. Also operating system and sound server would be very useful info.

@ainstushar
Copy link
Author

It seems like softvol-max is the culprit. Default is 200, I set it for 400. I wasn't sure it would create the distorted effect. Is this is some sort of library limitation? If it is, then I think it would help out others if you guys put a disclaimer in the DOCS page with something along the lines "setting it at a higher value can distort sound..."

If this is not a bug, then feel free to close this issue. Thanks.

@pigoz
Copy link
Member

pigoz commented Jun 4, 2014

What you probably heard was caused by clipping caused by doubling the gain.. if this is on OS X maybe we could look into using a pure float/double audio filtering pipeline instead of the signed integer one.

For example mpv --af=format=float --softvol-max=400 <file>. Not sure if that helps.

@ainstushar
Copy link
Author

@pigoz, float and double yield same results. Any other pipelines that you recommend I try?

@ghost
Copy link

ghost commented Jul 18, 2015

There were some libswresample-related fixes recently.

@ghost ghost closed this as completed Jul 18, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants