Wednesday, December 12, 2012

my Raspberry Pi


on a whim, I plunked down $35 for a Raspberry Pi lightweight computer. I have put off blogging about it because I have done very little compared to what I see being done. this used to make me feel guilty but I realize now that for everyone who you see doing something amazing with robots or Arduino or 3D vision sensors and Roombas, there are probably 10 people like me who use it for piracy and as an SSH server and whatnot.

so, here is what I'm doing with it:

I was inspired to write this when I read that the Raspberry Pi Foundation had finalized arrangements to move production of the device from China to the UK where they are based. as a not-very-patriotic left-wing American I don't know why this moves me but it does. the creators have fulfilled their own dreams by getting the Pi produced at the same price on British soil as its previous Chinese manufacture, creating 30 British jobs in the process, and came full circle to the BBC Micro computers which were designed and built in Britain and which taught them programming and hardware hacking, and inspired them to create this project. why would a government-controlled company design, manufacture and market its own computer? that seems to make no sense, but it inspired the three core Raspberry Pi founders to build this thing that has been an amazing success, has thousands of British students competing to build cool things, and has brought 30 jobs to Wales… what could make more sense than that? writ large, there are thousands more stories like this. I have nothing against Chinese manufacturing or the Chinese in general but I'm in awe that a $35 computer the size of an index card can be made in Western Europe without compromises for a price roughly equivalent to an iPhone 5 case. there's a cool article about the manufacturing process but in reality I'm mostly excited about the innovations people are coming up with on their Pis and the fact that a '70s government program has led to this flourishing of innovation. and I'm always excited to see my kids get into some sort of nerdy thing they can do with me. 


Friday, July 20, 2012

what a difference 16 months makes!


alright, my non-existent posting schedule makes this a complete joke, so let's dispense with the personal stuff since the two or three people who subscribe to this blog know me personally. if not, I have another son who is 2 in addition to the one who is now 5, and I also got a new and better job. 
so, in the Give Our Abilities Time technical world, here's what's new: 
tablet

media center

finally

That is all. I may post again within the next 6 months. Keep your RSS reader at the ready.

--sbreck

Sunday, March 27, 2011

catching up

(I've tried to write this "catching up" post several times in the last two years but I clearly lack blogging discipline.)

 

Here are some things I have done / am working on / am thinking about, categorized by my usual obsessions:

 

Tablet / collaboration stuff:

·         I now have a ThinkPad X201 Tablet at work, and just a few weeks ago expensed an Intel SSD and loaded our new corporate Win7 x64 image on it. It's incredibly fast and I can get almost 2 hours on the small battery, I'd probably get 6 to 8 on the big battery but haven't tested.

·         I know I have been blogging for years about how SharePoint is a crappy repository for OneNote notebooks, but in the OneNote/SharePoint 2010 world, I can declare this fixed. My main notebook at work lives in SharePoint and it has NEVER locked up on me when every previous incarnation of SharePoint has within the first day locked up. And I have both my home PC and my tablet syncing this notebook at all times. Can't really comment on how stable it is with active multiuser editing, but for my needs it has been great.

 

Media Center / video conversions:

·         I replaced my iPod 5G ("Video") with a 2nd-gen 32GB iPod Touch. In Apple's classic "whatever you buy now, suck it up and realize that something better will be coming out within 3 months" fashion, this purchase caused me to miss multitasking by a few months and the Retina display by about 18 months. I also began harboring iPhone envy because of the great browser and Facebook app (I shamefully admit that in summer 2009 it didn't really occur to me that an iPod Touch could run iPhone apps or be used as a browser) but patiently waited its release on Verizon. But now I hear that the June/July iPhone 5 release will be worth waiting for, and so I am waiting for it. If that release is AT&T-only, and its improvements pushed to Verizon like 11 months from now, I will have to think about what to do. I currently carry a Blackberry Tour along with the iPod Touch, pretty much everywhere, and I recognize that it's a little ridiculous to have both devices when my employer does not enforce the use of any particular device.

·         This past summer, I replaced my Linksys DMA 2100 with an XBOX 360 Slim. My home network has had its ups and downs (wireless sometimes has issues, then I installed powerline and it was great for awhile but then starting crapping out during video playback, then I switched back to wireless and turned on WMM and things have been fine, except when my router (Linksys WRT610N) has run for about two months, heats up, and resets itself to factory defaults so it needs to be reconfigured) but the XBOX has been a much better extender than the DMA. Only issue is that I never turned off the DMA, so when I have network problems or problems with my Media Center PC, it can fail to log in. I also enjoyed playing the Call of Duty series, but am too old and unfamiliar with the controller to not get pwned online.

