---
name: audio-mastering-cli
description: 'name: audio-mastering-cli description: CLI audio mastering without
  a reference track using ffmpeg; accepts audio or video inputs and outputs
  mastered WAV/MP3 or remuxed MP4. metadata: {"openclaw":{...'
---

﻿---
name: audio-mastering-cli
description: CLI audio mastering without a reference track using ffmpeg; accepts audio or video inputs and outputs mastered WAV/MP3 or remuxed MP4.
metadata: {"openclaw":{"emoji":"🎚️","homepage":"https://github.com/alesys/openclaw-skill-audio-mastering-cli","os":["win32"],"requires":{"bins":["ffmpeg","powershell"]}}}
---

# Audio Mastering CLI

Usa este skill cuando el usuario quiera masterizar audio sin referencia, por CLI, sobre archivo de audio o video.

## Entradas soportadas
- Audio: `wav`, `aiff`, `flac`, `mp3`, `m4a`
- Video: `mp4`, `mov`, `m4v`, `mkv`, `webm`

## Flujo
1. Verifica que existe el archivo de entrada.
2. Ejecuta:
   `powershell -ExecutionPolicy Bypass -File "{baseDir}/scripts/master_media.ps1" -InputFile "<ruta-archivo>" -MakeMp3`
3. Entrega salidas:
   - WAV master: `<base>_master.wav`
   - MP3 master: `<base>_master.mp3` (si `-MakeMp3`)
   - Si la entrada es video: `<base>_master.mp4` con video original + audio masterizado AAC 320k
4. Reporta loudness/true peak del log.

## Cadena aplicada
- `highpass` + `lowpass`
- EQ suave de correccion/mejora
- `acompressor`
- `alimiter`
- `loudnorm` dos pasadas (objetivo conservador multiplaforma)

## Verificacion opcional
`ffmpeg -hide_banner -i "<archivo_master.wav>" -af "loudnorm=I=-14:TP=-1:LRA=7:print_format=summary" -f null NUL`

## Notas
- Para video: se conserva el stream de video (`-c:v copy`) y solo se reemplaza audio.
- Si hay avisos de clipping interno en EQ, bajar input o ganancias de EQ y reexportar.


---
Source attribution: modbender
Original project: https://github.com/modbender/skill-library-mcp/blob/d9c8fe903b5b4e82237dbe8d0df8567783022e18/data/audio-mastering-cli/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2025 skill-library-mcp contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: modbender
Original project: https://github.com/modbender/skill-library-mcp/blob/d9c8fe903b5b4e82237dbe8d0df8567783022e18/data/audio-mastering-cli/SKILL.md
Attribution basis: Source repository record

Fields of work: Content & Media
Roles: Video Producer
Specialties: Testing
Tools: FFmpeg, Powershell
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 60c324e16848baf152b0a117e5be743c25da00a54794c6f659f2cd469e73442d
