You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using VideoDecoder(..., device="cuda") to decode a large sample of frames from various videos, I observed the following issues in the grayscale intensity histograms:
The overall distribution is inconsistent with what’s expected from natural video content. The histogram lacks a smooth trend at the beginning and end.
Certain grayscale values show abnormally high spikes that do not occur when decoding using FFmpeg or OpenCV.
Here is the histogram from 10,000 frames decoded via TorchCodec on GPU:
If I set device to 'cpu' then the result looks more natural:
My guess for GPU issues:
TV ranges are mapped to PC range for some video but not for the others (e.g. when color_range=unknown)