Revert to last revision (avcodec_encode_video2 is not currently available on Ubuntu) and time stamp of the image/packet messages.