LEADTOOLS Support
General
General Questions
Re: target (output) video size of capture control
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, September 21, 2012 7:48:06 AM(UTC)
Groups: Registered
Posts: 11
For a capture control, I used SampleSource object (fed with 640x480 image) as source and streamed to network destination (mms). But I only get 320x240 video size back at the destination.
Is there anything I can do to change the output video size?
(I have tried LoadSettingsFromFile but no luck.)
Thanks,
Ming
#2
Posted
:
Sunday, September 23, 2012 6:37:00 AM(UTC)
Groups: Registered
Posts: 256
Ming,
Since MMS uses the Windows Media format, you will need to use a different profile for producing WMV files of other sizes. For details and code samples about profiles, please see these 2 help topics:
http://www.leadtools.com/help/leadtools/v175/dh/multimedia/mm/leadtools.multimedia~leadtools.multimedia.wmprofilemanager~loadsystemprofile.html
http://www.leadtools.com...~createemptyprofile.html
#3
Posted
:
Monday, September 24, 2012 4:58:30 AM(UTC)
Groups: Registered
Posts: 11
Daoud,
when I tried the second sample code, mt.SubType =
"{" + String.Format(
"{08:X}", formattag) +
"-0000-0010-8000-00AA00389B71}";
throw an exception because String.Format("{08:X}", formattag) doesn't have enough parameters.
Do you know how to fix this? (I tried several other format, but ltmm throw another exception says invalid class string)
Thanks,
Ming
#4
Posted
:
Monday, September 24, 2012 7:58:33 AM(UTC)
Groups: Registered
Posts: 256
Ming,
The line in the help file is inaccurate. I have reported this to our documentation team. Please try the following line instead:
mt.SubType = "{" + String.Format("{0:X8}", formattag) + "-0000-0010-8000-00AA00389B71}";
If you face any more problems, please send a new email to
support@leadtools.com and mention this forum post in your email.
LEADTOOLS Support
General
General Questions
Re: target (output) video size of capture control
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.