[Libav-user] dts/pts generated by aac encoder less than zero
applemax82 at 163.com
Fri Oct 9 07:53:52 CEST 2015
I use avcodec_encode_audio2() to call aac encoder to compress audio. AVFrame::pts is set to 0 for 1st frame, 1 for 2nd frame, 2 for 3rd frame, and so on. But I find pts and dts are negtive values in 1st two output packets, and 3rd packet's pts/dts is 0. Why pts and dts are less than 0 in 1st two output packets?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user