Skip to content
/ youwot Public

🎥 🎞️ A Youtube Dubber and custom video maker made with Node.js 🖥️✨

Notifications You must be signed in to change notification settings

mster/youwot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouWot

Node.js video editor built to combine the video and audio sources of two different YouTube videos.

Usage

Import the package, and initialize the editor. This will build the necessary directories i

const youwot = require('../youwot')

var yw = youwot.create()

Then call the replaceAudioFromVideo function, which requires a valid video and audio id, as well as a callback function.

var videoId = 'Yy-hwVWAq_Q'
var audioId = 'dP9Wp6QVbsk'

yw.replaceAudioFromVideo(videoId, audioId, log)

A path variable, and error are passed to the callback. The path passed is the system path to the rendered file. The error value is null on successful edits.

function log(path, error){
    if(error) return console.error(`An error happened: ${error}`)
    console.log(`Task completed! New video path: ${path}`)
}

About

YouWot leans on the power of ffmpeg (required), and more specifically fluent-ffmpeg, to carry out the rendering involved with stripping, and merging media.

The package may include additions features in later releases.

About

🎥 🎞️ A Youtube Dubber and custom video maker made with Node.js 🖥️✨

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published