Tuesday 15 December 2020

How to combine video and audio through API or JS?

I am working to design a system which does the following:

  1. User uploads a video, JS code finds the length of the video.

  2. Performs HTTP calls to an already-existing service to retrieve an audio track of the same length.

  3. Synchronize and combine the audio and video (which are the exact same length). The best thing I could think to do is to play them both at the same time (entirely doable with HTML5), but I want to be able to have a user download a combined file, or be able to say... upload it to YouTube through their API.

I have been doing lots of googling, and so far have not found any services or code which might be able to do this.

I am familiar with JavaScript, Ruby on Rails, HTML, CSS, jQuery, and both AngularJS and Backbone.js. If a solution exists in one of those languages, or perhaps something I can access through HTTP, that would be wonderful.



from How to combine video and audio through API or JS?

No comments:

Post a Comment