Showing posts with label helpful hints. Show all posts
Showing posts with label helpful hints. Show all posts

Thursday, June 4, 2009

Options to convert SD/DV to H.264/AVC

This overview of editors and converters started out as a reply in the YouTube Help Forums. I've adapted it here to try to give an overview of some of the options, and the pros and cons, when it comes to looking at the many, many choices available for dealing with video, especially converting standard definition camcorder (or DV) video to the AVC/H.264-based formats that have become the preferred options for getting the best quality for the lowest bandwidth cost for streaming video sites, from YouTube to Vimeo and beyond.

One should also be aware that some sites (Funny or Die comes to mind as one example) still prefer not to support H.264 encoding, in part because of the challenges it presents to getting consistent performance for all sorts of video and film styles, H.264 works remarkably well and efficiently to get high quality and smaller file sizes, but it works best when the video image only changes infrequently.

For example, if you shoot from a tripod, and most of your video is a long cut of yourself talking, or of a peaceful landscape, H.264 can do amazing things.

If your video clip looks like a scene from Cloverfield, on the other hand, you may see some artifacts in your H.264 encoding that may drive you a little bit bonkers.

But since so much of the "approved" content on YouTube consists of "talking head" vlogs, H.264 seems like the no-brainer solution.

For those still waiting to switch, I also suspect they've concluded that Adobe Flash's recent addition of H.264 support in recent versions of the Flash Player are just not entirely ready for "prime time." (That topic is something I may get into in more detail in some future blog entry).

I come from a somewhat biased place, since most of my editing and rendering experience has been in Vegas Pro and started with its consumer-oriented, slightly crippled siblings.

For most SD camcorders, AVI has long been the standard container format saved by most capture utilities that transform your taped video to a form that can be edited digitally. Perhaps I'll dig into one of those files one day soon and describe what you may find inside.

There are some standalone packages, many of them open source, that are mostly useful because they convert one or more video container types to a range of other types. In some cases that may be everything you need.

Since Vegas (and most NLEs) have transcoding and rendering modules built into them, I haven't really explored these packages deeply enough to have a strong opinion of them. It's best to find someone with a lot of working knowledge of these converters, to get a sense of their pros and cons, and whether they are something you need.

A lot of other video editing packages can do this as well, and there are at least some open source programs that will also create H.264 video which tends to be a little more important than whether the container is MP4 or another type (MOV, AVI, even FLV) as long as it can hold an AVC/H.264 encoded video stream.

Your choice should be based on a combination of budget factors, as well as how deeply you expect to get into editing and production.

