change avi frame rate

2 vues
Accéder directement au premier message non lu

Koby Maman

non lue,
6 déc. 2004, 02:59:0506/12/2004
à
Hello all,
How do i access an avi file and change its frame rate property?

Thanks,
Koby

Alessandro Angeli [MVP::DigitalMedia]

non lue,
6 déc. 2004, 03:50:0806/12/2004
à
Koby Maman wrote:

> How do i access an avi file and change its frame rate
> property?

The frame rate is specified by a pair of DWORDs (dwScale and
dwRate) in a /RIFF(AVI)/LIST(strl)/strh(vids) chunk. See the
RIFF/AVI specifications here:

http://msdn.microsoft.com/library/en-us/directshow/htm/avirifffilereference.asp

You modify the header in-place yourself or create a modified
copy of the file either yourself or using the AVIFile
functions:

http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_avifile_functions_and_macros.asp

--

// Alessandro Angeli
// MVP :: Digital Media
// a dot angeli at psynet dot net


Koby Maman

non lue,
6 déc. 2004, 04:35:0706/12/2004
à

> The frame rate is specified by a pair of DWORDs (dwScale and
> dwRate) in a /RIFF(AVI)/LIST(strl)/strh(vids) chunk. See the
> RIFF/AVI specifications here:
>
> http://msdn.microsoft.com/library/en-us/directshow/htm/avirifffilereference.asp
>
> You modify the header in-place yourself or create a modified
> copy of the file either yourself or using the AVIFile
> functions:
>
> http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_avifile_functions_and_macros.asp
>

Thanks! I'll give it a try.

Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message