Re: Get frame rate of mpeg1 video
- From: "antonio.bleile@xxxxxxxxx" <antonio.bleile@xxxxxxxxx>
- Date: Tue, 5 Aug 2008 05:06:08 -0700 (PDT)
On Aug 5, 1:45 pm, "Shugo_Ishida" <syu5....@xxxxxxxxxxxxx> wrote:
<antonio.ble...@xxxxxxxxx> wrote in message
news:ef3b6244-90cf-4657-9c95-c9e973d3db7e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have two types of mpeg1 videos, PAL and NTSC.
I use DirectShow to play the movies and I
need a way to know whether the movies are
sampled in 29.97Hz (NTSC) or 25Hz (PAL). I
don´t seem to find a method in DS to retrieve
that information (although it is somehow
interpreted correctly by DS). Any suggestions?
Regards,
Toni
You can obtain it as the VIDEOINFO or VIDEOINFO2 from a output pin on a
MPEG-1 Video Decoder Filter.
http://msdn.microsoft.com/en-us/library/ms787302(VS.85).aspx
Ok, cool, that should do the trick. What about other codecs? Ain´t
there a more general way to query this information? I mean the clock
must trigger in a certain frequency, no way to retrieve that?
Thank you and best regards,
Toni
.
- Follow-Ups:
- Re: Get frame rate of mpeg1 video
- From: Alessandro Angeli
- Re: Get frame rate of mpeg1 video
- References:
- Get frame rate of mpeg1 video
- From: antonio.bleile@xxxxxxxxx
- Re: Get frame rate of mpeg1 video
- From: Shugo_Ishida
- Get frame rate of mpeg1 video
- Prev by Date: Re: Get frame rate of mpeg1 video
- Next by Date: DirectShow graph hands on IMediaControl::Stop()
- Previous by thread: Re: Get frame rate of mpeg1 video
- Next by thread: Re: Get frame rate of mpeg1 video
- Index(es):
Relevant Pages
|