본문 바로가기
프로그램 개발해서 돈벌기/Utility

How to solve the problem of no sound when importing mkv file in DaVinci Resolve

by ubmuhan 2024. 1. 19.
반응형

 

MKV files usually use H.264 for video and DTS for audio.

 

So, we will use ffmpeg to change the video to H.264 and the audio to AAC.

 

First, create an mp4 file using the mkv file as h.260 for video and mp3 for audio.

 

ffmpeg -i The.Bourne.Legacy.2012.x264.DTS-WAF.mkv  -ss 37:55 -to 40:28 -vcodec libx264 -acodec libmp3lame output.mp4

 

The above statement cut and converted only a specific section of the mkv file.

 

ffmpeg -i output.mp4 -vcodec libx264 -acodec aac result.mp4

 

The entire output.mp4 file was created as a result.mp4 file with H.264 video and AAC audio.

 

You can check whether the sound is heard properly in QuickTime Player.

 

If the sound plays well in QuickTime Player, it will also play well when imported as an import media in DiVinci Resolve.

 

You need to convert it to mp3 and then convert it back to AAC as per the above steps.

 

If you convert to AAC from the beginning, you will not hear any sound.

 

And if you convert the converted AAC back to AAC, an error occurs. (Figure 1.)

 

Please keep this in mind.

 

Figure 1.

 

 

I'm not sure why. If anyone knows, please let me know.

 

반응형

댓글