Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, November 29, 2011 3:44:16 PM(UTC)


Groups: Registered
Posts: 8

Our project is LeadTools 17.5, Win 7, x64, .NET 3.5. We use a SampleSource and ConvertCtrl to convert our raw images to different video types (AVI,MPEG, compressed/uncompressed, etc.). We would like to be able to check for available space on the target drive before going ahead with such a conversion. Other than having the sample source deliver the file to a temporary location and then measuring it's size - is there a way for us to estimate/predict the resultant file size in advance, based on the number of frames, frame size, output format, etc.?

I have the same question for the DICOM format, which I will post to the appropriate forum.

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, December 1, 2011 5:41:13 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

This depends on the format you use.
In all cases, you can try to use our Convert control's EstimateOutputSize() method, but it might not always give accurate results for the reasons below.

For uncompressed video, the size is easy to calculate since the frame size will be fixed.

Also, for compression types that employ fixed output bit rate, you can estimate the output size based on the bitrate and duration.

However, if you are using a compression type that has a variable, non-fixed bit rate, the size of compressed video frames will depend greatly on the image contents of the frames themselves.

Maen Badwan
LEADTOOLS Technical Support
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.066 seconds.