Click here to Skip to main content
15,917,971 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can set screen capture audio profile bit-rate for clear recording audio and video.

C#
job.Duration = TimeSpan.FromMilliseconds(durationMillis);

                    ie = new InternetExplorer();
                    ie.Navigate(url, ref Empty, ref Empty, ref Empty, ref Empty);
                    ie.FullScreen = true;
                    ie.Visible = true;
                    System.Threading.Thread.Sleep(1000);

                    job.ScreenCaptureVideoProfile.FrameRate = fps;

                    job.ScreenCaptureAudioProfile.Bitrate = new ConstantBitrate(20);


This code through exception " Audio capture bitrate is not supported by screen capture. Supported bitrate for current format are: 48 Kbps, 63 Kbps, 64 Kbps, 80 Kbps, 95 Kbps, 96 Kbps, 127 Kbps, 128 Kbps, 160 Kbps, 191 Kbps, 192 Kbps, 256 Kbps
"
Please suggest me how i can handle this.
Posted
Comments
ansjain 28-Oct-14 8:29am    
Using Expression encoder ,
ScreenCaptureJob is a class library.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900