Skip navigation

Category Archives: Photos

After having moved recently I started to think about having a proper camera setup for my attic studio. I’ve been using a action cam that doubles as webcam, but image quality cannot be altered at all, leading to some issues with white balance mainly. I still have a spare raspberry pi somewhere, that I will be trying to convert into a small streaming box. Normally I use OBS and BUTT on my serato laptop to connect to both and our clouwdnine icecast. In OBS I overlay chat and a logo to end up with a nice streaming setup.


I’m hoping that with the Raspberry Pi I can put the box with camera nice and close to the setup and use a cable to connect to the USB sound card next to the decks.

I hope that the raspberry pi camera module provides good enough image quality. I will be using gstreamer and possibly nginx to send audio and video to and audio only to our icecast server.

Video encoding through omxh264enc

Some resources I found for streaming:

Using omxh264enc for gstreamer:

And using nginx for forwarding audio/video to multiple streams:

The basic setup will be capturing audio and video, muxing it into a h264/AAC .mp4 stream which I send to nginx, where it is split into an audio/video stream that is forwarded to chew and an audio stream that is forwarded to clouwdnine. I’ll try to create a control page in nginx that will allow me to control and monitor both streams from my phone or another computer.

A challenge I’m unsure about is the chat overlay. Gstreamer allows text overlay, but I don’t know to what extent I’ll be able to overlay a stream…

If this idea works out, the next cool thing would definitely be using several Pi’s to get a multi-camera setup.

Together with some guys from /r/realdubstep we started a new radio station. It’s a very community driven radio station, but with DJs pushing the sound nonetheless.

Anyways, I did my best to face all the technical challenges that go around in creating a radio station and website for this, and in the coming weeks we will be going live with the latest website. I plan on writing a description of the steps that I took for creating what I did, for documentation sake and in hopes of spreading some of the information for people that face similar challenges.

In short, the entire radio system runs on a VPS hosted at Icecast for the radio backend.

  • WordPress for the website.
  • jplayer for the onsite radio player.
  • qwebirc for the onsite chatroom.
  • And some self-coded PHP and Python for chatbots and twitter bots and stats all.
    • In addition the analytics part of the website is quite advanced, providing us insight in how well the DJ’s on the website are doing (how many listeners the DJ’s attract, how long the listeners stay).

      I will chop up the entire system in two or three parts and describe them along the following weeks.

    2 Weeks of Turkey were amazing!