Converter script from http://blog.oldcomputerjunk.net/2012/remastering-youtube-videos-into-avi-for-your-set-top-box