How do I dump a transport stream to disk using the File sink?

June 23rd, 2009

The DVBLink framework allows users to install a File sink which dumps the resulting transport stream, as it would be passed to Media Center, to disk. This generated transport stream is useful for developers to diagnose the data passed to Media Center.

When using the File sink, the transport stream is not passed to Media Center. Instead, it’s redirected to C:\Program Files\DVBLogic\DVBLink\Sinks\File\dvbsbridge_out.ts.

To install the File sink, follow these steps:

  1. Download the File sink package (available at the end of this post)
  2. Copy MBFileSink.dll to C:\Program Files\DVBLogic\DVBLink\Sinks\File
  3. Run MBFileSink.reg to register the File sink

To enable the File sink, follow these steps:

  1. Open the DVBLink Source Configuration application
  2. From the Sink templates, add the File sink to your source
  3. Close the DVBLink Source Configuration application and restart the service

To generate a the file using the File sink, follow these steps:

  1. Stop Media Center
  2. Stop the DVBLink service
  3. Start the DVBLink service
  4. Start Media Center
  5. Tune to your problematic channel
  6. Give some time to make sure the generated file contains the required data
  7. Stop Media Center
  8. Stop the DVBLink service
  9. Copy the generated file to another directory

Please be aware that:

  1. The file generated by the File sink is re-created each time the DVBLink service is restarted.
  2. The file generated is NOT re-created when changing channel and will contain all the data that would be sent to Media Center until the DVBLink service is stopped.

The resulting file can be analyzed using many transport stream analyzer programs,  including the popular tsreader.

If you have questions regarding the File sink, please visit the DVBLink for DVBDream’s forum or the DVBLink for HDPVR’s forum.

http://1geek1tool.com/wp-content/plugins/downloads-manager/img/icons/default.gif download: DVBLink File Sink (38.45KB)
added: 23/06/2009
description: Allows transport stream dumping to disk