ffmpeg-normalize 1.29.1__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.1 → ffmpeg-normalize-1.29.2}/CHANGELOG.md +7 -0
- {ffmpeg-normalize-1.29.1/ffmpeg_normalize.egg-info → ffmpeg-normalize-1.29.2}/PKG-INFO +9 -1
- {ffmpeg-normalize-1.29.1 → 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.1 → ffmpeg-normalize-1.29.2/ffmpeg_normalize.egg-info}/PKG-INFO +9 -1
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/setup.py +1 -0
- ffmpeg-normalize-1.29.1/ffmpeg_normalize/_version.py +0 -1
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/LICENSE +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/README.md +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/__init__.py +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/__main__.py +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/_cmd_utils.py +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/_errors.py +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/_ffmpeg_normalize.py +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/_logger.py +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/_streams.py +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize/py.typed +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/SOURCES.txt +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/dependency_links.txt +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/entry_points.txt +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/not-zip-safe +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/requires.txt +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/top_level.txt +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/setup.cfg +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/test/out.mp4 +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/test/test.mp4 +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/test/test.py +0 -0
- {ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/test/test.wav +0 -0
|
@@ -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,13 @@ 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
|
+
|
|
597
605
|
## v1.29.1 (2024-10-22)
|
|
598
606
|
|
|
599
607
|
* Fix: override argparse usage.
|
|
@@ -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,13 @@ 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
|
+
|
|
597
605
|
## v1.29.1 (2024-10-22)
|
|
598
606
|
|
|
599
607
|
* Fix: override argparse usage.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.29.1"
|
|
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
|
|
File without changes
|
{ffmpeg-normalize-1.29.1 → ffmpeg-normalize-1.29.2}/ffmpeg_normalize.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{ffmpeg-normalize-1.29.1 → 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
|