Hi Nicolas,
Nicolas Krieger wrote:
[...]
> Ok.Where and when is time_base defined ? I think I'm confusing some
> informations. I understand better ffmpeg and video codec, but all is not ok
> for me yet.
It's all explained in the comments in libavformat/avformat.h:
typedef struct AVPacket {
/**
* Presentation time stamp in time_base units.
* This is the time at which the decompressed packet will be presented
* to the user.
[...]
/**
* This is the fundamental unit of time (in seconds) in terms
* of which frame timestamps are represented. For fixed-fps content,
* timebase should be 1/frame rate and timestamp increments should be
* identically 1.
*/
AVRational time_base;
[...]
and so on.
You should be able to find some doxygen-generate documentation too, but
it might be confusing.
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user