mpeg2 demux output pin buffer size
- From: dev <krt.dev@xxxxxxxxx>
- Date: Thu, 11 Sep 2008 04:48:59 -0700 (PDT)
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
.
- Follow-Ups:
- Re: mpeg2 demux output pin buffer size
- From: Geraint Davies
- Re: mpeg2 demux output pin buffer size
- Prev by Date: Re: Error code 0x80040204 when playing
- Next by Date: Windowless mode doesnt work
- Previous by thread: Re: Information about QueryInterface
- Next by thread: Re: mpeg2 demux output pin buffer size
- Index(es):
Relevant Pages
|
Loading