
我想將兩個視訊檔案合併為一個視訊檔案。 (無連接)
透過 vlc GUI,我可以實現以下目的:vlc 選單列 -> 媒體 -> 轉換/儲存 -> 顯示更多選項 -> 同步播放另一個媒體。
如何透過 CLI 執行此操作?
我並不是尋找這個解決方案https://superuser.com/a/537482因為我想要兩個獨立的視訊串流/視窗。
答案1
VLC GUI 實際上向您展示了 CLI 等效項!
當您選取「同步播放另一個媒體」並選擇媒體檔案時,上面的「選項」欄位將更新以包含等:input-slave=file:///Path/To/Media/file.ext
。
相同的命令列選項也記錄在VLC 命令列幫助和vlc -H
:
--input-slave=<string> Input slave (experimental) This allows you to play from several inputs at the same time. This feature is experimental, not all formats are supported. Use a '#' separated list of inputs.