mpeg2 demux output pin buffer size



Hi All,

I am decoding mpeg2 transport stream. My mpeg2 decoder expects one
frame worth of data at once for decoding.But mpeg2 demux filter
connects with 8192 bytes of data and hence it breaks any output it
gives in to max size 8192 or smaller.

For frames worth 0.15MB of data to be decoded I am buffering and
feeding it to decoder. Is there any alternative to buffering ? My a/v
sync goes for a toss because of this buffering involved.

What is the best way to identify a MPEG2 frames beginning and end? At
present I am parsing through the data looking for picture start code's
occurrence i.e. 0x00010000. Based on two such occurrences I buffer and
feed data to the decoder. Is my assumption right that every frame has
a picture start code?

Any input would be great help.

Regards,
Dev
.



Relevant Pages

  • Re: mpeg2 demux output pin buffer size
    ... I am decoding mpeg2 transport stream. ... My mpeg2 decoder expects one ... Is there any alternative to buffering? ... Is my assumption right that every frame has ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Testcap & MPEG2-TS
    ... I tried DScaler Mpeg2 Video Decoder and Moonlight-Elecard MPEG2 Video ... I tried to connect my capture pin to input pin of Video ... // (but only if it is maintaining the queue ie. using Stream Class ...
    (microsoft.public.development.device.drivers)
  • Re: WMP10 hangs in "Connecting" on SVCD
    ... >> SVCD uses the same mpeg-2 video decoder as DVD's do. ... As I wrote last year I did really have an MPEG2 decoer installed. ... The MPEG2 splitter filter bundled in Windows only ...
    (microsoft.public.windowsmedia.player)
  • RE: DVD to WMV, best mpeg2 AC3 decoder combo?
    ... I too have been searching and searching for an mpeg2 decoder that will allow ... windows media encoder to encode mpeg2 files to wmv. ... Not possible to use 2-pass VBR audio when it ...
    (microsoft.public.windowsmedia.encoder)
  • Re: Media Center giving Decoder Error Message
    ... Live TV is MPEG2 enclosed in a dvr-ms file. ... You will need an MPEG2 decoder installed or else the system can't decode the ... answer telling people to install at MPEG/DVD decoder for a non-dvd ... Live TV, thats WMV files, not MPEGs. ...
    (microsoft.public.windows.mediacenter)

Loading