title: Unable to Capture screen shot in react-native-video
body: <p>react-native Platform:</p>
  <ul>
  <li>iOS</li>
  <li>Android</li>
  </ul>
  <p>Issue:</p>
  <p>I am trying to capture screen. when video is pause. But whenever I trying to capture image from video. its throwing waring and unable to capture that;</p>
  <p><strong>Possible Unhandled Promise Rejection (id: 25):
  Error: The content size must not be zero or negative. Got: (0, 410)</strong></p>
  <blockquote>
  <p>Library version:</p>
  </blockquote>
  <pre><code>&quot;react-native-video&quot;: &quot;^5.1.0-alpha8&quot;,
  &quot;react-native-view-shot&quot;: &quot;^3.1.2&quot;,
  </code></pre>
  <p>Code:</p>
  <pre><code> const viewShotRef = useRef(null);
   const [uri, setUri] = useState('');
  
  &lt;ViewShot
        style={[styles.imageViewerStyleVideo, {height: 410}]}
        ref={viewShotRef}
        captureMode=&quot;continuous&quot;
        options={{format: 'jpg', quality: 0.9}}&gt;
           &lt;Video
               ref={(p) =&gt; {
                 videoRef = p;
           }}
           paused={isPaused}
           source={getImageSource(caseViewerVideo)}
           resizeMode={'contain'}
           selectedVideoTrack={'auto'}
           style={styles.fullScreenMode}
           controls={true}
           playInBackground={false}
           playWhenInactive={false}
        /&gt;
  &lt;/ViewShot&gt;
  
  &lt;Pressable
          style={{
            width: 40,
            height: 40,
            borderWidth: 1,
            borderRadius: 20,
            position: 'absolute',
            top: 260,
            right: 80,
            borderColor: Colors.pencil,
            backgroundColor: Colors.shadow,
          }}
          onPress={() =&gt; onCapture()}
   /&gt;
  
  const onCapture = async () =&gt; {
      const uri = await viewShotRef.current.capture();
      setUri(uri);
      console.log(uri);
   };
  </code></pre>