I noticed the other day just how far out of whack the clock on my HTC Desire had got -- close on ten minutes drift from the NTP-synced machines in the house.

I'm assuming this was down to the time signal provided by Telstra being lousy, so I switched that off and installed an NTP client.

The NTP client syncs with pool.ntp.org on a schedule rather than acting as a proper NTP client. Presumably to save power, which is fair enough. And now I'm noticing that the clock manages to drift a good ten seconds or more each hour.

Surely this stuff isn't rocket science? A little drift, I can accept, but that much? Given that one uses the device to keep track of and alert about any number of events, a reliable clock is rather important...
I'd been meaning to poke at this stuff myself, so reading an LJ post by a friend inspired me to make the (small) effort required to get my home network doing dual v4/v6.

As my old ADSL router is unable to do v6 itself, I've configured my "server" (a laptop) to act as a v6 gateway and hooked it up to my ISP's tunnel broker. This basically just meant "aptitude install gogoc" then doing a cut'n'paste of the sample config provided by my ISP. Internode do native v6 on their ADSL services, but my equipment isn't up to it -- if I'm sticking around I may see about snarfing a Fritzbox from them once those are available.

The one small gotcha is that one has to fetch the server key before it'll work. Running "/usr/sbin/gogoc -n" and answering "yes" did the trick there.

From there, control-c to kill off the foreground gogoc, kill the radvd process sitting in the background, then start gogoc via the initscript. "ifconfig eth0" shows that there's now a v6 address assigned to the interface, and "ping6 www.internode.on.net" happily hits the ISP's v6 version of their website.

Enabling v6 on the MBP was dead simple and it autoconfigured happily. At that point Chrome had no trouble hitting www.v6.facebook.com and various other v6 websites.

Main hitch is that v6 is still in trial mode with Internode, so the addresses it's giving out are dynamic and there's no option to do anything with DNS. My service is one of their "SOHO" ones, so I get a static v4 address. Hopefully when v6 leaves trial mode and goes into production they'll do static v6 addresses at least for SOHO customers.
This document describes the process of getting Mediatomb to handle external subtitle files pretty well.

I added the following to the mencoder call to suit my own preferences:

-sub-bg-alpha 100 \
-vf-add expand=::::1:16/9 \

Plus I changed the "-subpos" argument to "95" rather than '100".

End result: select the subtitle file (rather than the video) from the PS3, and Mediatomb will pass it to mencoder, which will produce a 16:9 video with embedded subtitles. The subtitles will be close to the bottom of the screen -- rather than the bottom of the video -- and will have a black semi-transparent background to aid in visibility.


Abort, Rephrase, Ignore?

October 2011

2 345678


RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags