There are several bugs with this code. The native cacerts file, developerKey, and clientID are all issues. The java archives also packaged with matlab might also be at fault. I was able to successfully upload videos to matlab by doing the following:
2) I wrote a small script to upload videos:
uploadmovie(moviefile,mystr,mycategory) % uploadmovie % uploadmovie automatically uploads a game movie to youtube.
% HISTORY: % Version 1.0, 2011-10-21.. commandline_str = ['google youtube post ' ... '--category ' mycategory.... ' --summary "' mystr '"'... ' "' movie_file '"'];
This works very well. You have to do a few things. You still need to register your account to get a clientid and developerkey from google. Then enter put the clientid in your web browser. Google will ask you to confirm that this computer can remote access your google account. There a few more steps but it is pretty intuitive. Good luck! Let me know if this was helpful.