title: PHP create video thumbnail from remote url
body: <p>I've my video storage on <code>google cloud</code>, I need to create the <code>thumbnail</code> for my videos it's gonna be remote, I tried to use <code>FFmpeg</code> to create and getting the content of the thumbs, but it's not working, it just returns null for me.</p>
  
  <pre><code>public function create_video_thumb($video){
  
          $ffmpeg = '/usr/bin/ffmpeg';
  
          try{
  
              $cmd = "ffmpeg -i $video -deinterlace -an -ss 00:00:10 -vframes 1 -f image2 'test.jpg' ";
  
              $return = array(
                  'success'=&gt;true,
                  'content' =&gt; $cmd
              );
  
          }catch (Exception $e){
              $return = $e-&gt;getMessage();
          }
  
  
          return   $return;
      }
  </code></pre>
  
  <p>Return:</p>
  
  <pre><code>{
        "sucess":true,
        "content":null
  }
  </code></pre>