Please add Ffmpeg Support

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

Peter Fleming

  • Posts: 75
  • Joined: Sat Nov 18, 2017 3:08 am

Please add Ffmpeg Support

PostTue May 15, 2018 1:15 am

Please add import and export support via ffmpeg.
Fusion had/has import via ffmpeg which allowed almost any file format to to imported,
Why not have it in Resolve? This would add so much more flexibility to the system.
Windows 10 Pro 64-bit
Intel Core i7 Coffee Lake @ 3.70GHz
32.0GB Dual-Channel DDR4 @ 1600MHz
Z370 AORUS Gaming 5-CF
4095MB NVIDIA GeForce RTX 2070
223GB Western Digital SSD
3726GB Western Digital WDC
5589GB INTEL SSDSC2BW120A4
Offline

linuxfreak

  • Posts: 41
  • Joined: Thu Mar 15, 2018 3:08 pm
  • Real Name: Harald Klein

Re: Please add Ffmpeg Support

PostTue May 15, 2018 3:59 pm

That would be amazing!

Gesendet von meinem LG-H818 mit Tapatalk
Offline

Martin Schitter

  • Posts: 899
  • Joined: Tue Apr 28, 2015 10:41 pm

Re: Please add Ffmpeg Support

PostTue May 15, 2018 5:25 pm

to some extend i second this request.

although ffmpeg/libav would be really nice solution to archive very well results on all platforms, it would be of particular interest to resolve users on the linux platform, because ffmpeg/libav are more or less the counterpart to similar system services on the commercial operating systems. but i don't see, why all this really nice precious parts of the free software should be utilized in an eclectic manner in closed sourced contexts, instead of just making the free alternatives a little bit more attractive? with this in mind, i would like to see ffmpeg support only in the free version of resolve for the linux platform, even though, this may sound utterly unacceptable/unsatisfying to the majority of resolve users.
Offline
User avatar

Noel Sterrett

  • Posts: 521
  • Joined: Wed Aug 22, 2012 9:12 pm
  • Location: Atlanta

Re: Please add Ffmpeg Support

PostTue May 15, 2018 7:12 pm

Martin Schitter wrote:i would like to see ffmpeg support only in the free version of resolve for the linux platform

I'm afraid the logical conclusion of this proposal would be to not having the Studio version at all.

Cheers.
Admit One Pictures
Resolve Studio 18 | Linux Lint 21 | Nvidia 515 | Xeon | iCore | Ryzen
Offline

Bryan Worsley

  • Posts: 513
  • Joined: Fri Apr 15, 2016 11:26 am
  • Location: Montreal, Canada

Re: Please add Ffmpeg Support

PostTue May 15, 2018 8:52 pm

Peter Fleming wrote:Please add import and export support via ffmpeg.
Fusion had/has import via ffmpeg which allowed almost any file format to to imported,
Why not have it in Resolve? This would add so much more flexibility to the system.


+1 on that. FFMPEG support has been requested many times before and this surely becomes more pertinent as BMD move to integrate editing/coloring, audio and VFX platforms.

Martin Schitter wrote:..although ffmpeg/libav would be really nice solution to archive very well results on all platforms..


And +1 on that, but not.....

Martin Schitter wrote: i would like to see ffmpeg support only in the free version of resolve for the linux platform, even though, this may sound utterly unacceptable/unsatisfying to the majority of resolve users.
Offline

Martin Schitter

  • Posts: 899
  • Joined: Tue Apr 28, 2015 10:41 pm

Re: Please add Ffmpeg Support

PostTue May 15, 2018 8:58 pm

Noel Sterrett wrote:
Martin Schitter wrote:i would like to see ffmpeg support only in the free version of resolve for the linux platform

I'm afraid the logical conclusion of this proposal would be to not having the Studio version at all.


well -- perhaps not on the linux platform :) -- but it's even much more targeted against the "advanced" edition and similar unaffordable professional solutions (e.g. mistika ultima and baselight), which often make use/profit of the advantages of free software as an indispensable base for really powerful high end products, but do not like to give much in return to the concerned community. as a result, linux is perhaps the most common working horse in real demanding production environments in the film industries, but for ordinary users of this platform there aren't much satisfying options available. we still have to beg servilely for the most natural features and more acceptable support of our common working environments.

but that's just one side of the coin. in practice i still appreciate any attempt, to treat this alternative operating systems just in an equal manner -- although it may only a affect a very small user community and doesn't promise much economic profit. BMDs recent efforts, to make resolve finally usable on common linux machines, is a really estimable and encouraging signal in this regard. i'm rather happy about this development, and don't begrudge them any studio sales.

