What to use to play mpeg files in Win 8 App ( by that I mean when coding in C# )

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi Guys,
Im a pretty new to these stuff and ive looked around and not finding an answer that seems relevent, so I was wondering if anyone can help me with this. (the listing of related topic that i read had nothing to do with what i needed) Please let me know if
this is the wrong place to post this

so, what im trying to do is create an app for windows 8 that plays media file for a specific purpose, the problem im running into is that i can only get it to play wmv files which i know is in the supported list, but for what im doing i know alot (by that
i mean 90+%) of users that will use this app have their media file in mpg format, so the journey of looking for a solution begin for me

ive found these "solutions" that sounded like they wont work after reading more into it
- directshow - sounds like this is out dated and not used for win8 apps
- wpf - sounds like this is for the desktop environment... not apps
- media element thing - cant remember the name to this one, but this is what im trying now but the most i could do is get it to play wmv files, still trying to look for a solution (btw would transcoding work with mpg? ... might have to cheat and just convert
all the files if i have to...)
- ffmpeg - this is the one that seems to be the answer, but then i went @_@ trying to figure out how to use it and then there is the License which when I read it for the first time that I found out how illiterate i can be when it comes to legal stuff...

Does anyone have a good solution to playing mpeg files in Win 8 app form? heck even a point to a book that tells me to create my own decoder would help, though that means i will be screwed for a good few month trying to get a reliable decoder working...

Any help would be awsome, Thanks :)

View the full article
 
Back
Top