amiaopensource / loglog

Documentation and abstractions for adding logs to av-centric scripts
GNU General Public License v3.0
1 stars 1 forks source link

Feature: Allow audio_norm.sh to detect sample rate and bitrate/bitdepth of the input file's audio stream #7

Open iamdamosuzuki opened 3 years ago

iamdamosuzuki commented 3 years ago

Right now audio_norm.sh only maintains the file's original codec, not the more important format details.

eddycolloton commented 3 years ago

Added a line to excerpt the audio bit rate from mediainfo in PR #16 but it's a bit hacky, needed to clean up grep output so it doesn't grab video bit rate or overall bit rate. The line to excerpt the sampling rate from mediainfo in PR #17 is cleaner since it's the only "sampling rate" mediainfo field