x264 encoder, Resolve 17 Studio for Windows, macOS, Linux

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline
User avatar

Sergey Mirontsev

  • Posts: 256
  • Joined: Sun Mar 12, 2017 9:18 am
  • Location: Moscow, Russia

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostThu Nov 19, 2020 11:04 pm

Andrew Kolakowski wrote:
Dan Olson wrote:
Andrew Kolakowski wrote:For me not showing in GUI at all.
Bundle is there. I gave it full 777 permissions. OSX Mojave.

Have the Security and Privacy preferences open when you launch Resolve. Under General, below where it says "Allow apps downloaded from" it should display a note like "this file was blocked from running" with a "run anyway" option. That's what I had to do before I could get it to actually load in the UI.


Even sudo spctl --master-disable
doesn't change anything. There must be some other reason.
Wrong path?


Sent from my iPad using Tapatalk
Blackmagic Design Certified Master Trainer

Blackmagic Pocket Cinema Camera (Samyang 12mm Cine, 35mm Cine)
DaVinci Resolve Studio 17.4.4.0007
Speed Editor 1.4.1
Windows 10 Pro 21H1, i7-7700, 32Gb RAM, SSD, GeForce GTX 1080 Ti 11Gb (471.68 Studio)
Offline

Andrew Kolakowski

  • Posts: 9212
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostFri Nov 20, 2020 12:13 am

You mean for the plugin bundle?
No, checked few times:
/Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle

Permissions on actual binary:
-rwxr-xr-x@ 1 user staff 2400144 Nov 13 21:32 /Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle/Contents/MacOS-x86-64/x264_encoder_plugin.dvcp
com.apple.quarantine 57

I've also checked Resolve log and nothing there about trying to load this plugin.
Does OSX itself needs something special, like developer tools, etc?
Offline
User avatar

Sergey Mirontsev

  • Posts: 256
  • Joined: Sun Mar 12, 2017 9:18 am
  • Location: Moscow, Russia

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostFri Nov 20, 2020 8:25 am

Andrew Kolakowski wrote:You mean for the plugin bundle?
No, checked few times:
/Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle

Permissions on actual binary:
-rwxr-xr-x@ 1 user staff 2400144 Nov 13 21:32 /Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle/Contents/MacOS-x86-64/x264_encoder_plugin.dvcp
com.apple.quarantine 57

I've also checked Resolve log and nothing there about trying to load this plugin.
Does OSX itself needs something special, like developer tools, etc?

Try to remove quarantined attribute.
Code: Select all
xattr -d com.apple.quarantine "/Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle/Contents/MacOS-x86-64/x264_encoder_plugin.dvcp"
Blackmagic Design Certified Master Trainer

Blackmagic Pocket Cinema Camera (Samyang 12mm Cine, 35mm Cine)
DaVinci Resolve Studio 17.4.4.0007
Speed Editor 1.4.1
Windows 10 Pro 21H1, i7-7700, 32Gb RAM, SSD, GeForce GTX 1080 Ti 11Gb (471.68 Studio)
Offline

Andrew Kolakowski

  • Posts: 9212
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostFri Nov 20, 2020 10:24 am

Already tried.
Need to remove from folders as well(?) or create new ones.
Plug-in binary itself now has no quarantine now.

update: re-created bundle folder structure from scratch, put binary there. No quarantine attributes anymore, still doesn't work :)
Offline
User avatar

FuzzeeDee

  • Posts: 102
  • Joined: Sun Oct 18, 2020 5:41 pm
  • Location: Alberta, Canada
  • Real Name: David Reid

Re: x264 encoder for DaVinci Resolve 17 Studio for Windows

PostFri Nov 20, 2020 2:20 pm

Mario Kalogjera wrote:Thank you Sergei.

What I noticed so far:

- Bitrate is in KBps...I think mbps would be better.

- I tried to render but render queue reported: FAILED, rendering never really starts but it actually reports it's rendering, could not snap it out of it even by pressing "stop", GUI becomes non-responsive, one can only press X and quit Resolve.


This issue happens for me too and I don't have this tool. Try positioning your play head in the middle of the project before rendering. Fixed it for me.
-
➤ DVR 18.6.5 Studio
CPU: Ryzen 9 3900XT
MB: Gigabyte B550 Vision D-P
➤ WiFi 6, BT 5, 2.5Gb Ethernet
RAM: 64 GB Corsair 3600Mhz
GPU: Sapphire Nitro+ 6700 XT 12 GB
PSU: 850W 80+ Gold
OS: Win 11 Pro 23H2 Build 22631.3155
Offline

