I'm having trouble outputing x265 via the DaVinci Resovle plugin. The Voukoder plugin indicates that "FFmpeg: Cannot open libx265 encoder. Failed opening codec: libx265" As soon as you hit render, Resolve crashes. Outputing x264 seems to work as expected. I'm running Resovle 17.4.3, but had the same issue on previous iterations of Resolve 17. Voukoder_X265_Test - Copy.txt
DaVinci Resolve crashes attempting to output x265
-
-
Vouk
December 21, 2021 at 8:59 PM Approved the thread. -
- Official Post
That's really strage. Does it work when you are using 25 fps?
-
Thanks for your response! Interestingly enough, it DOES work when the project and output are set to 25fps. Let me know if you have any further questions. Thanks again.
-
- Official Post
It worked for me to export with 24 fps.
Can you check why your color transfer is (null) resp. gamma22? Maybeyou can set all color formats to bt709?
Looks like this on my machine:
Code
Display More[19:53:35] ============================================= [19:53:35] Voukoder 10.2 (10.2.149) [19:53:35] by Daniel Stankewitz [19:53:35] --------------------------------------------- [19:53:35] AMD Ryzen 9 3950X 16-Core Processor [19:53:35] 32 logical cores [19:53:35] 98231 MB system memory [19:53:35] Display #0 on: Microsoft Remote Display Adapter [19:53:35] --------------------------------------------- [19:53:35] --------------------------------------------- [19:53:35] Export started [19:53:35] --------------------------------------------- [19:53:35] Filename: C:\Users\Daniel\Desktop\x265.mp4 [19:53:35] Application: Voukoder (DaVinci Resolve) [19:53:35] - Video ------------------------------------- [19:53:35] Frame size: 1920x1080 [19:53:35] Pixel aspect: 1:1 [19:53:35] Timebase: 1/24 (24.00 fps) [19:53:35] Interlaced: No [19:53:35] Encoder: libx265 [19:53:35] Options: _pixelFormat=yuv420p _timecode=01:00:00:00 [19:53:35] Side data: <none> [19:53:35] Filters: filter.setparams#color_primaries=bt709|color_trc=bt709|colorspace=bt709|range=pc [19:53:35] Passes: 1 [19:53:35] Color range: pc [19:53:35] Color space: bt709 [19:53:35] Color primaries: bt709 [19:53:35] Color transfer: bt709 [19:53:35] - Audio ------------------------------------- [19:53:35] Timebase: 1/48000 [19:53:35] Channels: 2 [19:53:35] Encoder: aac [19:53:35] Options: _sampleFormat=fltp b=320000 profile=aac_low [19:53:35] Side data: <none> [19:53:35] Filters: <none> [19:53:35] --------------------------------------------- [19:53:35] Opening codec: libx265 with options: [19:53:35] Opening codec: aac with options: b=320000|profile=aac_low [19:53:35] FFmpeg: Setting default whitelist 'file,crypto,data' [19:53:35] FFmpeg: Output #0, mp4, to 'C:\Users\Daniel\Desktop\x265.mp4': [19:53:35] FFmpeg: Metadata: [19:53:35] FFmpeg: encoding_tool : [19:53:35] FFmpeg: Voukoder (DaVinci Resolve) [19:53:35] FFmpeg: [19:53:35] FFmpeg: Stream #0:0 [19:53:35] FFmpeg: , 0, 1/24 [19:53:35] FFmpeg: : Video: hevc (libx265), 1 reference frame, yuv420p(pc, bt709, progressive), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], 0/1, q=-1--1 [19:53:35] FFmpeg: , [19:53:35] FFmpeg: 24 fps, [19:53:35] FFmpeg: 24 tbn [19:53:35] FFmpeg: [19:53:35] FFmpeg: Metadata: [19:53:35] FFmpeg: timecode : [19:53:35] FFmpeg: 01:00:00:00 [19:53:35] FFmpeg: [19:53:35] FFmpeg: Stream #0:1 [19:53:35] FFmpeg: , 0, 1/48000 [19:53:35] FFmpeg: : Audio: aac (LC), 48000 Hz, stereo, fltp, delay 1024, 320 kb/s [19:53:35] FFmpeg: [19:53:35] FFmpeg: timecode: tbc=1/0 invalid, fallback on 24/1 [19:53:35] FFmpeg: timecode: tbc=1/0 invalid, fallback on 24/1 [19:53:35] FFmpeg: timecode: tbc=1/0 invalid, fallback on 24/1 [19:53:35] FFmpeg: Application provided duration: -9223372036854775808 / timestamp: -9223372036854775808 is out of range for mov/mp4 format [19:53:35] FFmpeg: pts has no value [19:53:35] Frame #1: vEncoding: 1863 us, Latency: 1890 us [19:53:35] FFmpeg: detected 32 logical cores [19:53:35] FFmpeg: tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:stereo [19:53:35] FFmpeg: Setting 'n' to value '1024' [19:53:35] FFmpeg: Setting 'p' to value '0' [19:53:35] FFmpeg: Setting 'channel_layouts' to value '2c' [19:53:35] FFmpeg: Setting 'sample_fmts' to value 'fltp' [19:53:35] FFmpeg: Setting 'sample_rates' to value '48000' [19:53:35] FFmpeg: auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_asetnsamples_0' and the filter 'Parsed_aformat_1' [19:53:35] FFmpeg: query_formats: 4 queried, 6 merged, 3 already done, 0 delayed [19:53:35] FFmpeg: Using s16p internally between filters [19:53:35] FFmpeg: ch:2 chl:stereo fmt:s16 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz [19:53:35] Applying audio filters: asetnsamples=n=1024:p=0,aformat=channel_layouts=2c:sample_fmts=fltp:sample_rates=48000 [19:53:35] Frame #2: vEncoding: 1759 us, Latency: 11479 us [19:53:35] Frame #3: vEncoding: 1938 us, Latency: 2283 us [19:53:35] Frame #4: vEncoding: 1837 us, Latency: 8690 us [19:53:35] Frame #5: vEncoding: 1736 us, Latency: 16932 us [19:53:35] Frame #6: vEncoding: 1964 us, Latency: 12961 us [19:53:35] Frame #7: vEncoding: 1805 us, Latency: 13833 us [19:53:35] Frame #8: vEncoding: 2232 us, Latency: 14317 us [19:53:35] Frame #9: vEncoding: 1742 us, Latency: 18439 us [19:53:35] Frame #10: vEncoding: 1865 us, Latency: 9111 us [19:53:35] Frame #11: vEncoding: 1824 us, Latency: 16782 us [19:53:35] Frame #12: vEncoding: 1747 us, Latency: 13598 us [19:53:35] Frame #13: vEncoding: 1992 us, Latency: 11599 us [19:53:35] Frame #14: vEncoding: 1867 us, Latency: 13831 us [19:53:35] Frame #15: vEncoding: 2014 us, Latency: 14068 us [19:53:35] Frame #16: vEncoding: 1817 us, Latency: 13716 us [19:53:35] Frame #17: vEncoding: 1823 us, Latency: 15094 us [19:53:35] Frame #18: vEncoding: 1929 us, Latency: 12041 us [19:53:35] Frame #19: vEncoding: 2037 us, Latency: 14071 us [19:53:35] Frame #20: vEncoding: 1896 us, Latency: 13848 us [19:53:35] Frame #21: vEncoding: 2755 us, Latency: 14897 us [19:53:35] Frame #22: vEncoding: 3310 us, Latency: 13398 us [19:53:35] Frame #23: vEncoding: 3021 us, Latency: 13533 us [19:53:35] Frame #24: vEncoding: 3064 us, Latency: 11922 us [19:53:35] Frame #25: vEncoding: 1893 us, Latency: 12587 us [19:53:35] Frame #26: vEncoding: 1891 us, Latency: 13575 us [19:53:35] Frame #27: vEncoding: 4852 us, Latency: 15824 us [19:53:35] Frame #28: vEncoding: 3564 us, Latency: 12241 us [19:53:35] Frame #29: vEncoding: 3446 us, Latency: 11817 us [19:53:35] Frame #30: vEncoding: 3425 us, Latency: 13566 us [19:53:35] Frame #31: vEncoding: 3290 us, Latency: 12347 us [19:53:35] Frame #32: vEncoding: 155429 us, Latency: 165292 us [19:53:35] Frame #33: vEncoding: 4815 us, Latency: 5120 us [19:53:35] Frame #34: vEncoding: 5063 us, Latency: 5364 us [19:53:35] Frame #35: vEncoding: 4479 us, Latency: 4789 us [19:53:35] Frame #36: vEncoding: 1605 us, Latency: 1884 us [19:53:35] Frame #37: vEncoding: 4025 us, Latency: 4503 us [19:53:35] Frame #38: vEncoding: 3998 us, Latency: 4530 us [19:53:35] Frame #39: vEncoding: 7737 us, Latency: 8099 us [19:53:35] Frame #40: vEncoding: 1769 us, Latency: 2106 us [19:53:35] Frame #41: vEncoding: 1489 us, Latency: 1785 us [19:53:35] Frame #42: vEncoding: 14107 us, Latency: 14418 us [19:53:35] Frame #43: vEncoding: 3157 us, Latency: 3488 us [19:53:35] Frame #44: vEncoding: 3613 us, Latency: 4010 us [19:53:35] Frame #45: vEncoding: 1572 us, Latency: 1924 us [19:53:35] Frame #46: vEncoding: 1625 us, Latency: 1893 us [19:53:35] Frame #47: vEncoding: 23075 us, Latency: 23498 us [19:53:35] Frame #48: vEncoding: 1670 us, Latency: 1963 us [19:53:35] Frame #49: vEncoding: 18350 us, Latency: 18775 us [19:53:35] Frame #50: vEncoding: 13486 us, Latency: 13784 us [19:53:35] Frame #51: vEncoding: 12730 us, Latency: 13020 us [19:53:35] Frame #52: vEncoding: 2020 us, Latency: 2317 us [19:53:35] Frame #53: vEncoding: 2066 us, Latency: 2491 us [19:53:35] Frame #54: vEncoding: 18937 us, Latency: 19211 us [19:53:35] Frame #55: vEncoding: 1874 us, Latency: 2159 us [19:53:35] Frame #56: vEncoding: 2104 us, Latency: 2567 us [19:53:35] Frame #57: vEncoding: 1371 us, Latency: 15525 us [19:53:35] Frame #58: vEncoding: 1031 us, Latency: 10466 us [19:53:35] Frame #59: vEncoding: 1185 us, Latency: 14138 us [19:53:35] Frame #60: vEncoding: 1262 us, Latency: 9979 us [19:53:35] Frame #61: vEncoding: 1130 us, Latency: 13709 us [19:53:35] Frame #62: vEncoding: 1352 us, Latency: 12162 us [19:53:35] Frame #63: vEncoding: 1110 us, Latency: 13652 us [19:53:35] Frame #64: vEncoding: 1156 us, Latency: 11976 us [19:53:35] Frame #65: vEncoding: 1045 us, Latency: 9781 us [19:53:35] Frame #66: vEncoding: 978 us, Latency: 13878 us [19:53:35] Frame #67: vEncoding: 1527 us, Latency: 12012 us [19:53:35] Frame #68: vEncoding: 1830 us, Latency: 12173 us [19:53:36] Frame #69: vEncoding: 1107 us, Latency: 13204 us [19:53:36] Frame #70: vEncoding: 1216 us, Latency: 12074 us [19:53:36] Frame #71: vEncoding: 1152 us, Latency: 11807 us [19:53:36] Frame #72: vEncoding: 954 us, Latency: 11705 us [19:53:36] Frame #73: vEncoding: 1076 us, Latency: 14056 us [19:53:36] Frame #74: vEncoding: 1435 us, Latency: 12289 us [19:53:36] Frame #75: vEncoding: 1860 us, Latency: 12773 us [19:53:36] Frame #76: vEncoding: 1057 us, Latency: 10191 us [19:53:36] Frame #77: vEncoding: 1022 us, Latency: 13897 us [19:53:36] Frame #78: vEncoding: 1088 us, Latency: 11090 us [19:53:36] Frame #79: vEncoding: 1135 us, Latency: 12012 us [19:53:36] Frame #80: vEncoding: 1194 us, Latency: 13432 us [19:53:36] Frame #81: vEncoding: 1150 us, Latency: 11867 us [19:53:36] Frame #82: vEncoding: 1261 us, Latency: 12659 us [19:53:36] Frame #83: vEncoding: 1004 us, Latency: 14195 us [19:53:36] Frame #84: vEncoding: 1229 us, Latency: 12170 us [19:53:36] Frame #85: vEncoding: 1216 us, Latency: 12925 us [19:53:36] Frame #86: vEncoding: 1077 us, Latency: 11802 us [19:53:36] Frame #87: vEncoding: 1003 us, Latency: 13876 us [19:53:36] Frame #88: vEncoding: 1242 us, Latency: 16168 us [19:53:36] Frame #89: vEncoding: 1223 us, Latency: 8888 us [19:53:36] Frame #90: vEncoding: 1056 us, Latency: 15713 us [19:53:36] Frame #91: vEncoding: 1715 us, Latency: 10704 us [19:53:36] Frame #92: vEncoding: 1093 us, Latency: 11682 us [19:53:36] Frame #93: vEncoding: 1010 us, Latency: 11325 us [19:53:36] Frame #94: vEncoding: 1064 us, Latency: 13939 us [19:53:36] Frame #95: vEncoding: 1136 us, Latency: 14060 us [19:53:36] Frame #96: vEncoding: 1206 us, Latency: 10019 us [19:53:36] Frame #97: vEncoding: 1028 us, Latency: 14062 us [19:53:36] Frame #98: vEncoding: 992 us, Latency: 11463 us [19:53:36] Frame #99: vEncoding: 1048 us, Latency: 12026 us [19:53:36] Frame #100: vEncoding: 1254 us, Latency: 13152 us [19:53:36] Frame #101: vEncoding: 1551 us, Latency: 11761 us [19:53:36] Frame #102: vEncoding: 1205 us, Latency: 11502 us [19:53:36] Frame #103: vEncoding: 1000 us, Latency: 11729 us [19:53:36] Frame #104: vEncoding: 1066 us, Latency: 12054 us [19:53:36] Frame #105: vEncoding: 1206 us, Latency: 14049 us [19:53:36] Frame #106: vEncoding: 1264 us, Latency: 11985 us [19:53:36] Frame #107: vEncoding: 1170 us, Latency: 11881 us [19:53:36] Frame #108: vEncoding: 1031 us, Latency: 11794 us [19:53:36] Frame #109: vEncoding: 1278 us, Latency: 14156 us [19:53:36] Frame #110: vEncoding: 1168 us, Latency: 14272 us [19:53:36] Frame #111: vEncoding: 1136 us, Latency: 9827 us [19:53:36] Frame #112: vEncoding: 1132 us, Latency: 13405 us [19:53:36] Frame #113: vEncoding: 1068 us, Latency: 11378 us [19:53:36] Frame #114: vEncoding: 1025 us, Latency: 12894 us [19:53:36] Frame #115: vEncoding: 1214 us, Latency: 12150 us [19:53:36] Frame #116: vEncoding: 1302 us, Latency: 12066 us [19:53:36] Frame #117: vEncoding: 1212 us, Latency: 11314 us [19:53:36] Frame #118: vEncoding: 1028 us, Latency: 11733 us [19:53:36] Frame #119: vEncoding: 1003 us, Latency: 13925 us [19:53:36] Frame #120: vEncoding: 951 us, Latency: 11899 us [19:53:36] Exported 120 frames in 1 seconds. (avg. 78.43 fps) [19:53:36] Flushing encoders and finalizing ... [19:53:36] Video and audio buffers flushed. [19:53:36] FFmpeg: configurationVersion: 1 [19:53:36] FFmpeg: general_profile_space: 0 [19:53:36] FFmpeg: general_tier_flag: 0 [19:53:36] FFmpeg: general_profile_idc: 1 [19:53:36] FFmpeg: general_profile_compatibility_flags: 0x60000000 [19:53:36] FFmpeg: general_constraint_indicator_flags: 0x900000000000 [19:53:36] FFmpeg: general_level_idc: 120 [19:53:36] FFmpeg: min_spatial_segmentation_idc: 0 [19:53:36] FFmpeg: parallelismType: 0 [19:53:36] FFmpeg: chromaFormat: 1 [19:53:36] FFmpeg: bitDepthLumaMinus8: 0 [19:53:36] FFmpeg: bitDepthChromaMinus8: 0 [19:53:36] FFmpeg: avgFrameRate: 0 [19:53:36] FFmpeg: constantFrameRate: 0 [19:53:36] FFmpeg: numTemporalLayers: 1 [19:53:36] FFmpeg: temporalIdNested: 1 [19:53:36] FFmpeg: lengthSizeMinusOne: 3 [19:53:36] FFmpeg: numOfArrays: 4 [19:53:36] FFmpeg: array_completeness[0]: 0 [19:53:36] FFmpeg: NAL_unit_type[0]: 32 [19:53:36] FFmpeg: numNalus[0]: 1 [19:53:36] FFmpeg: nalUnitLength[0][0]: 24 [19:53:36] FFmpeg: array_completeness[1]: 0 [19:53:36] FFmpeg: NAL_unit_type[1]: 33 [19:53:36] FFmpeg: numNalus[1]: 1 [19:53:36] FFmpeg: nalUnitLength[1][0]: 45 [19:53:36] FFmpeg: array_completeness[2]: 0 [19:53:36] FFmpeg: NAL_unit_type[2]: 34 [19:53:36] FFmpeg: numNalus[2]: 1 [19:53:36] FFmpeg: nalUnitLength[2][0]: 7 [19:53:36] FFmpeg: array_completeness[3]: 0 [19:53:36] FFmpeg: NAL_unit_type[3]: 39 [19:53:36] FFmpeg: numNalus[3]: 1 [19:53:36] FFmpeg: nalUnitLength[3][0]: 2313 [19:53:36] Trailer has been written. [19:53:36] Closing encoders ... [19:53:36] FFmpeg: Qavg: 65536.000 [19:53:36] FFmpeg: Statistics: 2 seeks, 4 writeouts [19:53:36] --------------------------------------------- [19:53:36] Export finished [19:53:36] ---------------------------------------------
-
This worked. I'm able to output x265 at 23.976fps. I needed to make a change to the color setting under the "Advanced Settings" tab within the Resolve Deliver page. By default the "Color Space Tag" and "Gamma Tag" fields are set to "Same as Project" By select Rec.709 in each of these fields, the render works as expected. Thanks for your help!
-
Vouk
February 22, 2022 at 8:23 PM Added the Label Fixed -
Vouk
February 22, 2022 at 8:35 PM Moved the thread from forum Bug reports to forum Closed.