nevertheless i still think, that the rigorous rules of the GNU public license and the protection of open source software against absorption by profit driven interest and exclusion of access still makes sense. this kind of radical thoroughgoingness may look again a little bit nostalgic and out of fashion in the meanwhile, but linux could hardly have been created resp. survived without this kind of clear rules. limiting the utilization of valuable free software by closed source products, is more or less the nucleus of this approach. it usually isn't a very powerful mean, because there are many ways to bypass and ignore this intentions, but to some degree it even stand the test in real world. and if you accept this simple idea, my previous post shouldn't look utterly crazy and indefensible.

but it's perhaps also worth noting, that the GPL was never intended against economic utilization of software, but just emphasizing the freedom of users to adapt and improve existing solutions to their needs. support for ffmpeg in resolve is IMHO a very well example for this issue. in 'free' software of GNU manifestation it could be realized quite easy by any average software developer, but in the case of 'free beer' software, we can just debate our discontent and powerlessness in this regard in endless circles...
Offline

John Morris

  • Posts: 199
  • Joined: Mon Jul 31, 2017 12:44 am
  • Location: Melbourne

Re: Please add Ffmpeg Support

PostWed May 16, 2018 4:52 am

Being able to access ffmpeg from Resolve would be great, rather than constantly having to go over the extra hurdles manually doing conversions to prescribed formats outside of Resolve.
Has there been any update regarding documentation for the new scripting API that is supposed to exist in 15?
NVIDIA GTX1070 8GB
NVIDIA driver version 430.50
DeckLink Mini Monitor 4K
32G system memory
Resolve Studio 16.1.1.005 1 GPU
Linux Mint 19.2
Offline

Peter Fleming

  • Posts: 75
  • Joined: Sat Nov 18, 2017 3:08 am

Re: Please add Ffmpeg Support

PostWed May 16, 2018 5:11 am

Currently Fusion does not install Ffmpeg, but it can allow non compliant input files to be pointed to an installed Ffmpeg, for importing into Fusion. Therefore there appears to be no reason that Resolve could not also use this method.
As for exporting, Resolve could just point to an installed Ffmpeg. Of course this would mean the user would have to add all the required Ffmpeg encoding parameters for it to work. There is certainly enough information on the web about using fffmpeg directly. This way BM would not have to become involved in supporting that side of their software at all.

The alternative would be to use a process known as frameserving. This technique transfer audio/video data from one application to another without doing a full encoding. Its generally done by using a fake AVI container that can be opened by other encoding programs.
Anyway this discussion could go on forever, but it seems to me that many users do require a lot of formats that Resolve does not currently support and probably never will, and this seems an easier solution for those users.
Windows 10 Pro 64-bit
Intel Core i7 Coffee Lake @ 3.70GHz
32.0GB Dual-Channel DDR4 @ 1600MHz
Z370 AORUS Gaming 5-CF
4095MB NVIDIA GeForce RTX 2070
223GB Western Digital SSD
3726GB Western Digital WDC
5589GB INTEL SSDSC2BW120A4
Online
User avatar

Uli Plank

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

Re: Please add Ffmpeg Support

PostWed May 16, 2018 10:34 pm

Frame serving may not be a solution, since DR is developed multi-platform. But since standalone Fusion is already supporting ffmpeg, I suppose it would be possible to integrate that.
Have some patience, Fusion integration is still in an early stage!
No, an iGPU is not enough, and you can't use HEVC 10 bit 4:2:2 in the free version.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

Andrew Kolakowski

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

Re: Please add Ffmpeg Support

PostWed May 16, 2018 10:58 pm

Best solution is to add support in the form that data is passed to ffmpeg (eg. as 16bit RGB or YUV user selectable). It's in the export GUI, but user have to download and point to ffmpeg by himself. This takes any licensing etc responsibility out of BM. This is exactly how some apps do it.
Offline

linuxfreak

  • Posts: 41
  • Joined: Thu Mar 15, 2018 3:08 pm
  • Real Name: Harald Klein

Re: Please add Ffmpeg Support

PostThu May 17, 2018 9:05 am

Martin Schitter wrote:well -- perhaps not on the linux platform :) -- but it's even much more targeted against the "advanced" edition and similar unaffordable professional solutions (e.g. mistika ultima and baselight), which often make use/profit of the advantages of free software as an indispensable base for really powerful high end products, but do not like to give much in return to the concerned community. as a result, linux is perhaps the most common working horse in real demanding production environments in the film industries, but for ordinary users of this platform there aren't much satisfying options available. we still have to beg servilely for the most natural features and more acceptable support of our common working environments.

