[linux-dvb] How to convert MPEG-TS to MPEG-PS on the fly?
Josef Wolf
jw at raven.inka.de
Fri Aug 29 07:49:07 CEST 2008
On Fri, Aug 29, 2008 at 12:48:56AM +0200, Josef Wolf wrote:
> On Thu, Aug 28, 2008 at 11:09:56PM +0200, Johannes Stezenbach wrote:
> > How do you capture the TS,
>
> I have written my own beast to demux a complete transponder and split
> it into separate transport streams (every service gets its stream).
> The PIDs which are mentioned in the PMT for the given service are passed
> unmodified. In addition, new PAT/PMT are created (stripped down just to
> the given service).
One thing I make different is that I filter out all sections with
current_next_indicator==0 and never generate such sections. But
since PAT never changes and PMT can change only on event boundaries,
this should not affect streams with length of a couple of seconds.
> > and does it play OK in vlc?
>
> Both, mplayer and vlc play those streams with no problems.
>
> Do you think the TS may be screwed? I pass the a/v-PIDs which are
> mentioned in PMT unmodified. PAT is trivial. PMT reflects the
> contents from the original PMT (reconstructed just to keep
> continuity_counter consistent). I don't think anything can be
> screwed here.
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
More information about the linux-dvb
mailing list