Media Players used in C# - c#

I want to use a media player in C# that reads these extensions : wmv,api,flv,mp3,mp4 and swf..
I tried Silverlight media player but its working with wmv and mp3 only.. and the same with the mediaElement in silverlight.. And FlowPLayer will only play flv, mp4 and mp3.
Has anyone any suggestion ?
Thanks alot !!

Why don't you use VLC media Player ActiveX ,here is a Project that helps you to integrate http://vlcdotnet.codeplex.com/

since LongTail (aka JWplayer) can play flv files i converted all my files to flv and played them with LongTail

Related

Implement a standard Video Player in Windows Phone

I am writing a Windows Phone application with ability to play video. I have found a lot of custom video players, but I want to find out, is there a standard video player in Windows Phone and what I need to do for using it?
http://msdn.microsoft.com/en-us/library/ff769551(v=VS.92).aspx
The MediaElement is the standard control for playing video files in WP7 apps.
You can use default media player with the help of MediaElement and MediaPlayerLauncher.
You can play local videos and urls with video.
I hope this link will help you
*http://www.developer.nokia.com/Community/Wiki/Video_Playback_with_MediaElement*

How to Append/Queue Media File to the Current Media Player program in C#.net?

I used:
System.Diagnostics.Process.Start(#"D:\Song1.mp3");
It played the MP3 file with my default Media Play (e.g Window Media Player);
I have another MP3 File (e.g D:\Song2.mp3) that i want to append/queue to the current Media Player. Anyone please tell me how to do this?
Have you taken a look at Windows Media Player SDK. Once setup you will be able queue/append media file programically.

How to Play mp3 in C#

how do I write a simple code in C# that plays a mp3 file when i click a button.
If you System.Diagnostics.Process.Start the mp3 file by name, I would expect any associated player application - such as media player - to launch and play the file. Are you asking how to play an MP3 file without displaying a player?
You can use the Windows Media Player ActiveX control just fine.

Media Player project in c#

I am working on one of the media project (windows application). In this the flv, avi and mpeg are the main file types which i have to play in application. I can use wmpLib, but it will not play flv files. So what procedure should i follow and what tools or libraries should i use.Is there any free opensource libraries to do media work. Thanks in advance
Also you can use ffmpeg lib see here, I think it would be easy to convert to another format using that for playback I don't really know, maybe you can take a look at the source of vlc or take a look at some flv opensourced player around.
If you have the right direct show filters installed media player will play flv files.

How do you playback MP4 video in a Windows Forms App

I'm wondering what the best way is to play back an MP4 video in a Windows Forms application (.NET 2.0) on Vista and XP.
You could Embed Windows Media Player on a Form.
UPDATE: WMP doesn't support MP4 out-of-the-box, but there are codecs packs that add such support. It's possible to bundle a codec installation with your setup, but I think WMP is able to fetch and install MP4 codec on its own.
Either embedding media player or look at managed DirectX (although MDX is a bit old now)
take a look at iSpy - it's open source and wraps VLC player for mp4 playback.
http://www.ispyconnect.com

Categories

Resources