Audio merge duration
Add segment durations and convert the total to sample counts for a merge plan, without decoding audio.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Segment durations
Merge plan
Total time and samples
Enter data to see results
Stat: 0 · Stat 2: 0
What this tool does
- Check parameters before transcoding
- Convert time into samples or filters
Example
Input
[{"duration":1},{"duration":2}]Output
{"operation":"merge","durations":[1,2],"totalDuration":3,"sampleRate":48000}Computes an assertable plan or sample range. It does not touch devices or transcode files.
Frequently asked questions
Does it process the file?
No. It returns a plan, command, or sample range and never decodes media.
May numbers be strings?
Yes. Numeric strings from text controls are parsed as numbers.
Does it match ffmpeg exactly?
Times, filters, and bitrate formulas are deterministic; container overhead can still differ.
Keywords:音频拼接总时长mergesamplesaudio