ffmpeg-normalize 1.28.0__py2.py3-none-any.whl → 1.28.2__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 +1 -1
- ffmpeg_normalize/_version.py +1 -1
- {ffmpeg_normalize-1.28.0.dist-info → ffmpeg_normalize-1.28.2.dist-info}/METADATA +35 -21
- {ffmpeg_normalize-1.28.0.dist-info → ffmpeg_normalize-1.28.2.dist-info}/RECORD +8 -8
- {ffmpeg_normalize-1.28.0.dist-info → ffmpeg_normalize-1.28.2.dist-info}/LICENSE +0 -0
- {ffmpeg_normalize-1.28.0.dist-info → ffmpeg_normalize-1.28.2.dist-info}/WHEEL +0 -0
- {ffmpeg_normalize-1.28.0.dist-info → ffmpeg_normalize-1.28.2.dist-info}/entry_points.txt +0 -0
- {ffmpeg_normalize-1.28.0.dist-info → ffmpeg_normalize-1.28.2.dist-info}/top_level.txt +0 -0
ffmpeg_normalize/_media_file.py
CHANGED
|
@@ -414,7 +414,7 @@ class MediaFile:
|
|
|
414
414
|
all_stats = AudioStream.prune_and_parse_loudnorm_output(
|
|
415
415
|
output, num_stats=len(self.streams["audio"])
|
|
416
416
|
)
|
|
417
|
-
for idx, audio_stream in self.streams["audio"].
|
|
417
|
+
for idx, audio_stream in enumerate(self.streams["audio"].values()):
|
|
418
418
|
audio_stream.set_second_pass_stats(all_stats[idx])
|
|
419
419
|
|
|
420
420
|
# collect all stats for the final report, again (overwrite the input)
|
ffmpeg_normalize/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.28.
|
|
1
|
+
__version__ = "1.28.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ffmpeg-normalize
|
|
3
|
-
Version: 1.28.
|
|
3
|
+
Version: 1.28.2
|
|
4
4
|
Summary: Normalize audio via ffmpeg
|
|
5
5
|
Home-page: https://github.com/slhck/ffmpeg-normalize
|
|
6
6
|
Author: Werner Robitza
|
|
@@ -57,7 +57,8 @@ Read on for more info.
|
|
|
57
57
|
- [Requirements](#requirements)
|
|
58
58
|
- [ffmpeg](#ffmpeg)
|
|
59
59
|
- [Installation](#installation)
|
|
60
|
-
- [Docker
|
|
60
|
+
- [Usage with Docker](#usage-with-docker)
|
|
61
|
+
- [From Docker Hub](#from-docker-hub)
|
|
61
62
|
- [Usage](#usage)
|
|
62
63
|
- [Description](#description)
|
|
63
64
|
- [Examples](#examples)
|
|
@@ -129,35 +130,36 @@ pip3 install ffmpeg-normalize
|
|
|
129
130
|
|
|
130
131
|
Or download this repository, then run `pip3 install .`.
|
|
131
132
|
|
|
132
|
-
## Docker
|
|
133
|
-
Download this repository and run
|
|
133
|
+
## Usage with Docker
|
|
134
134
|
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
### From Docker Hub
|
|
136
|
+
|
|
137
|
+
You can use the pre-built image from Docker Hub:
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
docker run -v "$(pwd):/tmp" -it slhck/ffmpeg-normalize
|
|
137
141
|
```
|
|
138
142
|
|
|
139
|
-
|
|
143
|
+
Alternatively, download this repository and run
|
|
144
|
+
|
|
140
145
|
```
|
|
141
|
-
docker
|
|
146
|
+
docker build -t ffmpeg-normalize .
|
|
142
147
|
```
|
|
143
|
-
This will mount your current folder to the /tmp directory inside the container
|
|
144
|
-
|
|
145
|
-
Note: The container will run in interactive mode.
|
|
146
148
|
|
|
147
|
-
|
|
149
|
+
Then run the container with:
|
|
148
150
|
|
|
151
|
+
```bash
|
|
152
|
+
docker run -v "$(pwd):/tmp" -it ffmpeg-normalize
|
|
149
153
|
```
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
WARNING: The chosen output extension mp3 does not support video/cover art. It will be disabled.
|
|
156
|
-
/tmp # ls
|
|
157
|
-
01. Goblin normalized.mp3
|
|
158
|
-
01. Goblin.mp3
|
|
154
|
+
|
|
155
|
+
This will mount your current directory to the `/tmp` directory inside the container. Everything else works the same way as if you had installed the program locally. For example, to normalize a file:
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
docker run -v "$(pwd):/tmp" -it ffmpeg-normalize /tmp/yourfile.mp4 -o /tmp/yourfile-normalized.wav
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
+
You will then find the normalized file in your current directory.
|
|
162
|
+
|
|
161
163
|
## Usage
|
|
162
164
|
|
|
163
165
|
```bash
|
|
@@ -563,6 +565,18 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
563
565
|
# Changelog
|
|
564
566
|
|
|
565
567
|
|
|
568
|
+
## v1.28.2 (2024-06-22)
|
|
569
|
+
|
|
570
|
+
* Provide an entrypoint for the Docker image.
|
|
571
|
+
|
|
572
|
+
* Add docker push (#261)
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
## v1.28.1 (2024-05-15)
|
|
576
|
+
|
|
577
|
+
* Fix assignment of audio statistics, fixes #257.
|
|
578
|
+
|
|
579
|
+
|
|
566
580
|
## v1.28.0 (2024-05-13)
|
|
567
581
|
|
|
568
582
|
* Warn if dynamic mode is used but linear specified (#256)
|
|
@@ -4,13 +4,13 @@ ffmpeg_normalize/_cmd_utils.py,sha256=A6quxjOl5tLHxgcs7SdMXzuOCP_JjUTzL1iUD4G7DJ
|
|
|
4
4
|
ffmpeg_normalize/_errors.py,sha256=brTQ4osJ4fTA8wnyMPVVYfGwJ0wqeShRFydTEwi_VEY,48
|
|
5
5
|
ffmpeg_normalize/_ffmpeg_normalize.py,sha256=zvqxGvyAfx1pZr7kSlhHACx5qJC-atlmQpbVIptVHUQ,10346
|
|
6
6
|
ffmpeg_normalize/_logger.py,sha256=3Ap4Fxg7xGrzz7h4IGuNEf0KKstx0Rq_eLbHPrHzcrI,1841
|
|
7
|
-
ffmpeg_normalize/_media_file.py,sha256=
|
|
7
|
+
ffmpeg_normalize/_media_file.py,sha256=oBZl0wl6XEyJLWNxtyhgZR_9cp22D9-hSUUHDC8LdQo,16310
|
|
8
8
|
ffmpeg_normalize/_streams.py,sha256=5zLlSK2vMTBs0HzBTmI5UiJVqSp1Nk19TZXpxNtjkIA,19973
|
|
9
|
-
ffmpeg_normalize/_version.py,sha256=
|
|
9
|
+
ffmpeg_normalize/_version.py,sha256=8y9Eii0gPx9n2uMVeeduLKjf9U_bzvnKcf2Mf1JNoCs,23
|
|
10
10
|
ffmpeg_normalize/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
ffmpeg_normalize-1.28.
|
|
12
|
-
ffmpeg_normalize-1.28.
|
|
13
|
-
ffmpeg_normalize-1.28.
|
|
14
|
-
ffmpeg_normalize-1.28.
|
|
15
|
-
ffmpeg_normalize-1.28.
|
|
16
|
-
ffmpeg_normalize-1.28.
|
|
11
|
+
ffmpeg_normalize-1.28.2.dist-info/LICENSE,sha256=zeqAHGWrSIwdPHsZMZv1_N0gGFO1xxjcZEz9CplR4EM,1086
|
|
12
|
+
ffmpeg_normalize-1.28.2.dist-info/METADATA,sha256=Byf2x1QNECKTEdT0F4QMQ0yBZVArmE3dtFRzp8IRsEc,51079
|
|
13
|
+
ffmpeg_normalize-1.28.2.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
|
|
14
|
+
ffmpeg_normalize-1.28.2.dist-info/entry_points.txt,sha256=X0EC5ptb0iGOxrk3Aa65dVQtvUixngLd_2-iAtSixdc,68
|
|
15
|
+
ffmpeg_normalize-1.28.2.dist-info/top_level.txt,sha256=wnUkr17ckPrrU1JsxZQiXbEBUnHKsC64yck-MemEBuI,17
|
|
16
|
+
ffmpeg_normalize-1.28.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|