Re: Modify frame rate of avi and asf file using Windows Media Obje



I would like to change the rate at which frames are displayed during playback
without modifying the file itself. For example, I'd like to be able to play a
video file and only see one frame a second.

Is this possible?

Also, on the subject of avi and asf playback, i have avi files i need to
playback but it is not possible to set the rate to a negative value for avi
files. I tried setting the currentPosition value to mimic a rewind facility
but it takes too long to seek to the new currentPostion and repaint the
image. Do you know of any other way to 'rewind' an avi file?

Many thanks,
ak268



"Alessandro Angeli" wrote:

From: "ak268"

Does anybidy know if it is possible to change the frame
rate of an avi and asf file using the Windows Media SDK?
If so, how?

The WMF runtime only supports ASF files (and MP3 files as
input). Whether it can be used to change the frame rate,
depends on what you mean by "changing the frame rate":

1. changing it permanently or only during playback?

2. changing it without changing the clip length (by
interpolating frames)?

3. resampling the audio to keep it in sync?

4. changing among FILM/NTSC/PAL?



--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm



.



Relevant Pages

  • Re: CD ripping
    ... played contiguously without artefact by even the best MP3 players. ... decode the first frame, and pass the result into the playback buffer. ... Encode the number of silent samples used to pad the last frame ...
    (comp.sys.acorn.advocacy)
  • Media Center overlays frozen frame on tv playback
    ... it seems to freeze a frame that alternates rapidly ... with the playback which makes viewing very difficult. ... controls hide themselves. ...
    (microsoft.public.windows.vista.music_pictures_video)
  • DirectShow, AVI, Audio, SetRate problem ... synchronization ?
    ... I do care about the Audio and I'd prefer to playback audio at ... is supposed to change playback speed between some fixed frame ... Currently I have only these two speeds, and for the sake of simplicity ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: How to playback "Magic of Flight.mpg"?
    ... writes that it does not have a codec to playback the file. ... DVD-video drops a frame every 2 seconds. ... NTSC because the Vision 4 reckoned that the source video was NTSC. ...
    (rec.video.production)
  • Re: Seeking Postion in an .avi file
    ... single rec chunk always have sound data first followed by video data.Do I ... >> resides in an .avi format file. ... taking into consideration the bitrate for audio (if ... > audio) and frame rate for video (which is constant for AVI, ...
    (microsoft.public.win32.programmer.mmedia)