Youtube Data API V3 Javascript - Upload audio and image as video -


i working on youtube data api v3 upload image , audio video image displayed video.

i can able upload videos given example.

i tried thumbnail: $('#file_image').val(), set video thumbnail. didn't work expected. search on internet idea. didn't idea.

uploadvideo.prototype.uploadfile = function(file) {   var metadata = {     snippet: {       title: $('#title').val(),       description: $('#description').text(),       tags: this.tags,       thumbnail: $('#file_image').val(),       categoryid: this.categoryid     }, 

is feature achievable using youtube data api? knew can upload image , audio works video in youtube (not through api).

youtube reference url

youtube data api reference

update:

using ffmpeg can able create video combining audio , image. created video uploaded youtube via youtube data api. works. trying automate following scenario using script.

upload image , audio. create video using ffmpeg. once video created, upload video using youtube data api.

i can able create video using ffmpeg commands in command line. when try use php code, command not executing.

you can use ffmpeg make slideshow. upload resulting video. https://trac.ffmpeg.org/wiki/create%20a%20video%20slideshow%20from%20images


Comments