拒絕安裝 iTunes 和 QuickTime,直接提取 qaac 依賴

最近淺羽在大批量地把舊有的 MP3 格式歌曲替換爲無損。本來是在用 FLAC 的,但是爲了照顧 iTunes 的心情,最後還是決定統一換成 Apple Lossless,反正好多的 Hi-Res 也是 .m4a 的。Foobar2000 作爲 Windows 上最好的歌曲格式轉換 GUI,可以使用 qaac 或者 refalac 進行轉換。那麼淺羽就用 qaac 感覺比較好。

qaac 的項目主頁託管在 Google Sites 上。

首先需要下載 Foobar2000 免費編碼包,可以直接從官方網站下載最新的包;下載完成之後直接運行,選擇 Foobar2000 的安裝資料夾,安裝精靈會自動把編碼器放到 $FOO/$BAR/encoders 內,這樣 Foobar2000 就可以找得到了。

在 Foobar2000 中,選擇歌曲,在選單中點擊轉換,「Output Format」中可以直接選擇 Apple Lossless。不過直接這樣做會出錯的。

因爲缺少依賴所以出錯了

查看 qaac 的主頁,可以看到它是需要安裝 iTunes 或者 QuickTime Player 的;但是這兩樣東西都龐大而且平時不太用得上,畢竟不是 macOS 上不想用也要有一個 iTunes。所以直接下載 QuickTime Player for Windows 的安裝包,然後用 7-zip 解開;再解開 AppleApplicationSupport.msi,在內裏找到 qaac 依賴的 dll 並且放在與 qaac 同一個資料夾下就可以了。

依賴的 dll 有:

  • ASL.dll
  • CoreAudioToolbox.dll
  • CoreFoundation.dll
  • icudt46.dll(或者任意 icudt 開頭的 dll)
  • libdispatch.dll
  • libicuin.dll
  • libicuuc.dll
  • objc.dll
  • pthreadVC2.dll

現在再試,就可以正常地轉換 Apple Lossless 了。放到 iTunes 中,歌曲資料、專輯插圖等都不少。

最後,雖然存在一定的版權問題(也許?),懶人包給真的懶的乃們,可以透過櫻川存儲取得

Comments

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post’s permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post’s URL again. (Find out more about Webmentions.)