[Libav-user] convert mpeg-ts to mpeg-ps

th exterit thexterit at gmail.com
Mon Jun 6 15:41:05 CEST 2011


OK, gotten further with this after reading this thread -
http://www.mail-archive.com/libav-user@mplayerhq.hu/msg01250.html

However, I am getting this "non monotone timestamps" error when running it.

I don't really understand the details of the PTS/DTS problem that is
apparently causing this.  One solution suggested:

> I track 33th bit and add it by myself when it becomes 0. After this, I
subtract the first DTS value.

Any chance someone could fill in the details here?

Thanks,
Th

On Sun, Jun 5, 2011 at 7:03 PM, th exterit <thexterit at gmail.com> wrote:

> Hi there.
>
> I am trying to convert a transport stream to a program stream using the
> ffmpeg libs.
>
> I have been following this tutorial - http://dranger.com/ffmpeg - but
> can't seem to see how I can do what I want.
> It should be relatively straight forward using the libs. I presume I can
> just rely on the libraries to take the PES packets out of the TS for me?
> And then how do I assemble it to a PS at the end?
>
> Thanks,
> Th
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110606/7ad8771a/attachment.html>


More information about the Libav-user mailing list