Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> Linux 教學

Linux 使用 mencoder 從影片擷取音訊(MP3)

編輯:Linux 教學

Windows 下常用轉檔軟體另存音訊,Linux 可用 mencoder 快速完成:

步驟

  1. 安裝 mencoder(以 Ubuntu 為例):
    sudo apt-get install mencoder
  2. 擷取音訊指令:
    mencoder -oac MP3lame -ovc copy -of rawaudio 影片檔案 -o 音訊檔案.mp3
    參數說明:
    • -oac MP3lame:音訊編碼用 LAME MP3。
    • -ovc copy:視訊串流直接複製(實際不處理視訊)。
    • -of rawaudio:輸出格式為原始音訊。
    • 影片檔案:來源影片路徑。
    • -o 音訊檔案.mp3:輸出 MP3 檔名。

輸出檔案即為 MP3 格式音訊,可直接播放或進一步編輯。

Copyright © Windows教程網 All Rights Reserved