I join Ajay's question. I found this very old and incomplete example: https://lists.libav.org/pipermail/libav-user/2009-May/003034.html
What it does it first decodes h264 from a file and writes it into stream. The example has some code that attempts to setup audio frame but it doesn't mux it into the ts. Any pointers how to mux raw h264 bitstream with audio into ts? Tnx On Tue, Sep 26, 2017 at 10:33 PM, Ajay Parashar <[email protected]> wrote: > Hi, > > I am getting raw h264 encoded frames from one thread of my application in a > buffer & getting raw PCM data buffer from the second thread. > Now i want to create MPEGTS by using ffmpeg APIs in the same application. > > I got many references to create MPEGTS by using static files but did not find > any info how can i create MPEGTS by using h264 frame buffer and PCM data > buffer? > It would be great if you guys let me know how can i achieve the same. > > Regards > Ajay Parashar > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
