Skip to content

Add --input-list option to read input files from a text file#292

Merged
slhck merged 1 commit intoslhck:masterfrom
odie5533:feature/input-list
Aug 22, 2025
Merged

Add --input-list option to read input files from a text file#292
slhck merged 1 commit intoslhck:masterfrom
odie5533:feature/input-list

Conversation

@odie5533
Copy link
Copy Markdown
Contributor

@odie5533 odie5533 commented Aug 21, 2025

Why

Windows has trouble with long input commands and prefers you pass long lists of things via files. This allows you to pass very large inputs to ffmpeg-normalize.

Demo

echo (gci -name *.wav) > filelist.txt
ffmpeg-normalize --input-list filelist.txt -t -18 -ar 24000 -ext wav

Code written by GPT-5 Mini. Reviewed and tested by a human.

@slhck
Copy link
Copy Markdown
Owner

slhck commented Aug 21, 2025

I think that's a reasonable feature. Could you please add a test for the functionality?

@odie5533 odie5533 force-pushed the feature/input-list branch from b965292 to 25677d2 Compare August 21, 2025 20:25
if os.path.isdir("normalized"):
shutil.rmtree("normalized")

def test_input_list(self, tmp_path):
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@slhck Added a few tests

@slhck slhck merged commit 25677d2 into slhck:master Aug 22, 2025
0 of 5 checks passed
@slhck
Copy link
Copy Markdown
Owner

slhck commented Aug 22, 2025

This is now released as v1.33.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants