Difference between revisions of "Streaming RTP from PC to Barix Devices"

 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Quite often there is a need to stream from a PC to Barix devices. The most convenient and most standard way is to use RTP.
Quite often there is a need to stream from a PC to Barix devices. As Barix devices use standard IP streaming protocols any third party SW can be used to achieve the goal. The most convenient and most standard way is to have MP3 audio streaming in RTP protocol.


Barix offers several tools for streaming RTP.


= MP3 RTP Streamer =
= MP3 RTP Streamer =
MP3 RTP Streamer is an interactive Java tool, that can run on Windows, Linux or MAC. You can download it from Barix Website:  
MP3 RTP Streamer is an interactive Java tool developed by Barix, that can run on Windows, Linux or MAC.  
[http://www.barix.com/downloads/Software_tools/221/ Downloads:Software tools]
 
You can download it from Barix Website:  
[http://www.barix.com/index.php?id=174]
Read the User Manual for further instructions to use.
Read the User Manual for further instructions to use.


= MP32RTP =
=VLC Media Player=
 
Is a command-line tool for Linux distributed under GPL. Can be downloaded from Barix Website:
[http://www.barix.com/downloads/Software_tools/221/ Downloads:Software tools]
 
MP32RTP parses an MP3 file on standard input and sends as RTP to a Barix Device specified by IP address a port.
Usage:


mp32rtp -i IP ADDRESS -p PORT < FILE.MP3
As alternate option the VLC Media player can be used. The VLC Media Player is freeware from the internet and allows to stream audio files, playlists and the PC audio inputs (e.g. line & microphone)
over network to other targets, e.g. to the Barix Exstreamer.


= Using FFmpeg =
Please check the Barix VLC Media Player - Howto [http://www.barix.com/downloads/]  for more details.  
Sometimes it is necessary to re-encode the media file or convert from a different file before sending via RTP.


The program [http://www.ffmpeg.org/ ffmpeg] is and option for such conversion. It has an option to send directly RTP frames, however this is not supported by Barix devices. To re-encode a file and stream via RTP use ffmpeg together with mp32rtp as follows:


ffmpeg -re -i FILE.MP3 -acodec libmp3lame -ab128k -ar 44100 -ac 2 -f mp3 - | \
Back to [[Main_Page#Software_Topics]]
mp32rtp -i IPADDRESS -p PORT

Latest revision as of 09:35, 13 June 2013

Quite often there is a need to stream from a PC to Barix devices. As Barix devices use standard IP streaming protocols any third party SW can be used to achieve the goal. The most convenient and most standard way is to have MP3 audio streaming in RTP protocol.


MP3 RTP Streamer

MP3 RTP Streamer is an interactive Java tool developed by Barix, that can run on Windows, Linux or MAC.

You can download it from Barix Website: [1] Read the User Manual for further instructions to use.

VLC Media Player

As alternate option the VLC Media player can be used. The VLC Media Player is freeware from the internet and allows to stream audio files, playlists and the PC audio inputs (e.g. line & microphone) over network to other targets, e.g. to the Barix Exstreamer.

Please check the Barix VLC Media Player - Howto [2] for more details.


Back to Main_Page#Software_Topics