Thomas Dove

  • Posts: 61
  • Joined: Tue Apr 04, 2017 9:24 am

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSun Nov 29, 2020 9:09 pm

Adding ffmpeg ProRes this way would be nice...


+1000

(on Linux)
Main Resolve: Linux Centos 7, Intel i7 16GB RAM, nVidia 1070Ti, Decklink Extreme 12G
Offline
User avatar

antoine

  • Posts: 498
  • Joined: Sat Nov 24, 2018 2:20 am
  • Real Name: Antoine Dornstetter

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSat Dec 05, 2020 12:12 pm

Succeeded in building it on Windows with Visual Studio 2019 but all I get is x264_encoder_plugin.dll and not two files (x264_encoder_plugin.dvcp and libx264-161.dll) like the artifacts uploaded by Sergey and the sizes of the file don't match too, but I guess that depends on the x264 builds. Anyone else succeeded in building this and actually used the plugin inside DVR Studio ?
BRAW Studio FREE and Premium for Adobe Premiere Pro and After Effects, with a brand new Desktop .BRAW Player and Color Grader, as well as an automatic White Balance Color Picker tool
Offline
User avatar

Sergey Mirontsev

  • Posts: 256
  • Joined: Sun Mar 12, 2017 9:18 am
  • Location: Moscow, Russia

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSat Dec 05, 2020 12:55 pm

antoine wrote:Succeeded in building it on Windows with Visual Studio 2019 but all I get is x264_encoder_plugin.dll and not two files (x264_encoder_plugin.dvcp and libx264-161.dll) like the artifacts uploaded by Sergey and the sizes of the file don't match too, but I guess that depends on the x264 builds. Anyone else succeeded in building this and actually used the plugin inside DVR Studio ?

Solution for Visual Studio does not make dvcp and do not copy libx264-161.dll.
You must recreate bundle structure, rename x264_encoder_plugin.dll to x264_encoder_plugin.dvcp, and copy libx264-161.dll.
Blackmagic Design Certified Master Trainer

Blackmagic Pocket Cinema Camera (Samyang 12mm Cine, 35mm Cine)
DaVinci Resolve Studio 17.4.4.0007
Speed Editor 1.4.1
Windows 10 Pro 21H1, i7-7700, 32Gb RAM, SSD, GeForce GTX 1080 Ti 11Gb (471.68 Studio)
Offline
User avatar

antoine

  • Posts: 498
  • Joined: Sat Nov 24, 2018 2:20 am
  • Real Name: Antoine Dornstetter

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSat Dec 05, 2020 4:00 pm

Sergey Mirontsev wrote:
antoine wrote:Succeeded in building it on Windows with Visual Studio 2019 but all I get is x264_encoder_plugin.dll and not two files (x264_encoder_plugin.dvcp and libx264-161.dll) like the artifacts uploaded by Sergey and the sizes of the file don't match too, but I guess that depends on the x264 builds. Anyone else succeeded in building this and actually used the plugin inside DVR Studio ?

Solution for Visual Studio does not make dvcp and do not copy libx264-161.dll.
You must recreate bundle structure, rename x264_encoder_plugin.dll to x264_encoder_plugin.dvcp, and copy libx264-161.dll.

Interesting, thank you Sergey. But my x264_encoder_plugin.dll (that I should rename into .dvcp) built is 2.18Mb whereas yours is 74 Kb, I think it already contains the libx264 inside
BRAW Studio FREE and Premium for Adobe Premiere Pro and After Effects, with a brand new Desktop .BRAW Player and Color Grader, as well as an automatic White Balance Color Picker tool
Offline
User avatar

Sergey Mirontsev

  • Posts: 256
  • Joined: Sun Mar 12, 2017 9:18 am
  • Location: Moscow, Russia

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSun Dec 06, 2020 1:46 am

antoine wrote:
Sergey Mirontsev wrote:
antoine wrote:Succeeded in building it on Windows with Visual Studio 2019 but all I get is x264_encoder_plugin.dll and not two files (x264_encoder_plugin.dvcp and libx264-161.dll) like the artifacts uploaded by Sergey and the sizes of the file don't match too, but I guess that depends on the x264 builds. Anyone else succeeded in building this and actually used the plugin inside DVR Studio ?

