Render - Failed to encode video frame

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

Dave Pitman

  • Posts: 138
  • Joined: Sun Sep 18, 2016 9:52 pm
  • Location: Olympic Peninsula, Washington

Render - Failed to encode video frame

PostSat Apr 08, 2017 9:27 pm

Can someone help me out with what this means.

I have a 3840 clip. (h.264 converted to Cineform HD) I can render it out in Quicktime h.264 1080 but when I try the exact same settings to 3840 I get the error. Thanks.

Win. 7 64bit
i7 930
gtx 1060 6gb
12gb ram
Attachments
Screenshot 2017-04-08 14.19.00.png
Screenshot 2017-04-08 14.19.00.png (4.47 KiB) Viewed 72037 times
Resolve 18.1.4 Studio
Win 11 Home 10.0.22621 Build 22621 x64
i7-10750H CPU | RAM 32.0 GB | RTX 2070 (maxQ) 452.06 Driver
Offline

David Galindo

  • Posts: 14
  • Joined: Mon Dec 26, 2016 4:35 pm

Re: Render - Failed to encode video frame

PostSat Apr 08, 2017 11:20 pm

I have a non-studio version.

On my Mac, I can render out to max frame size 1.77:1 (16:9) / 3840x2160
On my PC, frame size is the same with image sequence.

anything higher, my render fails.
R3F x58 Board | Xeon 5675 | AMD XFX 390x | 48GB RAM
Offline

Dave Pitman

  • Posts: 138
  • Joined: Sun Sep 18, 2016 9:52 pm
  • Location: Olympic Peninsula, Washington

Re: Render - Failed to encode video frame

PostTue Apr 11, 2017 2:08 am

Okay, no ideas.

Is there anyone running win.7 and rendering out UHD h.264 files ?
Resolve 18.1.4 Studio
Win 11 Home 10.0.22621 Build 22621 x64
i7-10750H CPU | RAM 32.0 GB | RTX 2070 (maxQ) 452.06 Driver
Offline

Rohit Gupta

Blackmagic Design

  • Posts: 1628
  • Joined: Wed Aug 22, 2012 5:00 am

Re: Render - Failed to encode video frame

PostThu Apr 13, 2017 3:45 am

You need the latest Windows 10 update to do this.
Rohit Gupta

DaVinci Resolve Software Development
Blackmagic Design
Offline

Mike Sauls

  • Posts: 12
  • Joined: Tue May 02, 2017 11:35 am

Re: Render - Failed to encode video frame

PostThu Jul 13, 2017 1:26 am

I have the same issue. Edit a H264 and try to render as MPEG4 and it fails. I have two SSD drives with Windows 7 and Windows 10 and I get the same error message on both systems. I been having this issue for the last 3 months and was hoping the one of these beta updates would fix the issue but so far it hasn't. Wouldn't mind paying for the program but if I can't render in 4K then there's no way they will get my money. Sad thing is they would help me if I had the paid version. I guess it's a chicken and egg thing now but it would be nice to use this software. I think it's really good stuff. Frustrating.....
Attachments
DaVinci Resolve Recording Error.PNG
DaVinci Resolve Recording Error.PNG (884.17 KiB) Viewed 71467 times
Mike Sauls
Offline

Andres Leon

  • Posts: 2
  • Joined: Wed Jul 26, 2017 9:47 pm

Re: Render - Failed to encode video frame

PostMon Aug 07, 2017 8:54 pm

Try:
a) slower rendering
b) workaround to less compression (lossless codec) and then compress it to h.264
Offline
User avatar

Hartmut Kuhse

  • Posts: 76
  • Joined: Thu Jul 27, 2017 3:24 pm
  • Location: Bonn, Germany

Re: Render - Failed to encode video frame

PostTue Aug 08, 2017 3:06 pm

I had a similar issue with my Sony FDR-AX33 4K footage and Resolve 14b6. I could not even render 1080p without that error. I had to install the newest GoPro Studio (now called Quik) to install the newest Cineform Codec. It works now. Maybe, your codec is too old? Quik is free.

Hartmut
Win 10 x64 (1803), i7-4790k, 32GB Ram, 256 GB SSD, SATA 2TB, SATA 4TB, NVidia GTX1080 8GB, LG 34" 4K Wide
Offline
User avatar

Bruce.Williams

  • Posts: 29
  • Joined: Sat Aug 19, 2017 4:22 pm

Re: Render - Failed to encode video frame

PostTue Sep 12, 2017 8:11 am

I'm having a similar problem rendering (same error message). By reducing my rendering output to 1080 I was able to get it to work, but I don't want my output reduced.....

