tokland / youtube-upload

Upload videos to Youtube from the command line
2.06k stars 464 forks source link

Extension of the request for editor settings like autoLevels and notifySubscribers #213

Open net-attack opened 6 years ago

net-attack commented 6 years ago

I found this document here which says that is should be possible to add additional flags like autoLevels and stabilization. Is it possible to insert some code in the main request body to set actions like stabilize after upload? I tried a lot, but nothing works right now.

Current request body: request_body = { "snippet": { "title": complete_title, "description": description, "categoryId": category_id, "tags": tags, "defaultLanguage": options.default_language, "defaultAudioLanguage": options.default_audio_language, }, "status": { "privacyStatus": ("private" if options.publish_at else options.privacy), "publishAt": options.publish_at, }, "recordingDetails": { "location": lib.string_to_dict(options.location), "recordingDate": options.recording_date, }, "stabilize": True, } Whould be a great feature because then i would like to add a automaticall script for video stabilization in youtube via uploading, stabilize and downloading. ( iMovie -like stabilization for free)

net-attack commented 6 years ago

Found something:

"editorSuggestions": [ "videoStabilize" ] Tested it but not working.... here

kootsoop commented 4 years ago

@net-attack Looks like it needs to be inside a suggestions object. I've added this to the enhancement label, so we'll see if it can be added.

kootsoop commented 4 years ago

Oops! Didn't mean to close it!