This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, April 28, 2010 6:39:55 AM(UTC)
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
#2
Posted
:
Thursday, April 29, 2010 5:32:19 AM(UTC)
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.