Media Broadcaster

From Iskomunidad

Description

a Rasperry Pi-based appliance that broadcasts video or audio via DILC servers.



Materials

A. Audio Streaming

  * Raspberry Pi (Model B)
    
  * SD Card with installed Raspbian "Wheezy" OS (Operating System)

         
  * USB Sound Card
    


  * Audio Computer Microphone
    
  * USB Micro Cable with Power Brick (5 Volts, 2 Amperes)
         
  * Ethernet Cable 
    

B. For Programming

  *PC Monitor 
  *USB Keyboard
  *USB Mouse
  *VGA to HDMI Cable or RCA Cable

Procedure

A. Installing and Running the Rasbian Wheezy OS (Operating System)

In order to have a Raspbian Wheezy OS, you must have a SD Card. First download and install on your Windows PC the Win32 Disk Imager.These will be use to write boot images to SD Card,making it bootable. Then download also the Wheezy zip file and then extract the file.Plug in the SD Card and write the disk image file using the installed win32 Disk Imager.Now your SD Card is already installed with Raspbian Wheezy OS. In running these OS, next thing to do is to plug in the SD Card on the Raspberry Pi hardware set up and modify depending on your wants in your RPi.

B. Setting Static IP


C.Programming for the Audio Streaming

Since you've already installed and ran the OS of your RPi, youi are now ready to program the audio streaming.

In LX Terminal,


Install PulseAudio adn these preference GUI with the command



sudo apt-get install pulseaudio

sudo apt-get paprefs

sudo reboot



After the system being rebooted, next thing to do is to edit the file /etc/pulse/daemon.conf by these command


sudo nano /etc/pulse/daemon.conf


In that file add the following then Ctrl+o and Ctrl+x to save and exit


resample-method = ffmpeg

default-sample-rate = 44100

alternate-sample-rate = 44100




Project Team

  • Catherine Bagotsay
  • Dawn Benigno
  • Dan Villareal
  • Peter Sy