Re: play video/audio in C# application



Ryan,

Real is a problem with most video players, as far as I know, as there
isn't a codec out there for Windows Media players. You could try and use
the Real player, but I am not sure that it can be embedded in your app.

What it comes down to is that whatever player you choose to embed in
your app, you have to have the appropriate codecs for the media format that
you want to play.

I would be very cautious if you are distributing your app, not to
install codecs for video types over the user's preferences. Video codecs
can be a tricky thing, and I've found that I have come to loathe programs
that install codecs without my knowledge or (explicit) approval.

--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Ryan Liu" <rliu@xxxxxxxxxxxxx> wrote in message
news:eQ$GzM6FIHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I want to play Audio/Video in my C# application(standlalone, not web
applicatoin). The source of multimedia may in different formats and
decided by the end user, which I have no control.

My question is -- which is the best approach to add multimedia capability
to my c# application, to support most possible formats, and make it
easiest for the end user(e.g. does not need convert before play it)?

I download DirectX SDK, I also heard Flash video/audio now is widely used.
And seems DivX player supports many type of video format, including real
format(*.rm).


Seems DirectX only plays uncompressed audio file and for video, it does
not support real format(*.rm).

So what is the best approach? Any input is highly appreciated.

~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Ryan Liu
137 0173 5101
Shanghai Fengpu Software Co. Ltd
Shanghai , China

http://www.PowerCATI.com
http://www.fpsoft.net.cn
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



.



Relevant Pages

  • Re: One last attempt: corrupted video film
    ... > we have a custom Media Player that can play .mpg and .wmv videos. ... > One video we play with this Player seems to be partially corrupted. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: One last attempt: corrupted video film
    ... The file is indeed a WMV. ... >> we have a custom Media Player that can play .mpg and .wmv videos. ... >> One video we play with this Player seems to be partially corrupted. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: how to do preloader
    ... Yes but I thought you'd understand - the click to play and click to ... BTW I'd avoid the animated GIF: ... Here is the page with my video and graphic with your ... >> Now we have to know when the player starts to play. ...
    (microsoft.public.windowsmedia.player.web)
  • Re: WMM2 on Vista
    ... What specific codecs do they use? ... My suspicion is that Movie Maker is getting garbage data from your random ... amount of space (one 4-minute music video is about 917 MB, ... When I play ...
    (microsoft.public.windowsmedia.player)
  • Re: VCD will not play but DVD will play fine
    ... > PLayer, i.e. Philips, Dell, and Microsoft Media Player. ... > Player as the Philips DVD will play VCDs with Cyberlink PowerDVD media SW ... > without any of the codecs updates. ...
    (microsoft.public.windowsmedia.player)

Loading