avformat/imx: set video stream duration