Cookbook : Separating out lots of channels from a recorded DVB broadcast
Find this code here:
This simple example shows how to read back in a recorded transport stream from a file and separate out (demultiplex) several channels from it:
from Kamaelia.Device.DVB.Core import DVB_Demuxer
The DVB_Demuxer component takes, at initialization, a dictionary mapping packet IDs (PIDs) to outbox names. Each of those outboxes has been linked to a SimpleFileWriter component to write it to a file.
For all the channels there are two PIDs - one for the audio and one for the video. For two of them, we also include PID 18 which carries Event Information Tables (tables containing now & next and EPG data)
This is an ongoing community based development site. As a result the contents of this page is the opinions of the contributors of the pages involved not the organisations involved. Specificially, this page may contain personal views which are not the views of the BBC. (the site is powered by a wiki engine)
(C) Copyright 2008 Kamaelia Contributors, including the British Broadcasting Corporation, All Rights Reserved