ffmpeg-normalize 1.26.4__py2.py3-none-any.whl → 1.26.5__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/_streams.py +2 -2
- ffmpeg_normalize/_version.py +1 -1
- {ffmpeg_normalize-1.26.4.dist-info → ffmpeg_normalize-1.26.5.dist-info}/METADATA +42 -4
- {ffmpeg_normalize-1.26.4.dist-info → ffmpeg_normalize-1.26.5.dist-info}/RECORD +9 -9
- {ffmpeg_normalize-1.26.4.dist-info → ffmpeg_normalize-1.26.5.dist-info}/LICENSE +0 -0
- {ffmpeg_normalize-1.26.4.dist-info → ffmpeg_normalize-1.26.5.dist-info}/WHEEL +0 -0
- {ffmpeg_normalize-1.26.4.dist-info → ffmpeg_normalize-1.26.5.dist-info}/entry_points.txt +0 -0
- {ffmpeg_normalize-1.26.4.dist-info → ffmpeg_normalize-1.26.5.dist-info}/top_level.txt +0 -0
ffmpeg_normalize/_media_file.py
CHANGED
|
@@ -289,7 +289,7 @@ class MediaFile:
|
|
|
289
289
|
output_stream_types.append("subtitle")
|
|
290
290
|
|
|
291
291
|
# base command, here we will add all other options
|
|
292
|
-
cmd = [self.ffmpeg_normalize.ffmpeg_exe, "-
|
|
292
|
+
cmd = [self.ffmpeg_normalize.ffmpeg_exe, "-hide_banner", "-y"]
|
|
293
293
|
|
|
294
294
|
# extra options (if any)
|
|
295
295
|
if self.ffmpeg_normalize.extra_input_options:
|
ffmpeg_normalize/_streams.py
CHANGED
|
@@ -226,7 +226,7 @@ class AudioStream(MediaStream):
|
|
|
226
226
|
|
|
227
227
|
cmd = [
|
|
228
228
|
self.media_file.ffmpeg_normalize.ffmpeg_exe,
|
|
229
|
-
"-
|
|
229
|
+
"-hide_banner",
|
|
230
230
|
"-y",
|
|
231
231
|
"-i",
|
|
232
232
|
self.media_file.input_file,
|
|
@@ -295,7 +295,7 @@ class AudioStream(MediaStream):
|
|
|
295
295
|
|
|
296
296
|
cmd = [
|
|
297
297
|
self.media_file.ffmpeg_normalize.ffmpeg_exe,
|
|
298
|
-
"-
|
|
298
|
+
"-hide_banner",
|
|
299
299
|
"-y",
|
|
300
300
|
"-i",
|
|
301
301
|
self.media_file.input_file,
|
ffmpeg_normalize/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.26.
|
|
1
|
+
__version__ = "1.26.5"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ffmpeg-normalize
|
|
3
|
-
Version: 1.26.
|
|
3
|
+
Version: 1.26.5
|
|
4
4
|
Summary: Normalize audio via ffmpeg
|
|
5
5
|
Home-page: https://github.com/slhck/ffmpeg-normalize
|
|
6
6
|
Author: Werner Robitza
|
|
@@ -55,6 +55,7 @@ Read on for more info.
|
|
|
55
55
|
**Contents:**
|
|
56
56
|
|
|
57
57
|
- [Requirements](#requirements)
|
|
58
|
+
- [ffmpeg](#ffmpeg)
|
|
58
59
|
- [Installation](#installation)
|
|
59
60
|
- [Usage](#usage)
|
|
60
61
|
- [Description](#description)
|
|
@@ -88,9 +89,34 @@ Read on for more info.
|
|
|
88
89
|
|
|
89
90
|
## Requirements
|
|
90
91
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
You need Python 3.8 or higher.
|
|
93
|
+
|
|
94
|
+
### ffmpeg
|
|
95
|
+
|
|
96
|
+
- ffmpeg 5.x is required
|
|
97
|
+
- Download a [static build](https://ffmpeg.org/download.html) for your system
|
|
98
|
+
- Place the `ffmpeg` executable in your `$PATH`, or specify the path to the binary with the `FFMPEG_PATH` environment variable in `ffmpeg-normalize`
|
|
99
|
+
|
|
100
|
+
For instance, under Linux:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
|
|
104
|
+
mkdir -p ffmpeg
|
|
105
|
+
tar -xf ffmpeg-release-amd64-static.tar.xz -C ffmpeg --strip-components=1
|
|
106
|
+
sudo cp ffmpeg/ffmpeg /usr/local/bin
|
|
107
|
+
sudo cp ffmpeg/ffprobe /usr/local/bin
|
|
108
|
+
sudo chmod +x /usr/local/bin/ffmpeg /usr/local/bin/ffprobe
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
For Windows, follow [this guide](https://www.wikihow.com/Install-FFmpeg-on-Windows).
|
|
112
|
+
|
|
113
|
+
For macOS and Linux, you can also use [Homebrew](https://brew.sh):
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
brew install ffmpeg
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Note that using distribution packages (e.g., `apt install ffmpeg`) is not recommended, as these are often outdated.
|
|
94
120
|
|
|
95
121
|
## Installation
|
|
96
122
|
|
|
@@ -499,6 +525,18 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
499
525
|
# Changelog
|
|
500
526
|
|
|
501
527
|
|
|
528
|
+
## v1.26.5 (2023-03-15)
|
|
529
|
+
|
|
530
|
+
* Add "-hide_banner" remove "-nostdin" (#222)
|
|
531
|
+
|
|
532
|
+
The `-nostdin` option is unnessary because of the `-y` option.
|
|
533
|
+
Adding `-hide_banner` makes DEBUG statements shorter.
|
|
534
|
+
|
|
535
|
+
* Homebrew works on linux too.
|
|
536
|
+
|
|
537
|
+
* Explain ffmpeg installation steps.
|
|
538
|
+
|
|
539
|
+
|
|
502
540
|
## v1.26.4 (2023-02-08)
|
|
503
541
|
|
|
504
542
|
* Re-add requirements.txt to (maybe) fix conda-forge builds.
|
|
@@ -4,13 +4,13 @@ ffmpeg_normalize/_cmd_utils.py,sha256=6oeZss5QdObKpiRIlL-iGi1bvGnXxiX7PitFR79P8Z
|
|
|
4
4
|
ffmpeg_normalize/_errors.py,sha256=brTQ4osJ4fTA8wnyMPVVYfGwJ0wqeShRFydTEwi_VEY,48
|
|
5
5
|
ffmpeg_normalize/_ffmpeg_normalize.py,sha256=EQd7GPsfDJYlqAmh_fiLKvtvyR08594Avtae4uqOyJk,9694
|
|
6
6
|
ffmpeg_normalize/_logger.py,sha256=3Ap4Fxg7xGrzz7h4IGuNEf0KKstx0Rq_eLbHPrHzcrI,1841
|
|
7
|
-
ffmpeg_normalize/_media_file.py,sha256=
|
|
8
|
-
ffmpeg_normalize/_streams.py,sha256=
|
|
9
|
-
ffmpeg_normalize/_version.py,sha256=
|
|
7
|
+
ffmpeg_normalize/_media_file.py,sha256=GL6taLCeZ_CcEREg-xLsC4nK4_5Uc7Ae8c7qM9ndPOg,14566
|
|
8
|
+
ffmpeg_normalize/_streams.py,sha256=iq1Ie2kHcXwTGuBxXL7_m_hNo-suVOXY8kTvnR-6vYo,16929
|
|
9
|
+
ffmpeg_normalize/_version.py,sha256=oyYaf_hKVytbj27t4MO7i9hYDG-rQIR1UXnwZ8vi7IA,23
|
|
10
10
|
ffmpeg_normalize/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
ffmpeg_normalize-1.26.
|
|
12
|
-
ffmpeg_normalize-1.26.
|
|
13
|
-
ffmpeg_normalize-1.26.
|
|
14
|
-
ffmpeg_normalize-1.26.
|
|
15
|
-
ffmpeg_normalize-1.26.
|
|
16
|
-
ffmpeg_normalize-1.26.
|
|
11
|
+
ffmpeg_normalize-1.26.5.dist-info/LICENSE,sha256=zeqAHGWrSIwdPHsZMZv1_N0gGFO1xxjcZEz9CplR4EM,1086
|
|
12
|
+
ffmpeg_normalize-1.26.5.dist-info/METADATA,sha256=q5s4LyjLC5zv63j9mZ9NxID-YLUBUwk6Eh-6KzbFr0U,46644
|
|
13
|
+
ffmpeg_normalize-1.26.5.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
|
|
14
|
+
ffmpeg_normalize-1.26.5.dist-info/entry_points.txt,sha256=X0EC5ptb0iGOxrk3Aa65dVQtvUixngLd_2-iAtSixdc,68
|
|
15
|
+
ffmpeg_normalize-1.26.5.dist-info/top_level.txt,sha256=wnUkr17ckPrrU1JsxZQiXbEBUnHKsC64yck-MemEBuI,17
|
|
16
|
+
ffmpeg_normalize-1.26.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|