Page 1 of 1

a problem about generating TS streams

Posted: 17 Jul 2005 14:06
by njupt
Hi! Guys!
Have you ever made use of parts of the source codes of VLC to generating TS streams?
Now I'm borthered with the problem of generating TS streams using the source codes of VLC.
If you have some experience about this, would you please tell me the experience?
Thank you!
:wink:

Posted: 17 Jul 2005 14:21
by JMS
Although I didn't play around with the source code I tried the TS generation using the wizard in the executable lately - since I was investigating this format for one of my private projects . Concerning ProjectX the TS format seems to have a single issue: PAT and PMT could not be found. The reason for this (I didn't study the specs enough but the ProjectX developer told me that this behaviour is at least uncommon) is that VLC pads every TS stream using the adaption field. For tables like PAT and PMT the padding will normally be done by simple filling up the TS package with the padding byte FF - this is not a problem since tables include the table size in their own headers.

Beside this from my very few experiences the TS genarator of VLC seems to work :wink: .