Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I want to upload to Youtube without having to use the web interface in order to automate some things. Is there a way to upload from the command line in OSX?

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

You could give this open source project a try http://code.google.com/p/youtube-upload/

Youtube-upload is a command-line script that uploads videos to Youtube. If a video does not comply with Youtube limitations (<2Gb and <15'), it will be automatically splitted before uploading.

Youtube-upload should work on any platform (GNU/Linux, BSD, OS X, Windows, ...) that runs Python and FFmpeg (see the dependecies section). You won't need FFmpeg if the video does not need splitting.

share|improve this answer
    
When I try to run the install script I get an error saying No module named gdata.media. –  z-buffer Feb 5 '11 at 10:56
    
@z-buffer - I'm afraid I didn't write this software nor do I have a Mac so I can't test it either. I would suggest that you contact the person who created the software with any issues. Thanks –  Barry Feb 5 '11 at 11:06
    
@z-buffer You will need to install the Google Data APIs Python Client Library. –  Hydra Feb 17 '13 at 6:58
add comment

Use GoogleCL, the universal Google command line client. It's implemented in Python and therefore cross-platform. Unlike youtube-upload it uses proper OAuth2 authentication, so you're not typing in or sending your Google account password in plain text.

Install via pip:

pip install googlecl

Uploading a video is as simple as:

google youtube post --category Education killer_robots.avi
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.