Convert the audio of AVI, WebM, WMV and other video to FLAC

Nine video formats with the same symptom: the picture makes it into DaVinci Resolve and the sound does not. Drop the file in and VidToFLAC turns its audio into FLAC in your browser, nothing uploaded.

0 files converted in this browser · none has left your device
Select a file to start the engine
Idle
01 Select input videos
Drag your videos here or click
MP4 · MOV · MKV · AVI · WAV · MP3 · AAC · multiple at once
02 Convert

Audio becomes FLAC · video is copied without re-encoding when the codec allows it

Ctrl + D Press Ctrl+D to bookmark this site
Processing… 0%
03 Results
Technical details · FFmpeg
The problem we solve

Nine formats, nine ways to end up with no audio

An old camcorder AVI usually carries MP3 or AC-3; a downloaded WebM, Opus or Vorbis; a DVD VOB, AC-3 or MPEG audio; a WMV, WMA. None of those codecs is dependable in DaVinci Resolve, and on Linux they nearly always fail. Below is a guide to each format: what is inside, why it fails and what the tool does with it.

What VidToFLAC does with any of these videos

The process is the same for all nine: the tool reads the file, identifies its codecs and writes an MKV with the audio track in FLAC, a lossless format that DaVinci Resolve, Premiere Pro and Avid decode natively.

What changes from one format to the next is the video. H.264, AV1, VP8, VP9 and MPEG-4 (Xvid) are copied without re-encoding, so the picture loses nothing. MPEG-2 (found in VOB files, many MPEG files and some TS files), WMV, VP6 and H.265/HEVC are re-encoded to high-quality H.264 (-crf 18): it takes longer, and the result is very close to the original but not bit-for-bit identical. And a third group is re-encoded too, even though browsers read it without trouble: H.263, Theora, FLV1 (Sorenson) and MS MPEG-4 v3 (DivX 3). Copied as they are, DaVinci Resolve imports the clip with sound but no picture. Each one is measured in the test bench.

When the video is copied but the browser cannot decode it, as with Xvid, the page preview may show no picture. The downloaded file is complete all the same.

Frequently asked questions

Common questions about converting video to FLAC

Why does an AVI, WebM or VOB import into DaVinci Resolve with no sound?

Because of the audio codec, which differs from format to format: old AVI files usually carry MP3 or AC-3; WebM, Opus or Vorbis; VOB and MPEG, AC-3 or MPEG Audio; WMV, WMA; broadcast TS, AC-3 or AAC; and old phone 3GP files, AMR. DaVinci Resolve decodes none of them reliably, least of all on Linux, so you see the picture while the audio track stays empty.

Is the video re-encoded during conversion?

It depends on the codec, not the file extension. H.264, AV1, VP8, VP9 and MPEG-4 (Xvid) are copied without re-encoding. MPEG-2, WMV, VP6 and H.265/HEVC are re-encoded to high-quality H.264 (-crf 18), which takes longer and does not leave the video bit-for-bit identical, although the difference is not visible to the eye. H.263, Theora, FLV1 and DivX 3 are re-encoded as well, even though browsers read them fine, because DaVinci Resolve imports them with no picture when they are copied.

The page preview shows no picture for my AVI or 3GP. Did it fail?

Not necessarily. If the video is Xvid, VidToFLAC copies it into the MKV as it is, and the browser cannot always decode it to display it. The downloaded file is complete; check it by opening it in your editor or in a player such as VLC.

Why is the output an MKV rather than the original format?

Because hardly any of these containers accept FLAC audio. AVI, WMV, FLV, VOB and 3GP do not allow for it, and in MP4 support is unreliable. MKV supports it as standard, takes almost any video codec, and DaVinci Resolve imports it without trouble.

Can I convert the DTS audio in a TS or M2TS file?

Yes. The DTS track is decoded and encoded as FLAC, which is lossless, so the editor receives exactly the sound that was decoded. If the file has several audio tracks, VidToFLAC shows a checkbox per track before converting and keeps the ones you leave ticked, each as a FLAC track.

