1.0.1 • Published 3 years ago
take_video_screenshot v1.0.1
Taking video screenshot
Please download FFMPEG and set it global variable https://windowsloop.com/install-ffmpeg-windows-10/
If you are linux users please install FFMPEG globally from below link and please don’t use above two line in this case
https://linuxize.com/post/how-to-install-ffmpeg-on-ubuntu-18-04/
Please call this function takeVideoScreenShot(filePathData = __dirname + '/test.avi', uploadLocation = 'uploadfolder', timerInSecond = '5', fileName = 'screenhot.jpg', width ='500', height ='400', numberofScreenShot = 1)
filePathData - Location of file for screenshot
uploadLocation - Location to upload screenshot file
timerInSecond - Time to take screenshot
fileName - Screenshot filename
width - Width of screenshot file
height - Height of screenshot file