I'd not call a 300 buck product "unaffordable", given what Resolve Studio offers. I got a 2nd hand dongle for 160, for my hobbyist NLE work. And nobody forces you to buy it. Their free version offers most features of the studio version. If they wouldn't offer a linux variant, there were less options for linux users. You're also don't "have to beg", just use something else if DR doesn't fit your requirements. As far as BMD doesn't violate any licenses and terms of use, they don't owe anybody anything, besides their paying customers.

nevertheless i still think, that the rigorous rules of the GNU public license and the protection of open source software against absorption by profit driven interest and exclusion of access still makes sense. this kind of radical thoroughgoingness may look again a little bit nostalgic and out of fashion in the meanwhile, but linux could hardly have been created resp. survived without this kind of clear rules. limiting the utilization of valuable free software by closed source products, is more or less the nucleus of this approach. it usually isn't a very powerful mean, because there are many ways to bypass and ignore this intentions, but to some degree it even stand the test in real world. and if you accept this simple idea, my previous post shouldn't look utterly crazy and indefensible.

While I do appreciate your "open source spirit", you seem to be misunderstanding how the open source/free software ecosystem works. Without closed source software running on top of open source operating systems/middleware stacks/libraries, the market cap and hence the investment from involved parties would be much less. Just look who the main contributors for big OSS projects are. That's full time coders paid by companies monetising open source solutions. In an ideal world, everything would be OSS/FS, but that's not how current economy works. So your "all or nothing" approach is a bit naive. The trend goes into the OSS/FS direction, and that is a good thing. Open source companies acquire software, and release it to the public in a "free as in speech" manner (like Red Hat did with a lot of products). Many companies realise that they can make a living from support agreements, and open up their source. But still there are niches, where companies want to protect their value. Also there are more licensing options besides GPL. That's where BSD, LGPL, CC etc comes into place. And the community still profits, because one can use an open platform and run a closed NLE/CG suite on it. I'm all for options. If linux users were only allowed to run GPL software on top, we wouldn't be anywhere close to the point where we are today. Databases, SAP, Android, in-house software on top of LAMP/Jboss/etc.. There are endless examples. Don't get me wrong, I'd love an open sourced DR, and would still pay for it (donation, support, whatever). But it's just not realistic to expect every closed source company to release their source. Things will become commodity over time, with open source alternatives getting better. If you're unhappy with the BMD offering, just go ahead and submit code for open source alternatives. That would be time better spent than your personal vendetta vs BMD.
Offline

Andrew Kolakowski

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

Re: Please add Ffmpeg Support

PostThu May 17, 2018 9:21 am

Yep, good point. If you want something specific in ffmpeg they will tell you to add it yourself or sponsor it. There is not that much in ffmpeg which is done "for free". There is quite a bit done by BBC employees, so as you said- people do get paid for their work. So as far as it's open source there is still a lot of money involved.
Offline
User avatar

TheBloke

  • Posts: 1905
  • Joined: Sat Nov 02, 2019 11:49 pm
  • Location: UK
  • Real Name: Tom Jobbins

Re: Please add Ffmpeg Support

PostSun Jun 14, 2020 9:47 pm

An old thread (which should really be in Feature Requests), but I'd like to add my +1.

I was just reading a thread on this forum indicating that Resolve's h264 falls behind x264, making me think that it would be very nice if one could go direct from Resolve to ffmpeg, without having to first export to an intermediate format.

I am sure there are other cases where ffmpeg's enormous flexibility and power would prove very useful. Therefore I'd love to see an ffmpeg option in the Deliver page of Resolve on all platforms. User would install their own copy of ffmpeg, point Resolve to it, and provide the command line arguments in a text box.

This would greatly increase the flexibility of export options, at very little development cost to BMD. To further minimise costs, I could see BMD providing such an option without support.
Resolve Studio 17.4.3 and Fusion Studio 17.4.3 on macOS 11.6.1

Hackintosh:: X299, Intel i9-10980XE, 128GB DDR4, AMD 6900XT 16GB
Monitors: 1 x 3840x2160 & 3 x 1920x1200
Disk: 2TB NVMe + 4TB RAID0 NVMe; NAS: 36TB RAID6
BMD Speed Editor
Offline

Peter Fleming

  • Posts: 75
  • Joined: Sat Nov 18, 2017 3:08 am

Re: Please add Ffmpeg Support

PostMon Jun 15, 2020 12:39 am

