Creating own screen recorder with sound using C#

Posted by Sojanya under C# on 6/26/2015 | Points: 10 | Views : 10641 | Status : [Member] | Replies : 5
Hi,

I am looking forward to learn and understand that how can create a windows application which allows us to record our screen with sound using C# and .NET framework.
I don't want to use any third party plugins, dlls etc.




Responses

Posted by: Mathiswout on: 7/2/2015 [Member] Starter | Points: 25

Up
0
Down
Sojanya,

Your solution depends on the platform. If you want to develop a Windows Store App, it is relatively easy as explained here:
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn642093.aspx

If you wish to develop a Windows desktop program, it won't be as easy. I found this old but good article:
http://www.c-sharpcorner.com/UploadFile/armoghanasif/CaptureDesktopActivities11122005013755AM/CaptureDesktopActivities.aspx
The problem with the article is that the 2 Microsoft links in the prerequisites section no longer work, so you might have a hard time finding the needed Microsoft libraries.

Other options are doing it using hard-core DirectShow which is not easy unless you're a very good C++ programmer, or using a toolkit like Lead Tools.


Sojanya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sojanya on: 7/6/2015 [Member] Starter | Points: 25

Up
0
Down
Hi Mathiswout,

Do you have any code to convert burst photos taken from mobile in to a video.?
Actually, I have bunch of photos and willing to convert them into a video.
Any idea on creating AVI or MP4 files through .NET Framework using C#.

Regards,
Sojanya Tripathi
www.dotnetguidance.com

Sojanya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mathiswout on: 7/14/2015 [Member] Starter | Points: 25

Up
0
Down
Sojanya,

I haven't done that recently, but there's plenty of info on the web, like this:
http://www.codeproject.com/Questions/523429/ConvertingplusImagesplusintoplusVideoplususingplus
and this:
http://stackoverflow.com/questions/9744026/image-sequence-to-video-stream


Sojanya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sojanya on: 7/14/2015 [Member] Starter | Points: 25

Up
0
Down
Hi Mathiswout,

They are all talking about some third party dependencies which I don't want.
I am just trying to look into whether C# itself it capable to process images to video, video recording and audio recording.

So, I need only pure C# code without any third party's dependency.

Thanks and Regards,
Sojanya Tripathi
www.dotnetguidance.com

Sojanya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mathiswout on: 7/22/2015 [Member] Starter | Points: 25

Up
0
Down
Sojanya,

I searched the internet and I found that C# itself does not support advanced multimedia features.
There is a free library that uses DirectShow in C#, which is DirectShow .NET. You can read about it here:
http://directshownet.sourceforge.net/

If this library does not do what you need, you might eventually have to use an SDK.


Sojanya, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response