Sony Vegas 9.0c Bug vs Hottie Hookups

Hottie Hookups is a new iPhone game by Calgary’s own Big Stack Studios. It features some pretty innovative gameplay mechanics: Swiping, shaking and tilting are all used to keep swarms of nerds from disturbing the mating rituals of Jocks and Models on a dancefloor…

…as you can see, the promotional video introduces the Hottie Hookups team using “Guy Ritchie on a budget” style title cards. In theory, a Sony Vegas workflow for such dynamic titles isn’t terribly difficult… grab a frame from video, manually trace around the Hottie Hookup developer’s image so they’re masked out. GIMP or Paint.NET can both mask and stylize, so Photoshop is not required.

A single masked out image can then have multiple effects applied, each slightly different looking effect saved as a separate file. Rapidly alternating between different versions of these masked images, at slightly different positions (be sure to use “hold” keyframes, or the images will slide instead of jump), an editor can use Sony Vegas to manually create extremely dynamic title cards.

Unfortunately, the story does not end there… at least while VEGAS PRO 9.0c 64-bit is SONY’s latest release. Because Sony Vegas 9.0c does not like my masked images.

CeliaCelia

This is an inconsistent issue, and I’m finding it does not matter what format the image is in. What does matter, is the complexity of the timeline at that instant (how many layers, how many masked images), and the pan & scan movement being applied to the video element.

While Hottie Hookups title cards features jerky motion, such an error is best illuistrated by a slow pan and zoom. When previewing the video in Vegas, I see the image flicker and disappear, instead of expanding and filling the screen. This may be some sort of caching error, since I found I needed at least 5 images in any single project before one image would flicker and disappear. Occasionally, I could return to a “trouble” spot on the timeline, only to see the video suddenly preview correctly.

This inconsistency also applies to rendering the final video. Not being able to edit the video in a WYSIWYG manner is bad, but lucking out when editing (so that the image remains visible) does not guarantee your final render will contain the image.

Fortunately, there is a work-around. Unfortunately, it is extremely tedious and makes Sony Vegas a giant time-suck for complex title sequences.

  1. Create a new (temporary) Sony Vegas project. Set project resolution either as big as your masked image, or as big as possible.
  2. Import your masked image into Sony Vegas.
  3. Export your image as a short uncompressed video clip (AVI version 2 with alpha channel enabled).
  4. Instead of using images in your “real” Sony Vegas project, use your exported short video clips.

No, seriously. It does not matter if my images are JPG, or PNG. They don’t even have to be high resolution (I see this problem with images only 1280×720). And it doesn’t take much complexity for images to start disappearing.

Those dynamic title cards you see consist of layers of static video, and not images. Because Sony Vegas could correctly render a complex timeline filled with many alpha channeled video clips, but not alpha channeled images.

I realize not everyone uses Sony Vegas for animation, but to quote Gob, “Come on!

Sony Vegas 9.0c came out in 2009-10 (October 2009). Since then, VideoLAN Media Creator has been announced.

Sony Vegas currently maintains the lead in supporting a wide variety of file formats (AVCHD is why I’m using Vegas today, and not Final Cut), but the only other significant advances I’ve seen Sony make since 6.0 are multicam editing and 64-bit support. How about basic UI issues, like freeing aspect ratio for more than one clip at a time? Or directly exporting old-school FLV?

In fact, I had a complex project on hold for 6 months until I happened to upgrade my Windows box to 64-bit, finally allowing the project to render successfully. In 32-bit land, no memory warning was given. Sony Vegas simply crashed while rendering.

So Sony Vegas 9.0c 64-bit solves one problem, while introducing another. Given VLC Media Player’s fantastic support for playback of various file formats, one has to wonder if Sony Vegas’s strongest feature, broad file format support, won’t be soon surpassed by a free and open source application.

VideoLAN Media Creator will support all 3 OSes (Linux, Mac, PC) just as VLC Media Player does. Give me stability and consistency, I’ll take that over multicam any day.

“$600?!? Come on!”

, , , , , , , , , , , , , , , , , ,

No Comments

TEDxYYC – Coffee and Leaping Sideways

While helping provide video coverage of TEDxYYC, I learned more about the sociological aspects of coffee houses than I’d bargained for.

Did you know that Calgary is on the cutting edge of coffee subculture? No, really.

Did you know that Phil & Sebastian’s (despite their flash-only landing page) is a perfect example of Calgary’s dominance in the field of “Third Wave” coffeehouses?

In Marda Loop, Phil & Sebastian’s is no more than 5 blocks from my house. I go there every single morning for Americano. Given my schedule (and their hours), they don’t need to make coffee as well as they do to get my business.

