Re: AVStream: How to reduce Audio Video PTS Jitter?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Max,

The HW MPEG2 encoder is multiplexed PS and raw VBI data so I just
seperated PS and VBI stream by AVStream device driver.

I have one more question about AVStream Clock selection and described it
as following

Q1: In MPEG2 decoding filter graph, there are two filters with AVStream
clock. One is from "MPEG-2 Demultiplexer" filter and another is from "Default
Direct Sound Device" filter. The MPEG2 encoding stream could be decoding
correctly and continuously when I chose the AVStream clock of "Default Direct
Sound Device" filter as the filter graph clock. However, the MPEG2 encoding
stream could be decoding only several hours and then "STOP" when I chose the
AVStream clock of "MPEG-2 Demultiplexer" filter. It could be decoding longer
if buffer is larger. How to choose AVStream clock correctly? Do you have any
idea about the situation I met. Any comment is very appreciated.

Thanks,
Edward

"Max Paklin" wrote:

> Are you manually tweaking the stream?
> If not, then it is the hardware encoder that is producing non-compliant
> stream. Log all A/V PTS and later crosscheck them to see what the max
> difference is.
>
> -- Max.
>
>
>
> "Edward Hsu" <EdwardHsu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:9CF9882D-DD0D-40F7-B864-A9C23D034152@xxxxxxxxxxxxxxxx
> > Dear All,
> >
> > I developed an AVStream device driver for a MPEG2 encoder box (USB
> > 2.0). It could work well by using GraphEdit. But I met one problem when I
> > tried to use MCE test program named "MPEG2 Encoder Test" to test my
> > driver.
> > It will take 27 hours to finish this testing. It always shows the
> > following
> > items during testing period.
> >
> > ************************************
> > Video PTS Jitter : 0
> > Audio Video PTS Jitter : 2000 ~ 25000 (in unit of 90 KHz)
> > MPEG-2 Errors : 0
> > ************************************
> >
> > The issue is that Max. "Audio Video PTS Jitter" > 250 ms and failed to
> > pass the test program. I would like to know how to reduce "Audio Video PTS
> > Jitter"? Is it caused by my device driver or MPEG2 encoder chip? Any
> > comments
> > are very appreciated.
> >
> > Thanks,
> > Edward
>
>
>
.



Relevant Pages

  • 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 ...
    (microsoft.public.development.device.drivers)
  • Re: Testcap & MPEG2-TS
    ... can't find anything wrong during tracing code from initial to opening stream. ... I tried DScaler Mpeg2 Video Decoder and Moonlight-Elecard MPEG2 Video ... I tried to connect my capture pin to input pin of Video ...
    (microsoft.public.development.device.drivers)
  • Re: Testcap & MPEG2-TS
    ... "Max Paklin" wrote: ... 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 ...
    (microsoft.public.development.device.drivers)
  • Re: Testcap & MPEG2-TS
    ... It has to go via MPEG2 Demux and MPEG2 A/V Decoders. ... But my capture pin still can't be connect with VMR in GraphEdit, ... capture TS stream by Stream Class minidriver for me? ... 0, // DWORD dwCopyProtectFlags ...
    (microsoft.public.development.device.drivers)
  • Re: Testcap & MPEG2-TS
    ... // KSDATARANGE ... capture pin can be connected with MPEG2 demultiplexer. ... capture TS stream by Stream Class minidriver for me? ...
    (microsoft.public.development.device.drivers)