Solution for Visual Studio does not make dvcp and do not copy libx264-161.dll.
You must recreate bundle structure, rename x264_encoder_plugin.dll to x264_encoder_plugin.dvcp, and copy libx264-161.dll.

Interesting, thank you Sergey. But my x264_encoder_plugin.dll (that I should rename into .dvcp) built is 2.18Mb whereas yours is 74 Kb, I think it already contains the libx264 inside

Then you do not need to include libx264-161.dll into the bundle.
Blackmagic Design Certified Master Trainer

Blackmagic Pocket Cinema Camera (Samyang 12mm Cine, 35mm Cine)
DaVinci Resolve Studio 17.4.4.0007
Speed Editor 1.4.1
Windows 10 Pro 21H1, i7-7700, 32Gb RAM, SSD, GeForce GTX 1080 Ti 11Gb (471.68 Studio)
Offline

bstaley

  • Posts: 83
  • Joined: Tue Jan 15, 2019 1:26 pm
  • Real Name: Bill Staley

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSun Dec 13, 2020 2:47 pm

Thanks for the effort put into this. I have downloaded the version for Linux and it is working...mostly. If I choose MP4 as my container, I can choose the plugin for Video, but when I go to the Audio tab, there is nothing in the Codec dropdown list. Is this to be expected? I was hoping to not have render audio and video separately and then mux them together. Thanks.

I did notice if I choose Quicktime as my container the Audio tab allows me to choose PCM audio, but ideally it would be best to have AAC as the codec.
Windows 10
AMD Threadripper 5950x
32GB RAM
nVidia GTX 1080
All SSD
Resolve Studio 17
Offline

Juan Salvo

  • Posts: 343
  • Joined: Wed Aug 22, 2012 4:22 am

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSun Dec 20, 2020 11:42 pm

bstaley wrote:Thanks for the effort put into this. I have downloaded the version for Linux and it is working...mostly. If I choose MP4 as my container, I can choose the plugin for Video, but when I go to the Audio tab, there is nothing in the Codec dropdown list. Is this to be expected? I was hoping to not have render audio and video separately and then mux them together. Thanks.

I did notice if I choose Quicktime as my container the Audio tab allows me to choose PCM audio, but ideally it would be best to have AAC as the codec.

Yes. The libx264 codec does not include an aac encoder for audio, and none are built in to Resolve linux. There is a PCM encoder, but no PCM support inside an mp4. If you switch container to mov, select the same encoder plugin, you'll be able to export audio as PCM.
Offline
User avatar

antoine

  • Posts: 498
  • Joined: Sat Nov 24, 2018 2:20 am
  • Real Name: Antoine Dornstetter

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostMon Dec 21, 2020 9:31 am

WAV is awesome also. Do you need AAC for final delivery / broadcast / diffusion ?
BRAW Studio FREE and Premium for Adobe Premiere Pro and After Effects, with a brand new Desktop .BRAW Player and Color Grader, as well as an automatic White Balance Color Picker tool
Offline

Jim Simon

  • Posts: 30295
  • Joined: Fri Dec 23, 2016 1:47 am

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostMon Dec 21, 2020 6:40 pm

Juan Salvo wrote:no PCM support inside an mp4.

Panasonic cameras record PCM to MP4 files.

Resolve on a Mac now offers PCM for MP4 export as well.
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline
User avatar

antoine

  • Posts: 498
  • Joined: Sat Nov 24, 2018 2:20 am
  • Real Name: Antoine Dornstetter

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostMon Dec 21, 2020 7:08 pm

Jim Simon wrote:
Juan Salvo wrote:no PCM support inside an mp4.

Panasonic cameras record PCM to MP4 files.

Resolve on a Mac now offers PCM for MP4 export as well.

You can create files with LinearPCM WAVE audio tracks inside MP4. You can even create .mov files and renamed them to .MP4 if you wish ;) . To put it simply, this is not "official". Some software accept anything you feed them (VLC Media Player, ffmpeg etc.), some others software/hardware stick to standards
BRAW Studio FREE and Premium for Adobe Premiere Pro and After Effects, with a brand new Desktop .BRAW Player and Color Grader, as well as an automatic White Balance Color Picker tool
Offline

lost_soul

  • Posts: 239
  • Joined: Fri May 31, 2019 12:30 am
  • Location: Vancouver
  • Real Name: Shawn Metheny

