Extract audio from MKV to DaVinci Resolve
For some reason, DaVinci Resolve cannot import audio tracks from some MKV files.
George found a solution that works on 2023-10-08
- Download ffmpeg complete binaries https://ffmpeg.org/download.html#build-windows
- Get ffmpeg-git-full.7z from https://www.gyan.dev/ffmpeg/builds/
- Run “cmd” in Windows and type:
ffmpeg documentation
https://ffmpeg.org/ffmpeg.html#Audio-Options
ffmpeg gui – qwinff
https://qwinff.github.io/downloads.html – Create 576k kb/s bitrate preset, quickly creates .ac3 file that works!
ffmpeg -i video.mkv -map 0:a -ac 2 audio.mp4
Source: https://superuser.com/questions/852400/properly-downmix-5-1-to-stereo-using-ffmpeg/1410620#1410620
This yields the best result, downmixing the 5.1 into stereo correctly.
The following does not work (the speech only plays in the right speaker, not the left which sounds wrong)
ffmpeg -i video.mkv -map 0:a -acodec copy audio.mp4
Source: https://www.baeldung.com/linux/ffmpeg-audio-from-video
-map 0:a selects all audio streams. Alternatively, drop “map”:
ffmpeg -i video.mkv -acodec copy audio.mp4
Source: https://savvyadmin.com/extract-ac3-dolby-digital-with-ffmpeg/
Import audio.mp4 into DaVinci Resolve.