Does it work with VOB files from a copy-protected DVD?

No. A VOB encrypted with CSS cannot be processed. It works with unencrypted VOB files, such as home-recorded DVDs or files you have already copied from discs you hold the rights to.

Is there a size limit?

We impose none, because the file never leaves your computer. The practical limit is the browser WebAssembly memory, about 2 GB in total: videos several hours long or files over 1 to 2 GB may not fit.

Guides by format

Pick your video format

Each format has its own guide below. MP4, MKV and MOV, the most common ones, have pages of their own: MP4, MKV and MOV. If your file is audio only, go to convert MP3, AAC, Opus and other audio to FLAC.

Remux: the video is copied and only the audio is re-encodedDiagram: the video track passes into the output MKV without re-encoding, while the AAC, MP3, AC-3 or Opus audio track is decoded and re-encoded as FLAC.INPUT FILEOUTPUT FILE (MKV)Video trackH.264 · VP9 · MPEG-4copiedUntouched0 re-encodesIdentical videosame qualityAudio trackAAC · MP3 · AC-3 · OpusdecodedRe-encodedto lossless FLACFLAC audiothe editor reads itException: when the browser cannot decode the video(H.265/HEVC, MPEG-2, WMV, VP6), it is re-encoded to H.264 too.
What gets copied and what gets re-encoded in each of these nine video formats.
AVI → FLAC

Everything about converting AVI to FLAC

Why AVI causes more trouble than newer containers

AVI dates from 1992 and was never designed for what people ask of it today. It has no standard way to signal variable frame rate, its timestamps are rudimentary, and it accepts codecs that modern software has long stopped shipping decoders for. An AVI from a 2005 camcorder might hold DivX or Xvid video with MP3 audio; one from a capture card might hold uncompressed video with PCM. The container name tells you very little.

What VidToFLAC does with an AVI

The audio always becomes FLAC. The video depends on the codec. H.264, DivX and Xvid are copied across without re-encoding, so the picture loses nothing, although the page preview may not show DivX or Xvid. Codecs on the re-encode list, such as Cinepak or MJPEG, are converted to H.264.

Step by step: converting your AVI to FLAC

  1. Drop the .avi onto the upload area.
  2. Choose MKV as the output: modern editors handle it far better than AVI.
  3. Press Convert and wait. Legacy codecs need re-encoding, so this takes longer than a plain remux.
  4. Import the result and check the audio now plays.

Common problems and what to do

Old AVIs are frequently interlaced. Converting the audio does not deinterlace the picture: you will want to handle that in your editor's clip attributes. If the AVI is very large and uncompressed, remember the browser's practical ceiling is roughly 2 GB of WebAssembly memory; split long captures before converting.

AVI and variable frame rate

AVI was designed in 1992 and has no reliable support for variable frame rate. Hence this format's classic complaint: over long clips (screen captures and phone footage especially) audio and video drift apart. If your AVI already arrived out of sync, conversion preserves that drift; it has to be corrected in the editor.

The fix for your AVI files: FLAC audio in an MKV

AVI files from old camcorders, capture cards and legacy recording software carry their audio as MP3 or AC3. AC3 is what DaVinci Resolve refuses to decode on Linux; MP3 itself imports fine inside an MP4, but in our Studio 21 test the AVI did not even reach the Media Pool.

VidToFLAC repackages the file into an MKV and re-encodes the audio track to lossless FLAC, which every major editor reads natively. The video is copied bit for bit when the browser can decode it, or re-encoded to H.264 when it is a legacy codec such as DivX, Xvid or Cinepak.

Old AVIs are frequently interlaced. Converting the audio does not deinterlace the picture: set that in your editor's clip attributes.

WebM → FLAC

WebM to FLAC: fixing WebM with no audio in DaVinci Resolve

WebM with no audio in DaVinci Resolve: the two causes

