Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

134
Views
Screenshot of video file in Electron Angular project without ffmpeg

Within my Electron Angular project, I want to preview a video file which is stored locally on Windows / MacOS within a frame, like this:

enter image description here

On the left side, currently, there is a placeholder image. But i want to have a snapshot out of the video, it is not important at which position of the video this is taken.

Our attempt at the moment is to use fluent-ffmpeg library from npm:

var ffmpeg = require('fluent-ffmpeg');

let command = new ffmpeg({source: "MY_VIDEO_PATH"}).inputOptions('-protocol_whitelist file,http,https,tcp,tls,crypto')

command.takeScreenshots({
    count: 1,
    timemarks: ['5%'],
    filename: "MY_FILENAME"
}, "DESTINATION_FOLDER_PATH_FOR_THUMB");

It takes the screen after 5% of the video would have been played. However, this requires ffmpeg executable to be present, which actually costs more space for the application as we want to use.

So: Can i pick out a screenshot out of a video file without using additional executables like ffmpeg? If there are some suitable npm libaries, this would be also fine, as they are a lot smaller.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!