Re: AVStream: How to reduce Audio Video PTS Jitter?
- From: "Edward Hsu" <EdwardHsu@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 Aug 2005 00:24:29 -0700
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
>
>
>
.
- Follow-Ups:
- Re: AVStream: How to reduce Audio Video PTS Jitter?
- From: Max Paklin
- Re: AVStream: How to reduce Audio Video PTS Jitter?
- References:
- AVStream: How to reduce Audio Video PTS Jitter?
- From: Edward Hsu
- Re: AVStream: How to reduce Audio Video PTS Jitter?
- From: Max Paklin
- AVStream: How to reduce Audio Video PTS Jitter?
- Prev by Date: Re: SetupDi calls
- Next by Date: What the 0x4d0008 IOCTL code means?
- Previous by thread: Re: AVStream: How to reduce Audio Video PTS Jitter?
- Next by thread: Re: AVStream: How to reduce Audio Video PTS Jitter?
- Index(es):
Relevant Pages
|