title: ffmpeg lib source error screenshot thumbnail
body: <p>i try to create a video upload website as a side project and i ran into a problem when i try to upload a file.
  i seems to have an error when i try to create a thumbnail for a video sent from the client</p>
  <pre><code>router.post(&quot;/thumbnail&quot;, (req, res) =&gt; {
  
      let thumbsFilePath =&quot;&quot;;
      let fileDuration =&quot;&quot;;
  
      ffmpeg.ffprobe(req.body, function(){
          fileDuration = req.headers[&quot;content-length&quot;];
      })
  
      ffmpeg(req.body.filePath)
          .on('filenames', function (filenames) {
              thumbsFilePath = &quot;/uploads/thumbnails/&quot; + filenames[0];
          })
          
          .on('end', function () {
              console.log('Screenshots taken');
              return res.json({ success: true, thumbsFilePath: thumbsFilePath, fileDuration: fileDuration})
    
          })
          .screenshots({
              count: 3,
              folder: '/uploads/thumbnails',
              size:'320x240',
              filename:'thumbnail-%b.png'
          });
  
  });
  </code></pre>
  <p>the error come from this line</p>
  <pre><code>ffmpeg(req.body.filePath)
  </code></pre>
  <p>Error:</p>
  <pre><code>TypeError: Cannot read properties of undefined (reading 'source')
      at FfmpegCommand.proto.takeScreenshots.proto.thumbnail.proto.thumbnails.proto.screenshot.proto.screenshots (C:\ReactFinalProject\server\node_modules\fluent-ffmpeg\lib\recipes.js:109:37)   
      at C:\ReactFinalProject\server\Routes\vi\videosRouter.js:178:10
      at Layer.handle [as handle_request] (C:\ReactFinalProject\server\node_modules\express\lib\router\layer.js:95:5)
      at next (C:\ReactFinalProject\server\node_modules\express\lib\router\route.js:137:13)
      at Route.dispatch (C:\ReactFinalProject\server\node_modules\express\lib\router\route.js:112:3)
      at Layer.handle [as handle_request] (C:\ReactFinalProject\server\node_modules\express\lib\router\layer.js:95:5)
      at C:\ReactFinalProject\server\node_modules\express\lib\router\index.js:281:22
      at Function.process_params (C:\ReactFinalProject\server\node_modules\express\lib\router\index.js:341:12)
      at next (C:\ReactFinalProject\server\node_modules\express\lib\router\index.js:275:10)
      at Function.handle (C:\ReactFinalProject\server\node_modules\express\lib\router\index.js:174:3)
  </code></pre>
  <p>Output of filePath:</p>
  <pre><code>{
    fieldname: 'file',
    originalname: '1575554425994_Water - 25949.mp4',
    encoding: '7bit',
    mimetype: 'video/mp4',
    destination: 'uploads/',
    filename: '1656595077410_1575554425994_Water - 25949.mp4',    
    path: 'uploads\\1656595077410_1575554425994_Water - 25949.mp4',
    size: 12536228
  }
  </code></pre>
  <p>any help will help me ty for helpers</p>