View Single Post
Old 10th September 2019, 22:20   #2  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,374
Quote:
Originally Posted by Stereodude View Post
Does anyone else use Avisynth+ and Davinci Resolve 16 and try to move something back and forth between the two? Davinci Resolve of course can't open an Avisynth script. It has really poor AVI support as well. It doesn't support any of the lossless AVI codecs like HuffYUV, Lagarith, etc. Resolve also doesn't support lossless H.264.

So, my initial workaround is to use FFMPEG to export the .AVS to ProRes (not lossless) in a .mov container. Resolve will open that. Then export from Resolve into a .mov container using DNxHR since Resolve can't export ProRes. Then I can open the DNxHR .mov with LWLibavVideoSource (L-SMASH-Works) back into Avisynth+.

It works, but it's quite kludgy. It also has two lossy compression conversions, and they're different codecs.




1) Did you need truly lossless ? Very high bitrate AVC such as x264 CRF or QP 1 intra or short GOP's is going to be 99.9% lossless, significantly higher PSNR/SSIM than Prores HQ or even Prores 4444XQ


2) Physical uncompressed AVI's still work in Resolve using v210 (10bit 422) and UYVY (UYVY) configurations


3) AVFS frameserving "fake" AVI works with YUV422P10, but only with vapoursynth , because of the enable_v210 = True switch (not available in avs+ )

RGB30 also works, also for avs+ (ConvertToPlanarRGB(matrix="XX").ConvertBits(10)
) but you might have to interpret the clip attributes as full range depending on how you have resolve project and timeline settings set up .

The command line AVFS that you need to use is a modified version and bundled with Vapoursynth. You can download the "portable" version and extract the avfs.exe to use with avisynth if you don't want to install vapoursynth


4) For exporting out, the uncompressed AVI and MOV options work
poisondeathray is offline   Reply With Quote