[Libav-user] timestamp for avcodec_encode_audio2()

qw applemax82 at 163.com
Sun Sep 6 05:29:46 CEST 2015


Hi,


I use avcodec_encode_video2() to encode video, which can produce pts/dts based on codec time base.


But when I use avcodec_encode_audio2() to encode audio frames, and audio codec is AV_CODEC_ID_AAC, I can't get pts/dts after returning from the function. Why? Doesn't ffmpeg support this function yet? 


Thanks!


Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20150906/73774348/attachment.html>


More information about the Libav-user mailing list