Closed mastak closed 4 years ago
Y′UV format can have a different number of bytes per pixel: https://en.wikipedia.org/wiki/YUV#Converting_between_Y%E2%80%B2UV_and_RGB
And some variants such as:
YUV420p 6 bytes per 4 pixels
can't be set as bpp for read_frames. As a result, there is broken framesize and we have RuntimeError with End of file reached before full frame could be read
bpp
read_frames
framesize
End of file reached before full frame could be read
Closed by #25
Y′UV format can have a different number of bytes per pixel: https://en.wikipedia.org/wiki/YUV#Converting_between_Y%E2%80%B2UV_and_RGB
And some variants such as:
can't be set as
bpp
forread_frames
. As a result, there is brokenframesize
and we have RuntimeError withEnd of file reached before full frame could be read