|
 |
|
|
Hi,
Have a small query...Pls tell me whether WMencoder saves the screen shots anywhere in the local machine? or is it directly creating the .wav file ?
If it is creating temporary images/ screen shots , pls tell me where it is getting saved?
And whether I can set the encoder to take a screen shot in every 2 seconds or so..
Thanks in Advance
Niya
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
WMEncoder saves stream to the file directly, no temporary place saving. As it is saving video accoding to the profile, so you can set frames per second etc
Create a new profile by running following exe C:\Program Files\Windows Media Components\Encoder\WMProEdt.exe and set its FrameRate, Video Bit rate etc
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
Hi,
Thanks for ur reply...
Could u pls tell me what will be the default frame rate for this? n How to set the same...
n still m confused about setting the time interval, like i wanna capture screen shot every 2 seconds. how can i do that by code?
Thanks
Niya
modified on Thursday, August 21, 2008 5:57 AM
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi you just have to change the following line
Pro.Name = "Windows Media Video 8 for Local Area Network (384 Kbps)"
with the new profile you make using the method present in my previous comment.
Once you run the WMProEdt.exe and import pre existing profiles, you will get an idea how to set the framerate. You can make frame rate = 0.5 per second, should capture screen after two seconds.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
So, I'm getting this error, and I have no idea why.
I get this error as soon as I try to do this line of code
Encoder = new WMEncoder
(I put in a listbox that write "fu&k" directly before this line and one that writes "me" directly after this line and I get to see "fu&k" but no "me")
Which means something about my WM 9 encoder is not working.
I can get the encoder 9 program to work via my programs, so the program does work on its own on my computer (I even caputred a video of my self today). (when I say program I am not referring to any code that I wrote, just to program that I downloaded from microsoft called Windows Media Encoder).
I am running Vista 64 bit, the encoder I downloaded was the 64 bit program, I downloaded the hotfix as well, as I saw that worked for someone else. Any help would be greatly appreciated, I mean I want to use this SDK, but I can't get the damned thing to work!
Help
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
I want to get vedio screen and save as picture in asp.net, how I can do
I did like to join the website
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
Hello,
I get this erreur when running in "debug" mode the code source on this website
"Retrieving the COM class factory for component with CLSID {632B606A-BBC6-11D2-A329-006097C4E476} failed due to the following error: 80040154."
and that is at the line "Encoder = New WMEncoder"
Now I dunno what is wrong... any idea? (I use VS 2008 and I have XP)
Thanks a lot
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
It doesnot have any known opacity issue. The sample in article is using Windows Media Encoder, and it should show it fine,
Please also try using different profiles , present in comments
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Since I converted the project to 2008, It won't run passed the following...
Encoder = New WMEncoder
It crashes on that line, any suggestions would be of help.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Fixed.. I applied the hotfix from microsoft... listed on the encoder 9 download page for vista users...
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
I am implementing the application in C#. I added a command button with the following code:
/********************************/
private void btn_stop_Click(object sender, RoutedEventArgs e) { if (Encoder.RunState.Equals(true)) { Encoder.Stop(); MessageBox.Show("Recording Done."); //Application.Exit(); } } /*************************************/ note: Application.Exit(); has been commented
I am trying to make a web based application. On clicking the Command button, the encoding/recording should be stopped. Instead, it keeps recording. I do not want to exit the application
Tauhid Shaikh
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
try out different methods of Encoder and i think you find a way
e.g. try Encoder.Flush Then save it and then you can also do Encoder.Reset
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I shall try as suggested. Is there a documentation on the methods available with Windows Media Encoder?
Tauhid Shaikh
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
I am trying to capture the audio out from the machine.
Using the application, I could capture the Audio input(MIC). I am now looking for a way to capture the Audio Output(like the sound produced out from the speaker).
For better understanding, I will narrate the scenario. Take an example of a voice chat. I am trying to capture the conversation between two parties (Incoming Audio and Outgoing Audio).
Please help me come up with some solution.
Regards,
Tauhid Shaikh tshaikh@adiance.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
1) It depends upon the setting which audio is captured. It can get audio from mic or speakers For speakers
Double click on the Volume Icon on the tray. This will Open Volume options. Go to Options -> Properties and Click recording. Check all the volume controls in the list
Now select Only the "Wave OUT mix" or "Mono Out" and now you will hear the voice as well
Now when you capture video the voice. Any Audio coming from Speakers will also be recorded ref: http://www.codeproject.com/vb/net/CaptureScreenAsVideo.asp?select=1115393&df=100&forumid=129831&fr=51#xx1115393xx[^]
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
I tried doing that. Making changes to the hardware settings, I can either capture the Mic or the SterioMix(Audio out).
And not both of them . Any idea about how to capture the audio out and in both at the same time.
Everything else works fine with your application.
Just need the in and out audio now. If we are capturing the audio device, should id not have individual channels for in and out.. can we do it some way. plz guide.
Tauhid Shaikh
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I didnt research on it much when i wrote the article..
try finding other option strings for audio like this one SrcAud1.SetInput("Device://Default_Audio_Device")
If you find exact options for mic or wave out, then you can add multiple audio inputs as well.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Thats where I was focusing on. Didnt find anything good yet. In case, anything comes to your knowledge, please share.
Thnks for the instant reply.
Regards, Tauhid Shaikh
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Thank you very much for the helpful code. I am trying to implement into C#. I had a lot of errors converting it to C#.. Still working on that.
Issues with Video Quality: The quality of video has ofcourse been improved using your suggestion -- Profile = Screen Video/Audio High (CBR)
But i still need to improve the Quality. The resolution is fine now, but the color used is low i guess. The color of the video is not smooth. And also, I am concentrating on reducing the CPU usages, which goes straight to 100%
I would really appreciate a word on my problem.
Regards, Tauhid Shaikh
tshaikh@adiance.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi
Screen Video/Audio High (CBR) should be equal to the quality which is currently visible via naked eye..
The better the quality, more resources , size etc will be used.
For code conversion.. a C# converted code is present Here[^]
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
Dear Armoghan Asif
Thank you very much for your help.With your code, I could implement things correctly in C#. I had implemented the code earlier, but had a few syntactic errors. Its all working fine now with your help. Well, I slightly disagree about your statement in the quality of the output file generated through the application. Using Screen Video/Audio High (CBR) , it uses Windows Media Video 9 Screen compression in the video output and hence, distorts the quality. If you provide me with your email address, I shall email you a small sample of the output.
Details of my Graphic Acceleration in case useful: Its an on board acceleration chip chip type: Intel(R) 82915G/GV/910GL Express Chipset DAC Type: Internal Memory Size: 96 MB
the display is set to Normal size 96 DPI
screen resuolution is 1024x768 and color Quality is 24 bits.
I am having issues with the quality at the moment. Please help me come up with it. And is there a way to produce MPEG4 instead if WMV ?
Also will post a query about Audio Capturing.
Thank you once again for all the help.
Regards,
Tauhid Shaikh tshaikh@adiance.com
|
| Sign In·View Thread·PermaLink | 3.50/5 (2 votes) |
|
|
|
 |