WTV: Difference between revisions

From MultimediaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


[[WTV]] is the successor of [[DVR-MS]] which is is being replaced with [[WTV]] since the introduction of [[Windows Media Center TV Pack 2008]].<ref>[http://arstechnica.com/journals/microsoft.ars/2008/07/18/fiji-beta-over-windows-media-center-tv-pack-2008-hits-rtm Fiji beta over, Windows Media Center TV Pack 2008 hits RTM]</ref><ref>[http://blogs.zdnet.com/microsoft/?p=1489 Microsoft Fiji beta over; final ‘TV Pack’ due soon]</ref> [[WRT]] is also the default recording format for Windows 7 Media Center, its video encoder will support encoding to H.264 1-pass CBR Baseline profile up to 1.5 Mbit/s, 640x480pixels at 30 frame/s, and the aadio encoder will support low complexity AAC stereo at 44.1 or 48 kHz sample rate and 96, 128, 160 or 192 kbit/s bit rate.
[[WTV]] is the successor of [[DVR-MS]] which is is being replaced with [[WTV]] since the introduction of [[Windows Media Center TV Pack 2008]].<ref>[http://arstechnica.com/journals/microsoft.ars/2008/07/18/fiji-beta-over-windows-media-center-tv-pack-2008-hits-rtm Fiji beta over, Windows Media Center TV Pack 2008 hits RTM]</ref><ref>[http://blogs.zdnet.com/microsoft/?p=1489 Microsoft Fiji beta over; final ‘TV Pack’ due soon]</ref> [[WRT]] is also the default recording format for Windows 7 Media Center, its video encoder will support encoding to H.264 1-pass CBR Baseline profile up to 1.5 Mbit/s, 640x480pixels at 30 frame/s, and the aadio encoder will support low complexity AAC stereo at 44.1 or 48 kHz sample rate and 96, 128, 160 or 192 kbit/s bit rate.
==File Format==
The file format is based on observations from WTV file hex dumps.  The information is not verified against source code or any MS specification and may contain inaccuracies.
===Data Types===
*UInt - 4 byte little endian
*ULong - 8 bytes little endian
*String - zero terminated unicode
*ClassID - 0x10 byte unique identifier.  Represented as hex value as stored (not little endian)
===Containers===
;Chunk : a 0x40000 sized file piece.  Currently know chunk types are meta and data chunks
;Meta Chunk : a subdivision of Chunk with a size of 0x1000.
;Data Chunk : holds AV stream data, subdivided by Class
;Class : a unique identifer and lowests level container.  Format and size varies.
===Data Chunk Format:===
The data stream consists of classes with the following format :<br>
*Header (0x20) - DWord (8 byte) aligned
**classId: ClassID (0x10)
**len: UInt - includes header length + payload len. 
**streamId: UInt - AV SubStream ID.
**packetCounter: ULong
*Payload (len - 0x20) varies by classId
*Padding - Used to force DWord (8 byte) alignment of headers: paddingLen =(len % 8==0) ? 0 : len + 8 - len % 8;
====Known ClassID formats====
TODO


==References==
==References==

Revision as of 20:35, 4 May 2010

WTV is the new container format used to record television shows in Microsoft Windows Vista Media Center starting with Windows Media Center TV Pack 2008.

WTV is the successor of DVR-MS which is is being replaced with WTV since the introduction of Windows Media Center TV Pack 2008.<ref>Fiji beta over, Windows Media Center TV Pack 2008 hits RTM</ref><ref>Microsoft Fiji beta over; final ‘TV Pack’ due soon</ref> WRT is also the default recording format for Windows 7 Media Center, its video encoder will support encoding to H.264 1-pass CBR Baseline profile up to 1.5 Mbit/s, 640x480pixels at 30 frame/s, and the aadio encoder will support low complexity AAC stereo at 44.1 or 48 kHz sample rate and 96, 128, 160 or 192 kbit/s bit rate.

File Format

The file format is based on observations from WTV file hex dumps. The information is not verified against source code or any MS specification and may contain inaccuracies.

Data Types

  • UInt - 4 byte little endian
  • ULong - 8 bytes little endian
  • String - zero terminated unicode
  • ClassID - 0x10 byte unique identifier. Represented as hex value as stored (not little endian)

Containers

Chunk
a 0x40000 sized file piece. Currently know chunk types are meta and data chunks
Meta Chunk
a subdivision of Chunk with a size of 0x1000.
Data Chunk
holds AV stream data, subdivided by Class
Class
a unique identifer and lowests level container. Format and size varies.

Data Chunk Format:

The data stream consists of classes with the following format :

  • Header (0x20) - DWord (8 byte) aligned
    • classId: ClassID (0x10)
    • len: UInt - includes header length + payload len.
    • streamId: UInt - AV SubStream ID.
    • packetCounter: ULong
  • Payload (len - 0x20) varies by classId
  • Padding - Used to force DWord (8 byte) alignment of headers: paddingLen =(len % 8==0) ? 0 : len + 8 - len % 8;

Known ClassID formats

TODO


References

<references/>

External Links