If your time is more scarce than money, one of the commercial packages may be simpler to learn (and have more resources for training... plus, Vegas, FinalCut, or at the really high, Hollywood and Vancouver high, ends, Avid, are all tools widely used in film and TV production, (though Vegas has found it's niche more in local news and maybe cable ad production than it has found acceptance in features and among film school grads). You may find that your learned skills are somewhat more marketable, if you can claim intimate knowledge of one, and better yet, all of these programs.

I wound up gravitating to Vegas mainly because I already had a few years experience working/messing with the consumer-oriented package that Sony bought and built into Vegas Pro, and until last year I was still using one of the somewhat crippled consumer versions, so the cost of upgrading was less than if I had been starting from scratch.

For a long time I actually used Nero a lot for editing. I haven't used Nero for editing or rendering lately, so I don't know whether it has H.264 support, and if it does, just how strong that support is.

But I will say that for a long time I found Nero to be more robust and flexible than Vegas, but not nearly as adept at the (non-gimmick) creative controls that Vegas offers in abundance, and I'm not speaking of gimmicky special effects that scream "amateur" -- but the really powerful ones, like color grading and heavy duty audio editing, some of which are available in limited ways in the consumer versions, but are only fully enabled in the Pro package.

Here are some links that may get you started looking at some of the open source alternatives that have some kind of H.264 (or X.264, an open source equivalent) support:

A Listing of current Final Cut "equivalents" -- An open source fanboy introduction to and listing of all the open source NLEs that penguins love to dream about.


Blender - for the exceptionally brave
It's extremely powerful, and that's the problem. But it is open source and has a dedicated user community. But the learning curve is widely recognized as very steep, in part because Blender is also a full featured CGI rendering package that, at least in theory, could be used for theatrical release production -- as long as you have a render farm handy.

I found these (and other) links by searching the terms: "open source" NLE video -- the search gave over 8,000 other hits.

I'd encourage anyone still reading this post to do as much homework as you have time for -- especially and talking to, and lurking in forums where users of the packages you're considering are most actively congregating.

The real investment here is the time you'll spend learning to edit and deal with video in all its forms -- the time (and I mean lots of it) is the real cost, compared to that, the base cost of your chosen NLE pales by comparison. In fact, I'll lay odds that within a year or two you'll have accumulated a raft of programs to assist you in production, and most can be mixed and matched, within reason. Photoshop, Painter, GIMP, and many specialized texture creating tools, for instance, may come in handy, especially if you are an admirer of Robert Rodriguez and his 5-minute Film Schools.

Likewise for audio production tools. If you're a solo artist, especially, you'll very likely wind up with more tools than have time to learn well. Which is where collaboration comes in, if you can work it out. Even with the power that computers provide in making production something one person can do alone, real talent in all areas of production is rare, and your work can be much better if you can put together a team of friends or co-workers who each have mad skills in a particular area of production work.

All programs ( of any kind, but especially NLEs) have their quirks, which you'll usually find discussed in the online forums dedicated to each package, as well as in those dedicated to to video and audio production in general.

I hope you've found this a useful starting point for investigating basic editing (and file conversion) for streaming video. Please add comments and questions, so I can do better next time... or suggest a specific area to focus on.

Thursday, February 12, 2009

HQ revised deux

This story is about barbeque. Well, maybe not. More likely its about the way post-modern businesses change standards at a whim. Like Apple and it's madly mutating USB-2 fergawdsakes connectors for each new "generation" of the iPod nano. Used to be when a "generation" took roughly 25 years. Now, apparently, it's more like 9 months. That's a gestation period, not a generation. And Apple's making sure there's no intergenerational sexxing going on there. Gotta keep the kiddies safe, you know?

Latest case in point. As of about February 4, YouTube created (and failed to tell anyone about) a new standard for High Quality rendering. Apparently too many people were using the "old" High Quality render, which triggered more or less for anything you uploaded with a resolution higher than 640x360 pixels. They claim that they "improved" normal quality rendering, so they wanted High Quality to trigger only for uploads that were significantly higher in resolution than what they now call Normal.

Now (and I haven't tested this at all thoroughly) the new standard seems to be applied only if you render something in the range of 960 x 520 or something like that. I need to look at my specs again. Anyway, here's my first HQ render since Feb. 3.

Thursday, January 1, 2009

First stab at explaining why your YouTube videos are all messed up

During December, YouTube finally did what I'd long hoped they would do. They went and changed viewing screens. They took that 1950s, 4:3 format so beloved by Barbara Billingsley fans, and swapped it for that spiffy 16:9 ratio you see every time you walk by the TV section at your favorite mass merchandiser.

Sad to say, like so much in life, this change came at a cost. For many of us who had been letterboxing our widescreen video in the old viewer as the only way (or so we thought) to preserve the original aspect ratio, to keep our subjects from looking like the inhabitants of the Planet with Incredibly Stretchy Air -- suddenly, our old, tired videos look something like this, if we're lucky:



Actually, on this page that viewer doesn't look so bad. On the YouTube page though it looks more like this:

This is very frustrating -- don't you just want to grab the corners of the image and just
streeeeeetttttch them so they fill that little screen? I'm betting you do.

In fact, I'm betting you probably want your video to look more like the next video you see (points) "over there!" -->>>> (well, somewhere soon).



It's my plan, at least, to try to suggest some ways to make your video look more like the second example and less like the first.


Something you probably don't want is a version that looks like this.



Once I deal with giving you the settings and what to watch for so your videos do the proper tricks where aspect ratio is concerned, them maybe I'll get to tell you how I messed that one up, and why I even did it on purpose. In the meanwhile you might want to take a look at the file specs for that one too which, as with the other videos, is included at the end of the description block.

And so, here are the boring details.

Until I do spell this out in all its gory details (or at least the details that probably matter to the Average Josephina with a video camera, you may want to take a look at those two videos and compare them on their individual YouTube pages. In particular, look at the details given in the description for file format and other details of how each one was rendered, paying special attention to the lines about width, height and display aspect ratio. The last one can be a biggie, and there are several ways to screw up so I'll try (and most likely fail) to keep it simple.

Widescreen, but crammed into a Dior housedress of a Leave It to Beaver pseudo-screen:

http://www.youtube.com/watch?v=voPR3FhKt1k


Luxurious Luxorvision (16:9 video in a 16:9 Player):

http://www.youtube.com/watch?v=ImDmUuL_4iE

I'll try to work on a more detailed explanation in the meanwhile, aimed at those who may just be starting to learn about all the variations possible when it comes to rendering, and some of the reasons why you may be better off rendering things in moderate quality for the present and keeping control over the results, to whatever degree that might be a realistic goal.