title: Video file to image stream in flutter
body: <p>I have a video file in my assets folder (like mp4). I want to read that video file as an image stream, like an image stream in the camera package <a href="https://pub.dev/documentation/camera/latest/camera/CameraController/startImageStream.html" rel="nofollow noreferrer">https://pub.dev/documentation/camera/latest/camera/CameraController/startImageStream.html</a></p>
  <p>I want to pass the image to Tflite model.</p>
  <p>Something like that:</p>
  <pre><code>controller = loadVideo('assets/example.mp4');  // how to do that?! 
  controller.startImageStream((CameraImage img) {
            Tflite.runPoseNetOnFrame(
                bytesList: img.planes.map((plane) {
                  return plane.bytes;
                }).toList(),
                imageHeight: img.height,
                imageWidth: img.width,
                numResults: 1,
                threshold: 0.1,
              ).then((recognitions) {
                // ...
              }
          }
  </code></pre>
  <p>I tried to search in the image_picker and video_player packages, but did not find anything.</p>