Tutorials 20 min read

A Voice Note Recorded in Your Notes Can Be a .webm You Can't Skip Through

MMNMNOTE
voice noteswebmaudio recordingffmpegremuxopusiosseekable

If a voice note shows no length and will not let you jump to the middle, it is probably a WebM file saved in chunks: it carries no duration and no seek index. One command, ffmpeg -i in.webm -c copy out.webm, writes both back without touching the audio. iPhones on iOS 17.3 or earlier cannot play the file.

The complaint is old and specific. A user on Obsidian's forum put it plainly in September 2021: the recording played, but "in the webm file you can’t scroll through. I converted it to an mp3 with VLC".1 That thread has 3,979 views. A request three months later to make recordings seekable gave the reason in a parenthesis — "the file doesn’t contain cue metadata" — and has 2,207.2

Developers meet it too. fix-webm-duration, a small library apps use to patch the missing length, was downloaded 3,060,180 times from npm in November 2026.3 That is a sign of how often apps work around the problem, not a count of the people it affects.

So a recorded note can be a .webm you can't skip through — but not every one is. Since a 2025 change, current Chromium writes a complete file in the simplest case. Whether your recording has a length depends on how the app records it and how old its browser engine is. The fix is the same either way.

Why does a voice note have no length?

A WebM file keeps its length, and a pointer to its seek index — the list of where each moment sits in the file — near the start. A recorder that saves audio as it arrives has already written the start before it knows how long the recording will be. So the length is left blank and the index is skipped.

The problem was filed on the standard's own tracker in February 2017. "At the moment implementations of the MediaStream Recording API don't write seekable webm files," the issue's author wrote, and named the obstacle: "to write the cues in a useful fashion will require mutating the start of the file".4

A recorder that hands the page a chunk of audio every second cannot reach back into bytes the page already holds — the start of the file is gone before the end exists.

WebM is built on Matroska, which the IETF published as RFC 9559 in October 2024. The length is the Duration element, ID 0x4489, inside the file's Info block. The seek index is Cues, ID 0x1C53BB6B, described as "A Top-Level Element to speed seeking access."5

The RFC also names the shape a chunked recording takes: "A live Matroska stream is different from a file because it usually has no known end".5 A browser recording saved in chunks is, structurally, a live stream written to disk.

The tracker issue has its own history. It was closed in April 2017 in favour of a JavaScript fix, then reopened in January 2022 on the grounds that leaving the job to each app's own code might not be the best answer.4 It is still open — 15 comments, nine years on. Miguel Casas, a Chrome engineer on the thread, described a Chrome recording in 2017 as "not seekable and with ∞ duration".4

Does every browser recorder write a file like this?

No. Since a 2025 change, Chromium — the engine inside Chrome, Edge and desktop apps built with Electron — writes a complete, seekable file when an app records in one piece and collects the audio at the end. The length-less file appears when the app asks for audio in chunks while recording, or runs an older engine.

Chromium's recorder source carries the switch, turned on by default, with a one-line comment: "// Write a seekable WebM instead of a live one."6 That branch runs only when the app passes no time slice — one recording, collected at the end. The same file keeps a handle so it can "fall back to live mode" if the app calls requestData() mid-recording.6

What "live mode" means is spelled out next door. Once seeking is disabled, "duration will no longer be written during finalization and cues will be written at the end of the file instead of at the beginning as required for seeking."7

We recorded 12 seconds twice with a current Chromium build on 2 December 2026, using a test microphone and asking for no particular format.8 Chromium chose audio/webm;codecs=opus both times — WebM with Opus audio. The only difference was how the audio was collected:

How the app recordsWhat the file holdsffmpeg readsAfter -c copy remux
start() — one piece, collected at stopDuration and Cues presentDuration: 00:00:11.94Duration: 00:00:12.00
start(1000) — a chunk every secondNo Duration, no Cues, unknown size, 12 open-ended clustersDuration: N/ADuration: 00:00:12.00, Cues present

The two files were nearly the same size — 185,566 and 185,607 bytes. The sound was the same. Only the bookkeeping differed.

An app has good reasons to record in chunks — it can save progress during a long recording, so a crash does not take the whole thing. Those are exactly the files that arrive with no length.

We did not check which note apps record this way, and an app's engine version is rarely on its About screen. Check the file, not the app.