·         My last post was pretty popular regarding MKV conversion to iPod but now it can be told: I use EncodeHD for all on-demand iPod conversion, and I stole the ffmpeg command line out of its log file to use to automate my MKV to M4V conversion for the iPod. Comment if you want the command line or just download EncodeHD, get a couple of MKVs of the shows you watch and convert them to your preferred format, and look at the command lines it chooses. They were all similar enough that I just use the same one.

·         Since I have an XBOX now, I have an additional option for watching HD content when DVRMSToolBox fails to convert an MKV to DVR-MS. EncodeHD has a profile for an XBOX 360, which converts to an MP4 of some sort. This format is playable both in Media Center as well as through the XBOX native "video library" function. Since I have noticed some shows have a tendency to fail to convert in DVRMSToolBox, I adjusted my scripts to place these files in a folder instead of moving to the Media Center PC for conversion to DVR-MS. My technique for looking at a bunch of EncodeHD-generated ffmpeg command lines didn't work even for TV shows as these command lines were sufficiently different, and factoring in the occasional movie made it impossible to generate my own command line that worked consistently. Then I noticed something in a 2-year-old EncodeHD changelog, which is that EncodeHD can be launched from the command line to encode! So this is what I now do:

o    SABNZBd post-processing batch files have some "rules" that send non-DVR-MS-encodeable files to an XBOX temp directory

o    A Scheduled Task runs a batch file every 10m to check that directory for files; if they exist it launches EncodeHD to convert the file for XBOX

o    That batch file then moves the MKV elsewhere in case something happens (it fails something like 25% of the time because it attempts to launch EncodeHD while the file is still being copied from the other PC, so it's not "complete" yet and EncodeHD doesn't know what to do with it)

 

Photo / sync / backup stuff:

·         I am using the latest Windows Live Photo Gallery combined with Windows Live Mesh to replicate pictures among several PCs so that we can tag the best pictures, write commentary in the Caption field, and then post them to Flickr. What's new since my last post on the topic is that, besides being now having Windows 7 on all computers in the house, I have been using the native functionality of Photo Gallery to upload to Flickr. Except for a few times, though this has NEVER accepted the file name as the title of the picture in Flickr (it repeats the caption), so that I have to fix every picture after I upload it, which has begun annoying me enough recently that I am considering other tactics. But Photo Gallery has such a nice interface to find tagged items (e.g. I tag pictures to post with "flickr" so I can easily select just those pictures for upload) that I put up with it. Hoping for a fix.

·         Live Mesh seems widely complained about on its MS forum but my complaint is one I don't think I've ever found another complaint about, let alone an explanation - it is incapable of recognizing file moves or reorganization or the bringing online of a new PC that already has a copy of those files. The effect is that I have a large number of duplicate, triplicate and in some cases quadruplicate pictures and I don't really know how I can efficiently get rid of them all without looking at each pair/threesome/etc. to make sure I'm not losing commentary or person or descriptive tags. This is one of my projects and I am making slow progress at it.

·         I suppose everyone knows that Mozy jacked up their price from $55/yr "unlimited" to a pay-per-GB price. In my case, it will go up to $110 or something, which is more than I'm willing to pay. I actually went as far as to inventory what all of the 100GB or so I am backing up: 44GB of pictures, 38GB of videos, 11GB in My Documents, and I'm not sure what all else. Probably dealing with duplicates will save some space but not enough to not get bent over by the new pricing plan on Mozy. So I am not sure if I will find another cloud backup provider (my colleague who referred me to Mozy in the first place has switched to BackBlaze) or if I will find a small repository for My Documents and then continue to use Live Mesh to replicate the rest between PCs in my apartment and periodically take a hard drive to work or to our basement storage closet in case of fire or something.

 


Saturday, March 14, 2009

converting DVR-MS/MKV to iPod

As I mentioned in my prior post, I have been "broadcatching" HD content in x264/MKV format, and converting to DVR-MS to play on my extender, and so far I've been pretty happy with it. I do have to keep my eye on things more than I'd hoped but it's working fine.

