[Ffmpeg-devel] wrong stream duration and pkt.pts

Thanos Kyritsis djart
Fri Apr 28 20:38:08 CEST 2006

On Friday 28 April 2006 20:42, Michael Niedermayer wrote:
> Hi
> On Fri, Apr 28, 2006 at 05:32:59PM +0300, Thanos Kyritsis wrote:
> > Hello,
> >
> > I've noticed a considerable amount of media files (including avi
> > and mp3 files), for which ffmpeg reports wrong duration times
> are you using cvs? 

Of course. Well, I didn't cvs up today (last time was yesterday), but 
I've noticed this since weeks (perhaps months) now.

> if so please provide sch a file (avi & mp3 only no 
> .mpg)

Ok, I've uploaded a full .mp3 on

and a partial (cut with dd) .avi file on

(if they're gone I'll upload them on my own ftp server).

> > and wrong
> > pkt.pts value for some or the majority of frames.
> -9223372036854775808 == AV_NOPTS_VALUE which means unknown ...

unknown yes, but why ?

Do you think these two problems might be relevant with each other 
somehow ?

I'll try to see if I have any media file having frames with 
AV_NOPTS_VALUE for pkt.pts but with correct AVFormatContext duration 

Thanos Kyritsis <djart at linux.gr>

- What's your ONE purpose in life ?
- To explode, of course! ;-)

More information about the ffmpeg-devel mailing list