TopGit tracks h2non/videoshow on GitHub as part of the Image Tools family. The project has 905 stars. Simple node.js utility to create video slideshows from images with optional audio and visual effects using ffmpeg
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Simple utility for node.js to create straightforward video slideshows based on images using ffmpeg, with additional features such as audio, subtitles and fade in/out transitions between slides.
To getting started you can take a look to the examples, programmatic API and command-line interface
videoshow is used in production rendering thousands of videos per month.
Click on the image to see an example video generated by videoshow:
Requirements
ffmpeg with additional compilation flags --enable-libass --enable-libmp3lame
You can download static builds of ffmpeg from here.
If you want to use videoshow in Heroku, you could use the ffmpeg2 buildpack
Installation
npm install videoshow
For command-line usage, install it as global package:
npm install -g videoshow
Usage
NOTE: images must all have the same dimensions.
Below you have an example script generating a video based on images and audio.
Take a look to the programmatic API and examples for more usage details.
var videoshow = require('videoshow')
var images = [
'step1.jpg',
'step2.jpg',
'step3.jpg',
'step4.jpg'
]
var videoOptions = {
fps: 25,
loop: 5, // seconds
transition: true,
transitionDuration: 1, // seconds
videoBitrate: 1024,
videoCodec: 'libx264',
size: '640x?',
audioBitrate: '128k',
audioChannels: 2,
format: 'mp4',
pixelFormat: 'yuv420p'
}
videoshow(images, videoOptions)
.audio('song.mp3')
.save('video.mp4')
.on('start', function (command) {
console.log('ffmpeg process started:', command)
})
.on('error', function (err, stdout, stderr) {
console.error('Error:', err)
console.error('ffmpeg stderr:', stderr)
})
.on('end', function (output) {
console.error('Video created in:', output)
})
Command-line interface
$ videoshow --help
Create video slideshow easily from images
Usage: bin/videoshow [options]
Options:
--help, -h Show help
--config, -c File path to JSON config file [required]
--audio, -a Optional audio file path
--subtitles, -s Path to .srt subtitles file
--input, -i Add additional input to video
--output, -o Output video file path
--size, -x Video size resolution
--logo, -l Path to logo image
--debug, -d Enable debug mode in error case
Examples:
bin/videoshow -c config.json video.mp4
bin/videoshow -c config.json --audio song.mp3 video.mp4
bin/videoshow -c config.json --audio song.mp3 --logo logo.png video.mp4
Videoshow constructor. You should pass an array<string> or array<object> or array<ReadableStream> with the desired images,
and optionally passing the video render options object per each image.
Image formats supported are: jpg, png or bmp.
videoshow([ 'image1.jpg', 'image2.jpg', 'image3.jpg'])
.save('video.mp4')
.on('error', function () {})
.on('end', function () {})
images param could be a collection as well:
videoshow([{
path: 'image1.jpg',
caption: 'Hello world as video subtitle'
}, {
path: 'image2.jpg',
caption: 'This is a sample subtitle',
loop: 10 // long caption
}])
.save('video.mp4')
.on('error', function () {})
.on('end', function () {})
Video options
You can define as option any method name allowed by fluent-ffmpeg
The most recent commit recorded on h2non/videoshow was 7 months ago, based on the GitHub push timestamp. The repository has 157 forks — one of the better signals of community interest.
How does h2non/videoshow compare to other Image Tools projects?
h2non/videoshow is tracked by TopGit in the Image Tools category, with 905 GitHub stars and written in JavaScript. Browse the Image Tools topic page on TopGit to compare it against similar projects by stars and activity.
How many stars does h2non/videoshow have?
h2non/videoshow has 905 GitHub stars — refresh the page for the live number, or check github.com/h2non/videoshow. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What is h2non/videoshow?
h2non/videoshow (h2non/videoshow) is a JavaScript project on GitHub. From the project's own README: Simple node.js utility to create video slideshows from images with optional audio and visual effects using ffmpeg
What language is h2non/videoshow written in?
h2non/videoshow is written primarily in JavaScript. GitHub's language field is based on the largest share of bytes in the default branch.
What topics is h2non/videoshow associated with?
GitHub's repository topics for h2non/videoshow: "ffmpeg", "images", "mp3", "music", "presentation", "rendering", "slideshow", "subtitle", "video". TopGit's editorial category is Image Tools.
Why is h2non/videoshow categorized under Image Tools?
TopGit places h2non/videoshow in the Image Tools category based on its GitHub topics and description (tagged: "ffmpeg", "images", "mp3"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Still deciding about videoshow?
One click hands the question to an AI along with this page — see what it says about videoshow.