The Bunny Shed

Comments

Back to news

Thursday 01, January 01:33

Progress...

Some progress to report

I have knocked together a quick proxy script and it only flippin works!

Before you get too excited I should add that this it just a proof of concept script in php, which I do not want to run as a final solution as I am concerned about the amount of resources I will be hogging on my host's server. Basically for every person viewing a camera, an instance of the script will be running. Running in an interpreted scripting language like PHP is not good. Yes, I could supply a stream right now using this, but I really don't want to pee off my hosts unecessarily ;-). However, it is good to know that I can get a clean stream through my host, so that is a major hurdle overcome.

So the next step is to get a C++ version written. I have just today got SSH access to the server, and am now waiting on my host to supply access to a compiler. Been reading up on CGI coding while I wait

I have also downloaded the source code for that Java MPEG4 player, and a coding environment (Last time I coded Java was J++!). I have also been checking out the official MPEG specs to find the transport format. Having had a look, I am tentatively hopeful to be able to add MPEG transport stream support to the applett. This will mean video for everyone without having to download or configure anything! :D

One last note. The applett does NOT support H.264 (It seems H.264/AVC is a bit complex to decode on the fly with java). So it looks like I will be using MPEG4 ASP instead. The bandwidth requirements are a little more with this, but if I can get this CGI cacheing idea to work, then it won't be a problem. :)

rankin      2007-06-24 13:41:28

where did you get the mpeg4 player source code?

Add a comment about this news item:


Name:

Comments: