[linux-dvb] How to convert MPEG-TS to MPEG-PS on the fly?

Johannes Stezenbach js at linuxtv.org
Thu Aug 28 23:09:56 CEST 2008


On Thu, Aug 28, 2008 at 09:34:05PM +0200, Josef Wolf wrote:
> On Thu, Aug 28, 2008 at 04:40:50PM +0200, Johannes Stezenbach wrote:
> 
> > Have you tried iso13818ps from http://www.scara.com/~schirmer/o/mplex13818/ ?
> 
> Thanks for the link.  Description looks promising.  But neither mplayer
> nor vlc plays the output created by
> 
>   mplex13818-1.1.1/iso13818ps --ts z.ts >z.iso.ps

I think the idea is to select _one_ of the services from the TS
by giving the service_id to iso13818ps. And maybe even select
a subset of the PES streams by giving their ids, too. But I have
to admit I never used iso13818ps. At Convergence we used iso13818ts
so that one is know to work.

> Mplayer gives no audio and 8x8 (or 16x16?) squares which keep changing
> colors.  vlc gives black video and no audio.
> 
> The output of my parsing script looks like this:

seems screwed up

> > Try to feed the original
> > TS to iso13818ps (not your filtered one), it should handle it correctly.
> 
> I _am_ feeding the original TS (including adaptation-only packets).  As
> you can see in my previous mail, I am capturing the TS into a file and
> feed this file as input to any of the test candidates.  Whether I ignore
> adaptation should not affect the other candidates in any way.

How do you capture the TS, and does it play OK in vlc?

Johannes



More information about the linux-dvb mailing list