Re: x264 encoder for Resolve 17 Studio for Windows and macOS

PostFri Feb 05, 2021 12:21 am

Juan Salvo wrote:Compiled for Linux here:

https://www.dropbox.com/s/kih4x6rc5imvq ... X.zip?dl=0


First thank you for compiling and uploading it. Can you confirm this is the correct path on Linux.

Plugin Repository :: Plugin library failed to load for /opt/resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle/Contents/Linux-x86-64/x264_encoder_plugin.dvcp

Thanks in advance
Centos 8
RX 580
AMDGPU-pro
Studio (What ever the latest is)
Offline

bmmatbon

  • Posts: 110
  • Joined: Thu Aug 22, 2019 3:10 pm
  • Real Name: Roy Markham

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostMon Feb 22, 2021 10:09 am

I want to +1 the "simple text area" idea. I'm also happy to NOT export audio as I don't use AAC. I prefer WAV and then MUX the two together that way I can use opus, aac etc.

I used this plugin build on linux and although it performs WAY better than the internal H264 it's still not good enough.

I tested a 1 minute video
using the FFMPEG plugin pack my file is
84MiB - CRF31, Very Slow, High, Encode time 59s.

Using my own parameters via TIF output and then FFMPEG CLI
39 MiB, Encode time 90s.

Basically BIT RATE <> Automatically mean better quality.

My version has no perceptible visual quality loss, the 1st one from the GUI does. So PLEASE can we have a simple textbox which allows us to pass parameters to FFMPEG. This will allow me to get the SMALLEST file at GREAT QUALITY. When I choose CRF22 using the plugin I get a file like mine quality wize but the size is almost 3-4x larger.
Desktop: AMD 5950x, 64GB 3600Mhz GEIL, AMD 5700XT, Couple NVMes. CachyOS (Arch) and Nobara (Fedora)
Laptop: AMD 5700U, 32GB, Nobara (Fedora)
Offline

Andrew Kolakowski

  • Posts: 9212
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostMon Feb 22, 2021 10:38 am

Typical encode is around CRF 20-25 for x264.
CRF 31 is rather low quality file, but if you are happy then that’s fine.
If you file is clean you will get some bitrate at those settings, but if it’s noisy then you may get 2x bigger for the same CRF. That’s the beauty of CRF mode- relative quality for given source.
Offline

bmmatbon

  • Posts: 110
  • Joined: Thu Aug 22, 2019 3:10 pm
  • Real Name: Roy Markham

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostFri Feb 26, 2021 1:09 pm

Andrew Kolakowski wrote:Typical encode is around CRF 20-25 for x264.
CRF 31 is rather low quality file, but if you are happy then that’s fine.
If you file is clean you will get some bitrate at those settings, but if it’s noisy then you may get 2x bigger for the same CRF. That’s the beauty of CRF mode- relative quality for given source.


I'm not happy with CRF31 - thats the point. Even at CRF31 I could not get the file as SMALL as my own settings at CRF22.

Basically, PLUGIN needs CRF31 to even get close to my own setings FILESIZE wise. But my own settings are like a CRF22 in quality but smaller than a CRF31 plugin setting. Hence why I say a simple textbox would be ideal as just setting the CRF wastes loads of space.
Desktop: AMD 5950x, 64GB 3600Mhz GEIL, AMD 5700XT, Couple NVMes. CachyOS (Arch) and Nobara (Fedora)
Laptop: AMD 5700U, 32GB, Nobara (Fedora)
Offline

Andrew Kolakowski

  • Posts: 9212
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostFri Feb 26, 2021 4:49 pm

It’s about impossible to have these size differences.
It doesn’t matter if you go over ffmpeg, x264 binary or plugin etc. In all cases you use same x264 engine and for given setting files should be about identical ( you may use slightly different build etc.)

CRF 22 should never produce smaller files than CRF 31 for the same source.
There must be some other reason.
Plugin is just a quick demo code provided by BM as an example. It would need bit of work and polishing, but so far no one is interested to work on it.
Offline

bmmatbon

  • Posts: 110
  • Joined: Thu Aug 22, 2019 3:10 pm
  • Real Name: Roy Markham

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSun Feb 28, 2021 10:19 am

Hi Andrew,

