[Libav-user] help required for creating MPEGTS from raw h264 & PCM Audio

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Sep 27 18:19:37 EEST 2017


2017-09-27 13:37 GMT+02:00 Ajay Parashar <ajay.parasha at gmail.com>:
> On Wed, Sep 27, 2017 at 4:05 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>> 2017-09-26 21:33 GMT+02:00 Ajay Parashar <ajay.parasha at gmail.com>:
>>
>>> 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.
>>
>> Did you already look at doc/examples/muxing.c ?

> Yes i already looked at doc/examples/muxing.c, but this example is
> working on whole video file.

> It is not working on h264 frame buffers.

Afaict, the write_frame() function deals with frame buffers.

Consider cutting your quotes, Carl Eugen


More information about the Libav-user mailing list