.dll file is not available - c#

There are some different between emgu cv library , documentation, sample files. emgv.cv.capture is not supported in latest emgu cv library. I cannot access the _capture.start(), _capture.pause(), _capture.stop() functions. I want solution for this.

I am going to assume that your question was not meant as rudely as you stated it. I will suggest that you check again. In the 3.1 documentation and examples not only is Capture there so is Start and Stop.
Doug

Related

How to use OpenCV with C# (Commercial use)

I am trying to do a project in C#. For now, I want to just stream and save video from 2 PC cameras at the same time, but will be using more of OpenCV later on.
I came EmguCV, but they have separate terms for commercial license: http://www.emgu.com/wiki/index.php/Licensing:
Is there some other good alternative I can use to get OpenCV working with C#? thanks!
Have you tried OpenCvSharp? It is licensed under the BSD 3-Clause License, so commercial use should be no problem.
Some colleagues of mine use OpenCvSharp in their projects, and I haven't heard any bad from them about it.

How to Add and update the comments for the PDF file using c#

Now I am working in the process of Insert and Update the comment for the pdf file using c# code. I want to Know the any possible way to insert a comment inside the pdf file. Anyone Know about this, Please reply and some reference for this process.
Microsoft does have very limited support for PDF in operating system APIs and it has come only recently in Windows 8 for modern applications (now called UWP) and that support doesn't go as far as updating comments.
So you need to use the 3rd party library. As far as I can tell SharpPDF is the only free library worth something, but I failed to open many PDFs in it so I can't recommend it. So I think you would need to search for some commercial library, I am aware of several of them that can do the job (e.g XfiniumPDF, iTextSharp etc) and you'll get the documentation when you license them.

How to convert video files to H.264 in C#

I've searched without any luck about how this can be done in C#. What i'm trying to archieve is a program that accepts video files and converts them to H.264. Here is an example of a page where you can do this interactively:
http://www.ofoct.com/video-converter/convert-to-h-264-video.html
Question:
How can I in .NET create a program that can do something similar to whats being done from that homepage I shared? Any help or input is highly appreciated, thanks!
EDIT:
The reason i want to do this is because it seems like videos play in both iOS and Android devices when this is done, perhapps there is another way to make sure videos can play in both iOS and Android?
EDIT again:
Lets say i film a Video on a phone Android/iOS, now I'm using a ASP.NET web api that I'd like to convert theese movies to H.264 before storing in Azure, Is this possible? If so, any pointers on how?
There is a wrapper available http://www.ffmpeg-csharp.com/
The main point is that no one is going to write an encoder due to how slow it would be in .NET
Encoding/decoding are provided by the OS, through Direct Show (in the past) or Microsoft Media Foundation. For example, the Microsoft Media Foundation already contains a [H.264 Video Encoder](H.264 Video Encoder).
The SDK is appropriate for C++ and Microsoft hasn't released a wrapper. There are wrapper projects available though, eg. MF.Net, DirectShow.NET, WindowsMedia.NET although it doesn't have any activity since 2012.
There are also similar questions in StackOverflow, that propose other options, like using Microsoft's Encoder, although H.264 support is available only in the Pro version
The only plausable way would be to call out to an encoding application such as ffmpeg.
I'm not sure that this what you need but you can download a nuget called
NR.VideoConverter :> then you can write this code to convert the type of video
like from mp4 to mvo or anything I'm not sure what is h264 but I did find it when I wanted to change my videos so it could help y
var converter = new NReco.VideoConverter.FFMpegConverter();
converter.ConvertMedia(FilePath, FilePath, NReco.VideoConverter.Format.h264);

video/audio downloader and format convertor

I want to create video downloader using C#. It will download videos from youtube, metacafe and me other websites. It should be able to download audios as well. Also, It need to convert videos to different formats.
Examples are:
http://www.vso-software.fr/products/downloader/vso-downloader.php
http://xviservicethief.sourceforge.net/index.php?action=informatio
Please suggest any third party libraries that I can use or how to do it?
Thanks.
For Youtube, take a look at YoutubeExtractor
Since Flagbug's library is a bit dated, I've written one from the ground-up. It's called libvideo, and you can find it on GitHub here. Please enjoy!

How can I create a thumbnail from an mpg video with C#?

I'd like to process a directory of mpg's in a batch to have a thumbnail using C#/.NET.
Does anyone have any good suggestions on how I could do this?
I know it's not C# .NET but ffmpeg is a great tool to do exactly this. Can be run as a command line tool from any language.
Here's a small tutorial to get you started.
I did this a few years ago, but I seem to have lost the source. Anyway, the route-of-least-resistance I found was to use DirectShow, there is an interop wrapper for managed code, namely directshow.net. You'll want to use IMediaDet's GetBitmapBits from the Windows Media Format SDK.
There is an example on CodeProject: Extract Frames from Video Files

Categories

Resources