Maggie's FarmWe are a commune of inquiring, skeptical, politically centrist, capitalist, anglophile, traditionalist New England Yankee humans, humanoids, and animals with many interests beyond and above politics. Each of us has had a high-school education (or GED), but all had ADD so didn't pay attention very well, especially the dogs. Each one of us does "try my best to be just like I am," and none of us enjoys working for others, including for Maggie, from whom we receive neither a nickel nor a dime. Freedom from nags, cranks, government, do-gooders, control-freaks and idiots is all that we ask for. |
Our Recent Essays Behind the Front Page
Categories
QuicksearchLinks
Blog Administration |
Saturday, July 12. 2008Dr. Mercury's Computer Corner: Lesson 14 - VideoThis is a weekly Saturday morning feature that will slowly, over time, turn you into a full-fledged computer expert. More info here. Lesson 14: Video Ah, video. But video. Video is what separates the wheat from the woods, the chaff from the sliced kittens, the bear from the pope poop. Video. Video is where the foot meets the rubber, the tire meets the floorboard and the pedal meets the road. It's what separates the fancy from the dancy, the hoity from the toity, the willy from the nilly. It's how you tell the kettle from the heat, the pot from the fire, the brisket from the biscuit from the basket. It's what— For more unbelievably inane ramblings as I desperately try to avoid writing about this horrid subject of which I, personally, would never partake, please... Overview The reason video is such a pain in the whatsitz is for a plethora of reasons:
But now for the exceptionally good news: It's 2008. In the old days, long long ago (about 3 years), the biggest problem was one of program compatibility. AVI programs tended to deal exclusively with AVI, MPEG programs just handled MPEG. Almost nothing could handle WMV because of the strict ($$) licensing by Microsoft. As a result, videonuts tended to stick with one format, and even within formats there were sub-groups. XviD versus DivX. VCD versus SVCD. Then there was the 'container' crowd pushing OGM and MKV. I hate to say it, because the format really isn't very good from a video perspective, and it's been foisted on us by the cheesy YouTube company, but... ...but things were getting kind of messy there until FLV came along. Like JPG in the graphics world and MP3 in the audio world, FLV was invented as a multi-platform online video format, meaning both Windows and Mac machines could play it, as well as Linux and the rest of them. In my day, I've dealt with ASF, AVI, DIVX, DVD, FLC, FLI, FLV, H264, M1V, M2V, MKV, MOV, MP2, MP4, MPG, MPV, OGM, QT, RM, SVCD, SWF, VCD, WMV and XVID — and no doubt a host of lesser formats my mind has thankfully flushed from my memory. As a general rule, you'll deal with two or three formats; AVI for 'raw' editing and whatever is your format of choice for online and/or local use. You should go with FLV for online use and either WMV or XviD for computer use. Sorting Them Out Like graphics and audio, video formats can be categorized a few different ways:
By the way, did I ever finish up with the good news? The good news is that here in 2008 we've got freebie programs that'll import and export practically any format you'll run into. Sorry to keep you hanging in suspense.
While I couldn't begin to cover the vast field of video tools, these three are the basic building blocks, along with whatever conversion program you're using (unless you're converting to a sub-format of AVI, such as DivX, in which case VirtualDub is all you need). Media Player Classic — This has long been a favorite video player among the vid crowd. Very configurable, plays almost anything you can throw at it. Like the other standard players, though, it can't play FLV. I've only found one free FLV player and it promptly messed up another program, so at this point your best shot is to convert any FLV you want to preview into AVI or WMV. (I preview them by loading them into Flash 8, but that's commercialware) Your other alternative is to put them online and preview them with an online player. VirtualDub — This is the best all-around editor/cropper program for doing small stuff to vids. It'll save in an uncompressed AVI format which you'll then load into your WMV- or FLV-maker of choice. MediaInfo — Gives you specs on a video. If all you want is the file size, you can get that by playing it with Media Player Classic and opening its File Menu, Properties, Details tab. If it's an FLV, which MPC can't play, you'll need this program. The Goal As with audio and graphics, the format you use and the specs you use when you save it will depend upon its eventual use:
Garbage In... ...garbage out. You can't squeeze somethin' out of nothin'. If the source video is trash, it won't do you any good to jack up the settings when converting it. If anything, you'll just make the trash clearer. On the flip side, if your source file is high quality, then you definitely want to pay attention and not use some 'pre-set' in the program that's going to degrade the quality. Also, there are two levels of "high quality", depending upon what size you expect the video to be played. That is, if you're putting a video on your blog site and it's only going to be 320 x 240 in size, a standard 'high quality' setting in a standard video converter would look fine. However, if you expect the clip to be played full-screen size, like this (double-click inside the window after it starts playing), then it's going to take a bunch of steps to do it right. A link to the guide that made that clip is down below.
While these terms basically mean the same thing, how they're used is a matter of context:
So, converting involves rendering, and rendering usually means converting, but rendering is usually part of a process whereas converting is usually a one-step process. If you read about some hot new video "converter", that's what it's referring to. All of the small video tools that just do one particular function are lumped together as generic "video tools". The process above would be done with two or three such tools, with one tool doing just the rendering part. This lesson only deals with converting. Once you step beyond a simple one-click process, you open the door wide. In the 'Video' area of my web site are 650 pages, incorporating over a thousand pictures in the guides, some of the guides as long as a Maggie's home page — and that's what it takes to cover what's beyond the door. One thing to note is that all video is the same, outside of being in different formats, and any format can be converted to another. Whether it's from a camcorder or a laserdisc or a DVD or a VCR or a live video capture card or the good ol' Web, as long as you can save it as a file on the computer, it can be converted for your own use. For more info on saving media from the web, read this.
Aspect ratio is the width of a picture or video compared to its height. If you'll notice, your computer screen is slightly wider than it is tall. It has a 4:3 aspect ratio. If you chopped the width into four pieces, it would take three of them to make the height. A square would have an aspect ratio of 1:1. A movie theater, with that real wide screen, has an aspect ratio of 16:9, almost twice as wide as it is tall. Videos and movies will generally come in three sizes, a standard 4:3 full-screen format and two variations of 'letterbox' format, the stuff with the black borders at the top and bottom. Most of the clips on the Web are 4:3. The reason you have to pay attention to aspect ratio is because at some point you'll get your hands on some vid that's either too small or too big and you'll want to resize it. But if you don't keep the aspect ratio together, people will look too thin or too fat and the whole thing gets a great big red 'AMATEUR!' stamped across it. To keep the aspect ratio together, you use some basic algebra. If you know three of the parameters, you can get the fourth. In this example, let's say the original video is a tiny 200 x 150 and you want the new width to be 300. To get the height: 200 300 150 x 300 = 45000 divided by 200 = 225 for the height. The better ($$) programs will adjust the height automatically when you enter a new width, but the cheapie ( ) programs usually have to be done by hand. Program Genres Video is so vast that no one program does everything. Here's a general rundown, with some overlapping:
That's just how I break them down, and, as I said, there's a lot of overlap. And even in the same genre programs can differ wildly. Both ULead's VideoStudio and Adobe Premiere would be considered 'editing studios', but they take a vastly different approach as to how they lay things out on the screen. Premiere is much 'deeper', in that you can do a lot more with it, but VideoStudio's 'transitions' (the fancy effects between scenes) just blow the doors off the ones in Premiere — all of which makes a case of why trial demos are so important.
Reasons #319 and #320 Why Video Is Complicated Something's bound to go wrong, and you'll be stuck as to where to turn. And that's only if you're lucky. Reasons #321 — #385 all have to do with how video problems snowball. A quick example: A while back I had a short FLV clip that I wanted to incorporate into a quick post. I wanted to lower the loudness and crop off the end, so first I converted it to uncompressed AVI to work with. But, oops, the a/v was now out of sync by a second. By the time I got that adjusted, it was cutting off the first second of the video, which I wanted. So I ended up taking 1/4 second of black video from the very end of the clip, pasting it into a new project four times to get a whole second of black video, then stripping out the audio track and putting it into an audio editor so I could mute it, then splicing it back with the 1 second of black video and pasting that into the beginning of the project. All because that little a/v sync problem popped up. As for finding out all these juicy tricks in the first place, it should go without saying that there are zillions of video how-to sites and forums out there. I'll list out a few at the bottom.
By the way, did I mention that you might need a couple hundred gigs of hard drive space? Truly, the most mind-boggling number in all of computerdom is how large uncompressed video files are. You save some tiny 2-minute clip to uncompressed AVI and poof! There goes 50 gigs. It's really phenomenal. If you haven't seen your "Sorry, hard disk full!" message in a while, stand by. Of course, if you have a newer computer and it has an ATA bus, the second IDE plug will be taken up by the ROM drive and you'll end up with a PCI IDE card for the motherboard but it won't work because you first need to use the 'Hardware' section of Windows Update which isn't part of their automatically-updated files and— Anyways, you need lots of hard drive space. If quality is your game, you have to stay in uncompressed format while you crop ends and add fade-ins and adjust audio tracks and all that. It's only at the last step that the file is compressed. If you simply don't have the hard drive space, you can still get by, but it's going to detract from the quality, add a bunch of time and involve a learning curve. To stay away from uncompressed AVI means you have to render it to a format such as XviD or DivX, the instructions for which exceed the scope of this lesson. There are guides out there by the barrelful, though, so it shouldn't be that big a deal. When you save to whatever compression format you choose, just be sure to crank up the bitrate settings to maximum.
This'll almost be a letdown after all of the above. You'll click the OK button, wheels will spin, gears will grind, it'll spit out the video and you'll be thinking, "Dang, is that all?" Hey, it's 2008. Count yer blessings. I'll break the following into two sections; for those of you who don't plan on spending a dime or learning one thing more than you have to, and those of you who are going to jump in with both feet. Lord have mercy.
There are lots of free converters around for the usual formats (AVI, MPEG, MOV, RM), but not for FLV. I could only find one, but it works fine. If you're only planning on converting to WMV, Media Encoder would be the better route to take. Download SUPER ©, install it. The download link is at the bottom of the third page, the one with the charts. It's hard to find, and the server is real flaky and your download may be corrupt (error message when you run it), so if you're having problems, grab this. Assuming you have a firewall installed, I wouldn't allow it to access the Internet (no need) but if you're running something really picky like ZoneAlarm, let it access system files. Also, if you're running ZoneAlarm, it might take this thing upwards of a minute to load up — no kidding. So if nothing happens when you first run it, just hang on for a bit. Keep reminding yourself that it's free. When it does load up for the first time, you'll get an error box if there's something about your system that it doesn't consider good enough. It came up on mine because I don't have 20 gigs free on my C Drive, where I installed the program. That's actually pretty weird thinking on the programmer's part, but what the hell — it's free. Close the error box (if it popped up) and the program will appear. Click somewhere in the program with the right mouse button to open up the big options menu:
To set up the program for FLV:
To convert a file is fairly easy:
Check the file name of the converted file. SUPER might have left the original file extension in and capitalized the ".FLV", like "coolvid.wmv.FLV". Get it all tidied up.
For your down 'n' dirty, slap-it-up-there conversion, that should be all you need to know. The program has a little leeway, in that you can correct a video whose aspect ratio is off by fussing with the 'Video Scale Size' area and the 'Aspect' column, but that's about it. If you're not sufficiently petrified yet, I haven't done my job. Like I said, once you open up that door, you jump into a world of hurt. Video is pesky, ornery, rascally, bitchy, cranky, surly, morose, picky as all get-out and won't take no for an answer. The only good news is that it won't take long to find out something's amiss. Just hit the 'Play' button. If some action scene in your conversion looks a little blurry or blocky or pixelated, and it's not in the original, crank up the bitrate another 500 and try again. While actual instructions are way too much for this lesson, I can lay out what I generally do in various video situations and the programs I use and let you dig up the guides and tools (or similar) yourself, depending upon which area you're interested in. This is just to get you in the ballpark as to what kind of procedures are involved.
Remember how earlier I said there were actually two forms of "high quality", depending on how large the video was going to be viewed? Well, this is the second one. While this may look lengthy and complicated, it's really not. Most of the steps involve a whopping one or two mouse clicks.
A guide for this procedure is here.
It's not uncommon to (1) have the a/v be out of sync from the get-go, or (2) have the converter put it out of sync. The fix-it process is relatively simple although it might take you five or six tries to zero in:
Play the file and judge the sync. Note: it might play a bit jerkily because it's playing uncompressed AVI. Close-ups of mouths are the best to test with, or setting some hard object down on a countertop. If it's closer than the original, maybe try a '300' next time. Eventually you'll nail it down. If it was worse than before, try a "-200" in the box. You first have to zero in on whether the audio is in front of or behind the video track, then work from there. Yes, commercial programs will do this in a 'timeline' display that makes it much easier.
Resources My Site — It makes you a guarantee: use the exact tools and guides on the site and the processes will actually work. Use a different version and all bets are off. This site is somewhat unique. Unlike most guides, which worked for the guy who wrote them but might not work on your machine, the guides on this site have been fire-tested by literally hundreds of people on Usenet who then gave me feedback. VideoHelp — This site has been around for ages Doom9 — Ditto, probably the best video forum around If what you're looking for doesn't jump out at you, it's time to head for Google and start punching in keywords. As goofy and multi-faceted as the video world is, it's generally acknowledged that whatever bizarre problem you've just run into has happened before. I'd say there's no computer field more complicated, but no field with greater rewards. It's just neat being able to see and hear your hard-earned efforts right after the render is through. Making a professional-looking DVD out of video clips might be one of the funnest endeavors of all. And putting a video of some demonstration or catastrophe or whatever on your blog site that you shot just minutes before would certainly have to be thrilling — especially when you fire the link off to the big league bloggers and they pick it up. Any way you slice it, video is a kick. That is, when it's not being bitchy, cranky, pesky, surly, morose...
Comments
Display comments as
(Linear | Threaded)
Dr. M: a spam question. I use a PC w windows, and my ISP does an EXCELLENT job of blocking spam mail. As such, I had no advice to offer to a childhood friend , a longtime Mac user but not a computer whiz, who has recently had a problem with spam e-mail. Is it that she is not utilizing what Macs have? Would some add-on software help?
BT - Like you, my ISPs have always done a stellar job of blocking the bad stuff. I probably got a whopping three pieces of spam in the 3 years I used RoadRunner and haven't gotten a piece of spam yet in the year I've been using Verizon.
In regards to your friend, there are two things to note: 1. There's a difference between spam that's not addressed directly to you and has slipped by the watchdog program the ISP is using, and spam that's actually addressed to you. The latter presents a problem because what's "spam" to you might not be spam to the next guy. If an ad drifts in for Viagra for gerbils, you're going to consider that "spam" -- but not the guy who's trying to breed gerbils. So if the majority of spam she's receiving has her name on it, then it's hard to blame the ISP for letting it through. While the layperson would claim anything he didn't specifically ask for is "spam", I'd define it as "anything without your specific email address on it." Not to be harsh, but if her name's out there on spam lists, she brought it upon herself. Which brings us to... 2. If the spam has her name on it, then there's not much she can do except grab some second-party anti-spam software and start blocking each one as they come in by domain name. Unfortunately, the spam merchants have long gotten around that one by employing a horde of fake domain names, but ya gotta start somewhere. If it doesn't have her name on it, then she's got a legitimate beef with the ISP, and if they can't or won't do anything about it, it's time to move on. If she's locked into a yearly contract, I'd be raising hell with Customer Service, accusing them of breaching their end of the contract. What she (and everybody) needs is to have are (at least) two email addresses, one for online merchandise use and one for personal use. The problem with that is that eventually some well-meaning friend or relative will send her a birthday card via an unscrupulous online greeting card company which promptly sells her 'private' address to the spam merchants. The only thing one can do there is try to educate the aforementioned friends and relatives about using online greeting card companies. Most are legit, but if you were a spam merchant, what better way to collect a bunch of active email addresses from gullible grandmas than a cutsie greeting card site? Regarding spam blockers, here's a good review by the stalwart folk at PC Magazine which covers the various types of spam blockers, from the 'trainable' type to the established 'whitelist' set. I presume most of them have Mac versions since spam is an multi-platform problem. The training type take more work, but the whitelist type can be a little too protective, so glance over the article and then discuss the various possibilities with her, and get her to sign up with Gmail for a 'throwaway' address that she can use with online merchandisers in the future. If she's using Outhouse Express, she can have the Gmail stuff sent to her there using a separate 'Identity', rather than having to use the Gmail site. That should get you in the ball park, and let me know what you come up with. |
This is a weekly Saturday morning feature that will slowly, over time, turn you into a full-fledged computer expert. More info here. Lesson 15: Streaming VideoThe following video perfectly illustrates video's rising importance in our lives, perhaps moreso
Tracked: Jul 18, 18:22
Programs AutoSizer — This has two great uses. It'll pop open the browser (or any program) in full-screen mode every time it opens, and for small programs that tend to open wherever they want (like Calculator), it will make them open righ
Tracked: Nov 29, 10:03
Here's an index of my Maggie's Computin' Tips. I can't guarantee all of these will work on every Windows operating system, but most should. Programs AutoSizer — This has two great uses. It'll pop open the browser (or any program) in full-s
Tracked: Jul 10, 11:25
Here's an index of my Maggie's Computin' Tips. I can't guarantee all of these will work on every Windows operating system, but most should. Programs AutoSizer — This has two great uses. It'll pop open the browser (or any program) in full-s
Tracked: Jul 10, 11:27
Here's an index of my Maggie's Computin' Tips. I can't guarantee all of these will work on every Windows operating system, but most should. Programs AutoSizer — This has two great uses. It'll pop open the browser (or any program) in full-scr
Tracked: Jul 22, 19:51
Here's an index of my Maggie's Computin' Tips. I can't guarantee all of these will work on every Windows operating system, but most should. Programs AutoSizer — This has two great uses. It'll pop open the browser (or any program) in full-scr
Tracked: Jul 22, 21:41
Here's an index of my Maggie's Computin' Tips. I can't guarantee all of these will work on every Windows operating system, but most should. Programs AutoSizer — This has two great uses. It'll pop open the browser (or any program) in full-s
Tracked: Jul 23, 13:08
Here's an index of my Maggie's Computin' Tips. I can't guarantee all of these will work on every Windows operating system, but most should. Programs AutoSizer — This has two great uses. It'll pop open the browser (or any program) in full-s
Tracked: Aug 28, 08:33
Here's an index of my Maggie's Computin' Tips. I can't guarantee all of these will work on every Windows operating system, but most should. Programs AutoSizer — This has two great uses. It'll pop open the browser (or any program) in full
Tracked: Jan 08, 20:00