I agree a straight setting of CRF22 will always be bigger than CRF31. I'm saying that when I pass my own tweaks to ffmpeg the resultant file is MUCH smaller than CRF31 yet the quality - according to the eye is like CRF22. That's why I'm advocating for a simple "text area" to pass custom parameters. Simply setting a CRF value doesn't work great. It still means I'm left with exporting TIFF/PNG and WAVE then muxing with ffmpeg direct to get a CRF22 LIKE file with half the size than CRF31 80MiB vs 40MiB.
Desktop: AMD 5950x, 64GB 3600Mhz GEIL, AMD 5700XT, Couple NVMes. CachyOS (Arch) and Nobara (Fedora)
Laptop: AMD 5700U, 32GB, Nobara (Fedora)
Offline

Andrew Kolakowski

  • Posts: 9212
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSun Feb 28, 2021 10:55 am

Hmmmm...
Not sure what option could make such big difference as CRF 22 and 31 are far apart.
Are both files 4:2:0?
Offline
User avatar

antoine

  • Posts: 498
  • Joined: Sat Nov 24, 2018 2:20 am
  • Real Name: Antoine Dornstetter

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostFri Mar 05, 2021 5:16 pm

For those interested the MainConcept H264 H265 plugin finally got out ! Interesting

https://www.mainconcept.com/products/plugins/blackmagic-design-plugins/bmd.html
BRAW Studio FREE and Premium for Adobe Premiere Pro and After Effects, with a brand new Desktop .BRAW Player and Color Grader, as well as an automatic White Balance Color Picker tool
Offline

Andrew Kolakowski

  • Posts: 9212
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostFri Mar 05, 2021 5:37 pm

Always nice to have options.
Offline

Annabel_Shanderin

  • Posts: 72
  • Joined: Fri Mar 05, 2021 7:02 pm
  • Real Name: Annabel Shanderin

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSun Mar 07, 2021 10:21 am

I really wish that BMD would give Daniel, who develops the free x264/x265 solution for Adobe's AE and PP, a license, so he can make a similar solution for Resolve. He is very willing to do so and have tried to contact BMD several times! Check out his work at voukoder.org
Offline

Annabel_Shanderin

  • Posts: 72
  • Joined: Fri Mar 05, 2021 7:02 pm
  • Real Name: Annabel Shanderin

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostWed Mar 31, 2021 9:50 am

It's happening! Check this out: ...I'm not allowed to post URLs, so, go to voukoder dot org and then find the forum, click 'feature requests' and then the thread called "Davinci Resolve now allows for third party render". There you will find the first Voukoder prototype for DVR, and it seems to work well already!
Offline

Andrew Kolakowski

  • Posts: 9212
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostWed Mar 31, 2021 2:51 pm

There is a thread about it.
Offline

MarcoM

  • Posts: 1
  • Joined: Sat Apr 03, 2021 5:48 pm
  • Real Name: Marco Morocutti

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSat Apr 03, 2021 5:57 pm

Hello, I am using Windows.
I have copied the folder 'x264_encoder_plugin.dvcp.bundle' in 'c:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\IOPlugins\'

but whan I start Resolve the only codec available for MP4 format is H.264. For QuickTime there are several codecs (included H.264) but again no X264.
What is wrong? Is there something to configure for plugins activation? Where could be the mistake?

Thank you vary much
Offline

Andy Kramer

  • Posts: 7
  • Joined: Sun Mar 31, 2019 4:44 pm
  • Real Name: Shany Burger

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostMon Apr 05, 2021 1:06 pm

Thank you very much its working!
Is it possible to make a profile for H265 with 10bit? I still see Resolve studio suffering exporting H265 High profile, eventhough I have a Radeon VII on Mac.

Thanks and good job for this one !
Offline
User avatar

Olivier MATHIEU

  • Posts: 933
  • Joined: Thu Aug 04, 2016 1:55 pm
  • Location: Paris/Grenoble, FRANCE

Re: x264 encoder for DaVinci Resolve 17 Studio for Windows

PostSun Dec 19, 2021 9:38 am

Mario Kalogjera wrote:Wonder if we can get the x265 in the future...

+10
Resolve Studio 18.6.x & Fusion Studio 18.6.x | MacOS 13.6.x | GUI : 3840 x 2160 | Ntw : 10Gb/s
MacbookPro M2 Max
Offline
User avatar

Olivier MATHIEU

  • Posts: 933
  • Joined: Thu Aug 04, 2016 1:55 pm
  • Location: Paris/Grenoble, FRANCE

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSun Dec 19, 2021 9:40 am

