i have a byte array of a video and i want to grab a image frame from the video, i am using JavaCV tool to do that as following:
FFmpegFrameGrabber