ffmpeg-normalize 1.29.0__tar.gz → 1.29.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/CHANGELOG.md +12 -0
- {ffmpeg-normalize-1.29.0/ffmpeg_normalize.egg-info → ffmpeg-normalize-1.29.2}/PKG-INFO +14 -1
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/__main__.py +3 -1
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/_media_file.py +9 -1
- ffmpeg-normalize-1.29.2/ffmpeg_normalize/_version.py +1 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2/ffmpeg_normalize.egg-info}/PKG-INFO +14 -1
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/setup.py +1 -0
- ffmpeg-normalize-1.29.0/ffmpeg_normalize/_version.py +0 -1
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/LICENSE +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/README.md +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/__init__.py +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/_cmd_utils.py +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/_errors.py +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/_ffmpeg_normalize.py +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/_logger.py +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/_streams.py +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/py.typed +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/SOURCES.txt +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/dependency_links.txt +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/entry_points.txt +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/not-zip-safe +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/requires.txt +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/top_level.txt +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/setup.cfg +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/test/out.mp4 +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/test/test.mp4 +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/test/test.py +0 -0
- {ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/test/test.wav +0 -0
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v1.29.2 (2024-11-18)
|
|
5
|
+
|
|
6
|
+
* Fix: show percentage with two decimal digits in progress.
|
|
7
|
+
|
|
8
|
+
* Chore: add python 12.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## v1.29.1 (2024-10-22)
|
|
12
|
+
|
|
13
|
+
* Fix: override argparse usage.
|
|
14
|
+
|
|
15
|
+
|
|
4
16
|
## v1.29.0 (2024-10-14)
|
|
5
17
|
|
|
6
18
|
* Add option to set audio channels directly.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ffmpeg-normalize
|
|
3
|
-
Version: 1.29.
|
|
3
|
+
Version: 1.29.2
|
|
4
4
|
Summary: Normalize audio via ffmpeg
|
|
5
5
|
Home-page: https://github.com/slhck/ffmpeg-normalize
|
|
6
6
|
Author: Werner Robitza
|
|
@@ -19,6 +19,7 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
23
|
Requires-Python: >=3.8
|
|
23
24
|
Description-Content-Type: text/markdown
|
|
24
25
|
License-File: LICENSE
|
|
@@ -594,6 +595,18 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
594
595
|
# Changelog
|
|
595
596
|
|
|
596
597
|
|
|
598
|
+
## v1.29.2 (2024-11-18)
|
|
599
|
+
|
|
600
|
+
* Fix: show percentage with two decimal digits in progress.
|
|
601
|
+
|
|
602
|
+
* Chore: add python 12.
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
## v1.29.1 (2024-10-22)
|
|
606
|
+
|
|
607
|
+
* Fix: override argparse usage.
|
|
608
|
+
|
|
609
|
+
|
|
597
610
|
## v1.29.0 (2024-10-14)
|
|
598
611
|
|
|
599
612
|
* Add option to set audio channels directly.
|
|
@@ -26,7 +26,9 @@ def create_parser() -> argparse.ArgumentParser:
|
|
|
26
26
|
ffmpeg-normalize v{} -- command line tool for normalizing audio files
|
|
27
27
|
""".format(__version__)
|
|
28
28
|
),
|
|
29
|
-
#
|
|
29
|
+
# manually overridden because argparse generates the wrong order of arguments, see:
|
|
30
|
+
# https://github.com/slhck/ffmpeg-normalize/issues/132#issuecomment-662516535
|
|
31
|
+
usage="%(prog)s INPUT [INPUT ...] [-o OUTPUT [OUTPUT ...]] [options]",
|
|
30
32
|
formatter_class=argparse.RawTextHelpFormatter,
|
|
31
33
|
epilog=textwrap.dedent(
|
|
32
34
|
"""\
|
|
@@ -24,6 +24,8 @@ _logger = logging.getLogger(__name__)
|
|
|
24
24
|
AUDIO_ONLY_FORMATS = {"aac", "ast", "flac", "mka", "oga", "ogg", "opus", "wav"}
|
|
25
25
|
ONE_STREAM = {"aac", "ast", "flac", "mp3", "wav"}
|
|
26
26
|
|
|
27
|
+
TQDM_BAR_FORMAT = "{desc}: {percentage:3.2f}% |{bar}{r_bar}"
|
|
28
|
+
|
|
27
29
|
|
|
28
30
|
def _to_ms(**kwargs: str) -> int:
|
|
29
31
|
hour = int(kwargs.get("hour", 0))
|
|
@@ -189,7 +191,12 @@ class MediaFile:
|
|
|
189
191
|
|
|
190
192
|
# run the second pass as a whole
|
|
191
193
|
if self.ffmpeg_normalize.progress:
|
|
192
|
-
with tqdm(
|
|
194
|
+
with tqdm(
|
|
195
|
+
total=100,
|
|
196
|
+
position=1,
|
|
197
|
+
desc="Second Pass",
|
|
198
|
+
bar_format=TQDM_BAR_FORMAT,
|
|
199
|
+
) as pbar:
|
|
193
200
|
for progress in self._second_pass():
|
|
194
201
|
pbar.update(progress - pbar.n)
|
|
195
202
|
else:
|
|
@@ -225,6 +232,7 @@ class MediaFile:
|
|
|
225
232
|
total=100,
|
|
226
233
|
position=1,
|
|
227
234
|
desc=f"Stream {index + 1}/{len(self.streams['audio'].values())}",
|
|
235
|
+
bar_format=TQDM_BAR_FORMAT,
|
|
228
236
|
) as pbar:
|
|
229
237
|
for progress in fun():
|
|
230
238
|
pbar.update(progress - pbar.n)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.29.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ffmpeg-normalize
|
|
3
|
-
Version: 1.29.
|
|
3
|
+
Version: 1.29.2
|
|
4
4
|
Summary: Normalize audio via ffmpeg
|
|
5
5
|
Home-page: https://github.com/slhck/ffmpeg-normalize
|
|
6
6
|
Author: Werner Robitza
|
|
@@ -19,6 +19,7 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
23
|
Requires-Python: >=3.8
|
|
23
24
|
Description-Content-Type: text/markdown
|
|
24
25
|
License-File: LICENSE
|
|
@@ -594,6 +595,18 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
594
595
|
# Changelog
|
|
595
596
|
|
|
596
597
|
|
|
598
|
+
## v1.29.2 (2024-11-18)
|
|
599
|
+
|
|
600
|
+
* Fix: show percentage with two decimal digits in progress.
|
|
601
|
+
|
|
602
|
+
* Chore: add python 12.
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
## v1.29.1 (2024-10-22)
|
|
606
|
+
|
|
607
|
+
* Fix: override argparse usage.
|
|
608
|
+
|
|
609
|
+
|
|
597
610
|
## v1.29.0 (2024-10-14)
|
|
598
611
|
|
|
599
612
|
* Add option to set audio channels directly.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.29.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{ffmpeg-normalize-1.29.0 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|