Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I need to add pretty basic audio player functionality to a client application I'm writing (I think it will be WPF based).
Can anyone please recommend a good audio player library with basic functionality (Playback control, Basic EQ and that's it) and a .NET API?
Look into NAudio:
NAudio is an open source .NET audio
and MIDI library, containing dozens of
useful audio related classes intended
to speed development of audio related
utilities in .NET. It has been in
development since 2001 and has grown
to include a wide variety of features.
There's a few sample apps that come with the library, one of which is a WPF application, so you can certainly use it there.
I do believe MediaElement provides audio playback for WPF applications although I am not sure if it has any EQ support.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have a specific requirement of being able to select arbitrary rectangular regions from a source video and to save that region (for a specific time span) to a separate file.
Ideally, the API would support C#/.NET but we're prepared to do it in C++ if that would yield a better end product.
This software will need to run on Windows machines.
I've looked into Direct Show Editing Services and Media Foundation. I've found conflicting information that says DSES is deprecated, but then to use DSES over MF because MF doesn't focus on video editing that much.
Are there are any other APIs that I should look into?
Can you recommend either of the mentioned APIs for the task at hand?
Thanks in advance!
For video editing in Windows desktop apps, DirectShow remains really the only Windows API for this scenario. See Migrating from DirectShow to Media Foundation
For C#, take a look at DirectShow.NET.
DirectShow is not supported for Windows Store, universal Windows apps, Xbox One, or Windows phone 8.
Also keep in mind that DirectShow is impacted by the "N" editions of Windows. See "Who moved my [Windows Media] Cheese"?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Am trying to play video from memory such as from byte array or memory stream but not able to find any solution. Am looking for solution similar to BoxedApp which decrypt video in memmory using virtual file system
Media APIs, Media Foundation and DirectShow, allow building flexible pipelines sourcing from customized sources such as streams. You are, however, expected to implement custom components and embed them into pipeline (typically in native code domain, not managed) and then build playback UI on top of that.
If you prefer to to use pre-built players such as Windows Media Player or VLC, you are limited to sources these players could recognize, and this does not include in-memory streams (not to mention process boundaries for memory streams).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm searching for library that has those features:
- can save and load from wav files, compression to/from Mp3 is an option but not necessary
- give me possibility to change speed, volume and tone of part of audio file
Do you know such open source library that I can use in C# application?
I believe NAudio has all or at least most of those features.
As an alternative to NAudio, you might look into BASS. There is a solid .NET wrapper for it, and plenty of example code to get started for a number of audio tasks.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm a .Net C# Developer. I want to develop the media programming about video/audio codec, capture media from source, etc. I'm going to use the DirectShow Lib, but I read it on MSDN, and I'm very confused, because I'm a beginner.
Do you have the best tutorials or some article that can make beginner understand to program in the DirectShow architecture? If so, please share them.
You will find these useful:
http://www.codeproject.com/KB/directx/PrgmngDirectShowappsCS.aspx
http://www.codeproject.com/KB/directx/directshowmediaplayer.aspx
http://www.codeproject.com/KB/directx/directshownet.aspx
http://www.codeproject.com/KB/directx/MPEG2_Capture_Device.aspx
Oh and these too:
http://www.codeproject.com/KB/audio-video/dshowencoder.aspx
http://www.codeproject.com/KB/directx/rendering.aspx
http://www.codeproject.com/KB/windows/samplegrabberfilter-wm6.aspx
http://www.codeproject.com/KB/audio-video/Tanvon_DirectShowFilters.aspx
Hope that helps.
Regards
Richard
Dude, IMO It's better develop direct show in C++, you just should learn how to create COM object and uninitialize it, C++ is faster, and current available library of direct show all are in c++, cases which are in code project in c# are good for learning basic of direct show, but they aren't practical solutions. they are COM wrapper to use them in C#, the speed is main concern and their speed in real time video analyzing is not good. the MSDN is best reference for working with directshow and there are good samples in SDK
Just read DirectShow SDK in MSDN from beginning. Then install GraphEditPlus, try building some graphs and then from File menu you can generate C# code which builds these graphs using DirectShowLib for .NET and see how it does it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have a collection of mp3, wma's etc that may or may not have the correct song information.
Is there a service or an API that I can use in .NET to find the correct song title / artist for each file?
I know of Last.fm Fingerprint API. That should help you.
You could call their client app from within a C# app to automate the whole process of going through your media library and storing the returned results. You can even change your mp3 metadata on the fly.
More links to the stack:
25 Music APIs
Windows Media Player (WMP) is pretty good at downloading album art and titles and such when you rip a CD, but it's far from perfect. If such an API existed in any location, let alone the highly public and well-used .NET platform, WMP would have a better track record.
Therefore it is logical to conclude that the answer is quite simply, "No."
I doubt such an API exists in any form, but if it might, it would likely be a web service.
freedb.org has what you need. I used it some years ago and it worked out great.
Download the file 'freedb howto v1.07' to get the details of how to implement this into your program.