Skip to content

Why does trimming 0.5 seconds from a shifted audio track cut the wrong part?

Determine whether the time refers to the media timeline or the indices of decoded samples. A stream can start later than zero. Selecting a timestamp range then begins at a different sample than selecting the same number relative to its first decoded sample.

NATIVE SOUNDTRACK AND MEDIA FINISHINGAISwapLab team · Editorial methodPublished 2 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file

Inspect the time origin

Compare the audio start time with the picture timeline. For a planned edit at half a second, determine whether the cue is half a second into the clip or half a second into the audio content.

Try a 48 kHz example

A local tone shifted by 0.25 seconds, trimmed to timeline 0.50–0.75, and rebased to zero produced 12,000 output samples. The selected length was consistent with a quarter second.

Verify the cue position

Use a spoken marker or click distinct from neighboring samples.

Pass condition

The desired content and its new start point match the intended picture edit.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example