vidmerger instructions
- Set your GOOGLE_APPLICATION_CREDENTIALS environment variable to the file path of
Vidmerger-af716ef2ceaf.json
- cd into root directory and run
npm install
- run
node server.js
and you should see the message Running vidmerger! - make a post request to
127.0.0.1:3000/merge
withapplication/json
formatted post data with links specified as so:
{
"remote": 1, (to create a remote file and link, otherwise don't include this field)
"token": "secret123",
"links": [
"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4",
"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4",
"etc..."
]
}
- After your request returns, the link will be under the 'link' field in the response body.