个人工具

“UbuntuHelp:Forum/hardware/StreamMp3ToAirportExpressBaseStation”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/forum/hardware/StreamMp3ToAirportExpressBaseStation}} {{Languages|UbuntuHelp:forum/hardware/StreamMp3ToAirportExpressBaseStation}} == What is Just...)
 
第2行: 第2行:
 
{{Languages|UbuntuHelp:forum/hardware/StreamMp3ToAirportExpressBaseStation}}
 
{{Languages|UbuntuHelp:forum/hardware/StreamMp3ToAirportExpressBaseStation}}
 
== What is JustePort? ==
 
== What is JustePort? ==
 
 
It's pretty basic, you can stream  single mp3 files over your wireless or all the files in a given folder to your Airport Express base station (pretty basic AirTunes functionality).  
 
It's pretty basic, you can stream  single mp3 files over your wireless or all the files in a given folder to your Airport Express base station (pretty basic AirTunes functionality).  
 
 
=== How to install Justeport ===
 
=== How to install Justeport ===
* To install ''Justeport'' you need to install '''mono''' and '''mono-gmcs''' with your favorite package manager.
+
# To install ''Justeport'' you need to install '''mono''' and '''mono-gmcs''' with your favorite package manager.
 
+
2. Next you need to download JustePort.exe from [http://nanocr.eu/software/justeport/ JustePort].  
* Next you need to download JustePort.exe from [http://nanocr.eu/software/justeport/ JustePort].  
+
3. After downloading Justeport.exe you ned to copy Justeport.exe to /usr/bin by putting this in the terminal.
 
+
* After downloading Justeport.exe you ned to copy Justeport.exe to /usr/bin by putting this in the terminal.
+
 
<pre><nowiki>  
 
<pre><nowiki>  
 
sudo cp JustePort.exe /usr/bin/
 
sudo cp JustePort.exe /usr/bin/
 
</nowiki></pre>
 
</nowiki></pre>
 
+
4. Now you need to install '''lame''' (a free mp3 codec) from the Multiverse Repository if you don't already have it installed.
* Now you need to install '''lame''' (a free mp3 codec) from the Multiverse Repository if you don't already have it installed.
+
 
+
 
+
 
=== Streaming a single file ===
 
=== Streaming a single file ===
 
To steam a single file you need to enter this command in the terminal.
 
To steam a single file you need to enter this command in the terminal.
第24行: 第17行:
 
</nowiki></pre>
 
</nowiki></pre>
 
You will need to change the filename and IP address to match the mp3 file you are trying to play and the IP address of your Airport Express.
 
You will need to change the filename and IP address to match the mp3 file you are trying to play and the IP address of your Airport Express.
 
 
=== Streaming all mp3 in a certain folder ===
 
=== Streaming all mp3 in a certain folder ===
 
To stream all your mp3's in a certain folder you need to open up a terminal  navigate to the folder containing the mp3s, then enter this command
 
To stream all your mp3's in a certain folder you need to open up a terminal  navigate to the folder containing the mp3s, then enter this command
第30行: 第22行:
 
cat *.mp3 | lame --mp3input --decode - | JustePort.exe - 10.0.1.1
 
cat *.mp3 | lame --mp3input --decode - | JustePort.exe - 10.0.1.1
 
</nowiki></pre>
 
</nowiki></pre>
 
 
* Note: you can simplify it a little bit by making an alias (for example, "playall"). Again, in a terminal type:  
 
* Note: you can simplify it a little bit by making an alias (for example, "playall"). Again, in a terminal type:  
 
<pre><nowiki>
 
<pre><nowiki>
第36行: 第27行:
 
</nowiki></pre>  
 
</nowiki></pre>  
 
Now, to play all the mp3s in your current folder you just have to type playall.
 
Now, to play all the mp3s in your current folder you just have to type playall.
 
 
=== How to stream other audio formats ===
 
=== How to stream other audio formats ===
 
You can stream any audio format if you have the right tool. To stream ogg you'd put this in terminal   
 
You can stream any audio format if you have the right tool. To stream ogg you'd put this in terminal   
第42行: 第32行:
 
oggdec -Q -R -o - file.ogg | JustePort.exe - 10.0.1.1
 
oggdec -Q -R -o - file.ogg | JustePort.exe - 10.0.1.1
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Credits ===
 
=== Credits ===
 
All the credits go to Jon Lech Johansen, aka DVD Jon, who released ''JustePort'', a tool which lets you stream MPEG4 Apple Lossless files and RAW audio files to your AirPort Express. More info in his blog: [http://nanocr.eu/software/justeport/ justeport]. This is the only open source tool I've found to stream audio via wi-fi to the Airport Extreme base station.
 
All the credits go to Jon Lech Johansen, aka DVD Jon, who released ''JustePort'', a tool which lets you stream MPEG4 Apple Lossless files and RAW audio files to your AirPort Express. More info in his blog: [http://nanocr.eu/software/justeport/ justeport]. This is the only open source tool I've found to stream audio via wi-fi to the Airport Extreme base station.
 
 
 
-----
 
-----
 
[[category:CategoryDocumentation]]  
 
[[category:CategoryDocumentation]]  
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 17:19的版本

What is JustePort?

It's pretty basic, you can stream single mp3 files over your wireless or all the files in a given folder to your Airport Express base station (pretty basic AirTunes functionality).

How to install Justeport

  1. To install Justeport you need to install mono and mono-gmcs with your favorite package manager.

2. Next you need to download JustePort.exe from JustePort. 3. After downloading Justeport.exe you ned to copy Justeport.exe to /usr/bin by putting this in the terminal.

 
sudo cp JustePort.exe /usr/bin/

4. Now you need to install lame (a free mp3 codec) from the Multiverse Repository if you don't already have it installed.

Streaming a single file

To steam a single file you need to enter this command in the terminal.

lame --decode file.mp3 - | JustePort.exe - 10.0.1.1

You will need to change the filename and IP address to match the mp3 file you are trying to play and the IP address of your Airport Express.

Streaming all mp3 in a certain folder

To stream all your mp3's in a certain folder you need to open up a terminal navigate to the folder containing the mp3s, then enter this command

 
cat *.mp3 | lame --mp3input --decode - | JustePort.exe - 10.0.1.1
  • Note: you can simplify it a little bit by making an alias (for example, "playall"). Again, in a terminal type:
alias playall="cat *.mp3 | lame --mp3input --decode - | JustePort.exe - 10.0.1.1"

Now, to play all the mp3s in your current folder you just have to type playall.

How to stream other audio formats

You can stream any audio format if you have the right tool. To stream ogg you'd put this in terminal

oggdec -Q -R -o - file.ogg | JustePort.exe - 10.0.1.1

Credits

All the credits go to Jon Lech Johansen, aka DVD Jon, who released JustePort, a tool which lets you stream MPEG4 Apple Lossless files and RAW audio files to your AirPort Express. More info in his blog: justeport. This is the only open source tool I've found to stream audio via wi-fi to the Airport Extreme base station.