Skip to content

Conversation

@SamarRizvi
Copy link
Contributor

Added functionality to get file volume component (mean and max volume). It eases the task of setting / normalizing volume, since this way, user already knows the max volume of the input file.

By default the quality is set 4, due to this bit rate is not set properly.
By default the quality is set 4, due to this bit rate is not set properly.
Correct audio codecs were never applied. For example, AudioFormat_Mkv sets audioCodec to libvorbis, but instead, setAudioCodec function instead sets codec as vorbis. Found the bug when working with mono files.
Corrected typo
Added getFileVolumeComponent() function and relevant code to get mean and max volume of file.
Added function readVolumeComponent() to read volume component.
Corrected typo
Volume can end in 'dB', and can be float as well as integer.
@SamarRizvi SamarRizvi changed the title Get file volume component [Enhancement] Get file volume component Jan 27, 2016
Corrected typo
No mean and max volume components were returned for linux systems. Now, it works fine.
Fixed bug when Ffmpeg returns error **No such filter: '"volume'** on many systems due volume being enclosed in inverted commas.
if volume ends with 'db' change it to 'dB', else ffmpeg may produce error in some cases.
Major bugfix (correct codecs never applied)
buggedcom added a commit that referenced this pull request Feb 9, 2016
[Enhancement] Get file volume component
@buggedcom buggedcom merged commit 6902088 into buggedcom:master Feb 9, 2016
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

Successfully merging this pull request may close these issues.

2 participants