title: trying to convert my video using laravel ffmpeg
body: <p>I am trying to convert my video using laravel ffmpeg but I am getting error message saying </p>
  
  <blockquote>
    <p>"Unable to probe 5bb990e27207cislands2.mp4"</p>
  </blockquote>
  
  <p>I don't know why is that. Did I successfully download it? Can someone help me please?</p>
  
  <p><strong>Here is my code</strong></p>
  
  <pre><code>$user_id = Auth::user()-&gt;id;
  $pro = User::find($user_id);
  $pro-&gt;nickname=$request-&gt;nickname;
  
  if($request-&gt;video) {
      $vid = $request-&gt;file('video');
      $filename = uniqid().$vid-&gt;getClientOriginalName();
      $vid = $request-&gt;file('video');
      // $filename = uniqid().$vid-&gt;getClientOriginalName();
      // $path = $vid-&gt;storeAs('introvideo', $filename);
  
      $ffmpeg = FFMpeg\FFMpeg::create([
          'ffmpeg.binaries'  =&gt; "C:/Users/Riche/Desktop/ffmpeg/ffmpeg/bin/ffmpeg.exe",
          'ffprobe.binaries' =&gt; "C:/Users/Riche/Desktop/ffmpeg/ffmpeg/bin/ffprobe.exe"
      ]);
  
      $video = $ffmpeg-&gt;open($filename)-&gt;export()
          -&gt;toDisk('s3')
          -&gt;inFormat(new \FFMpeg\Format\Video\X264)
          -&gt;save('myvideo.mp4');
  
      $t = Storage::disk('s3')-&gt;put($filename, file_get_contents($vid), 'public');
      $imageName = Storage::disk('s3')-&gt;url($filename);
      // $vid-&gt;move($location);
      $pro-&gt;intro_video = $video;
  
  }
  
  $pro-&gt;save();
  </code></pre>