[Libav-user] PTS values and writing encoded audio and video frames ?

Kalileo kalileo at universalx.net
Fri Apr 13 05:41:03 CEST 2012

On Apr 13, 2012, at 08:16 , ashika umanga wrote:

> thanks all for the tips,
> I noticed that in the "muxing.c" example the "pts" value is only set to the AVFrame of video stream.Is it possible to do the same for Audio stream?
> I am sorry but I dont have clear idea on how to use "pts" .I know for single stream(video) is it used to arrange the decoded frames in correct order. (?) . but whats the connection when we consider both audio and video stream ?

Have you already red the classic dranger tutorial, as it was proposed to you earlier?

More information about the Libav-user mailing list