Re: [Libav-user] libavformat, RTSP: periodically read last available frame of live stream

2013-09-10 Thread Sandro Mani
On 09.09.2013 22:33, Alex Cohn wrote: On Sep 8, 2013 8:15 PM, "Sandro Mani" wrote: On 08.09.2013 18:32, Alex Cohn wrote: On Sep 8, 2013 6:17 PM, "Sandro Mani" wrote: Hello, I would like to periodically (say every second) grab the latest frame from a rtsp live stre

Re: [Libav-user] libavformat, RTSP: periodically read last available frame of live stream

2013-09-08 Thread Sandro Mani
On 08.09.2013 18:32, Alex Cohn wrote: On Sep 8, 2013 6:17 PM, "Sandro Mani" <mailto:manisan...@gmail.com>> wrote: > > Hello, > > I would like to periodically (say every second) grab the latest frame from a rtsp live stream of a webcam. I am able to successfull

[Libav-user] libavformat, RTSP: periodically read last available frame of live stream

2013-09-08 Thread Sandro Mani
Hello, I would like to periodically (say every second) grab the latest frame from a rtsp live stream of a webcam. I am able to successfully open the stream and read and decode frames, however if I read one frame every second, I am still reading subsequent frames (as opposed to frames which ar