Closed RivenSkaye closed 2 years ago
Marked it as a draft due to the differences between dgdecode and dgdecodenv, will fix it later on
Ideas we talked about:
abs(PERCENTAGE - 100)
, I think? Need to check whether it's consistent at the same place, and whether any values change given different types of files.dgindex
? Currently it has trouble indexing certain file types (like mkv), which isn't ideal when you explicitly need it (like for remuxes, for example). Not sure I wanna add explicit support, or just tell users to call the functions directly themselvesd2vsource
as source filter for d2v files instead of dgdecode
dgdecode
with d2v.ApplyRff
This PR fixes the lost d2v support, as not everyone uses DGIndexNV (e.g. those with AMD GPUs).
IndexExists.PATH_IS_D2V
andIndexExists.D2V_EXISTS
, mirroring the behavior for the dgi typescore.dgdecode.DGSource
withcore.dgdecode.MPEG2SOURCE
check_output
withcheck_call
since the output of the command is irrelevant. Unlessnvidia-smi
sets a non-zero exit code when called without arguments. This needs testing on another system