Andy Kramer wrote:Thank you very much its working!
Is it possible to make a profile for H265 with 10bit? I still see Resolve studio suffering exporting H265 High profile, eventhough I have a Radeon VII on Mac.

Thanks and good job for this one !

Don't you have "main10" in the profile Menu ?

What's lacking is 10 bit 4:2:2 ;)
Resolve Studio 18.6.x & Fusion Studio 18.6.x | MacOS 13.6.x | GUI : 3840 x 2160 | Ntw : 10Gb/s
MacbookPro M2 Max
Online
User avatar

Uli Plank

  • Posts: 21754
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostMon Dec 20, 2021 2:00 am

Yes, that's a shame. Main10 works we'll here.
Now that the cat #19 is out of the bag, test it as much as you can and use the subforum.

Studio 18.6.6, MacOS 13.6.6, 2017 iMac, 32 GB, Radeon Pro 580
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G
Offline

Luis Otero

  • Posts: 24
  • Joined: Thu Aug 23, 2012 1:52 am

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostTue Nov 29, 2022 7:45 pm

Andrew Kolakowski wrote:You mean for the plugin bundle?
No, checked few times:
/Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle

Permissions on actual binary:
-rwxr-xr-x@ 1 user staff 2400144 Nov 13 21:32 /Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle/Contents/MacOS-x86-64/x264_encoder_plugin.dvcp
com.apple.quarantine 57

I've also checked Resolve log and nothing there about trying to load this plugin.
Does OSX itself needs something special, like developer tools, etc?

Is this resolved? I have the same issue.
Luis Otero, CSI
Offline

Benjamin McGuire

  • Posts: 47
  • Joined: Sun Feb 24, 2013 4:37 am

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostMon Dec 19, 2022 4:41 am

The MacOS version on here is Intel Binary only... So I compiled the Apple Silicone version, and added it to the bundle here. So this one should work on both Apple Silicone, and Intel!

https://mega.nz/file/UwJTCJiK#16FZop4Ve ... QvOJLMcg48

When you install this, it may be a good idea to remove the Quarantine...

xattr -rd com.apple.quarantine /Path/To/x264_encoder_plugin.dvcp.bundle


For those of you who don't trust user compiled binaries, Here is how I compiled it...
I used x264 from homebrew that was already installed because I have ffmpeg, but you can install it with `brew install x264` assuming you installed homebrew from http://brew.sh. then I edited the MakeFile's X264_DIR to
`X264_DIR = /opt/homebrew/Cellar/x264/r3095/`, then run `make`

Sergey Mirontsev wrote:As you know, Blackmagic has added an open plugin SDK toolkit for encoder developers (in DaVinci Resolve 17 Studio).

They also added an implementation for x264 (C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Developer\CodecPlugin\Examples\x264_encoder_plugin)

So, I am compiling this plugin for Windows and Mac platforms. You can test it if you like.

You need to unzip the downloaded archive to C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\IOPlugins on Windows or to /Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins on macOS. You probably need to create IOPlugins folder.

Then restart Resolve.

x264_encoder_plugin.dvcp.bundle.png


Screenshot 2020-11-11 134155.png


Win: https://yadi.sk/d/GfyncFMQ8qnuzQ
Mac: https://yadi.sk/d/pGmERKeOXV4NuA
Linux: https://www.dropbox.com/s/kih4x6rc5imvq ... X.zip?dl=0
(Linux version from here: https://liftgammagain.com/forum/index.p ... ins.15195/)
Resolve Studio 17.4.6 build 4
MacOS 12.3.1 (21E258)

i7-7800X. 32GB RAM
Asus X299-A MB
AMD Vega 64
DeckLink Mini Mon4K

(1) LG 31MU97C-B 4K (4096x2160)-Grading + (1) Sharp LC-55LBU591U-client/HDR Color (4kHDMI Split)
Offline

Benjamin McGuire

  • Posts: 47
  • Joined: Sun Feb 24, 2013 4:37 am

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostMon Dec 19, 2022 4:44 am

Luis Otero wrote:
Andrew Kolakowski wrote:You mean for the plugin bundle?
No, checked few times:
/Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle

Permissions on actual binary:
-rwxr-xr-x@ 1 user staff 2400144 Nov 13 21:32 /Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle/Contents/MacOS-x86-64/x264_encoder_plugin.dvcp
com.apple.quarantine 57

I've also checked Resolve log and nothing there about trying to load this plugin.
Does OSX itself needs something special, like developer tools, etc?

Is this resolved? I have the same issue.

You can fix the permissions problems by removing the quarantine flag that MacOS puts on all downloaded files... just run: xattr -rd com.apple.quarantine "/Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle"

That will make it work :)
Resolve Studio 17.4.6 build 4
MacOS 12.3.1 (21E258)

