more video for fun and profit

Well, I read more, and I played more.

First, the original video I posted sucked.  I couldn’t figure out why iMovie HD was degrading the video for the life of me.  I tried every encoding setup known to man, but just couldn’t figure it out.  Finally I realized that when I had originally hit "Create a New Project", I had selected to save it in MPEG, instead of DV.  This meant I was starting with already compressed video from the beginning!  I realized it when I had finally posted the first project all over the web and started to work on another video.

So.. I started over the first one with DV, re-did all the editing, re-exported, and it was the same as the original AVI quality.  Woohoo!  Next I spent a few hours scouring the web for what h.264 bitrates should be used to represent standard definition (480p) and high definition (1080p) video.  I’ve come to the conclusion that there is no clear direction amongst the world.  However, I have to make some decision, so my belief based on reading is that 2mbps for 480p and 8mbps for 1080p are appropriate with h.264.  Since those reference average bit rates, I will set the QT encoding to a max bit rate of 2.5mbps for 480p and 10mbps for 1080p.

My logic for the audio is pretty similar since I do all my MP3s in 192kbit VBR, and the AAC is set to 224kbit.  If I ever end up with video taken with a better audio feed than a basic handheld camcorder/camera, I’ll have to return and play with that part more.

macbook update

I said a while back there was a rumored software fix for my mouse woes on the MacBook.  They did indeed come out shortly after that and resolved my problems.  It’s a bit odd to use the mixture touch/click on a single surface still but I’m getting more used it every day.

upgrades

I upgraded gallery to the newest release yesterday.  It adds a pretty sweet new flash slideshow I think everyone will like for the photos.  Let me know what you think.

I also upgraded the blog today, so let me know if either one causes anyone problems.

free market my ass

http://www.msnbc.msn.com/id/26746909/ (Fed steps in to rescue ailing insurer AIG)

http://www.msnbc.msn.com/id/26785712/ (SEC imposes emergency ban on short-selling)

http://indexed.blogspot.com/2008/09/believe-it-when-you-see-it.html (Believe it when you see it.)

So we know Carter and then Reagan removed much of the economic regulation of corporations.  I mention both so I don’t have to hear idiotic party finger pointing.  In theory this was to move more towards a true and pure capitalist market, and expand the economy.  Most would say that worked well.  It may have stifled small business and competition, or hurt workers’ rights, but the federal government would argue that our GDP expanded and the nations’ economy benefited.  Some would argue workers’ rights and small business protection are state or city issues, others would argue that’s a load of crap, but the end result is our country’s economy got better and the federal government could claim success.

So.. now we have companies taking bad business risk, and nothing is stopping them.  What would those that think deregulation is still the right way say?  They would say, as a true capitalist would, you invest in those companies so you should watch them.  The reality is I invest in index funds, mutual funds, bond funds, and trust those fund managers to watch them.  I don’t have the time to watch each individual company or entire market segments.  I can barely stay on top of the fact that Nortel is crumbling underneath itself in my own market.  These fund managers are pressured to show results, and they sure aren’t going to call out wildly successful markets or individual companies in most cases.  So what’s left?

Well, when people get scared, they look to the government.  They want the government to step in.  Is that the answer though?  It seems like the fundamental problem here was companies taking risk, the economy being too invested with that risk, and us seeing the bear to counter our boom.   How do you fix that?  To me, it seems like the SEC responsibility here should simply be to find a way to be sure more people understand the risk better.  Maybe the government should be rating debt of public companies based on a standard method of risk assessment so investors and the public can understand their risk better?  Maybe the investment houses’ risks should be rated on funds more consistently and accurately?  I’m not sure what the answer is, but making sure everyone understands risk to a better degree seems like the fundamentally right direction from my economically ignorant perspective.

I don’t think actually stopping these companies from doing things is the right answer.  After all, the ability to excel in a risky environment is what makes companies rise.  Removing the ability to be risky will surely stifle our international ability to excel in the long run.  Our real issue was too many companies taking too much risk.  How would the government oversight decide who gets to risk what and how much?  That seems like a bad way to regulate to me.  However, if we had more information about our collective risk, would we have had the market so heavily invested in this way?  Obviously the housing boom wouldn’t have been as much of a boom if less of these risky mortgages had been allowed, but would that be such a bad thing?

