FranceBB
5th December 2020, 15:17
Hi,
as you know plenty of our workflows rely on Avisynth for pretty much everything.
To get something meaningful out of it, I generally rely on the VideoInfo part of Avisynth in the SDK to forward information to the next blocks in the filterchain or to the encoders, muxers etc.
Things like field parity, bits per pixel, color space, audio channels and so on are easily achievable as I can easily call them from the API and forward the information. The problem I'm facing now is that none of our HDR workflows are... ehm... HDR aware. I remember that a while ago ffms2 was updated to forward the relative HDR information like master display, maxcll etc to VapourSynth so that it could be used by other filters and could also be called via the API, so my question is: where are we in terms of Avisynth? I mean, is there a way to get these properties via the current C++ API? I know I could still run MediaInfo and FFProbe myself on the file before indexing it in Avisynth to get the relative properties and then forward them myself to the relative filters as I make the script (like on HDRTools etc) but that would add yet another step in the chain. Ideally, I would like to be able to get the properties from Avisynth and use them. I know that the .avi stream does not carry any of these things, which is the biggest limitation right now, but isn't it possible to get them by calling the API? I can't find anything in the SDK.
as you know plenty of our workflows rely on Avisynth for pretty much everything.
To get something meaningful out of it, I generally rely on the VideoInfo part of Avisynth in the SDK to forward information to the next blocks in the filterchain or to the encoders, muxers etc.
Things like field parity, bits per pixel, color space, audio channels and so on are easily achievable as I can easily call them from the API and forward the information. The problem I'm facing now is that none of our HDR workflows are... ehm... HDR aware. I remember that a while ago ffms2 was updated to forward the relative HDR information like master display, maxcll etc to VapourSynth so that it could be used by other filters and could also be called via the API, so my question is: where are we in terms of Avisynth? I mean, is there a way to get these properties via the current C++ API? I know I could still run MediaInfo and FFProbe myself on the file before indexing it in Avisynth to get the relative properties and then forward them myself to the relative filters as I make the script (like on HDRTools etc) but that would add yet another step in the chain. Ideally, I would like to be able to get the properties from Avisynth and use them. I know that the .avi stream does not carry any of these things, which is the biggest limitation right now, but isn't it possible to get them by calling the API? I can't find anything in the SDK.