The first is the codec: Resolve does not decode Opus or Vorbis by default. The second is an offset: Opus stores a pre-skip in its header, and many WebM files start the audio a few milliseconds after zero. In our tests, a track that did not start exactly at 0 came into Resolve with the audio box on and no sound, while tracks starting at 0 played. VidToFLAC anchors the track to zero when converting. We measured this on the test bench.

Why WebM and video editors do not get along

WebM was designed by Google for the web, not for editing: royalty-free codecs, small files, fast streaming. Those goals are the opposite of what an NLE optimises for. Editors are built around codecs the broadcast industry standardised on decades ago (H.264, ProRes, DNxHD, PCM, AAC) and Opus and Vorbis never entered that world. The format is not broken; it is simply aimed elsewhere.

Opus is better than what replaces it, and that is fine

Worth being clear about this: Opus is a superb codec, better than AAC at the same bitrate. Converting it to FLAC does not improve the audio: nothing can recover what lossy compression already discarded. What FLAC buys you is that everything downstream can read it, and that no further quality is lost from this point on. It is a compatibility move, not a quality one.

Step by step: converting your WebM to FLAC

  1. Drop the .webm onto the upload area.
  2. Choose MKV as the output.
  3. Press Convert. VP8 and VP9 video is copied across untouched, and the audio track is anchored to zero so Resolve plays it.
  4. Import the MKV into your editor, where the audio now plays.

Common problems and what to do

Screen recordings made in a browser are very often variable frame rate, which makes audio drift as the clip progresses. Converting the audio does not fix that: you need a constant frame rate, which means re-encoding the video with -vf fps=N. If the drift grows over time rather than staying constant, VFR is your problem, not the codec.

WebM is Matroska, trimmed down

WebM is not a different container from MKV: it is a restricted subset of Matroska, with the same EBML format underneath and a short list of permitted codecs (VP8, VP9 or AV1 with Vorbis or Opus). That restriction is what makes it fit for the web, and what leaves out the audio editors expect.

The fix for your WebM files: FLAC audio in an MKV

WebM files from downloaded video, browser captures and screen recordings carry their audio as Opus or Vorbis, and that is what DaVinci Resolve refuses to decode: on Linux always, and on Windows and macOS depending on version and configuration. The picture imports; the sound does not.

VidToFLAC repackages the file into an MKV and re-encodes the audio track to lossless FLAC, which every major editor reads natively. VP8 and VP9 video is copied bit for bit. The one WebM detail that needs handling is the Opus pre-skip, which leaves the audio track starting a few milliseconds after zero: enough for DaVinci Resolve to import the clip with a silent audio track. The conversion anchors the track to zero instead.

Browser-made screen recordings are often variable frame rate, which makes audio drift as the clip runs. That needs a constant frame rate, not an audio conversion.

WMV → FLAC

Everything about converting WMV to FLAC

What WMV actually is

WMV wraps VC-1 or WMV3 video with WMA audio, and both are proprietary Microsoft codecs. On Windows with the right components installed it plays; on macOS and Linux it usually does not, and DaVinci Resolve rejects it on every platform more often than not.

What VidToFLAC does with it

Neither the video nor the audio can be decoded in the browser, so both are re-encoded: video to H.264, audio to FLAC. That means this is a full conversion rather than a remux, so it takes longer and the video is not bit-for-bit identical. At -crf 18 the difference is not visible in practice, and it is the most practical way to make the clip editable outside the Windows Media ecosystem.

Step by step

  1. Drop your .wmv file onto the upload area, or click Select files.
  2. Choose MKV as the output: modern editors handle it best.
  3. Press Convert. Everything is processed on your own machine, with no uploads.
  4. Download the result and import it into your editor.

Common problems and what to do

Older formats are frequently interlaced; converting the audio does not deinterlace the picture, so handle that in your editor's clip attributes. Large files can exhaust the browser's memory (the practical ceiling is roughly 2 GB of WebAssembly memory), so split long recordings before converting. If a file fails, open Technical details · FFmpeg: the log names the codec that could not be decoded.

