slhck / ffmpeg-normalize

Audio Normalization for Python/ffmpeg
MIT License
1.28k stars 118 forks source link

Add possible to select stream to normalize #249

Closed Mattarn closed 1 year ago

Mattarn commented 1 year ago

The readme states :

What will get normalized?

By default, all streams from the input file will be written to the output file. For example, if your input is a video with two language tracks and a subtitle track, both audio tracks will be normalized independently. The video and subtitle tracks will be copied over to the output file

Please add possibility to normalize only selected streams. For example, my file have 8 track, i want only normalize TR1 and TR2 together

slhck commented 1 year ago

Please see: https://github.com/slhck/ffmpeg-normalize/issues/104

This would mean re-implemeting the map option from ffmpeg, and consequently changing the logic for counting tracks etc. PRs for this functionality are welcome, but I don't have time to work on it at the moment.