ffmpeg-normalize 1.26.3__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.
@@ -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, "-y", "-nostdin"]
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:
@@ -226,7 +226,7 @@ class AudioStream(MediaStream):
226
226
 
227
227
  cmd = [
228
228
  self.media_file.ffmpeg_normalize.ffmpeg_exe,
229
- "-nostdin",
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
- "-nostdin",
298
+ "-hide_banner",
299
299
  "-y",
300
300
  "-i",
301
301
  self.media_file.input_file,
@@ -1 +1 @@
1
- __version__ = "1.26.3"
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
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
- - Python 3.8 or higher
92
- - ffmpeg v4.2 or higher from <https://ffmpeg.org/> – static builds using the latest Git master are recommended
93
- - `ffmpeg` must be in your \$PATH
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,23 @@ 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
+
540
+ ## v1.26.4 (2023-02-08)
541
+
542
+ * Re-add requirements.txt to (maybe) fix conda-forge builds.
543
+
544
+
502
545
  ## v1.26.3 (2023-02-08)
503
546
 
504
547
  * Fix requirements (#218)
@@ -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=0AvCHCyXLwzdW6OWP0f_kNZyByvvcimIjlydMb_SX6E,14562
8
- ffmpeg_normalize/_streams.py,sha256=KtGszdIVidr2fvpNg0L8nEbkzU-NkSvSAqxNjSsdGVY,16921
9
- ffmpeg_normalize/_version.py,sha256=VhLIG1x88u56jPQeo6KcWvNUen4_xOS3-z7wx5NPbzA,23
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.3.dist-info/LICENSE,sha256=zeqAHGWrSIwdPHsZMZv1_N0gGFO1xxjcZEz9CplR4EM,1086
12
- ffmpeg_normalize-1.26.3.dist-info/METADATA,sha256=_Yfdrnsk9MvRcvyUFZ6ec3zIk8LKiESedUTood0LqQU,45499
13
- ffmpeg_normalize-1.26.3.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
14
- ffmpeg_normalize-1.26.3.dist-info/entry_points.txt,sha256=X0EC5ptb0iGOxrk3Aa65dVQtvUixngLd_2-iAtSixdc,68
15
- ffmpeg_normalize-1.26.3.dist-info/top_level.txt,sha256=wnUkr17ckPrrU1JsxZQiXbEBUnHKsC64yck-MemEBuI,17
16
- ffmpeg_normalize-1.26.3.dist-info/RECORD,,
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,,