Hello Amir, My source H264 and AAC are raw data, I try to packet it into mpegts by ffmpeg, but my issue is how to sync video and audio. In my research, I can use pts to sync video and audio, but I do not calculate the pts value on raw data resource. On the Internet, there are a lot of sample code about how to packet H264+AAC to mpegts, but the pts value is copied from original input file, no calculate function to do. So, my issue is how to calculate the pts under mpegts container.
Thanks a lot. -- View this message in context: http://libav-users.943685.n4.nabble.com/Re-Raw-H264-frames-in-mpegts-container-tp3602662p3797635.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
