3 # Make here all necessary imports required for API classes.
4 from api import avhandling
5 from api import file_transfer
8 # === FILE TRANSFER CONFIGURATIONS ===
9 # Path from the Web Server where the raw input video file is stored.
11 # Path from the Web Server where the output torrent files will be stored.
12 OUTPUT_TORRENTS_PATH = 'torrents'
13 # Path from the Web Server where the output thumbnail image files will be
15 OUTPUT_THUMBS_PATH = 'thumbs'
18 # === BITTORRENT CONFIGURATIONS ===
19 BT_TRACKER = "http://p2p-next-10.grid.pub.ro:6969/announce"
22 # === EXTERNAL PROGRAMS API CLASSES ===
23 # API class for a prgram which retrives audio/video information, like duration.
24 AVINFO_CLASS = avhandling.FFmpegAVInfo
25 # API class for a prgram which transcodes an audio/video file.
26 TRANSCODER_CLASS = avhandling.FFmpegTranscoder
27 # API class for a prgram which extracts thumbnail images from a file.
28 THUMB_EXTRACTOR_CLASS = avhandling.FFmpegThumbExtractor
29 # API class for a prgram which transfers files between Web Server and CIS.
30 FILE_TRANSFERER_CLASS = file_transfer.FTPFileTransferer
33 # === EXTERNAL PROGRAMS BINARY FILES
34 # Set this values to None if you want default values provided by the API
36 # Binary of a prgram which retrives audio/video information, like duration.
38 # Binary of a prgram which transcodes an audio/video file.
40 # Binary of a prgram which extracts thumbnail images from a file.
41 THUMB_EXTRACTOR_BIN = None
42 # Binary of a prgram which transfers files between Web Server and CIS.
43 FILE_TRANSFERER_BIN = None