This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, January 30, 2012 8:16:27 AM(UTC)
Groups: Registered
Posts: 8
Turns out that MP4 file type was not compatible with this. However, when trying to save with any of these lines of code:
ltmmPlay.SaveStillBitmap fileName, ltmmCapture_StillFormat_JPEG444, 0, 0, 5000
ltmmPlay.SaveStillBitmap fileName, ltmmCapture_StillFormat_JPEG422, 0, 0, 5000
ltmmPlay.SaveStillBitmap fileName, ltmmCapture_StillFormat_JPEG411, 0, 0, 5000
It executes fine, but the file saved is not viewable by any software I have. I've tried ifranView, photoshop, windows viewer, nothing works. Any suggestions? The input file is an AVI file. Also, the program is able to save at about 1.25 photos per-second. Any way this can be sped up, or am I stuck with this slow saving time if I choose to use LTMM?
#2
Posted
:
Tuesday, January 31, 2012 12:07:01 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Try to pass the "2" to the "Quality" parameter and recheck the same issue. The code will be something as follows:
+---------------+
ltmmPlay.SaveStillBitmap fileName, ltmmCapture_StillFormat_JPEG444, 2, 0, 5000
+---------------+
If you want to be able to save instantly and repeatedly, a better approach is to use our LEAD Video Callback filter, which gives you the pixel data of every frame that passes through the player control and enables you to handle it in any way.
We have a demo that uses this filter. The demo's source code is installed in this folder:
[LEADTOOLS Multimedia 17.5]\Examples\Ltmm\VB\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.