| << | December, 2005 | >> | ||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
| 27 | 28 | 29 | 30 | 1 | 2 | 3 |
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
For serious portraits or low light situations, we've been taking lots of pictures of Annie with my Canon 20D. I also have a Canon SD300 for convience and video. The video modes on these small cameras are amazing! I can't see myself needing more than a couple minutes of video. Who needs a video camera for their kids these days?
However, dealing with the video out of these things can be tricky. I post my pictures to smugmug.com (if you sign up use my referrer coupon: aoVCSFuPXSipF). I've got a plan that also lets me upload videos. The only format they take is MPEG 1 (for compat reasons) but the camera produces MJpeg AVI files. Converting these things can be trickier than you'd think.
Here is what I've ended up doing -- if someone else has a better solution let me know.
convert-avi.cmd or something):@echo off setlocal set CL="c:\Program Files\MPlayer\mencoder" set CL=%CL% -oac lavc -ovc lavc -of mpeg -mpegopts format=mpeg1 set CL=%CL% -af lavcresample=44100 -vf hqdn3d,harddup -srate 44100 set CL=%CL% -lavcopts vcodec=mpeg1video:keyint=15:vrc_buf_size=1000 set CL=%CL%:vrc_maxrate=2500:vbitrate=2500:trell:mbd=2:vrc_init_cplx=1000 set CL=%CL% -ni -nobps set CL=%CL% -o %~n1.mpg %1 %CL%
.avi file you need to convert. It will
create a file in the current directory with the same name but a .mpg extension.This command line is totally out of control. I couldn't find a way to wrap lines in batch files so I did the environment variable trick. I got this via trail and error and I'm not sure what all of the options mean, but here is what I know it does:
For a 18.5 second video doing this compression (just to MPEG1 -- let alone something better) cut a 35M AVI file down to 5.5M. The only problem I haven't figured out is that the first frame is really pixelated. If you can figure it out you win my undying gratitude. Check out the docs here or here.
Bonus: You can rotate the video during the conversion with a ,rotate=90 on
the after harddup on the -vf argument.
Finally, check out a cute video of Annie here.