But they make great coffee. The atmosphere is open. It is something I hadn’t experienced before, although I’d never been able to articulate quite why. John Manzo to the rescue!

My other favorite TEDxYYC talk was given by Chris Turner, entitled “The Great Leap Sideways“.

Problem: Ocean Acidification + Economic Instability + Peak Oil = Big Trouble

The 3 solutions Chris presented are straight-forward and already demonstrated as cost-effective:

  • Transportation Infrastructure
  • Energy Policy
  • Urban Design
     

TEDxYYC was a fantastic experience… forcing lectures down to under 20 minutes really lets the audience consume a lot of content in a day. And clearly there are Calgarians with interesting content to share.

Hopefully TEDxYYC it will be an annual event.

, , , , , ,

1 Comment

Oil Sands Extraction – LFTR in Alberta?

THORIUM REMIX 2009 has been well received, so I’ve cut it down further to 10 minutes and put the subject in a Canadian context: How about using a liquid-fluoride thorium reactor to power oil sands crude extraction?

Bill Dickie (Alberta Minister of Mines and Minerals 1971-1975) pointed out the Stelmach government just polled 1024 Albertans and found only 25% object to new nuclear projects…

Calgary Herald: Alberta would welcome private nuclear power, Stelmach gov’t says (excerpt follows)

The Stelmach government opened the door Monday to nuclear power in Alberta — rejecting a moratorium and saying it will consider the controversial energy option on a case-by-case basis — but vowed no public dollars will be invested in any project.

The province announced its nuclear power policy the same day Energy Minister Mel Knight rolled out the results of the province’s public consultation on the issue. A telephone survey of 1,024 Albertans, which incorporated input from stakeholder groups, found about one-quarter of people want the government to refuse projects. Two in 10 said the province should encourage proposals and 45 per cent of people polled want nuclear power plants considered on a case-by-case basis.

With those numbers in hand, Knight said Monday that Alberta is open for business on nuclear power. But he stressed the province won’t cough up a penny and hinted the lack of subsidies might dissuade companies from proceeding in Alberta. “We’re not putting a moratorium on nuclear,” Knight told reporters. “We are not proponents of nuclear energy,” he added. “We need power and proponents that want to build (nuclear) in the system in Alberta are welcome to do so.”

Premier Ed Stelmach, however, said Monday in his “Ask Premier Ed” online video that nuclear energy is a “viable option” in Alberta.

“This is one way of keeping down the carbon footprint,” Stelmach said, noting the United States is “very high” on nuclear energy.

The premier acknowledged nuclear waste is a worry for many, but said new technology is key to addressing concerns.

jfekete@theherald.canwest.com

I’m got some useful feedback on REDDIT, and forum pertaining to LFTR’s potential in Alberta…

Depleted uranium can be used as fuel in fast reactors. However, it is not usable in CANDU. CANDU is a thermal reactor, not a fast reactor: it does not breed fuel. It runs on fissile U-235. It can run on (0.7% U-235) natural uranium because it is very efficient at using U-235, not because it burns U-238 (not self-sufficiently, anyway). Conventional reactors are extremely wasteful, as they throw away over 99% of the starting material (because they can not feasibly burn U-238). A closed fuel cycle, with reprocessing and fast reactors, increases fuel efficiency by 100x – hence decreases fuel demands by 100x, and waste production by 100x. The transuranic elements, the most important of nuclear waste, are not left over but are consumed as fuel. Fast reactors can import these waste components from other reactors and burn them. They are waste incinerators. Thorium fuel cycles are basically the same – substituting U-238 with Th-232, and Pu-239 with U-233. They have the same basic advantages as plutonium-cycle fast reactors – fuel efficiency, waste burning. - deleted

Somewhere around 1/3 to 1/2 of a barrel of oil is needed to extract 1 barrel of oil. This is a very significant amount. I can not speak for other people. My primary concern with nuclear reactors are the usual concerns about cost, fuel production, safety, disposal, and cost. If the benefits of nuclear can be had without the drawbacks, then I will dance a little jig. It’s the promise of fusion, after all. - MechaBlue

Canadians are slightly anti-nuke, but the primary problem is that the oil companies already own the natural gas. They just drill a hole and it comes out of the ground to be burned for free, so from their point of view why would they use nuclear? They used to burn natural gas off as waste. You would have an easier time selling the idea of a Thorium reactor in terms of providing people with cheap power. Even then, in Alberta, the “lines provider” will be taking most of the profit from delivering that power. The reason why consumers are stuck with heavily polluting mines and power generation is primarily political. The current generators have used regulatory means to exclude newcomers because it isn’t in their best interest to lower their profits. - raghead

