Best way to plot for MPEG2 transport stream

on Windows 7, the Windows media player supports .ts files very well, in the sense that the Windows media player knows how to process such files without any additional codec packages.

however, if I try to use graphedit to “render” the .ts file, it complains about it and does not know how to plot it for it.

What method does the Windows media player use to demonstrate / decode these files? is this a direct show? Windows Media Foundation? Bda Microsoft TV technology? unified customization model?

whatever method they use is available as an API to be used in my user application?

+3
source share
2 answers

In DirectShow, using only Microsoft filters, this can be a bit of a mess. You must manually configure the Mpeg2 demultiplexer using the IMpeg2Demultiplexer interface or through the property pages to add output contacts for content streams. Usually you need to connect something else to the filter to analyze the PSI / PAT information and identify the identifiers of the content stream programs within the transport stream. Microsoft provides a sample SDK for this in the Windows Platform SDK.

It is assumed that you have a regular mpeg2 transport stream file. You can use the free MediaInfo or TsReader Lite applications to see what exactly is in your ts file.

, Microsoft, DirectShow. Haali Media Splitter Ffdshow . MainConcept, Elecard, LEADTools ..

Media Foundation, , . Windows Media MF DirectShow. , , MF DirectShow.

+4

, Windows Media.

DirectShow . MPEG-2, ( IMpeg2Demultiplexer), "Microsoft DTV-DVD Audio Decoder" "Microsoft DTV -DVD Video Decoder". .

, , : Render graph

+3

Source: https://habr.com/ru/post/1793866/


All Articles