As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
WHAT I'M AFTER
I've been exploring the best ways to do this, but seem to keep running into hiccups when trying to playback video and then grab the frame with an alpha channel (ARGB) to then be further manipulated.
I've gotten everything to work with AForge to then find out that the Alpha gets stripped out during the process. I considered OpenCV, but the Emgu CV has a different license that I can't use and I can't verify that OpenCV can read Alpha channels as well.
I looked into FFMPEG .NET wrappers, but haven't found any that are out of their alpha phase or have a license I can use them with (since this could be used for commercial purposes and can't be open sourced)
So I'm looking for a library that is preferably C# or C++ that can play a .MOV or .AVI while preserving it's alpha channel when I make it into a Bitmap.
SUMMARY [TL;DR]
I'm looking for library / sample code
Written preferably in C#, C++ as a fallback. Hopefully easy enough to use.
Can playback AVI and MOV files
Will preserve the alpha channel
Will allow me to access each frame's ARGB values directly
Preferably something that uses the FFMPEG library since it's able to read most formats I need
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to transcode video streams using C#. The streams come in a variety of formats, like MP4, H264, H263, VP8. Is there any library for c# that can transcode a MemoryStream?
There is a ffmpeg-sharp library
ffmpeg-sharp is a wrapper library over the FFmpeg multimedia suite
that provides easy to use wrappers for use in CIL products under both
Mono and .NET
Also look at SharpFFmpeg
SharpFFmpeg is a C# binding of ffmpeg. The goal of SharpFFmpeg is to
provide the facility that allows .NET developers to easily create
audio and video applications.
And MeWiG - MEncoder GUI for Windows
MeWiG is a Windows Frontend to the MEncoder (part of MPlayer) using
the .NET Framework.You should be able to crop, scale, deinterlace, etc
and finally convert almost any digital video-source, without the need
for commandline-options.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Currently, I am looking for a (commercial or free) .NET/C# image processing library for a WinForms project to apply customizable effects like Instagram or Microsoft Office Word does, e.g.:
I found plenty of image libraries like:
ImageMagick
Lead Tools
Free Image
DotImage
...
Unfortunately, all these libraries seem to provide a rather low-level way of manipulating images. When it comes to high-level effects like borders, rotation, vintage filters like Instagram, etc., I found zero libraries.
(Ironically, for JavaScript, there are quite a few libraries out there)
Maybe there is no market for such a library, still I would love to have this function in my application without doing everything on my own.
Therefore my question is:
Is there a .NET library available to have a customizable and extendable way of applying various high-level filters to images?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I have some images in png format, I am wondering whether there are .net library to process images?
You may take a look at GDI+ (System.Drawing namespace) or WIC, both have managed wrappers built into the .NET framework. For example here's an interesting article comparing both methods for resizing an image. Of course depending on your specific requirements and what exactly do you mean by processing images there might be also third party libraries.
The System.Drawing.Bitmap class supports BMP, GIF, EXIF, JPG, PNG, and TIFF. You can at least display your PNGs using that.
Also I found a library AForge which is used in an image processing on codeplex.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Need to do a remote image capture from a "prosumer" camera into a C#/.NET app (for capturing pics at a higher resolution and more control than a webcam).
Any advantage for Canon vs. Nikon remote capture SDK's? Is one better supported than another? Looking for a developer perspective before embarking on this one...
I looked at both SDK's when I was picking out cameras. I ended up going with the Canon EOS 50D and their EDSDK. Canon has a wrapper class in their code with all the P/Invoke ready for you to use. That was the primary reason I used it. Some of the P/Invoke types are a little odd. I had issues with figuring out some object reference types needed to be casted to some internal structures... Lot's of trial and error. Eventually I got it to work, and it works well. I have live image capture and static image capture working for it.
I'm sorry I cannot speak for Nikon's SDK. I just chose Canon's because the P/Invoke was already there. The downside to EDSDK is it only works with the EOS line.
Here is some more information.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
In one o f my projects using ASP.NET + C# I want to be able to dynamically create 30 seconds clip of MP3 files and add a fade in/out.
What library would you recommend?
I saw there are a lot, including:
http://www.alvas.net/alvas.audio.aspx
http://www.audiosoundeditor.com/
http://www.mitov.com/html/audiolab.html
Have you ever had to deal this? What library worked the best for you?
Anything will help including free/priced software that I could call from my C# application or any kind of C# compatible library.
I ended up using ffmpeg
You could try NAudio - There would be a bit of programming required to do this but basically it would be along the lines of using NAudio to decode the MP3 first. Then passing the wave file to fade in (turn up the volume) at the time required and fade out (turn down the volume) when required. If your going to pass this to a client in a format other than wave you would then need to re-encode this file.
There is a better option, that would be the BASS Library. http://un4seen.com/bass.html it has a dedicated forum and does DSP like fade/compressor/EQ, etc. Plus you can read a bunch of different audio formats. It has C# and vb.net support.
You can use winmm.dll library.