How to get expected file size?
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
How to get expected file size?

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
Rubing Chiu
Guest





Posted: Fri Sep 24, 2004 6:32 am    Post subject: How to get expected file size? Reply with quote

Given a IWMProfile and the file duration, how to get the
expected file size?

- Rubing

Back to top
Neil Smith [MVP Digital M
Guest





Posted: Fri Sep 24, 2004 5:47 pm    Post subject: Re: How to get expected file size? Reply with quote

I'm sure that's not possible - it would depend on the exact
compression which could be achieved at runtime, and that would depend
on the content!

EG - high motion, lots of scene changes would create a bigger file
than a talking head video ;-)

Cheers - Neil

On Thu, 23 Sep 2004 19:32:42 -0700, "Rubing Chiu"
<anonymous@discussions.microsoft.com> wrote:

Quote:
Given a IWMProfile and the file duration, how to get the
expected file size?

- Rubing
Back to top
Iain
Guest





Posted: Fri Sep 24, 2004 7:12 pm    Post subject: Re: How to get expected file size? Reply with quote

On Fri, 24 Sep 2004 13:47:42 GMT, Neil Smith [MVP Digital Media] wrote:

Quote:
Given a IWMProfile and the file duration, how to get the
expected file size?

- Rubing

If you have a constant bit rate then it's easy it's (bit rate * seconds) /
8.

As Neil says, if you have a variable bit rate it depends. usually there is
a maximum and a minumum bit rate specified (or am I thinking MPEG here) in
which case you can deterime the maximum and minimum sizes.

Iain

Back to top
Neil Smith [MVP Digital M
Guest





Posted: Fri Sep 24, 2004 10:01 pm    Post subject: Re: How to get expected file size? Reply with quote

On Fri, 24 Sep 2004 16:12:27 +0100, Iain <IainXXX@idcl.co.uk> wrote:

Quote:
On Fri, 24 Sep 2004 13:47:42 GMT, Neil Smith [MVP Digital Media] wrote:

Given a IWMProfile and the file duration, how to get the
expected file size?

- Rubing

If you have a constant bit rate then it's easy it's (bit rate * seconds) /
8.

As Neil says, if you have a variable bit rate it depends.

Yes that's what I meant to say - cheers ;-))


Quote:
usually there is
a maximum and a minumum bit rate specified (or am I thinking MPEG here) in
which case you can deterime the maximum and minimum sizes.

Iain
Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB