Hi, Which is the option that will let me stream a few seconds of a video on the web and then stop ? pFormatCtx->duration is empty when streaming from the web, so can how i force a video duration so that I only stream a few seconds for testing ?? thanks,