Hilfe - Suche - Mitglieder - Kalender
Vollansicht: DVR-MS selbst gesteuert ...
MCE-Community.de > Windows Media Center Software > Media Center PlugIns/AddIns, Hacks, Mods + ZusatzSoftware > [mceCodeZone] Programmierung > mceCodeZone - Grundlagen & Tutorials
usa
Fun with DVR-MS

Stephen Toub
Microsoft Corporation

March 2005

Applies to:
Microsoft Windows XP Media Center Edition 2005
Microsoft DirectShow
DirectX 9.0 SDK

Summary: Stephen Toub discusses the DVR-MS file format generated by Windows XP Media Center 2005, provides an introduction to DirectShow, and shows how the latter can be used to work with the former. (47 printed pages)

Playing DVR-MS Files
Introduction to DirectShow and GraphEdit
DirectShow Interfaces
Transcoding to WMV
Debugging Filter Graphs
Unmanaged Resource Cleanup
Putting WmvConverter to Use: WmvTranscoderPlugin
Accessing DVR-MS Metadata
Editing DVR-MS Files
Conclusion
Related Books
Acknowledgements





LINK !
usa
Fun with DVR-MS

'Fun with DVR-MS'... this is the title of an article recently posted on Microsoft's MSDN website by Stephen Toub. In this Article Stephen discusses the DVR-MS file format generated by Windows XP Media Center 2005, provides an introduction to DirectShow, and shows how the latter can be used to work with the former. And that's not all! On the page a download can be found with in it all the programs he discusses in the article including the source code of the programs!

The part where Stephen discusses how to use the WmvConverter really caught our atention because there a great plug-in is introduced: WmvTranscoderPlugin. This plug-in enables you to pick up any recorded program and turn it into a wmv file.
So I've downloaded the package and I installed it on my Media Center and ran it. The first thing I saw when I ran the plug-in is that it in some way 'hacks' into the CD/DVD burning feature of my Media Center and uses it's interface, I already thought so when I looked at the screenshots in the articel on MSDN but because I run a Dutch Media Center I could clearly see it: the things different from the burning plug-in were in English, where the rest of the interface was in Dutch.

After you have given the the name of the target folder, which will end up in the root of the C: drive, you see the same selectionscreen you get when you make a selection for CD/DVD burning. When you click the 'Transcode' button the conversion starts and again you get a dialog box from the CD/DVD burning feature, and here you can really see this feature is used (at least on a Dutch system) because this dialog contains the exact same description as when you are burning a CD or DVD.

While the conversion process is running you can do other things with your Media Center, but unfortunately it's not a totally separate process, like in dCut for example, when you shut down Media Center the conversion also stops. I can't really judge the speed at which a recorded program is converted but it seems reasonably fast, a 40 minutes show recorded at the highest quality was converted in a little over 10 minutes and the file size shrunk from 2.5 Gb to 73 Mb. a good result, but unfortunately the resulting wmv file was only 320x240 so full screen playback on 1024x768 isn't really satisfying.

All in all I came to the conclusion that the WmvTranscoderPlugin is usable, but it is not a finished product ready to be used by every Media Center user to compress his or her recorded programs. But I also think that Stephen did not aim for this, he wrote a great article about the dvr-ms file format and provided some nice coding which other programmers can use for the plug-ins they are building. Maybe this version can be tweaked by editing the supplied prx file, I will certainly have a look at it and report all progress I make with it.


In the end I do want to thank Microsoft and specifically Stephen Toub for making this information available. It's been said a lot off times the support from Microsoft by 'revealing' information on Media Center specific functionality has been very bad, let's hope the publication of this article is the turning point!









LINK !
olcay
Der Artikel ist ja richtig geil! Was für ein Zufall das ich momentan auch mit DirectShow arbeite auf der Arbeit. smile.gif Wie der Filter, FilterGraphen und die ganzen Interfaces erklärt ist wirklich gut. thumbsup.gif
maltic
Hm - funktioniert das Demo-Plugin bei irgendjemandem?
maltic
OK, wer lesen kann, ist im Vorteil ...

ZITAT
Update:
After I published the article Stephen Toub send me an email to clarify some issues. With the plug-in a high quality prx file for NTSC is put on the system, but this is not used by default, instead the default WM ASF Writer is used. This default settings will produce a 320x240 wmv file (which btw IS excelent to use on your Pocket PC)
To use the high quality prx file you have to set the ProfilePath key in:
HKEY_LOCAL_MACHINE\SOFTWARE\Toub\WmvTranscoderPlugin to the path of the prx file (typicly C:\Program Files\Toub\WmvTranscoderPlugin\VBR90_NTSC.prx) When you do this you will see that a very high quality wmv file is produced, although processing it takes a little longer. It is also possible to use other prx files. As I am on a Dutch system my Television system uses PAL and I succesfully used the PAL prx file from DVR2WMW though others ran into some trouble.
Stephen Toub just wrote a follow up on his Blog where he discusses the problems with PAL and also tells us he and Alex Seigler (From DVR2WMV) are working on a follow-up article that will discuss the issues and workarounds.


Aber trotzdem zu früh gefreut. Nach dem Start bricht der Kodierungsvorgang ab. Immerhin wird auf C:\ der Ordner angelegt ... bei wem läufts?
Neo-oeN
Morgen,
hat jemand die Samples vom "Toub" schon mal im MCE zum Laufen bekommen?
Die ".exe" alleine kann ich mit nem DVR-MS füttern und bekomme auch ein ".wmv" dabei raus. Die Seitenverhältnisse stimmen zwar nicht, aber das kommt dann später. Ich würde gern das einfach mal unter MCE zum laufen bekommen.
Über Hilfe würde ich mich freuen, denn in Portugal wartet jemand auf einige "Tatort" Folgen.

Neo-oeN
Peacemaker
HI

Neo-oeN

hast du das Addin Installiert ? >> WmvTranscoderPlugin Setup.msi

cya
Neo-oeN
ZITAT(Peacemaker @ 18.05.2005, 19:06)
HI

Neo-oeN

hast du das Addin Installiert ? >> WmvTranscoderPlugin Setup.msi

cya

Hi,
jo habe ich, den Button seh ich ja auch, nur es passiert nichts.
Habe mal das SDK installiert in der Hoffung es würde dann funzen, tut es aber auch nicht. In der Registry ist der Pfad zum "Profile" auch geändert.
Benötige ich noch zusätzliche Programme oder muss ich sonst noch etwas ändern?

Neo-oeN
Peacemaker
Hmm

also bei mir geht es, aber das addin ist halt nur für MediaCenter 2005 mit dem 2004er geht es natürlich nicht;

cya
Neo-oeN
ZITAT(Peacemaker @ 18.05.2005, 21:52)
Hmm

also bei mir geht es, aber das addin ist halt nur für MediaCenter 2005 mit dem 2004er geht es natürlich nicht;

cya

Morgen,
2005'er hab ich. Ach wer weiss vieleicht liegt es daran das meine Systempartition nicht auf c: liegt.
Bei Dir lief es einfach nach der Installation?

Neo-oeN
Dieses ist eine vereinfachte Darstellung unseres Foreninhaltes. Um die detaillierte Vollansicht mit Formatierung und Bildern zu betrachten, bitte hier klicken.
Invision Power Board © 2001-2012 Invision Power Services, Inc.