Re: Get frame rate of mpeg1 video

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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
.



Relevant Pages

  • Re: Get frame rate of mpeg1 video
    ... I have two types of mpeg1 videos, ... I use DirectShow to play the movies and I ... You can obtain it as the VIDEOINFO or VIDEOINFO2 from a output pin on a MPEG-1 Video Decoder Filter. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Blu-ray: Early adopters knew what they were getting into
    ... | can't play on current players. ... | new movies wouldn't play, just that the new features wouldn't work. ... play on old players, but will play AS WELL as the old players are able ... If the slow loading is just bad firmware ...
    (alt.tv.tech.hdtv)
  • Re: Blu-ray: Early adopters knew what they were getting into
    ... | can't play on current players. ... | new movies wouldn't play, just that the new features wouldn't work. ... play on old players, but will play AS WELL as the old players are able ... |> evolve since the introduction of Blu-ray Profile 1.0. ...
    (alt.tv.tech.hdtv)
  • Re: OT Tivo, DVD, blu ray? What do I need?
    ... If you really get addicted to the whole idea of recording and sharing movies you'll find that Tivo has some locks on some features that are useful. ... But if all you want to do is record some movies from OTA and play them once in a while in your living room, ... But remember that it is a PC so it is capable of way more than just playing HD DVDs. ... Using a VGA to RGB connector I am able to pipe uncompressed video to my monitor. ...
    (rec.outdoors.rv-travel)
  • Re: OT Tivo, DVD, blu ray? What do I need?
    ... If you really get addicted to the whole idea of recording and sharing movies you'll find that Tivo has some locks on some features that are useful. ... But if all you want to do is record some movies from OTA and play them once in a while in your living room, ... But remember that it is a PC so it is capable of way more than just playing HD DVDs. ... Vista MCE has some media rights management built into it, but it has not stopped me from copying a movie to my laptop so I have something to watch in the airports while I wait for a flight. ...
    (rec.outdoors.rv-travel)