However, I had to find a new way to convert downloaded MKV content to the iPod. (A 30GB "iPod Video" or "5G" device. It's a couple of years old but it has worked fine, and my birthday's coming up in five months and the iPod Touch will probably be reasonably priced or replaced with something even more technologically awesome, if my dear readers get the hint :D ) It so happened that I came into possession of a bunch of MKV files for a 10-year-old show I've been watching a lot of, with no XviD copies available online.


First attempt: SUPER

Thus I turned to SUPER as it is free and seems to convert anything to anything else one you figure out its many options. My first try used these settings, which I, for convenience's sake, exported as iPod_Video:

  • Output container: mp4
  • Output video codec: MPEG-4
  • Output audio codec: AAC LC
  • video size: 320:240
  • aspect: 4:3 (as I edit this after the fact, should've been 16:9)
  • frame/sec: 30
  • bitrate: 1248 (in retrospect, could've been lower)
  • options: Hi quality, top quality, stretch it
  • (audio) sampling freq: 44100
  • channels: 2
  • bitrate: 96


(I know it would've been easier to show the picture, but I don't want to confuse my family by using my flickr account which is typically used for showing my entire extended family and friends pictures of my son.)

These settings resulted in a 54MB file that had no sound (in WMP, I didn't check iTunes/Quicktime). Several other attempts (that I cannot now remember, as it's been five days since I started working on this) were similarly slow and unsuccessful.


Second try: iPodifier/ffmpeg

I then downloaded iPodifier and set it up to watch the Recorded TV directory, figuring that MKV files were automatically converted to DVR-MS via the method documented in my previous blog post, and then iPodifier could pick them up for conversion to iPod Video-compatible MP4.

Seemed simple but, when I launched it, this showed up in the log window over and over:

3/8/2009 6:17:23 PM : Transcoding started: ffmpeg.exe -y -i "C:\Users\Public\Recorded TV\myfile.dvr-ms" -f mp4 -s 320x240 -acodec libfaac -async 4800 -dts_delta_threshold 1 -threads auto -vcodec libxvid -qscale 7 "S:\Temp\myfile-Mar 08 09 0330pm{TV}.mp4"

3/8/2009 6:17:23 PM : Transcoding finished successfully in 0min


According to the wiki this is related to some sort of problem that mencoder is having with the DVR-MS file causing an infinite transcoding loop, the first of its known issues. I am having the second known issue but had already renamed the files, so I just tried with a renamed file. Same thing:

3/8/2009 6:50:47 PM : Transcoding started: ffmpeg.exe -y -i "C:\Users\Public\Recorded TV\myfile.dvr-ms" -f mp4 -s 320x240 -acodec libfaac -async 4800 -dts_delta_threshold 1 -threads auto -vcodec libxvid -qscale 7 "S:\Temp\myfile-Mar 08 09 0645pm{TV}.mp4"

3/8/2009 6:50:48 PM : Transcoding aborted


So I checked what ffmpeg had to say for itself:

C:\Program Files\iPodifier>ffmpeg.exe -y -i "C:\Users\Public\Recorded TV\myfile.dvr-ms" -f mp4 -s 320x240 -acodec libfaac -async 4800 -dts_delta_threshold 1 -threads auto -vcodec libxvid -qscale 7 "S:\Temp\myfile-Mar 08 09 0645pm{TV}.mp4"

FFmpeg version Sherpya-r11050, Copyright (c) 2000-2007 Fabrice Bellard, et al.

libavutil version: 49.5.0

libavcodec version: 51.48.0

libavformat version: 51.19.0

built on Nov 18 2007 09:00:58, gcc: 4.2.1 [Sherpya]

Input #0, asf, from 'C:\Users\Public\Recorded TV\myfile.dvr-ms':


Duration: 00:43:53.6, start: 0.240000, bitrate: 2265 kb/s

Stream #0.0: Audio: 0x0000, 48000 Hz, stereo, 192 kb/s

Stream #0.1: Video: mpeg2video, yuv420p, 696x480 [PAR 320:261 DAR 16:9], 980

0 kb/s, 23.98 tb(r)

Output #0, mp4, to 'S:\Temp\myfile-Mar 08 09 0645pm{TV}.mp4':

Stream #0.0: Video: libxvid, yuv420p, 320x240 [PAR 4:3 DAR 16:9], q=2-31, 20

0 kb/s, 23.98 tb(c)

Stream #0.1: Audio: libfaac, 48000 Hz, stereo, 64 kb/s

Stream mapping:

Stream #0.1 -> #0.0

Stream #0.0 -> #0.1

Unsupported codec (id=0) for input stream #0.0


Apparently this file had some sort of conversion problem between MKV and DVR-MS. A different file from the same batch had AC3 audio and converted with the command line:

ffmpeg.exe -y -i "C:\Users\Public\Recorded TV\myfile.dvr-ms" -f mp4 -s 320x240 -acodec libfaac -async 4800 -dts_delta_threshold 1 -vcodec libxvid -qscale 7 "S:\Temp\myfile-Mar 08 09 0645pm{TV}.mp4"


I had to remove iPodifier's suggested "threads auto" option as that doesn't seem to work on my relatively recent build of ffmpeg (SVN-r16596-Sherpya). iPodifier was also making a mess of the filename so this was about the point at which I gave up on iPodifier and just used command-line ffmpeg.


The size was still tiny (70MB) and you could tell in iTunes that the quality was much worse than my ~320MB episodes converted from XviD using my old method.

I tried again with qscale 4 (iPodifier's "Best" quality) and the result was a 107MB file in ~44 minutes. I didn't even watch it (because I overwrote it accidentally in the next run).

I tried again with qscale 3, having found this article and noting that it seemed to be a better tradeoff between quality and size. Its result was a 140MB file. On this one, I noticed that in both QuickTime and when synced to the iPod the audio goes out of sync pretty early on, and also that the rendered video size was actually 426x240, not 320x240 as I had asked it to convert to. I guess I don't know what it ought to do in this case, but the program I've been using gives me a letterboxed 320x240. iTunes accepted the import of the video and the iPod showed it properly, but maybe the other program (which typically yields a ~330MB file) is inserting the black bars into the material itself, hence its larger size? Seems silly given that iTunes (or maybe the iPod itself) can handle the conversion.

Pressing on, I tried again with qscale 2, resulting in a 214MB file, and tried again with qscale 1, which created a 721MB file. Both looked great, not noticeably different from each other, but it was with this run that I noticed that both files had out-of-sync audio (though qscale 2 was further off).

So I decided to stick with qscale 2, but needed to dig into the settings to fix the audio. Here was the command line I started with, courtesy of iPodifier (minus the "threads auto" option that didn't work in my relatively recent build of ffmpeg):

ffmpeg.exe -y -i "C:\Users\Public\Recorded TV\myfile.dvr-ms" -f mp4 -s 320x240 -acodec libfaac -async 4800 -dts_delta_threshold 1 -vcodec libxvid -qscale 2 "S:\Temp\myfile-qscale-2.mp4"

My guess was that the "async" parameter was the problem. I also imagined that dts_delta_threshold had something to do with it but I don't actually understand at all what the description ("Timestamp discontinuity delta threshold") means. Somebody fixed something at the bottom of this page by setting it to 0 so that may be worth a try as well. Yeah, I'm not that scientific with this shit. I tried async 1 and dts_delta_threshold 0, but the sound was immediately, horribly off.

Thus I tried async 1 with the dtb_delta_threshold option left off (per this admittedly several-builds-old post on andy vt's forum). I threw in -threads 2 and it went blazingly fast, but the sound was still worse than with the original async 4800.

This post suggested using async 2 so I tried that (with dtb_delta_threshold turned off). No luck.

I tried once more with async 2 and dtb_delta_threshold set to 1, but that didn't work for me, either. I decided that maybe MKV --> DVR-MS --> MP4 was not that efficient. But what converted MKV to MP4?


Third try: XviD4PSP

Good old ViDEOHelp.com. They offered like 8 ways to convert MKV to iPod MP4 and the simplest used XviD4PSP. Though I had no need for any of the formats described in the name of this free product, and was worried that most people are converting for use with newer iPods than mine, I figured it was worth an hour of my time to try given the many frustrating hours I'd spent on the other programs. On my first try, I used these settings:

  • Format: MP4 iPod 5.0G
  • Denoise/sharpen: disabled
  • Brightness/contrast: disabled
  • Video encoding: x264 HQ Ultra (yeah, it bothered me that only x264 and XviD options were present, but I gave it a try)
  • Audio encoding: AAC-LC ABR 128k


This worked! The result was 320x184 (which I guess makes sense given the 843 x 480 source resolution) and it was only a ~115MB file, but the play was very smooth and the sound was pinpoint-accurate.

I looked at the output in the XviD4PSP window to see if I could reverse engineer the command lines and utilities used, but I'm not sure. Clearly it is using the x264 utility for video encoding, and it does appear to output its settings, but I can't tell what it uses for audio or for muxing video and audio back together.

The major downside of this utility is that it doesn't appear to have a queue -- it's just one video at a time. This is exacerbated by the fact that it is much slower than DVR-MS to MP4 via ffmpeg -- that took 7 or so minutes for the file I was using to test, whereas XviD4PSP takes about 30 minutes for that same file. So, I can't queue up a bunch before I go to sleep and have them waiting for me in the morning. Nor can I schedule them until I figure out the underlying utilities that provide the actual conversion.

Update: I received a comment pointing out that there IS a queue -- you load each file and then click Save, and then you can load another, and so on until you click Encode to convert the whole batch. Frankly I'm using EncodeHD now which supports drag and dropped files, and it does all its work through ffmpeg so it's pretty fast.

But, it works and the quality is good. After a week of trying other methods and failing, that's saying a lot.

--sbreck

Labels: , ,


Wednesday, March 04, 2009

even though I swore off Media Center…

…and have been happy with the switch, there are a few reasons I still use Media Center:

  • occasionally there is a conflict between my shows and my wife's shows and she gets dibs because she records so little TV compared to me (and doesn't know how to download her own shows)
  • the DCT 6412 that RCN gave me in my HD DVR package only has a 120GB hard drive, so I have seen a few shows get dropped off for lack of space and feel like I'm constantly having to watch shows more frequently than I'd like to keep them there
  • I still don't have pay channels and Big Love is back on HBO

Thus, for the above reasons, I still have SABNZBd+ and NZB TV running to grab a few shows that I would otherwise have missed, or might like to watch on my iPod. Typically I grab XviD versions with MP3 sound, which as I have mentioned before work fine on my Linksys DMA 2100 Media Center Extender.

But, maybe I have watched enough HD content in the last few months, but I find myself wishing I could watch higher-resolution stuff on the extender. I've been here many times and tried many different conversions, usually resulting in multiple steps and many hours of conversion followed by disappointment (skips, halts, no sound, way-out-of-sync sound). But today I noticed Ian's link to an Engadget HD tutorial on automatically downloading and converting 720p quality content via DVRMSToolBox, so that you can just watch it right in the Recorded TV and enjoy skip, FF, resume, etc. at the native resolution of the file. Seemed relatively simple so I gave it a try.

First things first, I knew I didn't need uTorrent or tvRSS since I have the aforementioned SABNZBd+ and NZB TV running to automatically download the TV shows I want. Thus my first step was to download and install DVRMSToolBox.

After messing around with the extensions to be watched (need to add .mkv to both Watched Ext and Video Types, not just the former as Engadget's instructions state), I ran into another problem which is that I think the wrong action ("nativecommdetect" which I'm assuming is the commercial skip processing) is running and my "convert MKV to DVR-MS - mencoder" is never running.

To troubleshoot, I:

  • deleted all actions besides my own new action in the Processing Condition Editor -- it still tried to detect commercials
  • changed Delay Processing from Find Commercials to Ignore (this worked, and as I scanned the comments I found the same advice)

I started the sample file (Big Love 3x06, 1,528MB) at 6:48 PM by dragging it into the Recorded TV directory, and it was done 50 minutes later, with a DVR-MS file waiting in the same directory. In my quick check, it looked fantastic and the audio synced perfectly.

So, later, my wife and I cracked open a bottle of prosecco (someone brought it to a brunch we hosted recently) and sat down to watch Big Love. Less than 10 minutes in, it froze, and then a few minutes later I was offered the chance to reconnect to the Media Center PC. I was unable to do so. After some troubleshooting and cursing, I found that the PC was totally locked up; not even the mouse would move. Coincidence? I hard-powered it off and tried again. I hate to use my wife as a guinea pig but I was pretty curious if this was a usable conversion of the show. Fortunately, I made it all the way through the episode without incident so I downloaded a couple more MKV files with which to test. Having made it through two more, I can say that this is working pretty well for me. Finally, reliable HD content on the extender without having to do a ton of crazy conversion steps!

Thus, my thoughts turned to automating it further, such that the conversion takes place once the download is complete. Since all that has to happen to convert the file is to move it into the Recorded TV directory, I didn't think it would be too hard since SABNZBd+ allows you to launch scripts. My read of the documentation didn't seem to make it quite clear what actions launch the script (besides telling it manually in the web console). Regardless, I set a scripts directory within SABNZBd+ (http://yourserver:yourport/sabnzbd/config/directories/) and created a batch file called moveMKV.cmd in there. The batch file contains the following:

@echo off

echo moveMKV.cmd starting against %3...

if not exist %1\*.mkv goto :nomkv

echo ...moving %1\*.mkv to Recorded TV...

cd %1

move %1\*.mkv "C:\Users\Public\Recorded TV"

echo ...moved

goto done

:nomkv

echo nothing to move

:done

echo ...done.

exit


Marvel at my batch file skills. Um, anyway, if it's not evident, it looks in the path of the newly downloaded file (%1) and if there's an MKV file in there, it moves it to the Recorded TV directory. %3 is the name of the job (which should be "Big Love 3x06" in the example) -- I'm just using it so I know what's running. To test, I just created a fake directory and fake MKV file somewhere and ran moveMKV.cmd twice. It worked both times. I think I might have confused the hell out of DVRMSToolBox with the fake MKV file, though, as it just sat there logging "Waiting to process file:" over and over until I deleted the file.

Then, I turned the batch file on by going to the Switches page (/sabnzbd/config/switches/) and choosing moveMKV.cmd as the Default user script (2nd last option on the right). To test, I searched Newzbin for a small x264 file and downloaded it. The script worked on the first try and moved the MKV file into Recorded TV as I'd hoped, at which point DVRMSToolBox's FileWatcher picked it up. Sweet!

Since I figured this out and wrote up the steps, it's been a couple of days and I've watched a couple more files without any hiccups. The picture is great, the sound is great, and the files start up much faster than XviD files. And the extender seems a lot more reliable and less likely to crash playing DVR-MS Recorded TV than lower-quality XviD files. The only downside is that the XviD content takes like 7 minutes to download and then you can immediately watch it, so it's closer to instant gratification than downloading a big MKV that takes 25 minutes, and then converting it for an hour. But when it's fully automated to happen in the middle of the night, so that stuff is waiting for you, it's really great, and I find myself watching stuff on the extender that I already have on my DVR just to avoid fast-forwarding through commercials...

Enjoy,

--sbreck


Labels: ,


Tuesday, February 10, 2009

Windows Live Photo Gallery

Since I'm the father of a 20-month-old boy, I take a lot of pictures, and put them up on Flickr for sharing with family members. My home PC is on Vista and so is my work tablet, so I've been using Windows Photo Gallery to tag the pictures with tags relating to people, places and events, and then tagging the best with a "flickr" tag, dragging these into Flickr Uploadr, writing up some commentary, and uploading them. My pictures are all stored in the default location in Windows and that directory is shared with my work user and my wife's user account on her (XP) laptop.

Every so often I get burned out on choosing pictures and writing commentary but the relentless demands of my wife and mother-in-law for fresh pictures never cease. So I usually still have to choose the pictures to show because my wife doesn't have Photo Gallery, and then I use Outlook to resize them and e-mail them to her, while she writes the commentary in GMail, sends it back to me, and then I paste it into Flickr Uploadr, one picture at a time. This does save me time because I don't have to write the commentary, but there has to be a more efficient way.

Besides this, and more importantly, our son has grown interested in pictures of himself and his relatives and friends, to the degree that he tells us "find picture of Oskie [his nickname for himself] pouring cat food at Grammy's house" or "picture of Oskie and Grammy and Mommy in the playroom". The way I had tagged everything made it pretty easy to do that search, though as has been noted in many internet comments, there was no good way to do an "AND" search as would be most efficient for my son's two requests -- if you search for Grammy Mommy it is as if you did Grammy OR Mommy and you get every picture with one or both of them in it. Clicking on the tag for one person and then using the search field to find the other person is how you solve that.

Since my wife has XP on her laptop, I also had to find something that was like Windows Photo Gallery but worked on XP. Windows Live Photo Gallery seemed to fit the bill so I installed it on all three machines. The Vista machines knew where the pictures should live, and I added my share to my wife's laptop. It began to process the pictures and build the list of tags and, after many hours, it seemed to have all the tags are in place.

First impressions were that Live Photo Gallery was a smarter and fancier version of Photo Gallery, with better editing tools and the whole People Tags thing, and it had the added benefit that it actually ran on my wife's XP PC.

However, after a few days of trying to tag pictures on my laptop and home PC and checking to see what syncs, I came to the conclusion that if you share a directory, you can only set People Tags on the machine on which the directory is shared. Using my laptop to tag people in pictures in the share sometimes set them, sometimes required dropping back to the gallery and hitting F5 a bunch of times on both computers before they set, and sometimes actually removed all the tags from the pictures.

This really started to piss me off and an earlier draft of this blog post had a long rant about it, when finally I took a breath, sat back, and asked myself if I was trying to make the program do something it wasn't meant to do, when in fact what the program wanted me to do was staring me in the face. So I set up Gallery Sync between my laptop and home PC, which ties into sync.live.com (the former FolderShare). I connected the laptop and desktop via crossover (the wireless router is in another room) but could see that they were syncing at like 10Mbit over wireless, so I turned off wireless and just copied all the stuff over from the laptop manually. Sync was smart enough to figure out that I did that, and just checked everything once I turned wireless back on and Sync could sign into Live. I can't blame Sync for not knowing that the private IP address was the faster network to connect to my desktop PC.

And, now all the People Tags work great, and Sync really seems to sync changes within 10 seconds, which is less time than it took to make one Live Photo Gallery library see the changes made to its underlying files from another machine.

One problem I saw tonight is that some videos and pictures ended up with the wrong "date taken," 1/31, and I can't figure out why this could be or how to fix it besides figuring out the date each actually was taken and fixing it myself. Even odder, the files are fine in the source directory -- I even renamed some of them and saw that they resynced in the little Activity window, but they still have the wrong date on my laptop.

I've also played with the Flickr upload but I'm not sure I've saved a step. As described many, many words ago in my first paragraph, I tag pictures so I can find them later, and if they are flickr-worthy I tag them with flickr. What I used to do was then drag this bunch into Flickr Uploadr, select them all and tag them with Oscar (supposedly there are a few viewers of my photostream who subscribed to this tag though I suspect there's just one and his name is Matt and he lives in Boston and if I told him that I almost never post anything on flickr besides pictures of Oscar my full photostream feed would probably suffice), name each picture and write commentary, and then upload the batch. Now I can type into the "caption" field in the same program I tag them with, which has the added benefit of being searchable later down the line. Then again, take a look at this blog very entry -- I'm not known for brevity and this is true of my flickr commentary as well. There is a couple-sentence limit on the Caption field in the picture so I ran out of that. I also am not sure what to do about the title. A clever or cute title is key to a well-received flickr picture but I'm not quite sure I want to rename the file given my (justified) lack of trust in Windows maintaining an accurate Date Taken for the life of the file. IMG_0540 or whatever places the file in a sequence that will always exist (until I get another camera as I just did, but, what can you do). So when the pictures are uploaded to flickr from Live Photo Gallery I have to create titles for them, finish my captions if they got cut off, delete all the tags and replace them with Oscar (again, I can't blame Live Photo Gallery for my use case, which is to have "private" tags in Windows and a far more limited set of "public" tags). Still, I could still use Uploadr but I'll stick it out with Live Photo Gallery for the next batch and see whether its advantages (of having the commentary local and searchable) outweigh the disadvantages of requiring post-processing. (Oh, and it takes like 20 seconds to log into flickr when you click Publish to Flickr.)

Finally, after all these years of thinking I was too smart for automated sync programs for your camera, I decided what the hell, I'll let Live Photo Gallery figure out which pictures are the latest for me, and put them in the right place. The first sync didn't know which pictures were newest and created a lot of duplicates in the directory. There should probably be a setting that figures that if the same file with the same Date Taken exists in the directory to which you're copying it, it shouldn't copy over those files. But I used DOS FIND to make a textfile of every file with a (2) in the name and then made a batch file from it which moved everything to a temporary directory (from which I could delete them). Incidentally, Vista is an asshole when it comes to searching -- *(2).JPG does not find any files called IMG_1234 (2).JPG as you would expect. Neither does "dir *(2).jpg" so maybe parentheses are a meaningful wildcard of some sort. Anyhoo, the next time I used Live Photo Gallery to import pictures it properly chose just the newest ones, so I guess it keeps its own records of when an image was imported rather than looking at what's in the directory to which it's importing. I would also like to import pictures from my laptop but suspect I won't be able to sync the two galleries that closely such that imports from camera to one gallery are recorded in the other gallery. That, I suppose, argues for doing it based on the contents of the destination directory rather than a separate database. But I'm willing to risk deleting extras and try it.


Labels:


Saturday, January 03, 2009

2008: the year in complaints

Having a son has really cut into my blogging but a weight has hung over my head since I noticed a week or so ago that I actually have 10 subscribers on Google Reader. Instead of writing some long-ass blog entry with detailed, researched complaints, here are some short ones:

  • Treo and Palm in general -- that company is dead. I switched to Blackberry. The incredible stability of the Verizon Blackberry 8830 has been amazing compared to the Treo 600, 650, and 700p I suffered with for four years.
  • Windows Media Center -- I actually still use it but not to record TV. I got an HD DVR from my cable company for $9/mo and there is no way that will ever exceed all the money I spent on Media Center (PC, OTA HD tuner, extender, hard drives, antennas for OTA HD, etc.) and I still only get one HD channel reliably. And the SD cable picture sucked. When my cable company finally switched to digital (e.g. scrambled) cable it was time to choose Media Center or choose against Media Center. I chose against and so far, I miss 30-second skip (have to fast forward through commercials now) but other than that I have a much better picture and much more reliable recordings and behavior.
  • Motorola S9 Bluetooth headphones -- these are cool and I got them with gift certificates so I'm not, like, burning with anger at these flaws, but I'm hard pressed to find situations in which the music stream doesn't skip. And, Blackberry's media player won't play audio through the S9 when playing a video, which was a huge disappointment (I was hoping to stop using the iPod and to just use these on my BB to watch videos). And, the iPod connector thing is so flaky that for days I didn't think it worked with my model of iPod (G5 Video). (The truth is that you have to wake up the iPod from deep suspended mode (where it shows the Apple logo to boot up) with the Bluetooth adapter connected, then play some music, and only then can you play video. If you let the music or video playing stop, you can't get it to start the Bluetooth thing again.) I like the idea of having these lightweight headphones that can play music on my Blackberry, and sometimes it works great (like if you are standing still on the subway, and turn off the Blackberry's cellular antenna) for music, and at the gym it is useful to go cordless with the iPod, but the connection is just flaky. I will someday get an iPod Touch but I do hope that it has A2DP Bluetooth built in by that point, working with video.
  • Converting video -- I do this a lot as I grow obsessed with a TV series, buy the DVD or download all episodes from the newsgroups, and want to watch them on Media Center Extender at home or on iPod on my commute or on the treadmill at the gym. For the extender, make sure you get XVID video and MP3 audio. XVID + AC3 = pitch-shifted audio with silence every 5 seconds. (I heard that if you used stereo RCA jacks AC3 would be fine but that seems like a pain when I have an expensive Yamaha YSP amp with a coax digital connection which works fine for everything else.) So, basically no HD unless you find WMV content specifically converted for Xbox but I've found that can skip or have problems as well on the generally underpowered extender. For iPod, I use this random Aimersoft thing that has worked great (though not with AC3). Since I have to convert AC3 stuff to MP3 with AutoGK for the extender anyway, that leaves the extra step as conversions for the iPod. But basically it means that my PC is typically running some conversion process at all times.
  • ThinkPad X60 Tablet with Vista -- This is my work PC and has been for close to two years now. I am growing to hate it but I'm not sure what would be better given that the weight, the battery life with the big 9-cell battery, and the 1400x1050 12" screen are all great. Wireless is flaky as hell (lately I can't switch it off with the hardware switch and then get it working again without a reboot), docking takes minutes and it never remembers that the monitor extends to the left, and the fingerprint reader only lasts for about 6 sleep/wake-up cycles before it is no longer recognized. That happens with a lot of stuff. I am rebooting every other day these days and that's BS. If anyone has suggestions on a business tablet that is a real speed improvement with equivalent weight and screen resolution, I'm all ears.

I have a much longer entry about the Treo/Blackberry thing among my OneNote pages here but I'll save that for another time or maybe it will never leave the drafts. I'm going to try to blog more and write less in 2009. Happy New Year,

--sbreck


Labels: , , , ,


This page is powered by Blogger. Isn't yours?

eXTReMe Tracker