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



Last Go to last post Unread Go to first unread post
#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?

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 : Tuesday, January 31, 2012 12:07:01 AM(UTC)
Maen Hasan

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

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-2023, Yet Another Forum.NET
This page was generated in 0.084 seconds.