With a WMV the problem is usually twofold

A WMV nearly always carries WMA audio inside the same ASF container, so the incompatibility hits both tracks at once rather than the audio alone. That is why a WMV often fails before it even shows a picture: VidToFLAC re-encodes the video to H.264 and the audio to FLAC inside an MKV, and the result imports cleanly.

FLV → FLAC

Everything about converting FLV to FLAC

What FLV actually is

FLV was the format of web video for over a decade, until Flash was retired in 2020. What survives is archives: old screencasts, downloaded lectures, recordings from long-dead platforms. Inside you might find H.264 with AAC, which modern software reads, or legacy Sorenson and VP6 video with MP3 or Nellymoser audio, which it does not.

What VidToFLAC does with it

H.264 and Sorenson Spark video are copied across untouched, although the page preview may not show Sorenson. VP6 is re-encoded to H.264, which is what you want anyway, since nothing modern edits VP6 comfortably. The audio always becomes FLAC.

FLV: orphaned since Flash ended in 2020

When Flash Player support ended on 31 December 2020, FLV was left an orphan format: hardly any modern editor recognises it natively, and the tools that handled it have been disappearing. If you still keep material in FLV, converting it now is less a compatibility fix than preventive archiving.

The fix for your FLV files: FLAC audio in an MKV

FLV files from archived screencasts, old lectures and downloads from retired platforms carry their audio as MP3, AAC or Nellymoser. Resolve has no decoder for Nellymoser and, on Linux, no licence for AAC; the FLV container itself is not reliably supported either.

VidToFLAC repackages the file into an MKV and re-encodes the audio track to lossless FLAC, which every major editor reads natively. The video is copied when it is H.264 or Sorenson Spark, and re-encoded to H.264 when it is VP6, which the browser cannot decode.

Flash video was retired in 2020, so anything you still have is an archive. Converting it now is also the simplest way to make sure it stays playable.

MPEG → FLAC

Everything about converting MPEG to FLAC

What MPEG actually is

MPEG is the family of standards that digital video began with. MPEG-1 gave us the Video CD and the MP3; MPEG-2 gave us the DVD and digital television. Files in these formats are usually old, often interlaced, and carry MP2 or AC3 audio that modern editors decode poorly if at all.

What VidToFLAC does with it

Neither MPEG-1 nor MPEG-2 video can be decoded in the browser, so the picture is re-encoded to H.264 and the audio becomes FLAC. The result is far easier to edit than the original, though it is a full conversion rather than a remux.

Interlaced MPEG-2 and combing artefacts

MPEG-2 allows interlaced video, where each frame is built from two fields captured at different instants. Brought into a modern editor working in progressive, that can show the classic combing lines on movement unless it is deinterlaced first. VidToFLAC does not deinterlace: it keeps the video as it is and fixes only the audio, so that adjustment belongs in the editor.

The fix for your MPEG files: FLAC audio in an MKV

MPEG files are usually old and often interlaced. The conversion makes them far easier to edit, but it is a full re-encode rather than a remux.

TS → FLAC

Everything about converting TS to FLAC

What TS actually is

MPEG-TS was designed for broadcast: a stream of small packets that survives transmission errors and can be tuned into halfway through. That makes it ideal for digital television and capture hardware, and awkward for editing, because it has no clean index and often carries several programmes at once.

What VidToFLAC does with it

TS files usually hold H.264 or MPEG-2 video. If it is H.264 the video is copied across untouched; MPEG-2 is re-encoded to H.264 because the browser cannot decode it. Either way the audio, typically AC3 or AAC, becomes FLAC and the result imports cleanly.

Why a TS weighs more: 188-byte packets

The Transport Stream was designed for broadcast, where the signal can cut out at any moment. So it splits the stream into fixed 188-byte packets with redundant headers that let a receiver join mid-transmission. That redundancy is what makes a TS slightly larger than an MP4 of the same content, and it disappears when the file is repackaged.

