[Libav-user] timestamp for avcodec_encode_audio2()
applemax82 at 163.com
Sun Sep 6 05:35:12 CEST 2015
The parameter I set is incorrect. I have no problem now.
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user