set pts of avframe from video container and fix some compilation warnings Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>