Hi, I'm trying to convert a raw frame to RGB8 and then get the bytes, how do I do this?
for frame in video_decoder.decode_raw_iter().enumerate() {
let (current_frame, Ok(frame)) = frame else { break };
let frame = frame.converter(Pixel::RGB8).unwrap();
Hi, I'm trying to convert a raw frame to RGB8 and then get the bytes, how do I do this?
Thanks.