Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: TS -> PS stream - How?



Edward Wildgoose wrote:

Does anyone have a good reference on how to do this (ie in addition to
source for ts2ps and dvbstream).

There are (delphi) sources for WinGrab around, a tool (for windows) to stream from a dbox2 (but can be used the same way as every other system as source). Wingrab does a full demux of TS (if neccessary), and remuxes it into a Program Stream.

ds.jar does the same thing, but i don't know if there's the source available.

Honestly, using PS is a pita. In a perfect world, you JUST had to extract the PES-packets, and add correct PS-headers to them. But this doesn't work since Video-PES packets are allowed to have (nearly) infinite size on DVB. In a Program Stream, they are limited to 64k. Effectively you have to completely rebuild the PES-packets. Even if the packets are smaller than 64k, really strange effects are occuring in different players.

I think the best way is to keep all video data as TS. Support for TS is coming into all major programs, and it allows adding meta-informations in a DVB-compliant way (using the EIT for example). You can - if it makes sense - record teletext as well as all audio streams.

felix



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index