ffmpeg-normalize 1.28.0__tar.gz → 1.28.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.28.0 → ffmpeg-normalize-1.28.2}/CHANGELOG.md +12 -0
- {ffmpeg-normalize-1.28.0/ffmpeg_normalize.egg-info → ffmpeg-normalize-1.28.2}/PKG-INFO +35 -21
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/README.md +22 -20
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize/_media_file.py +1 -1
- ffmpeg-normalize-1.28.2/ffmpeg_normalize/_version.py +1 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2/ffmpeg_normalize.egg-info}/PKG-INFO +35 -21
- ffmpeg-normalize-1.28.0/ffmpeg_normalize/_version.py +0 -1
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/LICENSE +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize/__init__.py +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize/__main__.py +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize/_cmd_utils.py +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize/_errors.py +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize/_ffmpeg_normalize.py +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize/_logger.py +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize/_streams.py +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize/py.typed +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize.egg-info/SOURCES.txt +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize.egg-info/dependency_links.txt +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize.egg-info/entry_points.txt +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize.egg-info/not-zip-safe +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize.egg-info/requires.txt +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize.egg-info/top_level.txt +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/setup.cfg +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/setup.py +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/test/out.mp4 +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/test/test.mp4 +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/test/test.py +0 -0
- {ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.2}/test/test.wav +0 -0
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v1.28.2 (2024-06-22)
|
|
5
|
+
|
|
6
|
+
* Provide an entrypoint for the Docker image.
|
|
7
|
+
|
|
8
|
+
* Add docker push (#261)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## v1.28.1 (2024-05-15)
|
|
12
|
+
|
|
13
|
+
* Fix assignment of audio statistics, fixes #257.
|
|
14
|
+
|
|
15
|
+
|
|
4
16
|
## v1.28.0 (2024-05-13)
|
|
5
17
|
|
|
6
18
|
* Warn if dynamic mode is used but linear specified (#256)
|
|
@@ -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
|
|
@@ -53,7 +53,8 @@ Read on for more info.
|
|
|
53
53
|
- [Requirements](#requirements)
|
|
54
54
|
- [ffmpeg](#ffmpeg)
|
|
55
55
|
- [Installation](#installation)
|
|
56
|
-
- [Docker
|
|
56
|
+
- [Usage with Docker](#usage-with-docker)
|
|
57
|
+
- [From Docker Hub](#from-docker-hub)
|
|
57
58
|
- [Usage](#usage)
|
|
58
59
|
- [Description](#description)
|
|
59
60
|
- [Examples](#examples)
|
|
@@ -125,35 +126,36 @@ pip3 install ffmpeg-normalize
|
|
|
125
126
|
|
|
126
127
|
Or download this repository, then run `pip3 install .`.
|
|
127
128
|
|
|
128
|
-
## Docker
|
|
129
|
-
Download this repository and run
|
|
129
|
+
## Usage with Docker
|
|
130
130
|
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
### From Docker Hub
|
|
132
|
+
|
|
133
|
+
You can use the pre-built image from Docker Hub:
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
docker run -v "$(pwd):/tmp" -it slhck/ffmpeg-normalize
|
|
133
137
|
```
|
|
134
138
|
|
|
135
|
-
|
|
139
|
+
Alternatively, download this repository and run
|
|
140
|
+
|
|
136
141
|
```
|
|
137
|
-
docker
|
|
142
|
+
docker build -t ffmpeg-normalize .
|
|
138
143
|
```
|
|
139
|
-
This will mount your current folder to the /tmp directory inside the container
|
|
140
|
-
|
|
141
|
-
Note: The container will run in interactive mode.
|
|
142
144
|
|
|
143
|
-
|
|
145
|
+
Then run the container with:
|
|
144
146
|
|
|
147
|
+
```bash
|
|
148
|
+
docker run -v "$(pwd):/tmp" -it ffmpeg-normalize
|
|
145
149
|
```
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
WARNING: The chosen output extension mp3 does not support video/cover art. It will be disabled.
|
|
152
|
-
/tmp # ls
|
|
153
|
-
01. Goblin normalized.mp3
|
|
154
|
-
01. Goblin.mp3
|
|
150
|
+
|
|
151
|
+
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:
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
docker run -v "$(pwd):/tmp" -it ffmpeg-normalize /tmp/yourfile.mp4 -o /tmp/yourfile-normalized.wav
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
+
You will then find the normalized file in your current directory.
|
|
158
|
+
|
|
157
159
|
## Usage
|
|
158
160
|
|
|
159
161
|
```bash
|
|
@@ -559,6 +561,18 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
559
561
|
# Changelog
|
|
560
562
|
|
|
561
563
|
|
|
564
|
+
## v1.28.2 (2024-06-22)
|
|
565
|
+
|
|
566
|
+
* Provide an entrypoint for the Docker image.
|
|
567
|
+
|
|
568
|
+
* Add docker push (#261)
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
## v1.28.1 (2024-05-15)
|
|
572
|
+
|
|
573
|
+
* Fix assignment of audio statistics, fixes #257.
|
|
574
|
+
|
|
575
|
+
|
|
562
576
|
## v1.28.0 (2024-05-13)
|
|
563
577
|
|
|
564
578
|
* Warn if dynamic mode is used but linear specified (#256)
|
|
@@ -28,7 +28,8 @@ Read on for more info.
|
|
|
28
28
|
- [Requirements](#requirements)
|
|
29
29
|
- [ffmpeg](#ffmpeg)
|
|
30
30
|
- [Installation](#installation)
|
|
31
|
-
- [Docker
|
|
31
|
+
- [Usage with Docker](#usage-with-docker)
|
|
32
|
+
- [From Docker Hub](#from-docker-hub)
|
|
32
33
|
- [Usage](#usage)
|
|
33
34
|
- [Description](#description)
|
|
34
35
|
- [Examples](#examples)
|
|
@@ -100,35 +101,36 @@ pip3 install ffmpeg-normalize
|
|
|
100
101
|
|
|
101
102
|
Or download this repository, then run `pip3 install .`.
|
|
102
103
|
|
|
103
|
-
## Docker
|
|
104
|
-
Download this repository and run
|
|
104
|
+
## Usage with Docker
|
|
105
105
|
|
|
106
|
+
### From Docker Hub
|
|
107
|
+
|
|
108
|
+
You can use the pre-built image from Docker Hub:
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
docker run -v "$(pwd):/tmp" -it slhck/ffmpeg-normalize
|
|
106
112
|
```
|
|
107
|
-
docker build -t ffmpeg-normalize .
|
|
108
|
-
```
|
|
109
113
|
|
|
110
|
-
|
|
114
|
+
Alternatively, download this repository and run
|
|
115
|
+
|
|
111
116
|
```
|
|
112
|
-
docker
|
|
117
|
+
docker build -t ffmpeg-normalize .
|
|
113
118
|
```
|
|
114
|
-
This will mount your current folder to the /tmp directory inside the container
|
|
115
119
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
Example Usage:
|
|
120
|
+
Then run the container with:
|
|
119
121
|
|
|
122
|
+
```bash
|
|
123
|
+
docker run -v "$(pwd):/tmp" -it ffmpeg-normalize
|
|
120
124
|
```
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
WARNING: The chosen output extension mp3 does not support video/cover art. It will be disabled.
|
|
127
|
-
/tmp # ls
|
|
128
|
-
01. Goblin normalized.mp3
|
|
129
|
-
01. Goblin.mp3
|
|
125
|
+
|
|
126
|
+
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:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
docker run -v "$(pwd):/tmp" -it ffmpeg-normalize /tmp/yourfile.mp4 -o /tmp/yourfile-normalized.wav
|
|
130
130
|
```
|
|
131
131
|
|
|
132
|
+
You will then find the normalized file in your current directory.
|
|
133
|
+
|
|
132
134
|
## Usage
|
|
133
135
|
|
|
134
136
|
```bash
|
|
@@ -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)
|
|
@@ -0,0 +1 @@
|
|
|
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
|
|
@@ -53,7 +53,8 @@ Read on for more info.
|
|
|
53
53
|
- [Requirements](#requirements)
|
|
54
54
|
- [ffmpeg](#ffmpeg)
|
|
55
55
|
- [Installation](#installation)
|
|
56
|
-
- [Docker
|
|
56
|
+
- [Usage with Docker](#usage-with-docker)
|
|
57
|
+
- [From Docker Hub](#from-docker-hub)
|
|
57
58
|
- [Usage](#usage)
|
|
58
59
|
- [Description](#description)
|
|
59
60
|
- [Examples](#examples)
|
|
@@ -125,35 +126,36 @@ pip3 install ffmpeg-normalize
|
|
|
125
126
|
|
|
126
127
|
Or download this repository, then run `pip3 install .`.
|
|
127
128
|
|
|
128
|
-
## Docker
|
|
129
|
-
Download this repository and run
|
|
129
|
+
## Usage with Docker
|
|
130
130
|
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
### From Docker Hub
|
|
132
|
+
|
|
133
|
+
You can use the pre-built image from Docker Hub:
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
docker run -v "$(pwd):/tmp" -it slhck/ffmpeg-normalize
|
|
133
137
|
```
|
|
134
138
|
|
|
135
|
-
|
|
139
|
+
Alternatively, download this repository and run
|
|
140
|
+
|
|
136
141
|
```
|
|
137
|
-
docker
|
|
142
|
+
docker build -t ffmpeg-normalize .
|
|
138
143
|
```
|
|
139
|
-
This will mount your current folder to the /tmp directory inside the container
|
|
140
|
-
|
|
141
|
-
Note: The container will run in interactive mode.
|
|
142
144
|
|
|
143
|
-
|
|
145
|
+
Then run the container with:
|
|
144
146
|
|
|
147
|
+
```bash
|
|
148
|
+
docker run -v "$(pwd):/tmp" -it ffmpeg-normalize
|
|
145
149
|
```
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
WARNING: The chosen output extension mp3 does not support video/cover art. It will be disabled.
|
|
152
|
-
/tmp # ls
|
|
153
|
-
01. Goblin normalized.mp3
|
|
154
|
-
01. Goblin.mp3
|
|
150
|
+
|
|
151
|
+
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:
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
docker run -v "$(pwd):/tmp" -it ffmpeg-normalize /tmp/yourfile.mp4 -o /tmp/yourfile-normalized.wav
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
+
You will then find the normalized file in your current directory.
|
|
158
|
+
|
|
157
159
|
## Usage
|
|
158
160
|
|
|
159
161
|
```bash
|
|
@@ -559,6 +561,18 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
559
561
|
# Changelog
|
|
560
562
|
|
|
561
563
|
|
|
564
|
+
## v1.28.2 (2024-06-22)
|
|
565
|
+
|
|
566
|
+
* Provide an entrypoint for the Docker image.
|
|
567
|
+
|
|
568
|
+
* Add docker push (#261)
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
## v1.28.1 (2024-05-15)
|
|
572
|
+
|
|
573
|
+
* Fix assignment of audio statistics, fixes #257.
|
|
574
|
+
|
|
575
|
+
|
|
562
576
|
## v1.28.0 (2024-05-13)
|
|
563
577
|
|
|
564
578
|
* Warn if dynamic mode is used but linear specified (#256)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.28.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.28.0 → ffmpeg-normalize-1.28.2}/ffmpeg_normalize.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{ffmpeg-normalize-1.28.0 → ffmpeg-normalize-1.28.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
|
|
File without changes
|