This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, July 2, 2007 8:00:39 PM(UTC)
Groups: Registered
Posts: 2
Hi,
I'v written a test app to do the screen recording. The capture frame rate was set by IltmmCapture::put_FrameRate to 10 fps ( This one seems don't affect the final file header setting)
I found that when doing a playback with the video I just captured, it alway plays faster than expected speed(say recording for 10 secs, but playback only takes about 3 or 4 secs, the frame rate is roughly about 30 fps). Also in the cpp demo "capture" go with the SDK, the frame rate can be set by a capture properties dialog( by calling IltmmCapture::ShowDialog with ltmmCapture_Dlg_Capture) and seems this is proper way to set the playback speed. So, I just wonder is there any way to change the capture properties(like framerate and cursor settings) programly instead of popup a setting dialog?
Any hints would be appreciated!
SDK version: LEADTOOLS Multimedia EVAL 15
OS: Windows XP with SP2
Video Device: LEAD Screen Capture (2.0)
Video Compressor: XviD MPEG-4 Codec
Yinghao
#2
Posted
:
Thursday, July 5, 2007 4:40:11 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You can access the filter's
interface programmatically.
Open the LEADTOOLS Multimedia
API help file and study the code from the 2 help topics named
"Programmatically Inserting a Processor Filter" and "Access the
Interface of Filters". However, instead of the mosaic filter, which is a
processor filter, use the Screen Capture filter, which is a video source
filter.
The programming interface of the LEAD Screen Capture
filter, ILMScrCap, is documented in the LEADTOOLS Multimedia Filters Help file.
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.