Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warn if dynamic mode is used but linear specified #256

Merged
merged 1 commit into from
May 13, 2024

Conversation

slhck
Copy link
Owner

@slhck slhck commented May 13, 2024

See: #254

This changes the output format slightly, with ebu_pass1 and ebu_pass2 as new keys, replacing ebu:

➜ python3 -m ffmpeg_normalize test/test.wav -o normalized/test2.wav -prf volume=0.5,volume=0.5 -p -f C 
[
    {
        "input_file": "test/test.wav",
        "output_file": "normalized/test2.wav",
        "stream_id": 0,
        "ebu_pass1": {
            "input_i": -51.78,
            "input_tp": -39.53,
            "input_lra": 2.2,
            "input_thresh": -61.84,
            "output_i": -22.16,
            "output_tp": -9.47,
            "output_lra": 2.1,
            "output_thresh": -32.25,
            "normalization_type": "dynamic",
            "target_offset": -0.84
        },
        "ebu_pass2": {
            "input_i": -52.24,
            "input_tp": -39.53,
            "input_lra": 2.1,
            "input_thresh": -62.33,
            "output_i": -23.46,
            "output_tp": -10.75,
            "output_lra": 2.1,
            "output_thresh": -33.54,
            "normalization_type": "linear",
            "target_offset": 0.46
        },
        "mean": null,
        "max": null
    }
]

@slhck slhck force-pushed the add-warning-for-dynamic-mode branch from fd1692c to 9ed31ed Compare May 13, 2024 10:12
@slhck slhck merged commit fe96734 into master May 13, 2024
4 checks passed
@slhck slhck deleted the add-warning-for-dynamic-mode branch May 13, 2024 10:14
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.

1 participant