Notes on getting Motion + MotionEye working with the Aprica CCTV DVR

The web interface on the Aprica CCTV DVR is terrible, it requires a proprietary plugin to view video and doesn’t have many of the features I would like.

In the past I’ve played with MotionEye for recording and managing IP network cameras, MotionEye uses motion in the background to get the video streams from the cameras. Unfortunately motion does not support the RTSP protocol or H264 codec used by the CCTV DVR’s web interface.

Continue reading

Creating a SOCKS proxy using SSH to get YouTube working

Something odd is going on with YouTube not working with Afrihost‘s ADSL service. It appears to have something to do with the local YouTube caching servers. Clips will often only playback at 144p or 240p and never at 480p or higher, considering that YouTube has become my main source entertainment this is a problem.

This is a quick and simple workaround that sets up a SOCKS proxy on a Linux machine hosted outside of South Africa. I’m using a Digital Ocean (Referral link that gets you $10 credit if you sign up) Linux VM running in the US.

On the VM you just need SSH running, nothing else and on your PC you need to be able to make an ssh connection from the command line.

On Windows I used the GIT Bash Shell as I had it installed and it includes ssh (You could probably do this with Putty or something similar.) and on Linux I just run the command below from a prompt.

ssh -D 8080 -CqN youruser@vm

All this will do is accept connections on your local machine on port 8080 and forward them through to the VM.

connectionSettingsNow open your browser (I like using Firefox for this as the proxy settings are separate from the system ones in Windows) and set your socks host to 127.0.0.1 and the port to 8080.

I find this works best with YouTube when using the Google DNS servers (8.8.8.8 and 8.8.4.4) on your local machine.

This solution seems to work reasonably well and allows me to watch the videos that don’t want to work, obviously it does add additional overhead to the connection so its not ideal.

 

Initial thoughts on my OUYA

Status

My OUYA has finally arrived, I backed the original project on Kickstarter and as I’m sure most of you know they had some “teething” problems getting these shipped.

My first impressions are mixed, the console is nicely made, build quality is not bad at all. The software unfortunately feels a little unfinished but isn’t too bad, game quality so far though leaves a lot to be desired.

Concert

Gallery

Waiting for the show to start… at the stadium to watch The Darkness. (oh and Lady GaGa) Please forgive any errors, this was posted using WordPress for Android on my tiny little phone.

Offer in

Status

We’ve just made an offer on a 3 bedroom free standing house in the area. Requires a little work, but that’s the fun part.

Waiting

Status

Waiting for the estate agent to arrive for our meeting, we’re hoping to put an offer in on a new place…