ffmpeg-normalize 1.31.0__py2.py3-none-any.whl → 1.31.1__py2.py3-none-any.whl
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/_media_file.py +7 -3
- ffmpeg_normalize/_version.py +1 -1
- {ffmpeg_normalize-1.31.0.dist-info → ffmpeg_normalize-1.31.1.dist-info}/METADATA +10 -1
- {ffmpeg_normalize-1.31.0.dist-info → ffmpeg_normalize-1.31.1.dist-info}/RECORD +8 -8
- {ffmpeg_normalize-1.31.0.dist-info → ffmpeg_normalize-1.31.1.dist-info}/LICENSE +0 -0
- {ffmpeg_normalize-1.31.0.dist-info → ffmpeg_normalize-1.31.1.dist-info}/WHEEL +0 -0
- {ffmpeg_normalize-1.31.0.dist-info → ffmpeg_normalize-1.31.1.dist-info}/entry_points.txt +0 -0
- {ffmpeg_normalize-1.31.0.dist-info → ffmpeg_normalize-1.31.1.dist-info}/top_level.txt +0 -0
ffmpeg_normalize/_media_file.py
CHANGED
|
@@ -177,8 +177,7 @@ class MediaFile:
|
|
|
177
177
|
and len(self.streams["audio"].values()) > 1
|
|
178
178
|
):
|
|
179
179
|
_logger.warning(
|
|
180
|
-
"Output file only supports one stream. "
|
|
181
|
-
"Keeping only first audio stream."
|
|
180
|
+
"Output file only supports one stream. Keeping only first audio stream."
|
|
182
181
|
)
|
|
183
182
|
first_stream = list(self.streams["audio"].values())[0]
|
|
184
183
|
self.streams["audio"] = {first_stream.stream_id: first_stream}
|
|
@@ -390,7 +389,12 @@ class MediaFile:
|
|
|
390
389
|
|
|
391
390
|
# other audio options (if any)
|
|
392
391
|
if self.ffmpeg_normalize.audio_bitrate:
|
|
393
|
-
|
|
392
|
+
if self.ffmpeg_normalize.audio_codec == "libvorbis":
|
|
393
|
+
# libvorbis takes just a "-b" option, for some reason
|
|
394
|
+
# https://github.com/slhck/ffmpeg-normalize/issues/277
|
|
395
|
+
cmd.extend(["-b", str(self.ffmpeg_normalize.audio_bitrate)])
|
|
396
|
+
else:
|
|
397
|
+
cmd.extend(["-b:a", str(self.ffmpeg_normalize.audio_bitrate)])
|
|
394
398
|
if self.ffmpeg_normalize.sample_rate:
|
|
395
399
|
cmd.extend(["-ar", str(self.ffmpeg_normalize.sample_rate)])
|
|
396
400
|
if self.ffmpeg_normalize.audio_channels:
|
ffmpeg_normalize/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.31.
|
|
1
|
+
__version__ = "1.31.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ffmpeg-normalize
|
|
3
|
-
Version: 1.31.
|
|
3
|
+
Version: 1.31.1
|
|
4
4
|
Summary: Normalize audio via ffmpeg
|
|
5
5
|
Home-page: https://github.com/slhck/ffmpeg-normalize
|
|
6
6
|
Author: Werner Robitza
|
|
@@ -671,6 +671,15 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
671
671
|
# Changelog
|
|
672
672
|
|
|
673
673
|
|
|
674
|
+
## v1.31.1 (2025-02-19)
|
|
675
|
+
|
|
676
|
+
* Fix bitrate setting for libvorbis, fixes #277.
|
|
677
|
+
|
|
678
|
+
* Update issue templates.
|
|
679
|
+
|
|
680
|
+
* Prevent blank issues.
|
|
681
|
+
|
|
682
|
+
|
|
674
683
|
## v1.31.0 (2024-12-15)
|
|
675
684
|
|
|
676
685
|
* Update docs and completions.
|
|
@@ -4,13 +4,13 @@ ffmpeg_normalize/_cmd_utils.py,sha256=S7PLXQAZHmJ30RM9K6b--vXuxMf-cQHtaFOPtILxz-
|
|
|
4
4
|
ffmpeg_normalize/_errors.py,sha256=brTQ4osJ4fTA8wnyMPVVYfGwJ0wqeShRFydTEwi_VEY,48
|
|
5
5
|
ffmpeg_normalize/_ffmpeg_normalize.py,sha256=VoxhER57Ew0RKC_WcGpoCmyKKoqsHYuqNFMm7z4BPM4,11080
|
|
6
6
|
ffmpeg_normalize/_logger.py,sha256=3Ap4Fxg7xGrzz7h4IGuNEf0KKstx0Rq_eLbHPrHzcrI,1841
|
|
7
|
-
ffmpeg_normalize/_media_file.py,sha256=
|
|
7
|
+
ffmpeg_normalize/_media_file.py,sha256=BnFTOGOAxzofGS5k7ueG3k6LsUxro_VM6qWCQH5o81A,18258
|
|
8
8
|
ffmpeg_normalize/_streams.py,sha256=LIllXl4SKLxlyPVjD3ieHqc_byF2eUTjnK-clh2g_CY,20211
|
|
9
|
-
ffmpeg_normalize/_version.py,sha256=
|
|
9
|
+
ffmpeg_normalize/_version.py,sha256=VFBXpgylen4bFLDe4KfNX1OmaXu_M6UnJYtTvQRQz4c,23
|
|
10
10
|
ffmpeg_normalize/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
ffmpeg_normalize-1.31.
|
|
12
|
-
ffmpeg_normalize-1.31.
|
|
13
|
-
ffmpeg_normalize-1.31.
|
|
14
|
-
ffmpeg_normalize-1.31.
|
|
15
|
-
ffmpeg_normalize-1.31.
|
|
16
|
-
ffmpeg_normalize-1.31.
|
|
11
|
+
ffmpeg_normalize-1.31.1.dist-info/LICENSE,sha256=zeqAHGWrSIwdPHsZMZv1_N0gGFO1xxjcZEz9CplR4EM,1086
|
|
12
|
+
ffmpeg_normalize-1.31.1.dist-info/METADATA,sha256=Trwdo0wpKwL38BgLgBLXzAWhqyMjhEnKDgL2jFHtMXU,60209
|
|
13
|
+
ffmpeg_normalize-1.31.1.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
|
|
14
|
+
ffmpeg_normalize-1.31.1.dist-info/entry_points.txt,sha256=X0EC5ptb0iGOxrk3Aa65dVQtvUixngLd_2-iAtSixdc,68
|
|
15
|
+
ffmpeg_normalize-1.31.1.dist-info/top_level.txt,sha256=wnUkr17ckPrrU1JsxZQiXbEBUnHKsC64yck-MemEBuI,17
|
|
16
|
+
ffmpeg_normalize-1.31.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|