title: FFMPEG: How to use S3 url in FFMPEG Php
body: <p>I'm generating an image frame from a video in a particular time using FFMPEG Laravel SDK in Laravel 5.6. If I used the local path for video file it's working fine but When <strong>I'm using URL</strong> directly it's giving an error. I want to use the video which is stored in the s3 bucket.</p>
  
  <blockquote>
    <p>File not found at path: https:/xxxxx.cloudfront.net/uploaded_videos/filename.mp4</p>
  </blockquote>
  
  <p>My code as below.</p>
  
  <pre><code>$videoFile = env('CLOUDFRONT')."/".$resultStatusValue[0]-&gt;video_url;
  
  FFMpegFacade::fromDisk('s3')
  -&gt;open($videoFile)   
  -&gt;getFrameFromSeconds($timeToSecond)
  -&gt;export()
  -&gt;toDisk('s3')
  -&gt;save($s3Path);
  </code></pre>
  
  <p>Hereafter generated image should be upload to the s3 bucket.</p>
  
  <p>Thanks in advance.</p>