[Libav-user] DTS audio out of sync with video

Kalileo kalileo at universalx.net
Wed Feb 8 02:46:37 CET 2012


On Feb 8, 2012, at 06:44 , Scott Brown wrote:

> My player is looking at PTS and DTS values, not just playing them as they
> come. If it's missing samples for a given time, it plays silence (for
> audio). I don't set any flags when I open the transport stream, although I
> did once try setting the "mpeg2ts_compute_pcr" option to "1" in the
> AVDictionary parameter. Although, since this didn't fix the problem I
> removed it. Honestly though, I'm not even sure what it did.

Then I would check if your input stream is not already containing wrong dts/pts values.




More information about the Libav-user mailing list