用法:
格式 | 功能 |
---|---|
vlc [選項(xiàng)] [流] ... | 您可以在命令行中指定多個(gè)流奈附。它們將會(huì)被加入到播放列表隊(duì)列中。指定的首個(gè)項(xiàng)目將被首先播放用僧。 |
選項(xiàng)樣式:
--option 用于設(shè)置程序執(zhí)行期間的全局選項(xiàng)。
-option 單符號版本的全局選項(xiàng) --option。
:option 一個(gè)僅在流之前應(yīng)用的選項(xiàng)朵栖,且將覆蓋之前的設(shè)置。
流 MRL 語法:
[[access][/demux]://]URL[#[title][:chapter][-[title][:chapter]]]
[:option=value ...]
許多全局 --options 也可被用作 MRL 特定的 :options柴梆。
可指定多對 :option=value陨溅。
URL 語法:
格式 | 說明 |
---|---|
file:///路徑/文件 | 純媒體文件 |
http://主機(jī)[:端口]/文件 | HTTP URL |
ftp://主機(jī)[:端口]/文件 | FTP URL |
mms://主機(jī)[:端口]/文件 | MMS URL |
screen:// | 屏幕捕獲 |
dvd://[設(shè)備] | DVD 設(shè)備 |
vcd://[設(shè)備] | VCD 設(shè)備 |
cdda://[設(shè)備] | 音頻 CD 設(shè)備 |
udp://[[<源地址>]@[<綁定地址>][:<綁定端口>]] | 流服務(wù)器發(fā)送的 UDP 流 |
vlc://暫停:<秒數(shù)> | 暫停播放列表一定時(shí)間 |
vlc://退出 | 指定退出 VLC 的項(xiàng) |
使用 --list 或 --list-verbose 來列出可用模塊。
音頻
參數(shù) | 功能 |
---|---|
--audio, --no-audio | 開啟音頻 (默認(rèn)開啟) |
--spdif, --no-spdif | 在可能時(shí)使用 S/PDIF (默認(rèn)關(guān)閉) |
--force-dolby-surround {0 (自動(dòng)), 1 (開), 2 (關(guān))} | 強(qiáng)制檢測杜比環(huán)繞聲 |
--audio-replay-gain-mode {none,track,album} | 回放增益模式 |
--audio-replay-gain-preamp <浮點(diǎn)> | 回放預(yù)放大 |
--audio-replay-gain-default <浮點(diǎn)> | 默認(rèn)回放增益 |
--audio-time-stretch, --no-audio-time-stretch | 啟用音頻時(shí)間拉伸 (默認(rèn)開啟) |
--audio-filter <字串> | 音頻濾鏡 |
--audio-visual <字串> | 音頻可視化效果 |
視頻
參數(shù) | 功能 |
---|---|
-f, --fullscreen, --no-fullscreen | 全屏幕視頻輸出 (默認(rèn)關(guān)閉) |
--overlay, --no-overlay | 覆蓋視頻輸出 (默認(rèn)開啟) |
--video-on-top, --no-video-on-top | 總在最前 (默認(rèn)關(guān)閉) |
--video-wallpaper, --no-video-wallpaper | 開啟壁紙模式 (默認(rèn)關(guān)閉) |
--video-title-show, --no-video-title-show | 在視頻上顯示媒體標(biāo)題 (默認(rèn)開啟) |
--video-title-timeout <整數(shù) [-2147483648 .. 2147483647]> | 顯示視頻標(biāo)題 x 毫秒 |
--video-title-position {0 (居中), 1 (左), 2 (右), 4 (上), 8 (下), 5 (左上), 6 (右上), 9 (左下), 10 (右下)} | 視頻標(biāo)題的位置 |
--mouse-hide-timeout <整數(shù) [-2147483648 .. 2147483647]> | 在 x 毫秒后隱藏光標(biāo)和全屏控制器 |
截圖:
參數(shù) | 功能 |
---|---|
--snapshot-path <字串> | 視頻截圖目錄 (或文件名) |
--snapshot-prefix <字串> | 視頻截圖文件前綴 |
--snapshot-format {png,jpg,tiff} | 視頻截圖格式 |
--snapshot-preview, --no-snapshot-preview | 顯示視頻截圖預(yù)覽 (默認(rèn)開啟) |
--snapshot-sequential, --no-snapshot-sequential | 使用順序編號代替時(shí)間戳(默認(rèn)關(guān)閉) |
窗口屬性:
參數(shù) | 功能 |
---|---|
--crop <字串> | 視頻裁剪 |
--custom-crop-ratios <字串> | 自定義裁剪比列表 |
--aspect-ratio <字串> | 源高寬比 |
--autoscale, --no-autoscale | 視頻自動(dòng)縮放 (默認(rèn)開啟) |
--scale <浮點(diǎn)> | 視頻縮放因數(shù) |
--custom-aspect-ratios <字串> | 自定義高寬比列表 |
--deinterlace {0 (關(guān)), -1 (自動(dòng)), 1 (開)} | 反交錯(cuò) |
--deinterlace-mode {discard,blend,mean,bob,linear,x,yadif,yadif2x,phosphor,ivtc} | 反交錯(cuò)模式 |
--video-filter <字串> | 視頻濾鏡模塊 |
--video-splitter <字串> | 視頻分離器模塊 |
子畫面
屏幕顯示:
--osd, --no-osd 屏幕顯示 (默認(rèn)開啟)
字幕:
--sub-file <字串> 使用字幕文件
--sub-autodetect-file, --no-sub-autodetect-file 自動(dòng)檢測字幕文件 (默認(rèn)開啟)
覆蓋:
--sub-source <字串> 子畫面來源模塊
--sub-filter <字串> 子畫面濾鏡模塊
軌道設(shè)置:
--audio-language <字串> 音頻語言
--sub-language <字串> 字幕語言
--preferred-resolution {
-1 (最佳可用),
1080 (Full HD (1080p)),
720 (HD (720p)),
576 (標(biāo)清 (576 或 480 行)),
360 (低清晰度 (360 行)),
240 (極低清晰度 (240 行))} 首選視頻分辨率
播放控制:
--input-repeat <整數(shù) [-2147483648 .. 2147483647]> 輸入重復(fù)
--input-fast-seek, --no-input-fast-seek 快速尋找 (默認(rèn)關(guān)閉)
--rate <浮點(diǎn)> 回放速度
默認(rèn)設(shè)備:
--dvd <字串> DVD 設(shè)備
--vcd <字串> VCD 設(shè)備
--cd-audio <字串> 音頻 CD 設(shè)備
高級:
--input-title-format <字串> 根據(jù)當(dāng)前媒體更改標(biāo)題
輸入
--stream-filter <字串> 串流濾鏡模塊
播放列表
性能選項(xiàng):
參數(shù) | 功能 |
---|---|
-Z, --random, --no-random | 永遠(yuǎn)隨機(jī)播放文件 (默認(rèn)關(guān)閉) |
-L, --loop, --no-loop | 全部重復(fù) (默認(rèn)關(guān)閉) |
-R, --repeat, --no-repeat | 重復(fù)當(dāng)前的項(xiàng)目 (默認(rèn)關(guān)閉) |
--play-and-exit, --no-play-and-exit | 播放并退出 (默認(rèn)關(guān)閉) |
--play-and-stop, --no-play-and-stop | 播放與停止 (默認(rèn)關(guān)閉) |
--playlist-autostart, --no-playlist-autostart | 自動(dòng)啟動(dòng) (默認(rèn)開啟) |
--playlist-cork, --no-playlist-cork | 音頻通信時(shí)暫停 (默認(rèn)開啟) |
--media-library, --no-media-library | 使用媒體庫 (默認(rèn)關(guān)閉) |
--playlist-tree, --no-playlist-tree | 顯示播放列表樹 (默認(rèn)關(guān)閉) |
--open <字串> | 默認(rèn)流 |
--auto-preparse, --no-auto-preparse | 自動(dòng)預(yù)分析文件 (默認(rèn)開啟) |
--album-art | {0 (僅手動(dòng)下載), 1 (在軌道開始播放時(shí)), 2 (在軌道被添加后)} 輯封面策略 |
-v, --verbose <整數(shù) [-2147483648 .. 2147483647]> | 提示程度 (0,1,2) |
-q, --quiet, --no-quiet | 安靜 (默認(rèn)關(guān)閉) |
--pidfile <字串> | 寫入進(jìn)程 id 到文件中 |
--advanced, --no-advanced | 顯示高級選項(xiàng) (默認(rèn)關(guān)閉) |
--interact, --no-interact | 界面交互 (默認(rèn)開啟) |
-I, --intf <字串> | 界面模塊 |
--extraintf <字串> | 擴(kuò)展界面模塊 |
--control <字串> | 控制界面 |
熱鍵
--hotkeys-mousewheel-mode {2 (忽略), 0 (音頻控制), 1 (位置控制)}
鼠標(biāo)滾輪縱軸控制
參數(shù) | 功能 |
---|---|
--global-key-toggle-fullscreen <字串> | 全屏幕 |
--key-toggle-fullscreen <字串> | 全屏幕 |
--global-key-leave-fullscreen <字串> | 退出全屏 |
--key-leave-fullscreen <字串> | 退出全屏 |
--global-key-play-pause <字串> | 播放/暫停 |
--key-play-pause <字串> | 播放/暫停 |
--global-key-faster <字串> | 較快 |
--key-faster <字串> | 較快 |
--global-key-slower <字串> | 較慢 |
--key-slower <字串> | 較慢 |
--global-key-rate-normal <字串> | 正常比率 |
--key-rate-normal <字串> | 正常比率 |
--global-key-rate-faster-fine <字串> | 較快 (好) |
--key-rate-faster-fine <字串> | 較快 (好) |
--global-key-rate-slower-fine <字串> | 較慢 (好) |
--key-rate-slower-fine <字串> | 較慢 (好) |
--global-key-next <字串> | 下一個(gè) |
--key-next <字串> | 下一個(gè) |
--global-key-prev <字串> | 上一個(gè) |
--key-prev <字串> | 上一個(gè) |
--global-key-stop <字串> | 停止 |
--key-stop <字串> | 停止 |
--global-key-jump-extrashort <字串> | 非常短的向后跳轉(zhuǎn) |
--key-jump-extrashort <字串> | 非常短的向后跳轉(zhuǎn) |
--global-key-jump+extrashort <字串> | 非常短的向前跳轉(zhuǎn) |
--key-jump+extrashort <字串> | 非常短的向前跳轉(zhuǎn) |
--global-key-jump-short <字串> | 短向后跳轉(zhuǎn) |
--key-jump-short <字串> | 短向后跳轉(zhuǎn) |
--global-key-jump+short <字串> | 短向前跳轉(zhuǎn) |
--key-jump+short <字串> | 短向前跳轉(zhuǎn) |
--global-key-jump-medium <字串> | 中向后跳轉(zhuǎn) |
--key-jump-medium <字串> | 中向后跳轉(zhuǎn) |
--global-key-jump+medium <字串> | 中向前跳轉(zhuǎn) |
--key-jump+medium <字串> | 中向前跳轉(zhuǎn) |
--global-key-jump-long <字串> | 長向后跳轉(zhuǎn) |
--key-jump-long <字串> | 長向后跳轉(zhuǎn) |
--global-key-jump+long <字串> | 長向前跳轉(zhuǎn) |
--key-jump+long <字串> | 長向前跳轉(zhuǎn) |
--global-key-frame-next <字串> | 下一幀 |
--key-frame-next <字串> | 下一幀 |
--global-key-quit <字串> | 退出 |
--key-quit <字串> | 退出 |
--global-key-vol-up <字串> | 音量上 |
--key-vol-up <字串> | 音量上 |
--global-key-vol-down <字串> | 音量下 |
--key-vol-down <字串> | 音量下 |
--global-key-vol-mute <字串> | 靜音 |
--key-vol-mute <字串> | 靜音 |
--global-key-audio-track <字串> | 切換音軌 |
--key-audio-track <字串> | 切換音軌 |
--global-key-audiodevice-cycle <字串> | 在音頻設(shè)備之間切換 |
--key-audiodevice-cycle <字串> | 在音頻設(shè)備之間切換 |
--global-key-subtitle-track <字串> | 切換字幕軌道 |
--key-subtitle-track <字串> | 切換字幕軌道 |
--global-key-program-sid-next <字串> | 遍歷下一節(jié)目服務(wù) ID |
--key-program-sid-next <字串> | 遍歷下一節(jié)目服務(wù) ID |
--global-key-program-sid-prev <字串> | 遍歷上一節(jié)目服務(wù) ID |
--key-program-sid-prev <字串> | 遍歷上一節(jié)目服務(wù) ID |
--global-key-aspect-ratio <字串> | 切換源高寬比 |
--key-aspect-ratio <字串> | 切換源高寬比 |
--global-key-crop <字串> | 切換視頻剪輯 |
--key-crop <字串> | 切換視頻剪輯 |
--global-key-toggle-autoscale <字串> | 打開或關(guān)閉自動(dòng)縮放 |
--key-toggle-autoscale <字串> | 打開或關(guān)閉自動(dòng)縮放 |
--global-key-incr-scalefactor <字串> | 增大縮放因數(shù) |
--key-incr-scalefactor <字串> | 增大縮放因數(shù) |
--global-key-decr-scalefactor <字串> | 減小縮放因數(shù) |
--key-decr-scalefactor <字串> | 減小縮放因數(shù) |
--global-key-deinterlace <字串> | 切換反交錯(cuò) |
--key-deinterlace <字串> | 切換反交錯(cuò) |
--global-key-deinterlace-mode <字串> | 切換反交錯(cuò)模式 |
--key-deinterlace-mode <字串> | 切換反交錯(cuò)模式 |
--global-key-intf-show <字串> | 全屏?xí)r顯示控制器 |
--key-intf-show <字串> | 全屏?xí)r顯示控制器 |
--global-key-wallpaper <字串> | 在視頻輸出模式中切換壁紙輸出 |
--key-wallpaper <字串> | 在視頻輸出模式中切換壁紙輸出 |
--global-key-random <字串> | 隨機(jī)順序 |
--key-random <字串> | 隨機(jī)順序 |
--global-key-loop <字串> | 普通/重復(fù)/循環(huán) |
--key-loop <字串> | 普通/重復(fù)/循環(huán) |
縮放:
參數(shù) | 功能 |
---|---|
--global-key-zoom-quarter <字串> | 1:4 四分之一 |
--key-zoom-quarter <字串> | 1:4 四分之一 |
--global-key-zoom-half <字串> | 1:2 二分之一 |
--key-zoom-half <字串> | 1:2 二分之一 |
--global-key-zoom-original <字串> | 1:1 原始 |
--key-zoom-original <字串> | 1:1 原始 |
--global-key-zoom-double <字串> | 2:1 雙倍 |
--key-zoom-double <字串> | 2:1 雙倍 |
跳躍大小:
參數(shù) | 功能 |
---|---|
--extrashort-jump-size <整數(shù) [-2147483648 .. 2147483647]> | 非常短的跳轉(zhuǎn)長度 |
--short-jump-size <整數(shù) [-2147483648 .. 2147483647]> | 短跳轉(zhuǎn)長度 |
--medium-jump-size <整數(shù) [-2147483648 .. 2147483647]> | 中跳轉(zhuǎn)長度 |
--long-jump-size <整數(shù) [-2147483648 .. 2147483647]> | 長跳轉(zhuǎn)長度 |
--bookmark1 <字串> | 播放列表書簽 1 |
--bookmark2 <字串> | 播放列表書簽 2 |
--bookmark3 <字串> | 播放列表書簽 3 |
--bookmark4 <字串> | 播放列表書簽 4 |
--bookmark5 <字串> | 播放列表書簽 5 |
--bookmark6 <字串> | 播放列表書簽 6 |
--bookmark7 <字串> | 播放列表書簽 7 |
--bookmark8 <字串> | 播放列表書簽 8 |
--bookmark9 <字串> | 播放列表書簽 9 |
--bookmark10 <字串> | 播放列表書簽 10 |
-h, --help, --no-help | 打印 VLC 幫助 (可以和 --advanced 和 --help-verbose 一起使用) (默認(rèn)關(guān)閉) |
-H, --full-help, --no-full-help | VLC 和它模塊的全面幫助 (默認(rèn)關(guān)閉) |
--longhelp, --no-longhelp | 打印 VLC 和它全部模塊的幫助(可以和 --advanced 和 --help-verbose 一起使用) (默認(rèn)關(guān)閉) |
--help-verbose, --no-help-verbose | 在顯示幫助時(shí)詢問是否顯示額外的 ??釋 (默認(rèn)關(guān)閉) |
-l, --list, --no-list | 打印一份可用模塊的列表(默認(rèn)關(guān)閉) |
--list-verbose, --no-list-verbose | 打印一份帶詳細(xì)信息的可用模塊列?? (默認(rèn)關(guān)閉) |
-p, --module <字串> | 輸出關(guān)于指定模塊的幫助 (可以和 --advanced 和 --help-verbose 一起使用)绍在。在模塊名前面加 =可嚴(yán)格匹配门扇。 |
--ignore-config, --no-ignore-config | 沒有設(shè)置選項(xiàng)將會(huì)被載入或被保存??設(shè)置文件中 (默認(rèn)開啟) |
--reset-config, --no-reset-config | 重置當(dāng)前的設(shè)置為默認(rèn)值(默認(rèn)關(guān)閉) |
--reset-plugins-cache, --no-reset-plugins-cache | 重置當(dāng)前插件的緩存默認(rèn)關(guān)閉) |
--version, --no-version | 打印版本信息 (默認(rèn)關(guān)閉) |
--config <字串> | 使用可替換的設(shè)置文件 |
說明: add -- 查看您命令行的高級選項(xiàng)。