命令列參數與設定檔編輯
運行參數
以下所有參數為可選參數
file單一檔案模式 file為檔案路徑-b--backend-hosting後台託管模式,依據當前雲端配置選擇是每天指定運行時間或休眠指定分鐘後運行-cli開啟命令列模式-login u=xxx,p=xxx登錄,首次輸入後續可自動登入-g調試模式-t名稱擷取模式-s為輸出目錄下無字幕影片新增字幕-o其他模式-cc--cloud-config-instance雲端配置實例選擇,預設Default,如選擇名為test1的雲端配置實例--cloud-config-instance "test1"或- cc "test1"-lc--local-config-file本機設定文件,預設mdc.ini,如選擇名為mdc_test.ini的本機設定檔--local-config-file "mdc_test.ini "或-lc "mdc_test.ini"-C本機設定檔覆蓋模式,僅限於覆寫客戶端本機配置,如輸入輸出目錄配置,多個配置使用;分隔,實例如下
./MDC -cli -C "common:source_folders=['/a/video1'];common:success_folder=/a/output2"
配置文件
程式首次運作後,會在使用者家目錄下產生.mdc/mdc.ini文件 然後編輯.mdc/mdc.ini配置文件
[proxy]
switch = 0
type = http
proxy = localhost
port = 1080
switch
代理開關 0關1開
type
代理类型 http socks5 socks5h
proxy
代理地址 localhost 192.168.x.x
port
代理端口
[common]
language =
sync_time =
source_folders =
success_folder =
language
程式語言 預設空為eng 可選chs簡體中文 cht繁體中文
source_folders
輸入目錄 該值請輸入為清單 實例如下 請勿重複輸入
[common]
source_folders = ['C:/Users/Administrator/video1']
source_folders = ['/home/test/video1', '/home/test/video2']
success_folder
成功輸出目錄 直接輸入目錄路徑 實例如下
[common]
success_folder = /home/test/output
cloud_config_instance
選擇一般電影雲端配置實例,預設為Default,如自訂請填入新配置實例名稱 如果實例名稱不存在,則會使用Default
[common]
cloud_config_instance = Default
cloud_config_instance_other
選擇其他電影雲端配置實例,預設為Default,如自訂請填入新配置實例名稱 如果實例名稱不存在,則會使用Default
[common]
cloud_config_instance_other = Default
subs
[subs]
switch = 0
刮削時自動新增外掛字幕文件
- 0關 1開
[subs]
subs_folder = /home/test/subs
一般影片外掛字幕目錄
user_token
[user_token]
token =
使用者登入令牌
- 首次登入後產生 用於自動登入 每台裝置的令牌都獨一無二
- 請勿複製並更改
other
[other]
switch = 0
其他模式
- 0關 1開
單一檔案模式
可拖曳一個影片檔案到程式圖示運行 終端機中請輸入./MDC xxxxx.mp4 若要處理其他影片 請先在GUI中開啟其他模式,或在設定檔中開啟,或附上-r參數