Hi all!
I am writing a HLA and I’d like to emit some statistics via to terminal (via print() calls) when having processed the final frame. Statistics are built up while processing frame after frame and I’d only like to emit them once, when done. Otherwise processing might slow down significantly and the log is likely to be flooded very much.
I don’t think that there’s a way of detecting the final frame in decode() but I may be wrong.
Is there some other method I am not aware of which I could use as a hook for that functionality?
Of course, this would only work for offline decoding and not decoding while recording - but that’d obviously be fine for my use case.
Sure, I could work around this by adding some post-processing on data that’s exported, but it’d be nice to have it all together in a single place.
Regards,
Mäh