Use of nuclear energy for in situ gasification of coal (via high temperature steam) could reduce mining deaths. High ash coal deposits could also be exploited. Non-volatile poisons could be left in situ and the gas could be cleaned of volatile poisons and suspended matter before use. The process may also be feasible as an alternate for bitumen deposits like Alberta sands. - jagdish

Indian thorium solid fuel fast breeder will be up in 2011 at Kalpakkam This is unrelated to LFTR, which is a thermal spectrum reactor working with liquid fuels. - tt23

, , , , , , , , , , , , ,

No Comments

Oil Sands Debate with Elizabeth May

“Is Oil Sands Development Ultimately Irreconcilable with the Environmental Agenda?” was the question posed by Calgary Enterprise Forum. The discussion was held at Calgary Petroleum Club featuring Elizabeth May, Deborah Yedlin (Calgary Herald columnist) and Murray Smith (Energy Minister 2001-2005).

Despite the plethora of oil patch executives, Calgary Greens and red wine, no fisticuffs took place.

No Comments

DemoCampCalgary15 Coverage

DemoCampCalgary is where programmers and startups can expose their work to Calgarians, and put out an open call for various forms of assistance. Feedback? Beta testers? Looking for seed capital? A DemoCamp is just what the doctor ordered!

(Doctor Gordon James McDowell not a licensed physician, but can still fix your stiff spine with a quick twis… oh sorry. Can’t feel your legs? I’d better get you to a hospital.)

Head to BarCampCalgary.com to find out when & where the next BarCamp is going down in Calgary.

No Comments

YoctoRide previewed at DemoCampCalgary

Calgary’s 15th DemoCamp was particularly fun for me, as it was the first time I’ve demonstrated software at one. Nervous? Check. Stressed? Check. Capable of completing app store submission process before beginning the demo… not so much. I somehow overlooked the step of aquiring a distribution provisioning profile, and kept wondering why Xcode would not accept my .cer (it was looking for .mobileprovision).

Yesterday, I submitted yoctoRide. Had I known that app titles can be submitted in advance of code (I’d heard about iPhone app name squatting but never read the details), I’d have claimed the app name long ago and not worried about it. To claim an app name, all you need is a description and icon. I bet Apple has some entertaining stats about who’s claiming what.

If you want a heads-up when yoctoPlay is released, email me and I’ll sent you a single email once a functional carpooling tool is available on iTunes. I’m extremely interested in Calgarians who are willing to carpool via their iPhones. Because this software will have no value without the network effect (utility of yoctoRide is zero if only one person is running it), I’ll be heavily promoting it in Calgary where I can monitor usage and drive people around myself if necessary. (Our car isn’t that fuel efficient, so its a loss-leader both economically and environmentally.)

One point I failed to make at DemoCamp: Passenger safety will be assisted by passengers snapping a photo before they enter any vehicle. That’s a date-stamped, geo-tagged image of car and driver automatically uploaded to yoctoRide’s server.

To see all the DemoCampCalgary presentations, head to DemoCampCalgary.com where all the presentations are indexed.

No Comments

Calgary’s Low Carbon Future – The Summit

I haven’t had too many opportunities to stream live video since WireCast days at Cambrian House, so Calgary’s Carbon Summit was to be a live test of my new configuration:

  • Dual core MacBook
  • Wireless microphones feeding both the live stream, and HDV capture
  • 3G iPhone with tethering capabilities (and my strong desire to max out ROGERS 6 GB data plan)

UStream.TV had broadcast flawlessly from my house the night before. What could go wrong? Well apparently SAIT’s WiFi was blocking ports to which the UStream responded by crashing the browser. Any browser.

Fortunately I had a ROGERS 6 GB data plan, an iPhone 3G, and a deep burning desire to use up as much bandwidth as possible. Do you know how HARD it is to eat up 6 GB with an iPhone? Finding a reasonably priced ROGERS data plan is IMPOSSIBLE, so I took SAIT’s blocked ports as a blessing in disguise. 753,100 KB later, and UStream.TV had rebroadcast the summit.

I’ve since had a chance to upload HDV coverage of the event to YouTube, and also to Internet Archive. The most viewer-friendly copy can be found at R4NT.com entitled “Calgary’s Low Carbon Future”, it is cut down from 101 to 56 minutes and follows the narrative woven by Skid Crease.

Outcomes
The summit adds value to other City of Calgary initiatives including the development of a Community Greenhouse Gas Plan, The City Manager’s Office Sustainable Development Strategy and the World Energy Cities Partnership. This is an opportunity to develop a multi-stakeholder developed and ratified action plan to address future energy challenges.

