hey guys, i'm an absolute novice to raspberry pi's and the last week has been a bit of a rollercoaster for me. i'm doing a project in which ive set up the camera module to record 10 second videos when someone clicks the button and then it saves them to be MP4's. mind numbingly simple for most i assume but its been a lot of learning for myself.
my next step is that i want these videos to be automatically uploaded to youtube as soon as this has happened. Now ive had a look into this a bit and have started trying to use googles youtube data api. https://developers.google.com/youtube/v ... ng_a_video
ive tried to follow these steps but my understanding of code is a bit too basic to really understand what i'm doing.
this gentleman here gave a bit more detail and ive looked at both of the links he refers to and sort of get what is supposed to happen. http://www.nicksuch.com/2016/08/31/rasp ... -uploader/
my question now is: in as simple terms as possible what do i need to do now?
i have set up my project and api on google and have made the client_secrets.json folder and run the sample script and i receive this.
usage: api sample.py [--auth_host_name AUTH_HOST_NAME] [--noauth_local_webserver] [--auth_host_port [AUTH_HOST_PORT [AUTH_HOST_PORT ...]]] [--logging_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}] --file FILE [--title TITLE] [--description DESCRIPTION] [--category CATEGORY] [--keywords KEYWORDS] [--privacyStatus {public,private,unlisted}] api sample.py: error: argument --file is required
sorry if this is a stupid question or needs more info
thanks in advance!