home / blog

Author Archives: Adam

Quick photo tidy up

convert from DCIM conventions to date based… brew install exiftool exiftool ‘-FileName

Posted in geek | Leave a comment

Cesium 3D model translation

If you’re using the primitive API rather than the entity API then you do not have easy access to the orientation parameters. It’s possible to do all this from scratch, but it’s hard work…. var getModelMatrix = function(lon, lat, rotationZ) … Continue reading

Posted in geek | Tagged , | Leave a comment

Install JavaFX Scene Builder 2.0 without local administrator on Windows

Yes, this is possible, by default the javafx_scenebuilder-2_0-windows.msi installs to all users and tries to registry some fonts etc. This can be avoided by running the following command. This will install a link to the Desktop, when it is run … Continue reading

Posted in geek | Leave a comment

Corrupted mythtv database table [SOLVED]

Started seeing “No seektable” when trying to edit recordings – to set cut points…After investigation turned out the table recordedseek in mythconverg was corrupt. Tried to fix with this but didn’t work. mysqlcheck –databases mythconverg –auto-repair Ended up with this … Continue reading

Posted in geek | Tagged | Leave a comment

Mounting OS X 10.7.5 anonymous share with Ubuntu 14.04 [SOLVED]

This is the final solution. See failed attempts below and error outputs. # as line in /etc/fstab //horse.lan/Movies /data/Movies cifs username=guest,password=none,sec=ntlmssp,nounix 0 0 # using mount sudo mount -t cifs //horse.lan/Movies -o username=guest,password=none,sec=ntlmssp,nounix /data/Movies Attempt 1. Fail. Why. mount.cifs not … Continue reading

Posted in geek | Tagged | Leave a comment

Ubuntu 14.04 Mythtv box setup notes

# extra repos sudo apt-add-repository ppa:ehoover/compholio sudo add-apt-repository ppa:jon-hedgerows/get-iplayer wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add – sudo sh -c ‘echo “deb http://dl.google.com/linux/chrome/deb/ stable main” >> /etc/apt/sources.list.d/google.list’ # update sudo apt-get update sudo apt-get dist-upgrade # essentials apt-get … Continue reading

Posted in geek | Tagged , | Leave a comment

iperf bandwidth testing woes – killing cleanly etc.

When running iperf on Windows platforms it is difficult to shut it down cleanly, without leaving stray child processes – especially if using within Java using ProcessBuilder. The solution I’ve discovered takes two approaches. Firstly run iperf server using the … Continue reading

Posted in geek | Tagged , | Leave a comment

Installing JDK 6, 7, 8 on Windows XP (without admin) [SOLVED]

7zip extract the .exe unzip the tools.zip Create a install.bat in the top level directory FOR /R %%f IN (*.pack) DO .\bin\unpack200.exe -r -v “%%f” “%%~pf%%~nf.jar Extract the src.zip from an equivalent linux tar.gz distribution as 7zip doesn’t manage to … Continue reading

Posted in geek | Leave a comment

Mythtv transcode for Android

After a number of issues with avconv I switched to ffmpeg. Out of memory (OOM) errors. Non-monotonic timestamp issues, and audio/video sync problems Sometimes mythtranscode can fail. If it does, the recommended way to fix it is to stream copy … Continue reading

Posted in geek | Leave a comment

non monotonically increasing dts error with mythtranscode [solved]

I found the error when processing the output from mythtranscode with avconv. invalid non monotonically increasing dts to muxer in stream 1 I fixed it with a stream copy using mencoder mencoder “input.mpg” -oac copy -ovc copy -o output.mp4 The … Continue reading

Posted in geek | Leave a comment