I tried several different drives, all with plenty of room on them. One SSD array, one RAID array and then a second RAID array (different MFG'ers). Nothing worked at the higher resolutions.

I have the studio version, but it's difficult to know if Resolve has recognized the hardware key.... I'm wondering if that's the issue? Anyone have some thoughts on this?

By the way, I updated to the Studio release version, not the Beta version.

Cheers,

Bruce
Bruce Williams Photography

www.facebook.com/BruceWilliamsPhotography
brucewilliams.zenfolio.com

Win 10 64 bit
ASUS MB: X99A with Intel i7 CPU, 3.3 GHz
32 GB RAM, 2 X 1TB + 2 X 500GB SSD
NVIDIA GTX 1080 with 8GB of RAM - 440.97
DaVinci Resolve 16.1.1
Offline
User avatar

Bruce.Williams

  • Posts: 29
  • Joined: Sat Aug 19, 2017 4:22 pm

Re: Render - Failed to encode video frame

PostTue Sep 12, 2017 6:14 pm

Update: I was told by the BM support folks that Windows 7 64bit is no longer supported, and the files may not render correctly without upgrading to Windows 10. However.....

I was able to render (output) 4K files by changing to a different output format. Suffice to say that although support is limited, the software will still render 4K files in Windows 7.
Bruce Williams Photography

www.facebook.com/BruceWilliamsPhotography
brucewilliams.zenfolio.com

Win 10 64 bit
ASUS MB: X99A with Intel i7 CPU, 3.3 GHz
32 GB RAM, 2 X 1TB + 2 X 500GB SSD
NVIDIA GTX 1080 with 8GB of RAM - 440.97
DaVinci Resolve 16.1.1
Offline
User avatar

Uli Plank

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

Re: Render - Failed to encode video frame

PostWed Sep 13, 2017 4:10 am

It's mainly H.264 and H.265 that will fail.
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
User avatar

Charles Bennett

  • Posts: 6155
  • Joined: Sat Nov 05, 2016 11:55 am
  • Location: United Kingdom

Re: Render - Failed to encode video frame

PostWed Sep 13, 2017 11:12 am

Don't forget that the free version will not render 4k, only the Studio version. That is why you get the error pop-up.
Resolve Studio 18.6.6 build 7
Dell XPS 8700 i7-4790, 24GB RAM, 2 x Evo 860 SSDs, GTX1060/6GB (546.01 Studio Driver), Win10 Home (22H2), Speed Editor, Faderport mk1, Eizo ColorEdge CS230 + BenQ GW2270 + Samsung SA200, Canon C100mk2, Zoom H2n.
Offline
User avatar

Bruce.Williams

  • Posts: 29
  • Joined: Sat Aug 19, 2017 4:22 pm

Re: Render - Failed to encode video frame

PostWed Sep 13, 2017 3:47 pm

Charles Bennett wrote:Don't forget that the free version will not render 4k, only the Studio version. That is why you get the error pop-up.


Charles, I have the Studio version, confirmed with BM tech support. There is something else going on here.....
Bruce Williams Photography

www.facebook.com/BruceWilliamsPhotography
brucewilliams.zenfolio.com

Win 10 64 bit
ASUS MB: X99A with Intel i7 CPU, 3.3 GHz
32 GB RAM, 2 X 1TB + 2 X 500GB SSD
NVIDIA GTX 1080 with 8GB of RAM - 440.97
DaVinci Resolve 16.1.1
Offline
User avatar

Charles Bennett

  • Posts: 6155
  • Joined: Sat Nov 05, 2016 11:55 am
  • Location: United Kingdom

Re: Render - Failed to encode video frame

PostWed Sep 13, 2017 4:06 pm

Sorry, Bruce, I should have made myself clearer. My comment was aimed at the original poster, Dave.
Resolve Studio 18.6.6 build 7
Dell XPS 8700 i7-4790, 24GB RAM, 2 x Evo 860 SSDs, GTX1060/6GB (546.01 Studio Driver), Win10 Home (22H2), Speed Editor, Faderport mk1, Eizo ColorEdge CS230 + BenQ GW2270 + Samsung SA200, Canon C100mk2, Zoom H2n.
Offline
User avatar

Maximus Panin

  • Posts: 1
  • Joined: Tue Mar 06, 2018 1:46 pm
  • Real Name: Maximus Panin

Re: Render - Failed to encode video frame

PostTue Mar 06, 2018 1:58 pm

He does not want to render on Image - only on Main.

Also you can not put Best in the profile Image - works only Hight.
Offline

Mark Weiss

  • Posts: 51
  • Joined: Tue Mar 10, 2015 1:17 am

Re: Render - Failed to encode video frame

PostMon Jul 09, 2018 6:47 pm

Dave Pitman wrote:Can someone help me out with what this means.

I have a 3840 clip. (h.264 converted to Cineform HD) I can render it out in Quicktime h.264 1080 but when I try the exact same settings to 3840 I get the error. Thanks.

Win. 7 64bit
i7 930
gtx 1060 6gb
12gb ram



These are the sorts of problems keeping me on Premiere CS6. At least IT works. I can't even start up the new 15 beta. And 14 was slooooooow rendering. It's a shame DaVinci is so hard to get working, as it would be a nice bulwark against the subscription based NLEs.
Offline
User avatar

Charles Bennett

  • Posts: 6155
  • Joined: Sat Nov 05, 2016 11:55 am
  • Location: United Kingdom

Re: Render - Failed to encode video frame

PostMon Jul 09, 2018 8:25 pm

Have you not thought that maybe Win7 is the problem as it is unsupported. Resolve is designed for Win10.
Resolve Studio 18.6.6 build 7
Dell XPS 8700 i7-4790, 24GB RAM, 2 x Evo 860 SSDs, GTX1060/6GB (546.01 Studio Driver), Win10 Home (22H2), Speed Editor, Faderport mk1, Eizo ColorEdge CS230 + BenQ GW2270 + Samsung SA200, Canon C100mk2, Zoom H2n.
Offline

AndyPost

  • Posts: 5
  • Joined: Sun Oct 09, 2016 10:35 pm

Re: Render - Failed to encode video frame

PostTue Aug 14, 2018 7:10 pm

Probably not win7. I just found this thread as I have the same issue with 15 Beta. I'm on windows 7. Reducing the render output to HD from 4K did the trick.
Offline

Mark Weiss

  • Posts: 51
  • Joined: Tue Mar 10, 2015 1:17 am

Re: Render - Failed to encode video frame

PostWed Aug 15, 2018 3:22 pm

We've recently upgraded from XP to Win 7 64-bit here after a long stability testing period. We have zero intention of switching to an online O/S like Windows 10. Our NLEs are not connected to any outside network. Which is why we are not able to use Premiere CC versions and still on CS6.

We tried DaVinci Resolve 15 and it plays much more smoothly and far less CPU use and GPU use than Premiere, but it just can't render out the files. Also, it cannot import DJI drone footage, displaying "media offline" whenever those files are opened.

DaVinci has a ways to go in development before we can consider standardizing on it.
Offline

John Paines

  • Posts: 5787
  • Joined: Tue Jul 28, 2015 4:04 pm

Re: Render - Failed to encode video frame

PostWed Aug 15, 2018 3:28 pm

Resolve under Win7 will never fully support h.264 exports. The staff has said so many times.

Under Win7, you can export h.264 HD if you specify a bit rate (rather than a quality setting). But you can't export UHD or higher, whatever the setting. Render out DNxHR and use another application for h.264/5.
Offline
User avatar

Uli Plank

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

Re: Render - Failed to encode video frame

PostWed Aug 15, 2018 3:48 pm

I'm sometimes working in an environment where I'm also not allowed internet access.
For that situation I use a Mac with a dongle. No problems with H.264 in UHD in or out.
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

Kyle Madsen

Re: Render - Failed to encode video frame

PostFri Aug 24, 2018 8:44 pm

I've been having a similar issue. When I attempt to render, the program either completely crashes, asking me to send a report on what happened, or it gives me this error messsage about failing to encode video frame.

I've tried changing quicktime to MP4, same problem.

I've tried rendering at 720p instead of 1080p, same problem.

I've tried rendering at a slower speed, same problem.

And a combination of these things, all the same problem.

BUT, I DID find a combination of settings that worked. Previously, I was attempting to render at 30FPS, as the original footage is 30 (I'm using captured video game footage). 24 FPS doesn't look very good with video game footage, but I decided to try rendering that anyway. I kept it on QuickTime and H.264, 1080p, and set the render speed at 25. It's now rendering, albeit at the slow pace that I selected.

I think that when I began the project, I didn't select 30 FPS for playback and timeline. I'm not an expert at all with this program, but I suspect my particular problem may have to do with frame per second issues.

I'm using the free version of Resolve 15, by the way.
Offline
User avatar

Uli Plank

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

Re: Render - Failed to encode video frame

PostSat Aug 25, 2018 1:24 am

Some game recordings don’t keep the frame rate constant. Most NLEs don’t like that at all.
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

James Harkness

  • Posts: 354
  • Joined: Wed Jul 13, 2016 5:04 pm

Re: Render - Failed to encode video frame

PostFri Sep 28, 2018 1:54 pm

I just tried to render a video 1080x1080 and it was giving me the problem. I rendered it at 1090x1090 and it worked...
Offline

BobStar

  • Posts: 2
  • Joined: Tue Oct 23, 2018 6:15 am
  • Real Name: Walter Starling

Re: Render - Failed to encode video frame

PostThu Oct 25, 2018 5:32 am

Had a same problem. To me the only cause to it was the "Quality" option in Render settings. Whenever i tick Automatic - Resolve either shows "Failed to encode video frame" or simply hangs indefinitely, can't even stop rendering. And when i change Quality to "Restrict to", keeping all the other options same: Resolution HD, format MP4 - it works just fine.
Offline

xcvbnm

  • Posts: 16
  • Joined: Sat Nov 24, 2018 4:00 am
  • Real Name: xavi bolo

Re: Render - Failed to encode video frame

PostSat Nov 24, 2018 5:00 am

I'm on Windows 7 64 Bit, and I had to use AVI, instead of MP4 format...
DR 15.2.0.033
Win7
Intel Core i5 4670k 3.4 GHz
16 GB DDR3 RAM
nVidia GeForce 760
Offline

Hedgehog1971

  • Posts: 1
  • Joined: Sat Dec 08, 2018 9:58 pm
  • Real Name: Justin Hubbard

Re: Render - Failed to encode video frame

PostSat Dec 08, 2018 10:05 pm

I'm running Davinci Resolve 14 Studio. I had the "failed to encode video" error trying to render H264 (24fps, 1080p) until I changed the quality from "automatic" to "restrict to" , then it worked fine.
I'm on Windows 7 64 bit.
Offline

Mathematics

  • Posts: 25
  • Joined: Tue Jan 15, 2019 6:42 am
  • Real Name: Ron Valmont

Re: Render - Failed to encode video frame

PostTue Jan 15, 2019 6:45 am

Hedgehog1971 wrote:I'm running Davinci Resolve 14 Studio. I had the "failed to encode video" error trying to render H264 (24fps, 1080p) until I changed the quality from "automatic" to "restrict to" , then it worked fine.
I'm on Windows 7 64 bit.


Confirmed working solution Jan 14, 2019.

Win 7 Pro 64-bit, R15

UPDATE:
Switching to a W10 computer, all issues are gone. Advice...install R15 on Windows 10, not Windows 7.
DaVinci Resolve, Capture One, Affinity Suite, Topaz AI Suite, Cubase, ProTools, Live, Digital Performer.
Offline

RIchiebuzz

  • Posts: 3
  • Joined: Mon Jan 21, 2019 6:55 pm
  • Real Name: RIchard Bussink

Re: Render - Failed to encode video frame

PostMon Jan 21, 2019 6:59 pm

This worked for me: I found it on Reddit

Under advanced render settings: Check "Use optimised media"

reddit[dot]com/r/editors/comments/5pya6g/resolve_render_failing_every_time/dcw9av9
Offline

RIchiebuzz

  • Posts: 3
  • Joined: Mon Jan 21, 2019 6:55 pm
  • Real Name: RIchard Bussink

Re: Render - Failed to encode video frame

PostMon Jan 21, 2019 11:21 pm

RIchiebuzz wrote:This worked for me: I found it on Reddit

Under advanced render settings: Check "Use optimised media"

reddit[dot]com/r/editors/comments/5pya6g/resolve_render_failing_every_time/dcw9av9


By the way: I work on a MacBook Pro 2017. Mojave 10.14.2
Offline

steven

  • Posts: 1
  • Joined: Fri Jan 18, 2019 11:01 pm
  • Real Name: Steven Mann

Re: Render - Failed to encode video frame

PostThu Jan 24, 2019 7:14 am

(NOTE: changing to Windows 10 is not an option for me.)

I have recently downloaded and installed Da Vinci Resolve 15.2.2 on Windows 7 and encounter the following error when trying to render:

Recording Failed.
Recording failed with Error: Failed to encode the video frame.


Before importing any media I set up the project:
    File > Project Settings
    Set: Timeline resolution to 3840x2160 Ultra HD
    Set: Timeline frame rate to 25 fps
    Set: Playback frame rate to 25 fps
    Set: Video format to UHD 2160p 25
    Set: Video bit depth to 8 bit

My project consists of two media, which I add:
    Video, 3840x2160 @ 25fps, MP4 H.264 AAC
    Image, 3840x2160, JPG

In the Edit tab,
    Track 1 is the JPG
    Track 2 is the MP4
    I create separate video tracks with the MP4 on top; I am doing chroma screen work using the JPG as the background. Both tracks are set to 25fps.

In the Color tab,
    Create a second node and add an alpha output
    In the first node I crop the outside of the frame to hide it using the Curve selector
    In the second node I select the green to use for transparency and alter relevant settings
    Everything looks fine

In the Deliver tab,
    Select Custom
    Set filename (test.mp4)
    Set location (My Videos)
    Set format to MP4
    Set codec to H.264
    Set resolution to 3840x2160 Ultra HD
    Set frame rate to 25
    Set quality to automatic (best)
    Set encoding profile to Auto
    Set key frames to automatic, with frame reordering selected
    Then I Add to Render Queue
    I press Start Render

Then the error window pops up.

Recording Failed.
Recording failed with Error: Failed to encode the video frame.


Am I doing something wrong? Have I missed something? Everything I can see has consistent frame rates and sizes, etc. yet I am still getting this error.

I have no problems purchasing a licensed version but only if it works!
Offline

Andrés Proaño Mattioli

  • Posts: 7
  • Joined: Mon Oct 07, 2013 7:46 pm

Re: Render - Failed to encode video frame

PostSat Jan 26, 2019 8:55 pm

James Harkness wrote:I just tried to render a video 1080x1080 and it was giving me the problem. I rendered it at 1090x1090 and it worked...


I'm in the same situation of exporting an HD 1:1 aspect ratio video, and this actually worked for me. Exporting in 720x720 works as well. Still, I'd rather be exporting my final in a more standard 1080 frame. If anyone figures out how to do that or Blackmagic gets this fixed, it'd be great.

BTW, I'm running the Studio version 15.1.1 on OSX High Sierra, Intel processor i7 8700K, GPU NVIDIA GTX 1060 6GB.
Offline

Kuba Luczkiewicz

  • Posts: 3
  • Joined: Mon Mar 17, 2014 5:38 pm

Re: Render - Failed to encode video frame

PostMon Jul 22, 2019 7:25 pm

Code: Select all
[code][/code]
I had the same issue and the solution that worked for me was: on Deliver page, Settings, Format:MP4, Codec H.264 and changed the Encoder from Native to graphic card (NVIDIA in my case).
Offline

carolena.sears

  • Posts: 1
  • Joined: Tue Jun 30, 2020 8:46 pm
  • Real Name: Carolena Sears

Re: Render - Failed to encode video frame

PostTue Jun 30, 2020 9:01 pm

I am using Divinci Resolve 16 (free version) on a Windows 7 desktop for a deadlined project. When trying to "start rendor" I get a failed notification that says "failed to encode the video frame." I have verified that the Timeline Frame and the Export rate are the same but nothing seems to work. The footage was shot on a Samsung and uploaded through Google Drive so its not super high quality. S.O.S!
Offline
User avatar

Uli Plank

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

Re: Render - Failed to encode video frame

PostWed Jul 01, 2020 11:30 am

Resolve is not supported under Windows 7, you need W10.
Some older codecs may work, but I doubt you'll get it stable with cellphone footage.
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

dkg876

  • Posts: 14
  • Joined: Fri May 22, 2020 7:20 pm
  • Real Name: Darren George

Re: Render - Failed to encode video frame

PostSun Apr 18, 2021 2:55 am

I found the problem removed when I changed the encoder to "Native"

Of course this isn't a solution in long projects, but this can work for you if it's a short render.
Offline

sarahedmonds

  • Posts: 4
  • Joined: Sat Oct 09, 2021 2:30 am
  • Real Name: sarah edmonds

Re: Render - Failed to encode video frame

PostSat Oct 09, 2021 2:33 am

dkg876 wrote:I found the problem removed when I changed the encoder to "Native"

Of course this isn't a solution in long projects, but this can work for you if it's a short render.

in 2021 getting this issue, still cannot be fixed by changing the encoder to "Native".
Offline

Slawek

  • Posts: 8
  • Joined: Wed Sep 30, 2020 10:08 am
  • Real Name: Sławomir Gugałka

Re: Render - Failed to encode video frame

PostSun Oct 17, 2021 10:01 am

Hi
I have this also like you guys. My workaround for this issue:
1) Export in QuickTime
2) Codec DNxHR - output file will be massive
3) Encode to mp4 using ffmpeg

Encoder in ffmpeg is slower than Davinci but having 4k video export compare to non exported at all is priceless.
Couple years ago i have been working in Sony Vegas PRO, that was nightmare comparing to Davinci.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Johannes Hoffmann, Tim.Willis, tyler.bain, Zanshin and 143 guests