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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, April 28, 2010 6:39:55 AM(UTC)

uk15  
uk15

Groups: Registered
Posts: 40


Hello forum,

By using Multimedia toolkit and Medical Imaging toolkit is this possible to load any mpg file and convert them to bitmaplist. But this conversion must be inmemory i.e. without storing images on drive.

For e.g.

LoadFile ( Myfile.mpg)

LBitmapList BitmapList =  ConvertToBitmapList();

Please suggest any solution so that I can convert mpg file to a list of bitmap.

 

Thanks

 

 

 

 

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, April 29, 2010 5:32:19 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

You can insert a LEAD Video Callback filter, which gives direct access to all video frames when playing the MPEG file. In your callback function, you can copy the image data to LBitmapBase class, and then you can insert this bitmap to the LBitmapList by using the LBitmapList::InsertItem function.
Please check the "C++ Video CallBack Demo" that ships with the LEADTOOLS Multimedia SDK. You can find the demo and the code in this folder:
<LEADTOOLS Multimedia folder>\Examples\Ltmm\Cpp\Callback

Thanks,
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.064 seconds.