Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: WMP in SDL

HTVi
TV Discussion Newsgroups

WMP in SDL
Jamesonq 6/1/2007 1:50:16 PM
I want to be able to show videos in a window created by SDL. What method
would be easiest to get this working? I was able to get mp3s to play very
easily.. but I don't know how to get the video in to SDL, or if it's even
possible.
Re: WMP in SDL
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 6/1/2007 3:49:37 PM
From: "Jamesonq"

[Quoted Text]
> I want to be able to show videos in a window created by
> SDL.

Using WMP as a playback engine?

> What method would be easiest to get this working? I
> was able to get mp3s to play very easily..

How did you accomplish that just with SDL? Did you use WMP
at all?

> but I don't
> know how to get the video in to SDL, or if it's even
> possible.

Write a video renderer for DirectShow that uses your SDL
window and create a DirectShow playback graph for your video
using the your renderer. Or extract the uncompressed video
from the playback graph (or from whatever other decoding
framework you may want to use) and draw the frames yourself
using SDL.


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


Re: WMP in SDL
Jamesonq 6/1/2007 5:05:06 PM
Thanks for your response. How would I go about learning how to create the
video renderer? I'm new to DirectShow.

"Alessandro Angeli" wrote:

[Quoted Text]
> From: "Jamesonq"
>
> > I want to be able to show videos in a window created by
> > SDL.
>
> Using WMP as a playback engine?
>
> > What method would be easiest to get this working? I
> > was able to get mp3s to play very easily..
>
> How did you accomplish that just with SDL? Did you use WMP
> at all?
>
> > but I don't
> > know how to get the video in to SDL, or if it's even
> > possible.
>
> Write a video renderer for DirectShow that uses your SDL
> window and create a DirectShow playback graph for your video
> using the your renderer. Or extract the uncompressed video
> from the playback graph (or from whatever other decoding
> framework you may want to use) and draw the frames yourself
> using SDL.
>
>
> --
> // Alessandro Angeli
> // MVP :: DirectShow / MediaFoundation
> // mvpnews at riseoftheants dot com
> // http://www.riseoftheants.com/mmx/faq.htm
>
>
>
Re: WMP in SDL
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 6/1/2007 6:57:06 PM
From: "Jamesonq"

[Quoted Text]
> Thanks for your response. How would I go about learning
> how to create the video renderer? I'm new to DirectShow.

The DirectShow SDK is part of the Platform/Windows SDK amd
contains background informations amd tutorials on filter
development. Among the samples you will also find a video
renderer.

--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen