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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, September 21, 2012 7:53:06 AM(UTC)
ming_ableengine

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
 

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 : Sunday, September 23, 2012 6:42:00 AM(UTC)

Daoud  
Daoud

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 5:03:30 AM(UTC)
ming_ableengine

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 8:03:33 AM(UTC)

Daoud  
Daoud

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.

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