mailto: blog -at- heyrick -dot- eu
As you can imagine, after yesterday, it is a fairly quiet affair. Still, hope y'all had a nice Christmas.
After all the rain, it turned out to be a nice day. The soft wind was a little bit chilly, but the sun was really warm. With the wind, the actual temperature would have been about 7°C, but if you found a sunny spot, it would have felt like it was 16°C or so. Here I am enjoying my Christmas meal.
I decided, as a technical challenge, to put together a streaming webcam. Not one of these crappy still-picture-every-30-seconds but real actual video.
Surprisingly, it turned out to be easier than I thought. The primary hurdle was the bandwidth. I did some calculations and chose 40 kilobit as a trade-off between multiple connections and my ability to use the computer myself. I worked on 160 kilobit upload. I am supposed to get 256kbit, and I usually do, but usual is no good if you dont have it when you planned to. So I worked with 160 as a good compromise. This is also why the URL was only given to a select few people. It would not have taken much to max out the link. It is a shame that there is no option built into ADSL where you can ask the router box to swap the channels so I could have 256kbit download and 1mbit upload, at least for the duration of this experiment...
I plugged the AverMedia AverTV USB2.0 device into the computer. Microsoft Media Encoder found it. Indeed the main hurdle was reconfiguring Media Encoder to use PAL frame sync/size instead of NTSC. It wasn't hard, just not as clear as it could have been.
I opted to step back the refresh to 6¼ frames per second. To the end user, this would probably look about the same, but it allows a higher quality of video than does 12½fps.
A simple server was set up. A single web page using Savant. This contained the following:
<object ID="MediaPlayer" WIDTH="288" HEIGHT="216" CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject"
<param name="autoStart" value="True">
<param name="filename" value="http://XXXXXXXXXXXX:1121">
<param NAME="ShowControls" VALUE="False">
<param NAME="ShowStatusBar" VALUE="False">
<embed TYPE="application/x-mplayer2" SRC="XXXXXXXXXXXX:1121" NAME="MediaPlayer" WIDTH="288" HEIGHT="216"
I know, I'm using the products of The Evil Corporation, but I have some justification:
So I used a Microsoftism. A means to an end.
- Everybody probably already has this plugin
- It is possibly more secure than Flash
- It is dead easy to get going
- The (do-no-)Evil Corporation now goes by the name of If-You-Have-Nothing-To-Hide-Then-You-Have-Nothing-To-Fear Google
Video camera pointed out of the window. Savant listening on port 80, Media Encoder listening on port 1121, the Livebox configured to let both through on its NAT, and a DynDNS address set up.
Mick had a little bit of trouble, his Firefox got stuck "Waiting for video" which I suspect was an outdated or naff plugin, as my Firefox worked fine. Okay, I had to bounce my request off an open proxy, because direct access somehow got translated to "www.azumi.home" which is a totally bogus URL. I'm not sure who to blame for that, and frankly it was easier to find a proxy than to find the problem. ☺
Mick used MSIE and it worked. It would appear that others used MSIE because their connects kept throwing 404s looking for /favicon.ico - ISTR Firefox only does this if you specify in the markup that a favicon is available, where MSIE will just blindly look.
All in all, I'd say it worked quite well. Here's one of the final shots, as the sun was going down...
Please note that while I check this page every so often, I am not able to control what users write; therefore I disclaim all liability for unpleasant and/or infringing and/or defamatory material. Undesired content will be removed as soon as it is noticed. By leaving a comment, you agree not to post material that is illegal or in bad taste, and you should be aware that the time and your IP address are both recorded, should it be necessary to find out who you are. Oh, and don't bother trying to inline HTML. I'm not that stupid! ☺
You can now follow comment additions with the comment RSS feed. This is distinct from the b.log RSS feed, so you can subscribe to one or both as you wish.
List all b.log entries
Return to the site index
PS: Don't try to be clever.
It's a simple substring match.
Last read at 21:01 on 2020/07/03.
© 2009 Rick Murray
This web page is licenced for your personal, private, non-commercial use only. No automated processing by advertising systems is permitted.
RIPA notice: No consent is given for interception of page transmission.