Clément wrote: > I have tried on a file of 4 min 52s and the result of > (pFormatCtx->streams[i]->duration / 90000)/60 > is 0,04636241 .
From the documentation http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/structAVStream.html stream.duration is in stream.time_base units. Multiply the two to get the duration in seconds. Amitha. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
