[Libav-user] MPEGTS and pts/dts

RichardP tuxbox.guru at gmail.com
Fri Oct 28 22:33:32 CEST 2011


Hi Andrey,

http://pastebin.com/FTkfEQAm

The transcode starts at about line 162 where the frame is read... There is a
ByteIO context which reads the data from a shared buffer.  Although the code
is a bit crude and incomplete (as there are no av_free's yet.. they will be
there soon)

Without Audio write_complete_frame() there is no problem (as the Video goes
out perfectly and is playable) .. just the Audio confuses me alot and how to
set dts/pts.  I was hoping to preserve the incoming ones from the DVB-T
source and use them for the new frames.

In my pastebin code, the output is the same as the input - just to test how
to make it work... 

Richard

--
View this message in context: http://libav-users.943685.n4.nabble.com/MPEGTS-and-pts-dts-tp3948310p3949141.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list