Page 1 of 1

Problems importing MKV videos into 17.2

PostPosted: Fri May 14, 2021 6:03 pm
by Steven Johnson
I have tried to import 7 different MKV videos downloaded from YouTube into 17.2 but it only imports the audio portion. Handbrake has no trouble converting them. Am I missing something?

Re: Problems importing MKV videos into 17.2

PostPosted: Fri May 14, 2021 6:59 pm
by peterjackson
If it's from YT it will contain VP9, which AFAIK Resolve doesn't support. Id convert to lossless H264 using NVENC. I posted the ffmpeg line sometime in this forum.

Re: Problems importing MKV videos into 17.2

PostPosted: Fri May 14, 2021 8:58 pm
by Steven Johnson
Thank you, Peter. I thought it might be something like this. Fortunately Handbrake (which seems to incorporate NVENC) converts it easily, although I was hoping to avoid this step.

Re: Problems importing MKV videos into 17.2

PostPosted: Fri May 14, 2021 9:09 pm
by smunaut
Actually Resolve does support VP9 ... not sure if it supports VP9 inside MKV though.

Re: Problems importing MKV videos into 17.2

PostPosted: Sat May 15, 2021 12:34 pm
by aPotato
smunaut wrote:Actually Resolve does support VP9 ... not sure if it supports VP9 inside MKV though.


Based on the supported codec PDF it supports it in mov only, but quicktime file format doesn't officially support VP9, so no clue how that works.

Re: Problems importing MKV videos into 17.2

PostPosted: Sat May 15, 2021 4:19 pm
by Balorn
I also get only audio when importing MKV clips into Resolve. Mine are from OBS, using NVIDIA HEVC.

If I use OBS to remux the clip to MP4 (no reencoding, it just changes the container), it opens fine.

Here's the media info MPC shows of one of the test files:
Code: Select all
General
Format                         : Matroska
Format version                 : Version 4 / Version 2
File size                      : 14.6 KiB
Duration                       : 2s 133ms
Overall bit rate               : 56.2 Kbps
Writing application            : Lavf58.29.100
Writing library                : Lavf58.29.100

Video
ID                             : 1
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Main@L4.1@Main
Codec ID                       : V_MPEGH/ISO/HEVC
Duration                       : 2s 133ms
Width                          : 1 920 pixels
Height                         : 1 080 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Constant
Frame rate                     : 60.000 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Default                        : Yes
Forced                         : No
Color range                    : Limited
Color primaries                : BT.709
Transfer characteristics       : BT.709
Matrix coefficients            : BT.709
DURATION                       : 00:00:01.221000000


Here's the media info of the same clip remuxed to MP4:
Code: Select all
General
Format                         : MPEG-4
Format profile                 : Base Media
Codec ID                       : isom
File size                      : 18.9 KiB
Duration                       : 2s 133ms
Overall bit rate               : 72.6 Kbps
Writing application            : Lavf58.29.100

Video
ID                             : 1
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Main@L4.1@Main
Codec ID                       : hev1
Codec ID/Info                  : High Efficiency Video Coding
Duration                       : 1s 216ms
Bit rate                       : 63.8 Kbps
Width                          : 1 920 pixels
Height                         : 1 080 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Variable
Frame rate                     : 60.000 fps
Minimum frame rate             : 58.824 fps
Maximum frame rate             : 62.500 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Bits/(Pixel*Frame)             : 0.001
Stream size                    : 9.47 KiB (50%)
Color range                    : Limited
Color primaries                : BT.709
Transfer characteristics       : BT.709
Matrix coefficients            : BT.709

Re: Problems importing MKV videos into 17.2

PostPosted: Mon May 17, 2021 9:44 am
by Shrinivas Ramani
Hi

Can you post a shareable link to a sample MKV file?

MKV files are containers. If the video and audio codecs inside are Studio only, or supported only on specific platforms, Resolve will interpret them that way.

Regards
Shrinivas

Re: Problems importing MKV videos into 17.2

PostPosted: Mon May 17, 2021 10:28 am
by Balorn
Shrinivas Ramani wrote:Can you post a shareable link to a sample MKV file?

MKV files are containers. If the video and audio codecs inside are Studio only, or supported only on specific platforms, Resolve will interpret them that way.
I did another quick test clip. Same settings as mentioned above, and confirmed the same issue occurs on my second system (also running Resolve Studio 17.2).

I had to change the dots to spaces in the URL as the forum won't let me post a URL, but I figure it should be OK in this case since I was asked to.

MKV file that gets only audio:
www dropbox com/s/b3g5lxkihmugxi1/2021-05-17%2004-52-02.mkv?dl=1

MP4 file of the same clip that gets both video and audio, created with OBS's "remux" option, so no reencoding was done:
www dropbox com/s/92xzr33q5xcofok/2021-05-17%2004-52-02.mp4?dl=1

(The video does say "No Signal", but that's just what the capture card outputs when nothing is sent to it.)

Re: Problems importing MKV videos into 17.2

PostPosted: Mon May 17, 2021 11:39 am
by Uli Plank
I can confirm that, no video in 17.2 build 11.

Re: Problems importing MKV videos into 17.2

PostPosted: Mon May 17, 2021 1:40 pm
by Jim Simon
smunaut wrote:not sure if it supports VP9 inside MKV though.
It doesn't for me.

Studio 17.2 for Windows.

Re: Problems importing MKV videos into 17.2

PostPosted: Mon May 17, 2021 1:56 pm
by Uli Plank
But the sample is HEVC, not VP9.

Re: Problems importing MKV videos into 17.2

PostPosted: Sat Jun 05, 2021 3:03 pm
by Balorn
I just confirmed this issue is still present in 17.2.1.

Re: Problems importing MKV videos into 17.2

PostPosted: Sun Jun 06, 2021 4:31 am
by Peter Chamberlain
Balorn wrote:I just confirmed this issue is still present in 17.2.1.


Which issue?

Re: Problems importing MKV videos into 17.2

PostPosted: Sun Jun 06, 2021 1:02 pm
by Balorn
Peter Chamberlain wrote:
Balorn wrote:I just confirmed this issue is still present in 17.2.1.


Which issue?

When importing MKV files (at least those created from OBS; see files linked above for an example) they show up as audio only clips instead of videos.

Re: Problems importing MKV videos into 17.2

PostPosted: Mon Jun 14, 2021 8:25 pm
by GordRocks
I had a problem with an MP4 recording made by OBS this morning. Although OBS is set to record 1920x1080 the recording was actually 1920x1072. DR would not import the video. I converted it to MP4 using Aiseesoft Video Converter Ultimate which gave a file that was 1920x1080 and then DR was able to import it with the video. The frame height is the only thing I could see that was changed. Well, the new file is 142MB while the original is 58MB so that is a significant difference! I hope this helps someone else!