I cannot access h264's logcat (the first link you provided). Your link doesn't work.
Regarding the m4v's logcat (the second link you provided), the qcom's hardware mpeg4 encoder is used.
V/OMXCodec( 2047): [OMX.qcom.video.encoder.mpeg4] onStateChange 2
V/OMXCodec( 2047): [OMX.qcom.video.encoder.mpeg4] Now Idle.
E/VideoencOMX( 2047): send_command::728 sending command MSG_ID_STATE_CHANGE: 2 state => 3 state
E/VideoencOMX( 2047): process_state_change::2633 go to OMX_StateExecuting
E/VideoencDEV( 2047): venc_drv_open::224 VENC_DRV_OPEN: FAILURE:venc_ioctl_initialize_done_recved FALSE
E/VideoencDEV( 2047): venci_process_command_start::2832 VENC_DRV_OPEN: failed synchrnously!
E/VideoencDEV( 2047): venc_drv_ioctl::464 VENC_DRV_IOCTL: FAILURE:venc_ioctl_rc_config_done_recved FALSE
E/VideoencDEV( 2047): venci_process_command_start::2861 VENC_DRV_IOCTL returns synchronous error for RC config cmd
E/VideoencDEV( 2047): venc_drv_ioctl::393 VENC_DRV_IOCTL: FAILURE:venc_ioctl_intra_refresh_done_recved FALSE
E/VideoencDEV( 2047): venci_process_command_start::2881 VENC_DRV_IOCTL returns synchronous error for IR config cmd
V/OMXCodec( 2047): [OMX.qcom.video.encoder.mpeg4] onStateChange 3
V/OMXCodec( 2047): [OMX.qcom.video.encoder.mpeg4] Now Executing.
W/CameraSource( 2047): Failed to set video buffer count to 4 due to -38
But you need to patch the N1 kernel to fix the below error to make video recording working.
venc_drv_open::224 VENC_DRV_OPEN: FAILURE:venc_ioctl_initialize_done_recved FALSEThe solution was already posted in
the second post of this topic.