Streaming RTP from PC to Barix Devices
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.
Barix offers several tools for streaming RTP.
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: Downloads:Software tools Read the User Manual for further instructions to use.
MP32RTP
Is a command-line tool for Linux distributed under GPL. Can be downloaded from Barix Website: 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
Using FFmpeg
Sometimes it is necessary to re-encode the media file or convert from a different file before sending via RTP.
The program 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 - | \ mp32rtp -i IPADDRESS -p PORT