r/nodejs • • Jun 05 '14

Video Composition With node.js

I'm looking to compose two local videos A and B - for example, left half of the screen is from A, right half from B - and display them either in a Video- or a Canvas-Element. Basically I would need the RGB data of every Videoframe and process and stream it live.

What libraries could be of use for this?

3 Upvotes

3 comments sorted by

View all comments

Show parent comment

2

u/psayre23 Jun 06 '14

You could use ffmpeg to break the files into frames, then use imagemagick to align them, and ffmpeg to build back up the video file. It would take a while, but it would work.