投げ銭

★当サイトへの投げ銭(PayPal)★

LINK


(無償、寄付歓迎) logo
世界中で使われるISO標準オフィスソフト(MSオフィス互換)

★LibreOfficeの導入事例★
詳細について

人気の投稿(1ヶ月間)

Ad

Ad

投げ銭

★当サイトへの投げ銭(PayPal)★

2017年2月25日土曜日

【Linux CentOS7】YUMでnuxから導入:音楽CDをリッピングしMP3形式やOGG形式で保存できるようにする方法について【Asunder CD Ripper】

CentOS 7のGUI上で、音楽CDをリッピングし、MP3やOGG形式で保存できるようにする。

そのために、asunderというリッピングソフトウェアと、
lameというMP3エンコーダーをインストールした。


<利用できるエンコードについて>
asunderというソフトウェアでは、デフォルトでOGGとFLACが利用可能になっていた。
追加ソフトウェアで、MP3以外にも種々のエンコードを使用可能である。
WAV生形式(圧縮なし)も可能である。

(例)
1、OGG Vorbis(ロス有)
2、FLAC(ロス無し)

---以下、追加エンコーダーが必要---
3、MP3(ロス有)…導入方法は下記
4、OPUS(ロス有)
5、WavPack
6、MusePack(ロス有)
7、Monkey's Audio(ロス無し)
8、AAC(ロス有)


<OGG形式がMP3よりも優れている点>

1、圧縮率が高いので音楽ファイルのサイズがより小さくなる。
2、フリーで使える。
3、必要に応じてビットレートが変わり効率が良い。(無音ではサイズが極限に小さい)
4、asunderでデフォルトで使用できる。


<導入方法について>

□導入先のシステムのバージョンを表示した。

CentOS 7 で、Gnomeや、MATEなどのデスクトップ環境が使えるようになっている。

# uname -a
Linux localhost.localdomain 3.10.0-514.6.1.el7.x86_64 #1 SMP Wed Jan 18 13:06:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

■リポジトリを追加した。

必要なソフトウェアは、Nux-Desktopというリポジトリにあるので追加した。

# yum install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm


□ソフトウェア情報を表示した。

# yum info asunder
読み込んだプラグイン:fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Determining fastest mirrors
 * base: www.ftp.ne.jp
 * epel: ftp.riken.jp
 * extras: www.ftp.ne.jp
 * nux-dextop: mirror.li.nux.ro
 * updates: www.ftp.ne.jp
利用可能なパッケージ
名前                : asunder
アーキテクチャー    : x86_64
バージョン          : 2.8
リリース            : 1.el7.nux
容量                : 166 k
リポジトリー        : nux-dextop/x86_64
要約                : A graphical Audio CD ripper and encoder
URL                 : http://littlesvr.ca/asunder
ライセンス          : GPLv2
説明                : It allows to save tracks from an Audio CD as WAV, OGG,
                    : FLAC, Wavpack and/or MP3, Monkey's Audio, Musepack, AAC
                    : (using third-party software).

□ソフトウェア本体のインストールを行った。

# yum install asunder
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ asunder.x86_64 0:2.8-1.el7.nux を インストール
--> 依存性の処理をしています: flac のパッケージ: asunder-2.8-1.el7.nux.x86_64
--> 依存性の処理をしています: libcddb.so.2()(64bit) のパッケージ: asunder-2.8-1.el7.nux.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ flac.x86_64 0:1.3.0-5.el7_1 を インストール
---> パッケージ libcddb.x86_64 0:1.3.2-12.el7.nux を インストール
--> 依存性解決を終了しました。
依存性を解決しました
================================================================================
 Package        アーキテクチャー
                              バージョン                リポジトリー       容量
================================================================================
インストール中:
 asunder        x86_64        2.8-1.el7.nux             nux-dextop        166 k
依存性関連でのインストールをします:
 flac           x86_64        1.3.0-5.el7_1             base              566 k
 libcddb        x86_64        1.3.2-12.el7.nux          nux-dextop         71 k