Why can you skip in one player and not another?

Without a seek index, a player has to work out where the middle of the file is. RFC 9559 says a stream with no index at its start should be treated as non-seekable, and some players do exactly that. Others work around it, so the same recording scrubs in one app and refuses in the next.

The RFC's wording is direct: "If the stream has neither a SeekHead list nor a Cues list at the beginning of the stream, it SHOULD be considered non-seekable."5

The 2021 forum thread shows the split on one machine. On Windows 10, one user could scrub the recording inside the note app and in mpv, while the default Windows audio app "does not allow me to scrub" it.1 Same file, three players, two answers.

A length on screen is not proof either. Writing the duration back is a separate job from writing the index. A developer on the W3C thread noted in January 2025 that the JavaScript duration fix "only fixes duration, the file still does not become seekable over http".4

Test both: the length, and the jump.

Step 1: Check whether a recording has a length

Open the recording in two different players and drag the playhead to the middle. If either player shows no length, or snaps back to the start, the file is probably missing its duration or its seek index. For a definite answer on the length, run ffprobe and look for Duration: N/A.

ffprobe comes with ffmpeg — point it at the file:

ffprobe -hide_banner "Recording.webm"

The line to read is the one that starts with Duration. From our two test recordings:

Healthy:   Duration: 00:00:11.94, start: 0.000000, bitrate: 124 kb/s
No length: Duration: N/A, start: 0.000000, bitrate: N/A

Duration: N/A means the file carries no length, and ffmpeg could not work one out from the header. In our chunked recording, the seek index was missing too.

A value on that line covers the length only — the drag test in two players covers the jump.

If you have many recordings, check a few of the longest first. Those are the ones you will want to skip through.

Step 2: Fix it without losing quality

Run ffmpeg -i in.webm -c copy out.webm. The -c copy option copies the audio packets exactly as they are into a new file. Because ffmpeg writes that file to disk, it can go back and fill in the length and the seek index. Nothing is decoded or re-encoded, and the original stays untouched.

The command was offered on the W3C thread within days of the issue opening: "You can also do the same with ffmpeg -i input.webm -c copy output.webm to get a remuxed file."4

ffmpeg's documentation states what stream copy does — and what it cannot promise. "Since there is no decoding or encoding, it is very fast and there is no quality loss. However, it might not work in some cases because of a variety of factors (e.g. certain information required by the target container is not available in the source)."9

On our chunked recording it worked — Duration: N/A became Duration: 00:00:12.00, the Cues element appeared, and the audio stayed Opus, 48,000 Hz, mono.8 Both test files came out at 185,817 bytes.

For one file, or for a whole folder:

# one file
ffmpeg -i "Recording.webm" -c copy "Recording-fixed.webm"

# every .webm in this folder, into a fixed/ subfolder
mkdir -p fixed
for f in *.webm; do
  ffmpeg -i "$f" -c copy "fixed/$f"
done

The loop runs the same single-file command once per recording. It writes into a separate folder, so the originals stay where they are. We ran the single-file command on our two test recordings; we did not run the loop itself, so try it on a copy of the folder first.

Then put the fixed file back under the original name. A note embeds a recording by its file name — rename it and the link breaks. Play the fixed copy in your second player first, then move it over the original.

This is also why a remux beats a duration patch — it rebuilds the file around the same audio, index and all.

Which devices can play a WebM voice note?

The iPhone is where a WebM voice note can fail outright. iOS Safari before 17.4 plays Opus audio only inside Apple's CAF container, so a WebM recording made on a laptop will not play there. Support arrived partially in iOS 17.4 and fully in 18.4.

The version split, from caniuse's Opus data:10

iOS Safari versionPlays Opus audio in WebM?
11.0–17.3No — Opus only "packaged in a CAF file"
17.4Partly — WebM works, with a "known regression"
17.5–18.3Partly — "Supported in a WebM container (all bitrates)."
18.4 and laterYes

The 2022 forum thread "iOS can't play the webm audio that I record on my Mac" has 1,655 views.11 A reply from January 2023 is the whole report in one line: "Still a problem. Can’t play recordings from Mac on iOS."11

A remux does not help here — the fixed file is still Opus in WebM, so an iPhone that cannot play one cannot play the other. Step 3 is for that.

