title: Video trim using react-native-video-processing
body: <p>I am using react-native-video-processing for trimming or compressing local video from iOS device. when I try to trim video some time they trimmed well and some time give me warning shown as below and not trim my video.</p>
  <blockquote>
  <p>Possible Unhandled Promise Rejection (id: 0): &quot;Failed: Optional(Error
  Domain=AVFoundationErrorDomain Code=-11800 &quot;The operation could not be
  completed&quot; UserInfo={NSLocalizedFailureReason=An unknown error
  occurred (-16357), NSLocalizedDescription=The operation could not be
  completed, NSUnderlyingError=0x6000019c3840 {Error
  Domain=NSOSStatusErrorDomain Code=-16357 &quot;(null)&quot;}})&quot;</p>
  </blockquote>
  <p>My packages versions are :</p>
  <pre><code>&quot;react&quot;: &quot;^17.0.2&quot;,
  &quot;react-native&quot;: &quot;^0.67.4&quot;,
  &quot;react-native-video-processing&quot;: &quot;^2.0.0&quot;,
  </code></pre>
  <p>My Code:</p>
  <pre><code>const openGallary = async() =&gt; {
  try{
    const res = await DocumentPicker.pick({
      type: [DocumentPicker.types.video],
    });
         let Videodata = res[0].uri;
  
  const options = {
  startTime: isstarttime,
  endTime: isendtime,
  saveToCameraRoll: false, 
  saveWithCurrentDate: false
  };
  const tempdata = await ProcessingManager.trim(Videodata, options);
  console.log('tempdata: ', tempdata);
  }catch (err) {
    if (DocumentPicker.isCancel(err)) {
    } else {
      throw err;
    }
  }
  </code></pre>