ffmpeg-normalize 1.33.3__tar.gz → 1.33.4__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.33.3 → ffmpeg_normalize-1.33.4}/PKG-INFO +1 -1
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/pyproject.toml +1 -1
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/src/ffmpeg_normalize/_streams.py +38 -20
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/LICENSE.md +0 -0
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/README.md +0 -0
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/src/ffmpeg_normalize/__init__.py +0 -0
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/src/ffmpeg_normalize/__main__.py +0 -0
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/src/ffmpeg_normalize/_cmd_utils.py +0 -0
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/src/ffmpeg_normalize/_errors.py +0 -0
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/src/ffmpeg_normalize/_ffmpeg_normalize.py +0 -0
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/src/ffmpeg_normalize/_logger.py +0 -0
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/src/ffmpeg_normalize/_media_file.py +0 -0
- {ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/src/ffmpeg_normalize/py.typed +0 -0
|
@@ -238,17 +238,26 @@ class AudioStream(MediaStream):
|
|
|
238
238
|
self.media_file.ffmpeg_normalize.ffmpeg_exe,
|
|
239
239
|
"-hide_banner",
|
|
240
240
|
"-y",
|
|
241
|
-
"-i",
|
|
242
|
-
self.media_file.input_file,
|
|
243
|
-
"-filter_complex",
|
|
244
|
-
filter_str,
|
|
245
|
-
"-vn",
|
|
246
|
-
"-sn",
|
|
247
|
-
"-f",
|
|
248
|
-
"null",
|
|
249
|
-
os.devnull,
|
|
250
241
|
]
|
|
251
242
|
|
|
243
|
+
# Add extra input options if specified
|
|
244
|
+
if self.media_file.ffmpeg_normalize.extra_input_options:
|
|
245
|
+
cmd.extend(self.media_file.ffmpeg_normalize.extra_input_options)
|
|
246
|
+
|
|
247
|
+
cmd.extend(
|
|
248
|
+
[
|
|
249
|
+
"-i",
|
|
250
|
+
self.media_file.input_file,
|
|
251
|
+
"-filter_complex",
|
|
252
|
+
filter_str,
|
|
253
|
+
"-vn",
|
|
254
|
+
"-sn",
|
|
255
|
+
"-f",
|
|
256
|
+
"null",
|
|
257
|
+
os.devnull,
|
|
258
|
+
]
|
|
259
|
+
)
|
|
260
|
+
|
|
252
261
|
cmd_runner = CommandRunner()
|
|
253
262
|
yield from cmd_runner.run_ffmpeg_command(cmd)
|
|
254
263
|
output = cmd_runner.get_output()
|
|
@@ -307,19 +316,28 @@ class AudioStream(MediaStream):
|
|
|
307
316
|
self.media_file.ffmpeg_normalize.ffmpeg_exe,
|
|
308
317
|
"-hide_banner",
|
|
309
318
|
"-y",
|
|
310
|
-
"-i",
|
|
311
|
-
self.media_file.input_file,
|
|
312
|
-
"-map",
|
|
313
|
-
f"0:{self.stream_id}",
|
|
314
|
-
"-filter_complex",
|
|
315
|
-
filter_str,
|
|
316
|
-
"-vn",
|
|
317
|
-
"-sn",
|
|
318
|
-
"-f",
|
|
319
|
-
"null",
|
|
320
|
-
os.devnull,
|
|
321
319
|
]
|
|
322
320
|
|
|
321
|
+
# Add extra input options if specified
|
|
322
|
+
if self.media_file.ffmpeg_normalize.extra_input_options:
|
|
323
|
+
cmd.extend(self.media_file.ffmpeg_normalize.extra_input_options)
|
|
324
|
+
|
|
325
|
+
cmd.extend(
|
|
326
|
+
[
|
|
327
|
+
"-i",
|
|
328
|
+
self.media_file.input_file,
|
|
329
|
+
"-map",
|
|
330
|
+
f"0:{self.stream_id}",
|
|
331
|
+
"-filter_complex",
|
|
332
|
+
filter_str,
|
|
333
|
+
"-vn",
|
|
334
|
+
"-sn",
|
|
335
|
+
"-f",
|
|
336
|
+
"null",
|
|
337
|
+
os.devnull,
|
|
338
|
+
]
|
|
339
|
+
)
|
|
340
|
+
|
|
323
341
|
cmd_runner = CommandRunner()
|
|
324
342
|
yield from cmd_runner.run_ffmpeg_command(cmd)
|
|
325
343
|
output = cmd_runner.get_output()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ffmpeg_normalize-1.33.3 → ffmpeg_normalize-1.33.4}/src/ffmpeg_normalize/_ffmpeg_normalize.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|