Which format a recorder writes in the first place depends on the browser engine and on what the app asks for. The standard leaves it open: an app that names no format is "leaving up to the UA the choice of both container and codecs".12 In our test, Chromium chose WebM with Opus.8

Safari started elsewhere. WebKit's 2020 post launching its recorder said: "Safari currently supports the MP4 file format with H.264 as video codec and AAC as audio codec."13 And since Safari 18.4, "MediaRecorder in WebKit for Safari 18.4 now supports creating WebM files using the Opus audio codec".14

So the same note app can store different kinds of audio file on different machines — the extension tells you which one you have.

Step 3: Keep a copy every device can play

If the recording must play on older iPhones or in other software, convert a copy to M4A (AAC) or MP3. Unlike the remux, a conversion decodes and re-encodes the audio, so it is lossy — a little quality goes each time. Keep the fixed WebM as the original and treat the converted file as the copy you share.

Two common conversions, run on the fixed file:

# M4A (AAC) — the audio codec Safari's own recorder launched with
ffmpeg -i "Recording-fixed.webm" -c:a aac -b:a 128k "Recording.m4a"

# MP3 — if your ffmpeg build includes the MP3 encoder
ffmpeg -i "Recording-fixed.webm" -c:a libmp3lame -q:a 2 "Recording.mp3"

We tested only the -c copy remux. These two are standard ffmpeg encoder settings; play the result before you delete anything.

Convert from the original, never from an earlier conversion — each lossy pass stacks on the last.

For a long-term archive, the question is the same one that applies to any file you keep: will something still open it in ten years? An open container with a fixed length and index is the safer bet, and a portable copy beside it covers the devices that cannot read it. Note Apps Compared by What Survives When the Company Doesn't makes the case for files you can open without the app that made them.

For keeping voice notes on your own device in the first place, see Dictation Went Local: Speak Your Notes, Keep the File.

Common mistakes

Five mistakes keep a voice note unskippable or unplayable: trusting one player's verdict, patching only the length, converting when a remux would do, overwriting the only copy, and renaming the fixed file so the note's link no longer finds it. Each one takes a minute to avoid.

If your notes moved between apps along the way, How Well Do Note Apps Actually Let You Leave? covers which attachments survive an export.

Frequently Asked Questions

The first four questions come from thread titles on Obsidian's forum, still collecting views years after they were posted. They describe the same file from four sides. The last three come up once the file is fixed: whether the fix costs quality, why players disagree, and what to keep for the long run.

Have audio record in .mp3 instead of .webm?

A browser-based recorder writes whatever format the browser engine picks, unless the app asks for another — and Chromium picks WebM with Opus. If you need MP3, convert a copy with ffmpeg after recording. That conversion is lossy, so first fix the WebM with a lossless -c copy remux and keep it as the original.

Can't skip forward in audio recordings

The recording probably has no seek index, and often no length either — the shape a recorder leaves when it saves in chunks. Run ffmpeg -i in.webm -c copy out.webm to write both back without re-encoding. That forum thread dates from August 2020 and has 2,024 views.15

iOS can't play the webm audio that I record on my Mac

iOS Safari before 17.4 plays Opus audio only inside Apple's CAF container, not WebM, so the recording will not play at all. iOS 17.4 to 18.3 plays it with caveats, and 18.4 fully. For older devices, convert a copy to M4A (AAC). A remux will not help — the audio stays Opus.

Make webm audio recordings seekable

Remux them — ffmpeg -i in.webm -c copy out.webm copies the audio unchanged into a new file, with the length and the seek index written in. On our chunked test recording, Duration: N/A became Duration: 00:00:12.00. A JavaScript duration patch alone fixes the length but can leave the file unseekable.

Does remuxing a WebM lose quality?

No. Stream copy, the -c copy option, does no decoding or encoding, and ffmpeg's documentation says "there is no quality loss". The same documentation warns that it can fail when the target container needs information the source lacks. Converting to M4A or MP3 is different: that re-encodes, and it is lossy.

Why does a recording skip in one player and not another?

Without a seek index, each player decides for itself. RFC 9559 says a stream with no index at its start "SHOULD be considered non-seekable", and some players follow that. Others work around it. In a 2021 forum report, one Windows 10 file scrubbed in two players and not in the system's default app.

