[Libav-user] streaming rtsp duration

Alex Cohn alexcohn at netvision.net.il
Thu Jan 12 14:16:45 CET 2012

On Wed, Jan 11, 2012 at 16:36, David martin <vilanew at gmail.com> wrote:
> Hi,
> Which is the option that will let me stream a few seconds of a video on the
> web and then stop ?

Are you writing the receiver or the streamer?

> 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 ??

In any case, can you use the fps and stop after n = fps*sec frames?
> thanks,


More information about the Libav-user mailing list