Page 1 of 1

MPEG2 TS Muxer

Posted: 24 Jul 2008 20:52
by romulofernandes
Hello,

I'm developing an application that needs to put an MPEG2 TS stream into a DVB-ASI card. My program receives raw video/audio/data frames that need to be muxed into MPEG2 TS before sending the data to the card, with 188 bytes lenght packages.

I read about Libdvbpsi, but it appears to only decode MPEG2 TS. Is there any part of VLC source or any library that could help me ?

Thanks.

Re: MPEG2 TS Encapsulator

Posted: 28 Jul 2008 20:58
by romulofernandes
Anyone doesn't have any cue how to encapsulate MPEG2 TS ?

Re: MPEG2 TS Muxer

Posted: 30 Jul 2008 00:03
by hihi
found in help:

to define transportstream ID:
setup Channel4 option sout-ts-tsid=4
to define Network ID:
setup Channel4 option sout-ts-netid=511
to define the different PMT's:
setup Channel4 option sout-ts-program-pmt="100,200,300,400"
to define the PID's for each PMT:
setup Channel4 option sout-ts-muxpmt="110,120,,210,220,,310,320,,410,420"
to define the SDT for each program:
setup Channel4 option sout-ts-sdtdesc="company,file1,company,file2,company,udp1,company,udp2"

source on google: http://mailman.videolan.org/pipermail/v ... 19150.html