Wednesday, March 18, 2009

Endless fun with baby

Grandma is holding Ian, who dozed off for a while, and had the look of "who the hell are you and why are you holding me" look when he wakes up in the second half of the video.

可愛又好笑的影片,死盯著外婆!

Tuesday, March 17, 2009

My YouTube link

Since now I figured out how to encode HD videos correctly to upload to YouTube, I am going to start uploading all of the videos one by one, and instead of posting every single one here at the blog, I will only select a few to post here. If you want to see all of the videos, go to the YouTube link below:

http://www.youtube.com/user/joshkuo

Adorable and funny sleeping video

真會睡!

First doctor's visit

Took Ian to the pediatrician for first check up, this is also his first time out of the house.

第一次看小兒科醫生(檢查),也是第一次出門。

HD video, yay!

Finally figured out how to transcode MTS format to something that YouTube will take. One of the big problems I had before was the audio-out-of-sync issue, and it has been solved after getting the latest development version of ffmpeg (from reading this post http://ubuntuforums.org/showthread.php?t=529871&page=2). I compiled with the --enable-pthread option and installed it in /usr/local, and created a quick bash script called 'my-encode' as follows:


#!/bin/bash
INPUT=$1
SIZE=hd720
OUTPUT=`echo $INPUT | perl -pe 's/\.MTS/\.avi/'`
/usr/local/bin/ffmpeg -i $INPUT \
-s $SIZE \
-acodec libmp3lame \
-ab 256k \
-ac 2 \
-vcodec libxvid \
-sameq \
-aspect 16:9 \
-b 3000k \
$OUTPUT


Then, it's as easy as running a one-liner to start transcoding all MTS files:

$ for i in *.MTS ; do echo "--Working on $i--" && my-encode $i ; done


Here is one of the many HD720 videos that I an uploading to YouTube:

Monday, March 16, 2009

Today's baby pictures

Ian is sleeping much better today, now that we figured out to feed him more.

今天睡得好多了。

From Ian 2009-03-16

Sunday, March 15, 2009

My own baby pictures for some comparison

My parents sent me some of my own baby pictures to do some comparison with Ian.

我自己小時候的照片跟兒子做個比較。



From Baby Josh
From Baby Ian

More first videos

Ian was placed under the warmer right after his birth, the little heart-shaped thing on his chest is the thermometer.

新生兒要放在保暖器下,胸前的是溫度計。

Home

We were released from the hospital yesterday afternoon, and spent our first night at home with Ian. Thanks to everyone for your blessings, it will probably take me a little while longer to post all the pictures and videos.

If someone can give me some easy instructions on converting MTS (or really M2TS) format from the Canon VIXIA HF100 HD camcorder to either mp4 or avi, that would help me speed things up... I have been using ffmpeg in Linux to do a quick batch processing of all the videos with minimum parameters (something like ffmpeg -i INPUT.MTS -sameq -s hd720 OUTPUT.mp4), but audio is out of sync, and the video is slightly choppy. I want to produce 2 types of outputs: a HD-ish output that I can make available digitally online, and a DVD-quality output for obvious DVD burning and snail mailing them out like AOL coffee coasters.

Ian is great when he's not crying.

Saturday, March 14, 2009

Update on new mommy

Some of you have asked, Cynthia is doing fine. Her delivery was a little rougher and longer than expected, and the doctor is keeping us here a couple more days to be on the safe side, but she is recovering very well. Thanks to everyone for your caring thoughts.

Friday, March 13, 2009

Ian's First Breakfast

He ate for the first time this morning.



I took all of the footage with my spiffy new HD camcorder (Canon VIXIA HF100), and I am still trying to figure out how to upload HD videos up to YouTube... BTW, Google Videos will soon discontinue the upload feature.

Now if I can just get better connectivity here at hospital...

Baby Ian

Baby Ian Keoni Kuo finally came out after nearly 20 hours.

From Baby Ian