Bios for keynote speakers can be found here. Rob Macintosh’s presentation is also available as an isolated YouTube video, and downloadable MPEG-4 from Internet Archive.

, , , , ,

No Comments

Calgary Film Racing 2009 – Do It Yourself

We won a slew of Film Racing awards! The contest was in June, and I’d assumed we’d won nothing (or we’d have heard about it by now). So this is out of the blue and awesome.

Team BRING-ME-THE-HEAD-OF-DON-HOLMSTEN consists of: Wil Knoll, Rachel Gertz, Sarah Blue and myself. Blaise Kolodychuk and Ben Blue worked off-location creating music. And Travis Gertz got us to the church on time.

The award winning short “Do It Yourself”, is about the emotional baggage behind the construction of a glass display cabinet. The cabinet, complete with fake mementos from the character’s life still resides in Wil’s apartment. The psychologists I’ve spoken to reassure me that while this is unusual, it is no cause for concern.

Our team name is due to an unfortunate event involving ex-team member Don Holmsten and “The Mixer”. The Mixer’s operator said “Keep your head, and arms, inside the Mixer at all times.” But Don Holmsten was a DAAAREDEVIL, leaning out saying “Hey everybody, Look at me! Look at me!

Awards Tally:

  • Best Film of the Calgary Film Race 2009
  • Best Direction (me!)
  • Best Leading Actor (Wil!)
  • Best Leading Actress (Rachel!)
  • Best Acting Ensemble
  • Best Writing (Wil!)
  • Best Editing (me!)

The Film Racing experience was a lot of fun, and we really enjoyed watching the other submissions. Most of them were crazy funny, and the wide variety of approaches use accommodate “a promise and a screwdriver” made each screening a new surprise. Head to the Calgary Film Racing 2009 Awards page to check out the other submissions.

, , , , , , , , ,

No Comments

Protospace vs YouTube Thumbnails

So I’m adding a logo to Calgary’s Protospace teaser video, and none of the YouTube thumbnails look particularly appealing. I don’t want a split-screen of a hacker. I want a Protospace logo dag-nab-it!

Protospace hacker VS Protospace logo for YouTube thumbnail. The choice is clear.

At some point in early 2009, YouTube stopped grabbing thumbnails from 1/4, 1/2, 3/4 positions in submitted videos. Thumbnails were being abused, with brief images of pornography and misleading images placed at 1/4 1/2 3/4 locations in uploaded videos.

I can’t define pornography, but I know it when I see it. And Protospace logo ain’t no pornography! The Protospace teaser is rendered at 29.970 fps (NTSC drop-frame). I added a frame counter to the video to locate the new thumbnail locations…

And confirmed what I’d heard when Googling the subject… the thumbnail locations are now pseudo-random!

YouTube's proposed Protospace video thumbnails.

Due to the “random” part of the thumbnail grabbing, it took me a few tries before a logo lined up with a thumbnail, but I did manage it…

…and then due to a medical condition the doctors refer to as “borderline stupid curiosity” I began adding frame counts to other videos, uploading them, and documenting YouTube’s 3 thumbnail locations for each.

Notice that the TN (ThumbNail) locations are constant for extremely short videos, and become more pseudo-random as the video length increases. I wouldn’t be surprised if an exact formula could be nailed down, but I don’t see it.

If you can solve the pattern, or have more data points you’d like to contribute then please ping me. I can either add them by hand, or share editing rights to this spreadsheet. I suspect any pattern may have something to do with MPEG-4 and keyframes. Or maybe Dwipal Desai injected a bit of the pseudo into the random because he enjoys the thought of thumbnail seekers endlessly spinning their wheels… heck it’s what I’d do if I were him!

, , , , ,

1 Comment

Comedian Allyson Smith’s Creative Process

In November 2008, a co-worker talked the office into checking out a comedian named Allyson Smith at Calgary’s Comedy Detour. Being a video guy I asked “should I tape it?”

Obviously I was impressed, or there’d be no blog post about it. She was crazy funny, and when she returned to Calgary to headline at Yuk Yuk’s, D4V of R4NT.com agreed to interview her.

The interview and article at R4NT.com was created thanks to the laid-back attitude of Comedy Detour, Yuk Yuk’s and Broken City (all hosts to Allyson’s stand-up).

If you’re looking for some b-roll to help supplement an Allyson Smith interview, feel free to ping me (anything possibly objectionable I’ll bounce off Allyson). I’ve also posted the raw footage from my walk-and-talk Allyson Smith interview to Internet Archive, available for recycling under a Creative Commons Attribution Share-ALike license.

, , ,

No Comments