Prompt
I need video transcoding with audio normalization and extraction
Latest observation
Nov 1, 2026
OpenAI APIWeb search: off
Sure — if you want video transcoding with audio normalization and audio extraction, a common way is to use FFmpeg.
1) Transcode video and normalize audio
Example: convert input to H.264 video + AAC audio, while normalizing audio volume.
ffmpeg -i input.mp4 \
-vf "scale=-2:720" \
-c:v libx264 -preset medium -crf 23 \
-af "loudnorm" \
-c:a aac -b:a 192k \
output.mp4
What this does
-vf "scale=-2:720": resizes video to 720p height, keeping aspect ratio-c:v libx264: encodes video to H.264-crf 23: quality/size tradeoff-af "loudnorm": normalizes audio loudness-c:a aac -b:a 192k: encodes audio to AAC
2) Extract audio only
If you want to extract the audio track from the video:
ffmpeg -i input.mp4 -vn -c:a aac output.m4a
Or extract without re-encoding
If you just want to copy the original audio stream:
ffmpeg -i input.mp4 -vn -c:a copy output.audio
3) Extract audio and normalize it
If you want the extracted audio to be normalized:
ffmpeg -i input.mp4 -vn -af "loudnorm" -c:a aac output_normalized.m4a
4) If you want both video output and separate normalized audio file
You can do both in one command:
ffmpeg -i input.mp4 \
-filter_complex "[0:a]loudnorm[aout]" \
-map 0:v -c:v libx264 -crf 23 -preset medium \
-map "[aout]" -c:a aac -b:a 192k \
output.mp4
If you also want a separate audio file:
ffmpeg -i input.mp4 \
-filter_complex "[0:a]loudnorm[aout]" \
-map 0:v -c:v libx264 -crf 23 -preset medium \
-map "[aout]" -c:a aac -b:a 192k normalized_audio.m4a
If you tell me:
- your input format
- desired output format
- whether you want broadcast-style loudness normalization or just simple volume leveling
- whether you want audio extracted as a separate file
…I can give you an exact FFmpeg command.
Brands