Let me know what you all think.

19

Today I started my 19th class since returning to school.  That’s crazy.  I’ve been in a class about 60% of the time during the last three years.  I only have one more core class after this, then it’s on to fulfilling general requirements and electives..  I’m getting there.

holy tutorial batman! synergy and encryption

Who remembers the bad TV show Batman?  Robin loved to say "holy <something> batman!".  Who could forget the bad animated pop-ups that said "BAM!"  "SMACK!"  "POW!".   Man that show was great.

In honor of Eddie’s comment about my holy tutorial I figured I’d give you all another one.  I find myself setting up convoluted/complicated things on my computers sometimes and then never documenting them anywhere.  Since a blog is supposed to be about not only sharing thoughts and ideas but also putting things back in to the Internet I figured I’d do my documenting here.

So next we look at synergy and encryption.

Synergy (http://synergy2.sourceforge.net/) is an app that works in Windows, Mac OS, and Unix to let you share your mouse and keyboard.  I use it every once in a while at home, but I use it every day at work.  I have in front of me; three computers, four screens, and only a single keyboard and mouse.

The only down side to synergy is that there is no built in encryption.  I don’t feel safe typing in passwords without encryption, it’s just a bad idea.

Due to the PC based firewall that runs on our corporate IT standard XP machines I can’t run the synergy server in Windows, so all of my encryption is from the two Windows machines to the FreeBSD machine (same one I’m backing up to from the previous post).  In the past I’ve used PuTTY and manually opened it each time my PC booted.  This gets old after a couple years, and it also leaves a window open in my taskbar I wasn’t interested in staring at all the time.

First, install synergy clients on the Windows machines and the server on the Unix machine.  The Windows clients are pretty self explanatory, the only catch is you want to tell it the server is localhost since the connection will be encrypted locally via an SSH tunnel.  Also, make note of the Screen Name under Advanced, and make sure you have it set to AutoStart when you login.

On the server, make sure it’s set to start at boot (a million different Unix variants here, you’ll have to figure it out yourself).  Then create a config.  Here is what mine looks like;

section: screens
        FreeBSD:
        Windows1:
        Windows2:
end

section: links
        Windows1:
                right = Windows2

        Windows2:
                left = Windows1
                right = FreeBSD

        FreeBSD:
                left = Windows2
end

Now make it start.

Next, install myentunnel from http://nemesis2.qx.net/software-myentunnel.php

I used the base install so I could just control it starting from my startup menu.

Now install puttygen from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

If you’ve already generated an OpenSSH Key in Cygwin as part of my previous post you’ll want to just import that one by going to the Conversions Menu selecting Import key, and opening your id_rsa from the home dir of cygwin/.ssh.  If you don’t have one already, you can just click Generate.  If you had to generate one, copy the contents of the public key and put them in the ~/.ssh/authorized_keys on the Unix host.  Make sure it’s chmod’ed to 600 so sshd can consider it secure and use it.

Now, save the private key, say ok to having to passphrase, and save it in your myentunnel dir as "keyfile.ppk".

Close puttygen, and open myentunnel.

Under the Settings tab that comes up enter the name of your SSHServer, Username.  I selected Connect on Startup, Reconnect on Failure,Use Private Key, and Verbose Logging.

Under the Tunnels tab, enter 24800:localhost:24800

24800 is the port synergy uses and this just makes it tunnel locally as 24800 and then on the remote host, forward the data to localhost 24800.

Now, click Connect, wait for the lock in the system tray to go green, and then click Hide.

Lastly, create a shortcut to the executable in you startup folder and you’re done!

With the SSH tunneling in place you can see synergy gets pretty powerful.  I can actually share a mouse and keyboard in my house when the laptop on my desk is VPN’ed in to work by SSH tunneling back in to the house.  It’s a *bit* slow, but it definitely works.

There are other alternatives here, including using stunnel, or even more cygwin work, but myentunnel seems to work great so far for me.