DVR-MS explained

Microsoft Digital Video Recording
Owner:Microsoft
Genre:audio, video, container
Extended To:.WTV

DVR-MS (Microsoft Digital Video Recording) is a proprietary video and audio file container format, developed by Microsoft used for storing TV content recorded by Windows XP Media Center Edition, Windows Vista and Windows 7.

Multiple data streams (audio and video) are wrapped in an ASF container with the extension DVR-MS. Video is encoded using the MPEG-2 standard and audio using MPEG-1 Audio Layer II or Dolby Digital AC-3 (ATSC A/52). The format extends these standards by including metadata about the content and digital rights management. Files in this format are generated from the Stream Buffer Engine (SBE.dll), a DirectShow component introduced in Windows XP Service Pack 1.[1]

Playback and editing

The DVR feature of Windows XP Media Center Edition, Windows Vista and the Windows 7 version of Windows Media Center create files in this format.[2] If a recorded broadcast is marked as copy protected, the resultant DVR-MS file can only be played back on the recording device. Unprotected DVR-MS files (files not marked in this way) can be played back on any device running Windows XP with Service Pack 1 or later Windows operating systems, hotfix 810243 for Windows XP RTM (which adds DVR-MS support to DirectShow), and on Windows Mobile 6. For older Windows operating systems, any third-party media player which supports the DVR-MS format through DirectShow on Windows or by other means on Windows or other platforms can be used for playback.

Although it is not possible to edit unprotected DVR-MS files through older software programs such as Windows Movie Maker for Windows XP, the files can be edited using Windows Movie Maker for Microsoft Windows Vista or Sonic MyDVD. A simple registry tweak/hack also exists for allowing the Windows XP version of Windows Movie Maker to natively import/edit DVR-MS files.[3] Some early freeware applications which convert the files can be found from third parties such as at The Green Button. Microsoft's Developer Network (MSDN) has an article with sample code and binaries demonstrating how to use DVR-MS and convert them to WMV.[4] Also, Windows Media Player 10 shipped with a transcoder to convert DVR-MS to WMV only when syncing with portable devices such as a Portable Media Center.[5]

MediaPortal also uses this format and comes with the plugin My Burner, which can be used to (automatically) convert DVR-MS files to regular MPEG-2. Also, Orb uses the DVR-MS file format for recording and streaming audio and video via its web-based DVR.

Some universal transcoders may be able to convert DVR-MS to other formats. DVR-MS can also be converted to another format changing only the container format (extracting the original MPEG-2 data without any visual loss) using FFmpeg and VLC media player's transcoding wizard.

Phase out

Starting with Windows Media Center TV Pack 2008 and moving forward, Microsoft has indicated that DVR-MS is being replaced with the WTV format.[6] [7]

An update is available for Windows Media Player 11 in Windows Vista to add playback support for WTV.[8] Microsoft does not, however, provide a generic DirectShow filter to enable playback support in third party DirectShow-based media players on Windows Vista or on Windows XP Media Center Edition.

Windows 7 includes built-in support for converting non copy-protected WTV files to DVR-MS.[9] Third party tools also exist to convert WTV to DVR-MS such as Andy VT's ToDVRMS[10] and 3LS's ConvertWTV.[11]

Notes and References

  1. Web site: Microsoft. 2009. Working with WTV Files. MSDN Library.
  2. Web site: Lanier . Chris . 2007-04-07 . Why Media Center records to DVR-MS . Chris Lanier's Blog . dead . https://web.archive.org/web/20070423184240/http://msmvps.com/blogs/chrisl/archive/2007/04/07/766300.aspx . 2007-04-23 .
  3. Web site: Lanier. Chris. 2006-08-09. Use Windows Movie Maker To Edit DVR-MS Natively. Chris Lanier's Blog.
  4. Web site: Toub. Stephen. 2007-09-22. Fun with DVR-MS.
  5. Web site: Bowman . Barb . 2004-04-12 . Viewing Recorded TV on a Windows Mobile-based Portable Media Center. Windows XP . . dead . https://web.archive.org/web/20071016055713/http://www.microsoft.com/windowsxp/using/mobility/expert/bowman_pmc2.mspx . 2007-10-16 .
  6. Web site: Protalinski. Emil. 2008-07-18. Fiji beta over, Windows Media Center TV Pack 2008 hits RTM. ars technica.
  7. Web site: Foley. Mary Jo. Microsoft Fiji beta over; final 'TV Pack' due soon. ZDNet. 18 July 2008. https://web.archive.org/web/20080719071750/http://blogs.zdnet.com/microsoft/?p=1489. dead. July 19, 2008.
  8. Web site: Microsoft. 2009-04-14. An update is available for Windows Vista to enable Windows Media Player to recognize .wtv files as Recorded TV files. Microsoft Support.
  9. Web site: James . 2009-06-13 . How To: Easily Convert WTV Files to DVRMS Files with Windows 7 . The Media Center Blog . dead . https://web.archive.org/web/20090811093814/http://www.mediacenterblog.net/tips-tricks/how-to-easily-convert-wtv-files-to-dvrms-files-with-windows-7 . 2009-08-11 .
  10. Web site: DVRMSToolbox. andy vt's tools & blog. 2010-01-04. https://web.archive.org/web/20100115161844/http://babgvant.com/files/folders/dvrmstoolbox/default.aspx. 2010-01-15. dead.
  11. Web site: ConvertWTV . dead . https://web.archive.org/web/20120331110332/http://www.triols.com/apps.aspx?AppID=3 . 2012-03-31 .