HDR encoding - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: HDR encoding (/thread-83.html) |
RE: HDR encoding - videoh - 16.10.2017 (16.09.2017, 14:38)mparade Wrote: Just to inform you using Staxrip and DGDecNV with HDR10 input: I have completed my first HDR encode using DGDecNV, but unfortunately I saw some artifacts during decoding the output: The artifacts were due to a CUVID bug. This is fixed in the latest nVidia driver 387.92. Today I plan to do some debugging to try to see why Vapoursynth is having a problem with DGSource(fulldepth=True) RE: HDR encoding - videoh - 16.10.2017 I've found out why Vapoursynth doesn't like CS_YUV420P16 returned by DGSource(fulldepth=True). Following is the code in avisynth_compat.cpp. It's pretty obvious that Vapoursynth simply does not accept CS_YUV420P16 from Avisynth+. It should be easy to add support. Maybe someone can ask Myrsloik about this. Based on my experience he won't want to hear anything from me, although really I have no grudge against Vapoursynth. Interestingly, the vs_normalizeRational() call is a bit surprising, considering how not so long ago Myrsloik refused to do that and insisted all filters must do it themselves. static void VS_CC avisynthFilterInit(VSMap *in, VSMap *out, void **instanceData, VSNode *node, VSCore *core, const VSAPI *vsapi) { It seems we just have to add two lines to the if-else: else if (viAvs.IsColorSpace(VideoInfo::CS_YUV420P16)) RE: HDR encoding - Selur - 17.10.2017 Yup, contacting Myrsloik is your best Bet. Cu Selur |