Re: [Libav-user] Frame number

2012-07-03 Thread Jonas Elofsson
Hi, This is most helpful, thanks a lot! I whish I had more time for this project... Best regards, Jonas On Sat, Jun 30, 2012 at 3:12 AM, Michael Zucchi wrote: > > I'm pretty sure you shouldn't use approximate numbers (floats or doubles) > for this. > > There's a bunch of AVRational related and

Re: [Libav-user] Frame number

2012-06-29 Thread Jonas Elofsson
gt; it from the frame rate (time base of the stream). > > On Thu, Jun 28, 2012 at 10:09 AM, Jonas Elofsson wrote: > >> Hi, >> >> Resending this, it seems my first post never got through... >> >> I'm taking the first, trembling steps to use FFMpeg in Qt, pr

[Libav-user] Frame number

2012-06-28 Thread Jonas Elofsson
Hi, Resending this, it seems my first post never got through... I'm taking the first, trembling steps to use FFMpeg in Qt, primary for a video editing SW. So far it is working good, I can decode frames to a QImage in Qt and display them on a label. Even video playback works good on a QLabel up to

[Libav-user] display_picture_number

2012-06-27 Thread Jonas Elofsson
Hi, I'm currently working on using FFMpeg in Qt, and so far it works good. However, when I decode a frame, the value display_picture_number seems not updated. It always reads zero. How can this be made to work? And if it can't, what is the recommended (most stable) way to get the decoded frame n