'Audio stream size is inaccurate when encode the audio

Audio stream size is inaccurate when encode the audio. basically it's coping the original file audio information. i found someone gave answer here:

https://stackoverflow.com/a/59180652/16499922

that solution works but -map_metadata -1 also remove other information. like subtitle, audio title/language etc.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source