mailto: blog -at- heyrick -dot- eu

You are not reading my b.log using HTTPS. You can switch to HTTPS by clicking here.

Merry Christmas!

As you can imagine, after yesterday, it is a fairly quiet affair. Still, hope y'all had a nice Christmas.

 

Christmas Meal

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.

 

Christmascam

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"
  CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">

<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"
  autostart="1" showcontrols="0"></embed></object>

I know, I'm using the products of The Evil Corporation, but I have some justification:

  • 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
So I used a Microsoftism. A means to an end.

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...

 

Your comments:

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! ☺ ADDING COMMENTS DOES NOT WORK IF READING TRANSLATED VERSIONS.
 
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.

No comments yet...

Add a comment (v0.11) [help?] . . . try the comment feed!
Your name
Your email (optional)
Validation Are you real? Please type 95710 backwards.
Your comment
French flagSpanish flagJapanese flag
Calendar
«   December 2009   »
MonTueWedThuFriSatSun
 12345
78910111213
1415171819
2122
282930   

(Felicity? Marte? Find out!)

Last 5 entries

List all b.log entries

Return to the site index

Geekery

Search

Search Rick's b.log!

PS: Don't try to be clever.
It's a simple substring match.

Etc...

Last read at 06:03 on 2024/04/18.

QR code


Valid HTML 4.01 Transitional
Valid CSS
Valid RSS 2.0

 

© 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.

 

Have you noticed the watermarks on pictures?
Next entry - 2009/12/26
Return to top of page