Its now more than 2 years since I suggested this and its been interesting how many time users have had problems importing and exporting certain codecs with Davinci Resolve in that time. Almost all of these issues could have been addressed with Ffmpeg.
Of course it could be a totally separate plugin if necessary, and even if there was a charge involved, I sure many users would take up the offer. Mind you if there was a charge, BMD would have to support it, where as they would not have to do that if it was just a link to Fffmpeg.
It would just add so much more flexibility to Resolve and save the development team quite a number of headaches in the long run.
Windows 10 Pro 64-bit
Intel Core i7 Coffee Lake @ 3.70GHz
32.0GB Dual-Channel DDR4 @ 1600MHz
Z370 AORUS Gaming 5-CF
4095MB NVIDIA GeForce RTX 2070
223GB Western Digital SSD
3726GB Western Digital WDC
5589GB INTEL SSDSC2BW120A4
Offline

peterjackson

  • Posts: 1144
  • Joined: Sat Aug 18, 2018 7:12 pm
  • Real Name: Peter Jackson

Re: Please add Ffmpeg Support

PostMon Jun 15, 2020 6:12 am

+1
5950x, 3090, 128GB.
Offline

postprod-walterfilms

  • Posts: 30
  • Joined: Thu Apr 04, 2019 10:18 am
  • Real Name: Bainier Pierre-Victor

Re: Please add Ffmpeg Support

PostMon Jun 15, 2020 10:09 am

+1
Offline

bmmatbon

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

Re: Please add Ffmpeg Support

PostFri Jun 26, 2020 6:14 pm

+1
Desktop: AMD 5950x, 64GB 3600Mhz GEIL, AMD 5700XT, Couple NVMes. CachyOS (Arch) and Nobara (Fedora)
Laptop: AMD 5700U, 32GB, Nobara (Fedora)
Offline

Valdo Rochas

  • Posts: 26
  • Joined: Fri May 31, 2013 5:55 pm

Re: Please add Ffmpeg Support

PostFri Jun 26, 2020 8:34 pm

After my zoom topic I will add +1 too .
looks like we really need that compression.
Offline

Jason Conrad

  • Posts: 797
  • Joined: Wed Aug 16, 2017 3:23 pm

Re: Please add Ffmpeg Support

PostFri Jun 26, 2020 10:41 pm

You can already use FFMPEG in Resolve through the Reactor plugin. You guys must be talking about "official" support?
Screen Shot 2020-06-26 at 1737 1.png
Screen Shot 2020-06-26 at 1737 1.png (218.36 KiB) Viewed 4961 times
-MacBook Pro (14,3) i7 2.9 GHz 16 GB, Intel 630, AMD 560 x1
-[DR 17.0 Beta9]
Offline
User avatar

TheBloke

  • Posts: 1905
  • Joined: Sat Nov 02, 2019 11:49 pm
  • Location: UK
  • Real Name: Tom Jobbins

Re: Please add Ffmpeg Support

PostSat Jun 27, 2020 7:09 am

Jason Conrad wrote:You can already use FFMPEG in Resolve through the Reactor plugin. You guys must be talking about "official" support?
Have you actually got this working in Resolve?

Because so far as I can see, all the Reactor package does is install FFMpeg for the user. Intended to be used in Fusion Studio, where ffmpeg support is available. I believe the Reactor package is intended as a convenience for Fusion Studio users, providing them with a ffmpeg installation, saving them the trouble of installing it themselves, and also making sure the correct version is installed (in terms of having shared linking, rather than static). It also makes sure that Fusion can see it, via a PathMap link.

Resolve Fusion page Saver nodes are crippled compared to Fusion Studio, in that they only save EXR files. This blocks Resolve from accessing the full export formats of Fusion, and therefore there's no access to ffmpeg. I did re-test this after installing the ffmpeg Reactor package, but nothing changes that I can find. DR Fusion page Saver nodes will still only output EXR.

I've even tried copying an ffmpeg Saver node from Fusion Studio and pasting it into Resolve, but it fails as soon as you try and use it. Likewise a Loader node pointing to a file that requires ffmpeg (eg an MKV file) just does nothing in Resolve.

It's frustrating because so far as I can see, ffmpeg does still exist in Resolve's version of Fusion. The other day I scanned the Resolve binary for references to 'ffmpeg', and they are in there. But they appear to have blocked use of it by changing how Loader and Saver nodes work. Whether that was deliberate - they don't want Resolve to have access to ffmpeg - or just a side effect of the changes they made to Loader and Saver as part of integrating Fusion into Resolve, I don't know.

It'd be excellent if this does work, and please do let us know how if it's possible. But I couldn't find any way myself.
Resolve Studio 17.4.3 and Fusion Studio 17.4.3 on macOS 11.6.1

