script to encode h264 into m4v