extracting frames from movies on iPhone
The iPhone SDK provides a high level movie player, but so far there is no way to decode movies or extract frames. In this post I will show you how to do that using FFmpeg.
The iPhone SDK provides a high level movie player, but so far there is no way to decode movies or extract frames. In this post I will show you how to do that using FFmpeg.
EXC_BAD_ACCESS. Debugging this one is on par with figuring out why the wife says “not tonight, honey.” And they are equally unfortunate situations.
Let’s see what we can do about EXC_BAD_ACCESS.
I came across this issue when I received a UTF-8 encoded string from a URL. I was expecting the UTF-8 string to be automatically decoded, but then I realized that it’s probably not trivial to identify a UTF-8 string, so NSString doesn’t automatically do this for a reason. (Unfortunately, this realization came only after I’d been [...]
The OS X registration process can come up with some pretty stupid computer names like chuck johnson’s macbook. This will show up in the Terminal, on the network and it has a freaking single quote and spaces in it ?!
Here’s how to rename it to something that makes sense, like pink.
I’ll describe one way of adding mercurial version information automatically to an xcode project.
The documentation about saving images from CGImages in cocoa is pretty vague to say the least. Here are some code snippets for saving jpeg, tiff and png files.
You can hook up two external monitors to your unibody MacBook and I’ll show you how to do it:
You might have read articles on the internet about aluminum MacBooks becoming unstable after 3rd party RAM upgrade.
Well, some good news: I’m writing this post on a 2.0ghz aluminum MacBook with 4gb memory from OWC!