Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mmahrous/thumbler
This package will extract thumbnail from video
https://github.com/mmahrous/thumbler
extract-thumbnail ffmpeg nodejs npm npm-package video
Last synced: 3 months ago
JSON representation
This package will extract thumbnail from video
- Host: GitHub
- URL: https://github.com/mmahrous/thumbler
- Owner: mmahrous
- License: mit
- Created: 2016-10-22T22:12:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-23T11:51:47.000Z (over 5 years ago)
- Last Synced: 2024-10-14T16:45:04.485Z (3 months ago)
- Topics: extract-thumbnail, ffmpeg, nodejs, npm, npm-package, video
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/thumbler
- Size: 6.84 KB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Thumbler
This package will extract thumbnail from video and images.## Video
Specify a time that you want the thumbnail to use it.### Example
```javascript
const Thumbler = require('thumbler');Thumbler({
type: 'video',
input: 'input.mp4',
output: 'output.jpeg',
time: '00:00:22',
size: '300x200' // this optional if null will use the desimention of the video
}, function(err, path){
if (err) return err;
return path;
});
```
## Image
Specify a time that you want the thumbnail to use it.### Example
```javascript
const Thumbler = require('thumbler');Thumbler({
type: 'image',
input: 'input.jpg',
output: 'output.jpeg',
size: '300x200' // this optional if null will use the desimention of the video
}, function(err, path){
if (err) return err;
return path;
});
```
#### License
Licensed under MIT#### Author
M. Mahrous
Feel free to contact me [M. Mahrous](mailto:[email protected]) and improve the code.