Search This Blog

Thursday, October 15, 2009

VLC, Lua, And Youtube RSS Feed

If you do not have Flashplayer, and you would like to watch youtube video,
you can use VLC and combine Lua to play the videos directly.

For example, in FreeBSD, compile VLC with Lua support. (You can find the script which extracts the direct video link in /usr/local/share/vlc/lua/playlist/youtube.lua)

Just open the youtube url under VLC, the script will do all the work for you.

http://gdata.youtube.com/feeds/api/videos?orderby=updated&vq=your_stuff
You can use the above link to retrieve the latest rss feed of your_stuff

Reference:
http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html
http://wiki.videolan.org/Documentation:Play_HowTo/Building_Lua_Playlist_Scripts
http://googlesystem.blogspot.com/2008/01/youtube-feeds.html

No comments: