Hello everyone,
I am using the following code snippets to record screen, and in most situations recorded wmv file is clear enough, but for some part of video it is not very clear (grey color for some parts). What I record is ppt with full screen mode. I am using Windows Media Encoder 9.
Here is my code snippet,
thanks in advance,Code:IWMEncSourceGroup SrcGrp; IWMEncSourceGroupCollection SrcGrpColl; SrcGrpColl = encoder.SourceGroupCollection; SrcGrp = (IWMEncSourceGroup)SrcGrpColl.Add("SG_1"); IWMEncVideoSource2 SrcVid; IWMEncSource SrcAud; SrcVid = (IWMEncVideoSource2)SrcGrp.AddSource(WMENC_SOURCE_TYPE.WMENC_VIDEO); SrcAud = SrcGrp.AddSource(WMENC_SOURCE_TYPE.WMENC_AUDIO); SrcVid.SetInput("ScreenCap://ScreenCapture1", "", ""); SrcAud.SetInput("Device://Default_Audio_Device", "", ""); // Specify a file object in which to save encoded content. IWMEncFile File = encoder.File; string CurrentFileName = Guid.NewGuid().ToString(); File.LocalFileName = CurrentFileName; CurrentFileName = File.LocalFileName; // Choose a profile from the collection. IWMEncProfileCollection ProColl = encoder.ProfileCollection; IWMEncProfile Pro; for (int i = 0; i < ProColl.Count; i++) { Pro = ProColl.Item(i); if (Pro.Name == "Screen Video/Audio High (CBR)") { SrcGrp.set_Profile(Pro); break; } } encoder.Start();
George
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
Closed Thread
Results 1 to 2 of 2
Thread
-
-
One topic is enough. https://forum.videohelp.com/topic368214.html . I have already moved it to the programming section also.
Similar Threads
-
How Can I Improve my video quality
By legend10 in forum Newbie / General discussionsReplies: 36Last Post: 23rd Feb 2012, 14:01 -
How would you improve the quality of this video?
By choobies in forum Newbie / General discussionsReplies: 0Last Post: 28th Nov 2011, 12:24 -
Improve video quality [HELP]
By v1rto in forum Newbie / General discussionsReplies: 8Last Post: 13th Jul 2011, 08:46 -
How to improve the quality of the video
By kemo1000 in forum Video Streaming DownloadingReplies: 2Last Post: 24th Apr 2011, 15:36 -
Low quality video on high resolution screen, improve video quality?
By Nitrius in forum Software PlayingReplies: 4Last Post: 29th Dec 2008, 13:38