Page 1 of 1

Video codec unsupported on Linux

PostPosted: Fri Apr 19, 2024 11:20 am
by MizxGaming
So I just installed Davinci Resolve 19 free version on my Linux system and the mp4 video that I wanted to edit was not supported by DR in the free version. After some digging, I found that converting the video to mov with mpeg codec was the key. I did but DR still doesn't recognise it and shows just an empty media.

Are there any solutions to this?

Re: Video codec unsupported on Linux

PostPosted: Sat Apr 20, 2024 3:56 am
by Uli Plank
Try version 18. If that doesn't work either, get Shutter Encoder and convert to ProRes.

Re: Video codec unsupported on Linux

PostPosted: Sat Apr 20, 2024 5:29 am
by MizxGaming
Even that doesn't work. I've tried running it via Wine. Even that doesn't work. I tried containerizing it to run it via a CentOS container. Even that doesn't work.

Re: Video codec unsupported on Linux

PostPosted: Tue Apr 23, 2024 1:27 am
by Uli Plank
What doesn't work, the conversion or Shutter Encoder? There is a Linux version of it.
ProRes should definitely work in DR under Linux, if it doesn't, there's something else screwed.

Re: Video codec unsupported on Linux

PostPosted: Tue Apr 23, 2024 10:03 am
by oniongarlic
Yeah, codec support for both video and audio sucks under Linux, a lot in free version. Unfortunately even in Studio you will have issues with audio (AAC is still not supported, stupid patents...).

Anyway, ffmpeg is your friend, something like:

Code: Select all
ffmpeg -i input-video.mp4 -c:v dnxhd -profile:v dnxhr_hq -pix_fmt yuv422p -c:a pcm_s16le output-video.mov


will make a DR friendly version of your file.

For more details on conversion with ffmpeg, see my tutorial at https://www.tal.org/tutorials/convert-c ... d-or-dnxhr
And some Linux hints and tips on DR itself, see https://www.tal.org/tutorials/blackmagi ... olve-linux

Re: Video codec unsupported on Linux

PostPosted: Wed Apr 24, 2024 10:01 am
by MizxGaming
I did try all of the above and I can definitely say that there's something else that's screwed up. Honestly, I've given up running DR on linux and I'll just dual boot windows 10 for it and rest all of the work will be still on linux which I use. Thank you guys for the help

Re: Video codec unsupported on Linux

PostPosted: Mon Apr 29, 2024 9:58 am
by oniongarlic
Let me guess, AMD GPU ? Then no wonder it won't work, the drivers suck. NVIDIA is the only one I've ever got to work.