The fix for your TS files: FLAC audio in an MKV

TS files from digital television, capture cards and stream recorders carry their audio as AC3 or AAC, and that is what DaVinci Resolve refuses to decode: on Linux always, and on Windows and macOS depending on version and configuration. The picture imports; the sound does not.

Transport streams often carry several programmes and have no clean index, so some players show odd durations. Converting to MKV gives you a properly indexed file.

VOB → FLAC

Everything about converting VOB to FLAC

What VOB actually is

A VOB is what sits inside the VIDEO_TS folder of a DVD: MPEG-2 video paired with AC3 (Dolby Digital) or PCM audio. AC3 is a licensed codec that DaVinci Resolve does not decode on Linux and handles unevenly elsewhere; PCM, when a disc uses it, imports without trouble.

What VidToFLAC does with it

MPEG-2 cannot be decoded in the browser, so the video is re-encoded to H.264 and the AC3 becomes FLAC. Note that VOB files from commercial DVDs are usually encrypted with CSS; those cannot be processed by any tool without circumventing the protection, and this one will not open them.

A VOB can hold several angles and several languages

DVD VOBs can contain several camera angles and several audio tracks in different languages, interleaved in the same file. VidToFLAC converts the main track FFmpeg detects. If you need to keep them all, use desktop FFmpeg with -map 0.

3GP → FLAC

Everything about converting 3GP to FLAC

What 3GP actually is

3GP was designed for early mobile networks, when bandwidth was measured in kilobits. It pairs H.263 or MPEG-4 video with AMR audio, a codec built for speech at very low bitrates. Files in this format are usually old phone recordings or voice notes, and their audio is rarely readable by editing software.

What VidToFLAC does with it

AMR is decoded and re-encoded to FLAC. Be realistic about the result: AMR discards a great deal to hit its bitrate, and FLAC preserves exactly what remains: it cannot restore what was never stored. The video, usually H.263, is re-encoded to H.264: copied as it is, DaVinci Resolve imports the clip with no picture at all.

AMR: a codec built for speech, not music

The AMR codec found in many 3GP files was designed for telephone speech at minimal bandwidth. 3GP files with AMR audio sound flat to begin with, and it is worth knowing before you convert: FLAC preserves exactly what is there, but it cannot rebuild what the codec discarded at recording time.

The fix for your 3GP files: FLAC audio in an MKV

VidToFLAC repackages the file into an MKV and re-encodes the audio track to lossless FLAC, which every major editor reads natively. The H.263 video is copied without re-encoding, so the picture is untouched, although the page preview may not be able to show it.

Be realistic about AMR: it discards a great deal to reach very low bitrates, and FLAC preserves exactly what remains. It cannot restore what was never stored.

M4V → FLAC

Everything about converting M4V to FLAC

What M4V actually is

M4V is essentially MP4 with an Apple label, and the contents are much the same: H.264 or HEVC video with AAC audio. The difference that matters is that M4V files bought from iTunes carry FairPlay DRM, which changes what is possible entirely.

What VidToFLAC does with it

For your own exports the conversion is straightforward: the audio becomes FLAC, and the video is copied if it is H.264 or re-encoded if it is HEVC. For DRM-protected purchases nothing can be done: the file is encrypted and no tool opens it legally, this one included.

iTunes M4V files and FairPlay DRM

M4V files bought from iTunes may carry FairPlay DRM. In that case no converter (not VidToFLAC, not desktop FFmpeg) can process them while the protection remains, and only the rights holder can lawfully remove it. M4V files without DRM, which is most user-generated ones, convert normally.

The fix for your M4V files: FLAC audio in an MKV

M4V files bought from iTunes carry FairPlay DRM. Those are encrypted and no tool opens them legally, this one included. Your own exports convert normally.

Guides and articles

Learn more about audio in DaVinci Resolve