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" > 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 successfully open the stream and read and d

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

2013-09-08 Thread Alex Cohn
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 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

[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

Re: [Libav-user] VFR and CFR and libav

2013-09-08 Thread James Board
>> Also, and this probably isn't a libav question, but how can I tell >> if my input AVI file is vfr or cfr? > >By looking at frame timestamps. I tried this:     ffmprobe IN.avi -show_frames | grep pkt_pts_time Is that the correct way to look t time stamps?  Are those the real timestamps, or ar