Quantcast
Channel: Linux运维网 » Linux
Viewing all articles
Browse latest Browse all 8

Linux 下将mp3转成ogg

$
0
0

安装mpg321工具

[root@localhost pygame]# yum -y install mpg321

转换命令:

[root@localhost sound]# mpg321 he_is_a_pirate.mp3 -w raw && oggenc raw -o he_is_a_pirate.ogg && rm -rf raw
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.2.13-2 (2011/03/27). Written and copyrights by Joe Drew,
now maintained by Nanakos Chrysostomos and others.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title	: He is a Pirate                 Artist : Klaus Badelt, Amel            
Album	: Pirates of the Caribbean       Year	 : 2935
Comment : CopyRight                      Genre : SoundtrackSoundtrack          

Playing MPEG stream from he_is_a_pirate.mp3 ...
MPEG 1.0 layer III, 320 kbit/s, 44100 Hz joint-stereo

[2:39] Decoding of he_is_a_pirate.mp3 finished.
Opening with wav module: WAV file reader                                    
Encoding "raw" to 
         "he_is_a_pirate.ogg" 
at quality 3.00
	[ 99.6%] [ 0m00s remaining] \ 

Done encoding file "he_is_a_pirate.ogg"

	File length:  2m 39.0s
	Elapsed time: 0m 08.3s
	Rate:         19.1794
	Average bitrate: 114.1 kb/s


声明: 本文采用 BY-NC-SA 协议进行授权 | Linux运维网
转载请注明转自《Linux 下将mp3转成ogg


Viewing all articles
Browse latest Browse all 8

Trending Articles