waider
dot i e

Mastodon
(Old Mastodon)
livejournal
pix
workshop
text
lyrics

Snapping

Google
Web Here
Being The Geekly Diary of Waider
(may contain traces of drinking, movies, and sport)
November 02
Equilibrium (last seen some time in 2004) is a reasonable reimagining of Farenheit 451, kinda-sorta-ish. It's a bit silly, but it works well enough.

November 01
Offical Secrets is not just based on true events but apparently hews quite close to them. It's an account of a GCHQ employee who blew the whistle on a memo asking for dirt on UNSC members in the run-up to the vote on the Iraq war. There's not a lot to the story - she did the thing, a paper published the memo, the legal system, the end - but it never feels artifically drawn out or otherwise padded. And I'm sure it was a harrowing time for all involved, given the potential outcomes.

DVD project got distracted by a side-quest again: converting a bunch of YouTube videos to work within the same constraints as I've been doing with the DVD rips. This proved to be an entertaining trip through formats offered by YouTube and what magic set of options I needed to make the otherwise straightforward "mpegts with ac3 audio" work on the DLNA player (I'm still not 100% sure if it's the resolution, the aspect ratio, the bitrates, or some other damned thing that finally make it more-or-less work).

October 27
Ah, an added twist to my movie quest: it looks like the server-side software is being discontinued. It's not a great piece of software in the first place; right now it's telling me that videos scattered across multiple directories are in fact all part of the same TV show, and for some reason it keeps logging out the web session. But it's a preinstalled thing that I was hoping not to have to muck around with while I worked on the transcoding puzzle. Ah well.

Somewhat surprised to discover, while looking for something else, that I'm acknowledged in an IETF draft.

The Ghost Writer was good enough right until the final moment of the movie, which was frankly daft. Now, I'll be honest, I did question some of the lead character's choices, but he didn't seem quite stupid enough for that. That aside, a nice little drama with no connection whatsoever to any persons, living, dead, or milking the post-political circuit.

October 26
A Most Wanted Man is another well-shot movie, but a good deal grimmer than last night's fare. It's John le Carré giving a fine two fingers to his old profession - and what's become of it.

October 25
Luna is a gorgeous piece of work, and also very thoughtful and layered. For some reason it made me think of The Big Chill despite the fact that it's been so long since I saw that that I can't remember much (or any) of it and I probably didn't appreciate it at the time... anyway. This is a lovely piece about loss, and relationships, and humour, and probably a bunch of other things, and if the doctor doesn't make you laugh go back and watch him again. Pomegranate!

October 21
Question 1, providing myself with a MPEG-TS file with functional DVB subtitles: so far no good. Even the official DVB website does not appear to provide same, although to be fair I haven't gone through all their sample files..

October 20
So close. I've got a build that gets to the linker stage and then there's a duplicate symbol definition that I need to figure out if it's intentional (if poor) coding or if I'm missing some flag that selects one or other definition.

...and with a little bit of editing I have a build. Now to see what the heck I was planning on doing with it. I had a web page I was referencing which I appear to have closed and can't find again. DAMMIT.

"5:46 restate my assumptions", as Max from Pi might say. The goal here is to make my DVD collection available on the somewhat underpowered DLNA player on my TV. There are better solutions: VLC on the Apple TV box plugged into the same TV, for example. However, the goal is the goal. The DLNA player is happy to play MPEG-TS files, possibly because there's a MPEG-TS decoder lying around the firmware somehwere for the satellite decoder, but who knows. I've been ripping DVDs to files using dvdbackup which seems to work fairly reliably as long as you tell it to ignore errors; this means your actually damaged DVDs won't rip, but it does work around DVDs using deliberatly-introduced errors as a means of copy-protection. Once I've got my copy of the bits, I try to get FFmpeg to turn it into a MPEG-TS file. This is mostly straightforward since a DVD file is, at the end of the day, a MPEG2 stream with a fancy dress and a hat, so it's possible to losslessly turn it into MPEG-TS. Now, this bit occasionally fails so I've got a fallback: use MPlayer to do the conversion (FFmpeg winds up with short files, which I am inclined to think is down to correctly parsing something that's intended as more copy-protection, and MPlayer either doesn't parse that thing or knows it's a trap). MPlayer manages to lose some metadata along the way which is why I don't use it for everything (and if my notes are up to date I've not yet gotten a fix working to restore the missing metadata, although I did spend some time figuring out where to get it). The problem I'm currently working with is subtitles. The DLNA player wants DVB subtitles, not DVD subtitles. So I'm asking FFmpeg to do that conversion (I don't recall if MPlayer can do this). FFmpeg does the conversion, but the resulting subtitles are a smear of noise across the bottom of the screen where the subtitle should be, as if the bit depth is incorrect. FFmpeg does not appear to allow me to do any sort of "downmixing" of the subtitles when it's converting, but even if it did I don't know quite what's supported on the TV, nor do I really know anything about how the subtitles (either format) are structured other than that they're effectively image overlays which the player combines into the video bitstream at the appropriate point if you've got subtitles turned on.

So where I'm at right now is that I've rebuilt an old tool called transcode which can extract raw subtitle data, something FFmpeg curiously seems unable to do (I have been searching for some time for, more or less, "how do I get ffmpeg to just dump the raw bits to a file" with no success) and now that I have the bits... I'm not actually sure what I was going to do.

And the funny part of this is that transcode builds against FFmpeg's libraries, but it's pretty much fallen off the Internet and hasn't been tracking changes to FFmpeg, so I had to go digging in FFmpeg's git history to get to a point where I could build transcode. Oh, and this is on a raspberry Pi as well, because why not make things more complicated for myself when I'm already knee-deep in yak fur?

Anyway. Having actually written this out, it seems like I have a number of questions to answer:
  • Can I provide the DLNA player with some subtitles that work, just to see what specific format(s) it supports?
  • Can MPlayer do the transcoding for me, and save me from further yak-shaving?
  • If not, can I use some unholy combination of transcode and FFmpeg to make DVB subtitles the DLNA player is happy with?
  • Can I recover and reinsert the metadata MPlayer loses when encoding?


Time to fetch the shovel. Or the yak shears. Or both.

October 19
Through the awesome power of git bisect (first time ever using it, tbh) I managed to find where I probably need to backtrack the dependent library to.

Inside Man: apparently when I watched this back in February 2007 I wasn't too impressed with how smoothly the whole war crimes aspect tied into the plot (as in, I didn't think it did). Rewatching, I think it works ok, and to be honest even if it doesn't it's a small glitch in an otherwise excellent movie.

October 18
Wolfs felt kinda like George and Brad wanted to hang out together in a movie and weren't too pushed about the details. It's lightweight, and to be fair kept me guessing about how it would ultimately pan out, and it was fun. The ending wasn't bad, either - it felt a bit like "we're not sure how to wrap this up", but it worked ok.

October 15
Tried updating the OS on the shiny new Mac and got an error which is indicative of some sort of problem with the security enclave, possibly associated with using migration assistant from an old OS/MacBook (which is what I did). This is deeply annoying since the choice of solutions seem to be "boot your other modern mac and use that to reset the first mac's firmware in some unspecified way that can't otherwise be done" or "reinstall from scratch and then try to apply your migration afresh", neither of which are exactly compelling options.



Sanctuary Runners - Good People doing something good.