CIS: ftp transfer API implemented
[living-lab-site.git] / cis / cisd.py
1 #!/usr/bin/env python
2
3 import sys
4 import config
5
6
7 if __name__ == '__main__':
8 #    transcoder = config.TRANSCODER_CLASS(sys.argv[1])
9 #    transcoder.transcode('webm', "vorbis", "vp8", a_bitrate="128k", a_samplingrate=22050, a_channels=2, v_bitrate="256k", v_framerate=15, v_resolution="320x240", v_dar="4:3")
10     
11 #    thumb_extractor = config.THUMB_EXTRACTOR_CLASS(sys.argv[1])
12 #    #print thumb_extractor.get_video_duration()
13 #    #thumb_extractor.extract_random_thumb()
14 #    print thumb_extractor.extract_summary_thumbs(5)
15
16     file_transfer = config.FILE_TRANSFERER_CLASS()
17     file_transfer.get(['vim_config.tar.gz'])
18     file_transfer.close()