Audio & Video

Change video volume while keeping the picture stream

·

A volume edit can filter and encode the audio while copying the picture into a compatible output. Compare a known tone before and after the change so you can distinguish a gain edit from a change in picture encoding.

Video Volume Changer

Raise the 440 Hz tone by six decibels

Choose Load tone example. The source is a two-second 320 × 180 MP4 with a 24 fps H.264 picture and a 48 kHz mono tone. Keep Change gain, MP4 and Copy the video stream when compatible selected. Set Gain in dB to 6.

The target amplitude multiplier is about 2.00. The unadjusted tone peaks near −22 dBFS, well below the limiter threshold after the gain change. Listen to the two clips in turn. For an independent level check, compare the mean level measured with FFmpeg's volumedetect filter.

Known test signal and expected change
440 Hz mono test tone and +6 dB gain

FFmpeg volume filter and gain in dBFFmpeg alimiter and latency compensation

Verify that the H.264 picture was copied

Apply audio change and download the result. The workspace reports Picture stream copied, while the audio is encoded again as AAC. To verify independently, compare the ordered video packet hashes on the original and result.

Select WebM and the same source picture must be encoded into a supported WebM codec, so the packet hashes change. Check the copy notice before starting an export.

Read ordered SHA-256 hashes of a file's video packets
ffprobe -v error -select_streams v:0 -show_packets -show_data_hash SHA256 -show_entries packet=data_hash -of csv=p=0 video-volume-reference.mp4

FFmpeg streamcopy

Compare silent audio with picture-only output

Choose Mute and keep a silent track, then apply again. A player can see the audio stream and its decoded samples are silent. Choose Save picture without audio to omit audio streams entirely.

When a source already has no audio track, the workspace starts in picture-only mode. Gain applies only to supplied audio. For an existing silent track, raising gain leaves its zero-valued samples silent.

FFmpeg volume filter and gain in dB

Common questions

How does peak protection work?

For positive gain, the limiter caps samples near −1 dBFS before lossy audio encoding. Encoded audio can have slightly different decoded peaks.

Can the volume tool add a missing sound track?

A source without audio can produce a picture-only copy. Use a tool that combines audio and video when you want to add a soundtrack.

Sources

Put it into practice.

Related guides