Difference between revisions of "DSM-CC Object Carousel Protocol"

From LinuxTVWiki
Jump to: navigation, search
('''A.''' MPEG2 Transport Stream)
('''A.''' MPEG2 Transport Stream)
Line 18: Line 18:
 
As you can see, an ObjectCarousel '''can''' be distributed over multiple PIDs (i.e. all elemantary streams belong to
 
As you can see, an ObjectCarousel '''can''' be distributed over multiple PIDs (i.e. all elemantary streams belong to
 
the same '''CarouselID'''), and there is nothing more special to say about the MPEG2 layer of the ObjectCarousel protocol.
 
the same '''CarouselID'''), and there is nothing more special to say about the MPEG2 layer of the ObjectCarousel protocol.
TS-Packets are merged into Sections as usual, and DSMCC-Sections also follow the usual '''PrivateSection format'''.
+
TS-Packets are merged into Sections as usual, and DSMCC-Sections also follow the usual '''PrivateSection''' format.
  
 
== '''B.''' Data Carousel ==
 
== '''B.''' Data Carousel ==

Revision as of 16:36, 6 October 2004

The DSM-CC ObjectCarousel protocol is a broadcast protocol on top of MPEG2. It is used for transmission of filesystem hierarchies over a MPEG2 channel.

Like other protocols (NFS, SAMBA etc. via IP), the ObjectCarousel protocol allows mounting of external filesystems that are broadcast within a MPEG2 program.

OC-ProtoLayers.png

A. MPEG2 Transport Stream

Basically, to mount an ObjectCarousel, of course you have to know where to find it.

OC-LayerMPEG.png

First, given a stream location on dvb://ONID.TSID.SID, you have to tune to the service and check some (P)SI tables for presence of an ObjectCarousel there (which tables is the subject of the next layers).

As you can see, an ObjectCarousel can be distributed over multiple PIDs (i.e. all elemantary streams belong to the same CarouselID), and there is nothing more special to say about the MPEG2 layer of the ObjectCarousel protocol. TS-Packets are merged into Sections as usual, and DSMCC-Sections also follow the usual PrivateSection format.

B. Data Carousel

OC-LayerDC.png

The PMT points to elementary streams with StreamType 0xb, on which DSM-CC streams are located, but that does not mean a DataCarousel is really there. You can find various descriptors in the 2nd ES-loop of the PMT which indicate the presence of a DataCarousel, e.g. the DataBroadcastDescriptor and CarouselIDDescriptor. The latter one associates a DataCarousel with a CarouselID, so that an ObjectCarousel can include multiple DataCarousels, each one located on a separate elementary stream.

Well then, you already know all elementary streams including a DataCarousel, but what pieces of data are broadcast there and how to filter them?

A DataCarousel includes at least one Control-Message which is repeated more frequently than the broadcast data. This message is called DII (DownloadInfoIndication) and describes a set of data belonging to the broadcast DataCarousel.

C. Object Carousel

WIP