トランザクションの要約
================================================================================
インストール  1 パッケージ (+2 個の依存関係のパッケージ)
総ダウンロード容量: 803 k
インストール容量: 2.3 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): libcddb-1.3.2-12.el7.nux.x86_64.rpm                 |  71 kB   00:01  
(2/3): asunder-2.8-1.el7.nux.x86_64.rpm                    | 166 kB   00:01  
(3/3): flac-1.3.0-5.el7_1.x86_64.rpm                       | 566 kB   00:02  
--------------------------------------------------------------------------------
合計                                               266 kB/s | 803 kB  00:03  
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : libcddb-1.3.2-12.el7.nux.x86_64                 1/3
  インストール中          : flac-1.3.0-5.el7_1.x86_64                       2/3
  インストール中          : asunder-2.8-1.el7.nux.x86_64                    3/3
  検証中                  : asunder-2.8-1.el7.nux.x86_64                    1/3
  検証中                  : flac-1.3.0-5.el7_1.x86_64                       2/3
  検証中                  : libcddb-1.3.2-12.el7.nux.x86_64                 3/3
インストール:
  asunder.x86_64 0:2.8-1.el7.nux                                              
依存性関連をインストールしました:
  flac.x86_64 0:1.3.0-5.el7_1         libcddb.x86_64 0:1.3.2-12.el7.nux      
完了しました!

以上で、リッピングソフトウェアが起動可能になる。
アプリケーションメニューから、「Asunder CD Ripper」をクリックすればよい。

MP3でエンコードしたい場合は、下記のソフトウェアを追加導入する必要があった。

□MP3エンコーダーの情報を表示した。

# yum info lame

利用可能なパッケージ
名前                : lame
アーキテクチャー    : x86_64
バージョン          : 3.99.5
リリース            : 2.el7
容量                : 128 k
リポジトリー        : nux-dextop/x86_64
要約                : Free MP3 audio compressor
URL                 : http://lame.sourceforge.net/
ライセンス          : GPLv2+
説明                : LAME is an open source MP3 encoder whose quality and speed
                    : matches commercial encoders. LAME handles MPEG1,2 and 2.5
                    : layer III encoding with both constant and variable
                    : bitrates.


■MP3エンコーダーをインストールした。

# yum install lame
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ lame.x86_64 0:3.99.5-2.el7 を インストール
--> 依存性の処理をしています: lame-libs = 3.99.5-2.el7 のパッケージ: lame-3.99.5-2.el7.x86_64
--> 依存性の処理をしています: libmp3lame.so.0()(64bit) のパッケージ: lame-3.99.5-2.el7.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ lame-libs.x86_64 0:3.99.5-2.el7 を インストール
--> 依存性解決を終了しました。
依存性を解決しました
================================================================================
 Package           アーキテクチャー
                                  バージョン           リポジトリー        容量
================================================================================
インストール中:
 lame              x86_64         3.99.5-2.el7         nux-dextop         128 k
依存性関連でのインストールをします:
 lame-libs         x86_64         3.99.5-2.el7         nux-dextop         339 k
トランザクションの要約
================================================================================
インストール  1 パッケージ (+1 個の依存関係のパッケージ)
総ダウンロード容量: 467 k
インストール容量: 1.6 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): lame-3.99.5-2.el7.x86_64.rpm                        | 128 kB   00:01  
(2/2): lame-libs-3.99.5-2.el7.x86_64.rpm                   | 339 kB   00:02  
--------------------------------------------------------------------------------
合計                                               189 kB/s | 467 kB  00:02  
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : lame-libs-3.99.5-2.el7.x86_64                   1/2
  インストール中          : lame-3.99.5-2.el7.x86_64                        2/2
  検証中                  : lame-3.99.5-2.el7.x86_64                        1/2
  検証中                  : lame-libs-3.99.5-2.el7.x86_64                   2/2
インストール:
  lame.x86_64 0:3.99.5-2.el7                                                  
依存性関連をインストールしました:
  lame-libs.x86_64 0:3.99.5-2.el7                                            
完了しました!


<参考>
・Asunder
< http://littlesvr.ca/asunder/index.php > 2017年2月25日

・Asunder : Linuxで使えるCDリッピングソフト
< http://note.kurodigi.com/linuxapp-asunder/ > 2017年2月25日

・Difference Between OGG and MP3
< http://www.differencebetween.net/technology/difference-between-ogg-and-mp3/ > 2017年2月25日

投げ銭

★当サイトへの投げ銭(PayPal)★

Ad

Ad