i7-7800X. 32GB RAM
Asus X299-A MB
AMD Vega 64
DeckLink Mini Mon4K

(1) LG 31MU97C-B 4K (4096x2160)-Grading + (1) Sharp LC-55LBU591U-client/HDR Color (4kHDMI Split)
Offline
User avatar

Olivier MATHIEU

  • Posts: 933
  • Joined: Thu Aug 04, 2016 1:55 pm
  • Location: Paris/Grenoble, FRANCE

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostMon Dec 19, 2022 5:36 am

Benjamin McGuire wrote:You can fix the permissions problems by removing the quarantine flag that MacOS puts on all downloaded files... just run: xattr -rd com.apple.quarantine "/Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/x264_encoder_plugin.dvcp.bundle"

That will make it work :)

many thanks
I'll try that shortly
Resolve Studio 18.6.x & Fusion Studio 18.6.x | MacOS 13.6.x | GUI : 3840 x 2160 | Ntw : 10Gb/s
MacbookPro M2 Max
Offline
User avatar

timnich

  • Posts: 45
  • Joined: Wed Feb 20, 2019 2:59 pm
  • Real Name: Tim Nicholson

Re: x264 encoder for DaVinci Resolve 17 Studio for Windows

PostSat Jan 14, 2023 2:37 pm

Dan Olson wrote:
Andrew Kolakowski wrote:For me not showing in GUI at all.
Bundle is there. I gave it full 777 permissions. OSX Mojave.

Have the Security and Privacy preferences open when you launch Resolve. Under General, below where it says "Allow apps downloaded from" it should display a note like "this file was blocked from running" with a "run anyway" option. That's what I had to do before I could get it to actually load in the UI.


Under Ventura I found the option in "Privacy and Security" no submenu, but scrolling to the bottom of the new style RHS pane showed the warning with the option to "Run anyway". After enabling that I still had to click "Run anyway" on a warning popup as one does with unknown Apps.

I think this process should be added to the initial write-up as its an important step.
Offline

ValP90

  • Posts: 1
  • Joined: Wed Apr 12, 2023 9:21 am
  • Real Name: Valentin Perruffel

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostWed Apr 12, 2023 9:32 am

Hello !

I tried to Install the bundle at the correct location :
C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\IOPlugins

But when lauching Resolve, it doesn't show on the deliveries page's GUI. I already have an other installed bundle at the same location and I can see it in Resolve.

I'm running the lastest version of Resolve Studio 18 on windows 10 (AMD CPU 3950X/2080Ti GPU).

Am I missing something ? Already checked the permissions on the folders.

Thanks guys !
Offline

ekzoss

  • Posts: 1
  • Joined: Wed Sep 27, 2023 2:42 am
  • Real Name: Evan Zoss

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostWed Sep 27, 2023 2:44 am

Hey yall,

The link for windows plugin https://yadi.sk/d/GfyncFMQ8qnuzQ seems dead ?
Does anyone have this built plugin they could share ?

Just getting in to resolve and finding the compression of the builtin h264 painful!

Hoping this saves having to re-compress stuff w/ Handbrake.

Thanks,
-Evan
Offline
User avatar

Tommaso Alvisi

  • Posts: 151
  • Joined: Wed Aug 22, 2012 7:53 am
  • Location: ITALY

Re: x264 encoder, Resolve 17 Studio for Windows, macOS, Linu

PostSat Apr 20, 2024 1:13 pm

Benjamin McGuire wrote:The MacOS version on here is Intel Binary only... So I compiled the Apple Silicone version, and added it to the bundle here. So this one should work on both Apple Silicone, and Intel!


Thanks Benjamin!

Please guys with more dev skills than us...could you enable 10bit on this plugin??

x264 supports 10bit encoding now...but this plugin is still in 8bit as discovered before...

Thanks a TON to anyone who succeeds in the endeavor ;)
Previous

Return to DaVinci Resolve

Who is online

Users browsing this forum: panos_mts and 104 guests