Youtube experts (developer types) needed!

Soldato
Joined
18 Oct 2002
Posts
5,586
Location
Stone, Staffordshire
Can't find a web resource to help me with this so thought I'd try the great OcUK peeps.

I would like to know whether this is a program that I can run, either on my web server or home server that could monitor a directory for new files being created with a wmv extension.

Once it detects the file has been created it waits 2 mins and then sends it to my Youtube account for conversion and publishing?

Any ideas?
 
What kind of server do you run? If it's a *nix one, then you could simply set up a cron job to do something like the following (assuming publish_to_youtube is a program/script that publishes the video);
for files in *.wmv; do publish_to_youtube $files; done
I assume you can do something similar in Windows using the task scheduler.
 
depends how you script it, you can have it for every new file uploaded or you can have it batched over time.

but tell me, why would you want movies to be uploaded to your server before youtube when you can simply upload straight to youtube?
 
See thread http://forums.overclockers.co.uk/showthread.php?t=17840231

As part of the implementation I have videos automatically captured when motion is detected and uploaded to my web host so that I can see them from anywhere on the internet.

If they're going straight to youtube then yes I could save them being uploaded to my webspace but again need an automatic method for uploading them once they are created.
 
well you can write a script to load on close of the recorder software to load up the youtube upload page and (provided you have it set to auto login) have it automatically enter the destination url of your new file and then submit it. I do believe you do not need a special software, windows should provide you with this unless you want to make a command file.
 
You might want to check out a library called PHPTube, it provides an API for uploading and downloading vidoes from youtube.
 
well you can write a script to load on close of the recorder software to load up the youtube upload page and (provided you have it set to auto login) have it automatically enter the destination url of your new file and then submit it. I do believe you do not need a special software, windows should provide you with this unless you want to make a command file.

The software stays open all the time and I don't see a way of triggering an event after a recording. All it currently does is fire an e-mail with the wmv and a jpg snapshot and then it uploads the wmv via ftp
 
Back
Top Bottom