New version - H264 encode + bugs fix