Which format should I keep voice notes in for the long term?

Keep the fixed original — WebM with its length and index — and a copy in M4A (AAC) or MP3. The original keeps full quality; the copy plays on devices without WebM support, including iPhones before iOS 17.4. Keep both beside the note that links to them, under names that never change.


A voice note with no length has lost nothing but its map. One remux draws it back.


MNMNOTE keeps notes in open Markdown, stored locally on your own device. mnmnote.com

Footnotes

  1. Obsidian Forum, "Have audio record in .mp3 instead of .webm?", topic 23510, opened 2021-09-01 (3,979 views as of 2026-12-02); Windows 10 scrub report in the same thread, 2021-09-03. https://forum.obsidian.md/t/23510, accessed 2026-12-02. ↩ ↩2

  2. Obsidian Forum, "Make webm audio recordings seekable\scrub (e.g. using ts-ebml)," topic 28932, opened 2021-12-20 (2,207 views as of 2026-12-02). https://forum.obsidian.md/t/28932, accessed 2026-12-02. ↩

  3. npm registry downloads API, fix-webm-duration, 2026-11-01 to 2026-11-30 (3,060,180 downloads). https://api.npmjs.org/downloads/point/2026-11-01:2026-11-30/fix-webm-duration, accessed 2026-12-02. ↩

  4. W3C mediacapture-record, issue #119, "Creation of Seekable Files," opened 2017-02-27, closed 2017-04-18, reopened 2022-01-17 (open, 15 comments as of 2026-12-02). https://github.com/w3c/mediacapture-record/issues/119, accessed 2026-12-02. ↩ ↩2 ↩3 ↩4 ↩5

  5. IETF, RFC 9559, "Matroska Media Container Format Specification," October 2024, §5.1.2.10, §5.1.5 and §23.2. https://www.rfc-editor.org/rfc/rfc9559, accessed 2026-12-02. ↩ ↩2 ↩3

  6. Chromium source, third_party/blink/renderer/modules/mediarecorder/media_recorder_handler.cc, commit 97523d7. https://chromium.googlesource.com/chromium/src/+/97523d742fa9f0b2d2b0e4d356be19c05080a77e/third_party/blink/renderer/modules/mediarecorder/media_recorder_handler.cc, accessed 2026-12-02. ↩ ↩2

  7. Chromium source, media/muxers/memory_webm_muxer_delegate.h (2025), commit 97523d7. https://chromium.googlesource.com/chromium/src/+/97523d742fa9f0b2d2b0e4d356be19c05080a77e/media/muxers/memory_webm_muxer_delegate.h, accessed 2026-12-02. ↩

  8. MNMNOTE test, 2026-12-02: a headless Chromium build current on that date, a test microphone, and two 12-second recordings with no format requested — one collected at stop, one with a 1,000 ms time slice — inspected and remuxed with ffmpeg n9.0.2 using -c copy. ↩ ↩2 ↩3

  9. FFmpeg documentation, "ffmpeg," §3.1 Streamcopy. https://ffmpeg.org/ffmpeg.html, accessed 2026-12-02. ↩

  10. caniuse, "Opus audio format" (data as of 2026-11-28). https://caniuse.com/opus, accessed 2026-12-02. ↩

  11. Obsidian Forum, "iOS can't play the webm audio that I record on my Mac," topic 38356, opened 2022-06-02 (1,655 views as of 2026-12-02); reply of 2023-01-31. https://forum.obsidian.md/t/38356, accessed 2026-12-02. ↩ ↩2

  12. W3C, "MediaStream Recording," Editor's Draft, 16 March 2026. https://w3c.github.io/mediacapture-record/, accessed 2026-12-02. ↩

  13. WebKit blog, Youenn Fablet, "MediaRecorder API," 2020-11-23. https://webkit.org/blog/11353/mediarecorder-api/, accessed 2026-12-02. ↩

  14. WebKit blog, "WebKit Features in Safari 18.4," 2025-03-31. https://webkit.org/blog/16574/webkit-features-in-safari-18-4/, accessed 2026-12-02. ↩

  15. Obsidian Forum, "Can't skip forward in audio recordings," topic 4613, opened 2020-08-20 (2,024 views as of 2026-12-02). https://forum.obsidian.md/t/4613, accessed 2026-12-02. ↩