Hackintosh:: X299, Intel i9-10980XE, 128GB DDR4, AMD 6900XT 16GB
Monitors: 1 x 3840x2160 & 3 x 1920x1200
Disk: 2TB NVMe + 4TB RAID0 NVMe; NAS: 36TB RAID6
BMD Speed Editor
Offline
User avatar

roger.magnusson

  • Posts: 3355
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Please add Ffmpeg Support

PostSat Jun 27, 2020 10:06 am

External FFmpeg integration is only available in Fusion Studio at this time.

Any script in Resolve that runs FFmpeg will have to render frames to disk first in Resolve, then run FFmpeg. The FFmpeg installer in Reactor is just for convenience, it doesn't add generic FFmpeg support directly inside Resolve.
Offline

didier.villevalois

  • Posts: 31
  • Joined: Fri Nov 13, 2020 12:54 pm
  • Real Name: Didier Villevalois

Re: Please add Ffmpeg Support

PostFri Nov 13, 2020 1:27 pm

So, as I understand it there is now on open API (correct me if I am wrong) for rendering in DR 17. Maybe some open-source devs will undertake it to create a plugin for FFMPEG. :D
Resolve 16.2.7 – Fedora 33 – Wayland – Kernel 5.10.22-200.fc33 – opencl-amd-20.45.1188099-3.fc33
AMD Ryzen Threadripper 3960X – AMD Radeon RX 5700 – 64GB DDR4 3200 – Samsung 980 Pro 1TB
Offline

Andrew Kolakowski

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

Re: Please add Ffmpeg Support

PostSat Nov 14, 2020 12:19 am

I assume it will happen sooner or later.
Offline
User avatar

ajzapf

  • Posts: 163
  • Joined: Thu Apr 16, 2020 7:44 pm
  • Location: Oceanside California
  • Real Name: John Zapf

Re: Please add Ffmpeg Support

PostSun Dec 27, 2020 4:57 am

+1
Dad • IT Pro • Photographer
Windows 11, Adobe 2023, DaVinci Resolve 18, Studio One 6 Pro
Dell R7920 2x Xeon Gold 6242R 3.10GHz, 40-Cores, 64GB DDR4 RAM
GeForce RTX 4090 24GB, 2 Dell UP2516D Monitors
2 WD BLACK 1TB NVMe - 23TB's on Server Drive
Offline

VioletWolf

  • Posts: 292
  • Joined: Wed Feb 20, 2019 5:23 am
  • Location: Canada
  • Real Name: Rick Welin

Re: Please add Ffmpeg Support

PostSun Dec 27, 2020 5:30 am

+1
Resolve 17.1.1 | Windows 10 x64 (Latest Updates) | AMD Ryzen 7 2700x
| 32GB RAM |MSI NVIDIA RTX 2070 8 Gig - Driver 457.51 | Refugee from Adobe Premiere / After Effects
Offline

Jay Bills

  • Posts: 39
  • Joined: Tue Jul 09, 2013 6:37 pm

Re: Please add Ffmpeg Support

PostWed Mar 16, 2022 9:17 pm

+1
Just to loop back to this - if Ffmpeg could be made to work with Resolve on Windows, it would allow me to write proper wav files for Maya. We do CG Animation, and currently (for whatever strange reason) the wavs Resolve writes are not signed or formatted properly and can't be read by Autodesk Maya. We have to export from Resolve, drop into Audacity, and batch render them out again. I also change them over from stereo to mono in that process, which would additionally be a nice option to have natively.
I also can't export a jpg image or image sequence from the delivery tab, nor PNG.
Seems like Ffmpeg could open up a lot more options for encode and possibly decode as well, to fix some of these types of issues. You all know how it is - editing formats and the nuances within change super quickly and having a secondary option would keep things nimble.
Offline

arf2000

  • Posts: 2
  • Joined: Tue Mar 05, 2024 2:47 am
  • Real Name: Angel Ruiz Fernandez

Re: Please add Ffmpeg Support

PostTue Mar 05, 2024 11:31 am

+1
Online
User avatar

Uli Plank

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

Re: Please add Ffmpeg Support

PostThu Mar 07, 2024 1:17 am

Jay Bills wrote:I also can't export a jpg image or image sequence from the delivery tab, nor PNG.

This has changed by now.
No, an iGPU is not enough, and you can't use HEVC 10 bit 4:2:2 in the free version.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU

Return to DaVinci Resolve

Who is online

Users browsing this forum: BartReynaard, Bing [Bot], drikin, EvilSaiga, tobydoyle, Uli Plank and 200 guests