• Support for Windows Media Codecs
  • Windows Media Video Support
  • Trick Modes (Fast Forward/Fast Rewind)
  • Building a Great Digital Media Controller
  • Recommended Digital Media Controller Features
  • Music Tracks (object.item.audioItem) dc:creator upnp:album upnp:genre res@duration res@size Images (object.item.imageItem)
  • Displaying Album Art During playback of a music track, great DMC devices give the user the option of viewing the associated album art. Controls
  • Fast Forward/Fast Rewind
  • User Experience: Browse
  • Metadata and Ratings Update
  • Resources Windows Logo Resources
  • Windows Driver and Metadata Resources
  • Appendixes Appendix 1: Sample Simple Service Discovery Protocol Announcement Messages
  • Appendix 2: Resource Elements for Transcoded Content
  • Design Guidelines and Considerations for Building Windows Certified Network Media Devices




    Download 212.17 Kb.
    bet9/9
    Sana21.03.2017
    Hajmi212.17 Kb.
    1   2   3   4   5   6   7   8   9

    Codec Support


    DLNA clearly defines a minimal set of codecs that are required for interoperability and must be supported by a DMS. Because a DMS is used to store the consumer’s media files, it is essential to provide support for the various profiles that the consumer owns. For better interoperability, we recommend that a DMS provide support for WMV and WMA files.

    Support for Windows Media Codecs


    Windows Media Format codecs have been publically available for years and are an optional format in the DLNA specification.

    Windows Media Audio Support


    A DMS should support the following WMA profiles as specified in the DLNA 1.5 Media Formats specification (NETMEDIA-0022):

    WMABASE


    WMAFULL

    Windows Media Video Support


    A DMS must support the following WMV profiles as specified in the DLNA 1.5 Media Formats specification (NETMEDIA-0021):

    WMVMED_BASE

    WMVMED_FULL

    WMVSPLL_BASE

    WMVSPML_BASE

    WMVHIGH_FULL


    Playback


    The WLP has few specific playback requirements for DMS devices that exceed the support that DLNA requires. Beyond basic SEEK support, Windows does make some recommendations.

    Seek


    Seeking to a specific location in a media file is a basic task for consumers. A DMS device must support DLNA HTTP time-seek requests from any media content in storage with ProfileIDs that belong to the sets that are defined in NETMEDIA-0021 and NETMEDIA-0022. A DMS device must support HTTP range requests (byte-based seeking) for all files in storage.

    Trick Modes (Fast Forward/Fast Rewind)


    A DMS device should support trick modes for Windows Media and other media formats. To do this, the DMS device should support different values of play speeds (advertised in the DNLA.ORG_PS parameter of the fourth field of protocolInfo). The Server-Side Playspeeds parameter is specified in the 7.3.35 MM ps-param (Server-Side PlaySpeeds Parameter) section of the DLNA 1.5 Specification.

    Search


    Most users use Windows Media Player to filter their content quickly. For a DMS device to integrate with Windows 7, it is important that the DMS device exposes DLNA-defined search capabilities (NETMEDIA-0026) that use the following attributes:

    dc:title


    dc:creator

    upnp:actor

    upnp:album

    upnp:author

    upnp:genre
    For each attribute, the following operators must be supported:

    Contains


    Equal

    Exist

    Robustness


    DMSs are the backbone for connected media home networks. If users cannot access their content, the system fails. Microsoft We have defined the minimum requirements for the robustness of a DMS. A DMS device must be able to stream the supported media files continuously for 24 hours without requiring user intervention or degradation of quality of experience (NETMEDIA-0047). The DMS device should be able to stream for much longer periods of time, and future requirements will dictate that.

    A DMS must be able to stream HD content. Although this requirement may be taxing to mobile devices, the reality is that more content is moving to HD (NETMEDIA-0053).

    A good digital media server should be able to source at least 10 connections at the same time. The Windows 7 Logo Program requires that the server support at least two concurrent connections. This is especially important as users play content and download album art and other metadata at the same time (NETMEDIA-0054)

    Wake on LAN


    Similar to the DMR requirement, we recommend that a DMS device support a low-power mode of operation and WoL. Allowing a server to enter a low-power mode and awaken only when content is required is a smart, ecologically friendly design. As mentioned earlier, a DMS device must provide information in the device description document that states its support for WoL.

    The WLP requires that a DMS device that implements one or more low-power modes must be able to resume to normal-power mode operation in response to receiving a broadcast Magic Packet. It is not a current requirement that the DMS device support a low-power mode of operation (NETMEDIA-0011).


    User Experience


    To foster an improved user experience, the WLP requires that DMS devices implement the following features.

    Album Art


    Most users’ music collections include album art with the media files. When user browse a library of music, they expect to see album art associated with their media files. Therefore, the Windows logo requirement NETMEDIA-0059 states that if album art is available for the music file, the DMS device must provide it.

    In addition, the WLP requires that DMS devices filter album art from the queries for images (NETMEDIA-0029). Otherwise, users browsing their photo libraries are inundated with album art.


    Thumbnails


    Users of Windows and Windows Media Player expect to browse through their libraries of content in thumbnail view. That means that thumbnails of videos and images appear in the library while the user is browsing. The WLP requires that if thumbnails are available, the server provide them to the client for videos and images (NETMEDIA-0060 and NETMEDIA-0061).

    Metadata


    In addition to album art, users expect to see the metadata that is associated with their files. The WLP requires that a DMS device provide the common metadata attributes for music, video, and pictures (NETMEDIA-0032).

    For improved functionality and searching, a DMS device should also provide support for these additional Microsoft attributes that are specified in the Windows Media Player compatibility document:

    microsoft:artistAlbumArtist

    microsoft:artistConductor

    microsoft:artistPerformer

    microsoft:authorComposer

    microsoft:authorOriginalLyricist

    microsoft:authorWriter

    microsoft:userRatingInStars

    Building a Great Digital Media Controller


    One of the more exciting parts of the model that was illustrated previously in Scenario 3 is the DMC. The DMC lets the user find the content on the server and send it to the DMR device within the home ecosystem.

    Although this is one of the more important elements of the system, the actual Windows requirements for these devices are fairly limited. A DMC device must comply with DLNA and support Microsoft® Rally™ technologies.

    In addition to the requirements that DLNA specifies, the WLP requires DMC devices to be able to wake up other devices. The DMC device controls the servers and the renderers, so if those devices are in sleep mode, the DMC device must be able to send magic packets to wake them up (NETMEDIA-0074).

    Recommended Digital Media Controller Features


    With so few requirements on DMC devices, OEMs can differentiate their DMCs by implementing suggested features. The following is a list of recommendations to consider.

    User Experience: Playback

    Displaying Metadata


    DMC devices should provide feedback to the user about the currently playing file. The feedback should include the following information:
    Music Tracks (object.item.audioItem)

    dc:creator

    upnp:album

    upnp:genre

    res@duration

    res@size

    Images (object.item.imageItem)

    dc:date

    res@resolution

    res@size

    Images (object.item.videoItem)

    dc:creator

    upnp:genre

    dc:date

    res@duration



    res@size

    Music Album (object.container.album.musicAlbum)

    dc:creator

    upnp:genre

    @childCount

    Displaying Album Art


    During playback of a music track, great DMC devices give the user the option of viewing the associated album art.

    Controls


    In Scenario 3, DMC devices are designed to control the user experience, so it is important that the user is provided with the same type of controls as other consumer electronic devices. For example, the DMC should lets users play, pause, stop, fast forward, rewind, mute, and adjust the volume of the media they are consuming.
    Volume

    A great DMC device should let the user adjust and modify the volume of supported media renderers. The volume support should include MUTE and a slider for more detail. If the DMR does not support the volume control, the UI for this feature should be disabled.
    Play / Pause / Stop

    A DMC device should provide play, pause, and stop controls for all media types. The DMC device should enable the user to pause or stop the currently playing stream. In addition to providing the UI elements, the DMC device should forward the pause, stop, and play requests to the digital media renderer.
    Seek

    A DMC device that is acting as an MSCP should let the user navigate to a specific position in a media stream. The DMC device should enable the user to seek into a specified time position for audio and video types. In addition to providing the UI elements, the DMC device should forward the seek requests to the digital media renderer.
    Fast Forward/Fast Rewind

    A great DMC device should include trick mode support. If a DMR device indicates its ability to (fast/slow) forward or (fast/slow) rewind a stream, the DMC should enable the user to forward and rewind the currently playing stream. In addition to providing the UI elements, the DMC must forward the appropriate metadata and trick mode requests to the digital media renderer. The DMC should forward the Server-Side Playspeeds parameter to the DMR device as part of the transferred metadata in the SetAVTransportURI action. Forwarding this information to the DMR enables the DMR device to request those play speeds from the DMS device.

    User Experience: Browse


    Another key user experience is locating the files to stream. To provide a great user experience, a DMC device should enable the user to browse libraries, based on album art, video thumbnails, or image thumbnails. The visual hierarchy allows consumers to quickly navigate and find the files they are looking for.

    Metadata and Ratings Update


    In addition to displaying album art and thumbnails to the user, a DMC device should expose metadata for each media item. This should include the metadata that is mentioned in the playback experience and additional Microsoft specific metadata:

    microsoft:artistAlbumArtist

    microsoft:artistConductor

    microsoft:artistPerformer

    microsoft:authorComposer

    microsoft:authorOriginalLyricist

    microsoft:authorWriter

    microsoft:userRatingInStars


    A DMC should also let the user change the userRatingsInStars. When the user makes a change to this field, the DMC should push this change back to the DMS by using the UPnP UpdateObject. This lets users change queries that are based on their preferences.

    Glossary of Acronyms


    The following table lists the acronyms used in this white paper.

    Acronym

    Description

    AAC

    advanced audio coding

    AutoIP

    Automatic Internet Protocol

    AVI

    audio video interleave

    CDS

    content directory service

    CMS

    connection manager service

    DHCP

    Dynamic Host Configuration Protocol

    DLNA

    Digital Living Networking Alliance

    DMC

    digital media controller

    DMP

    digital media player

    DMR

    digital media renderer

    DMS

    digital media server

    DRM

    Digital Rights Management

    DVR

    digital video recorder

    DVR-MS

    digital video recorder – Microsoft

    GUID

    globally unique identifier

    HDMS

    High Definition Media Server

    IC

    integrated circuit

    JPEG

    Joint Photographic Experts Group

    LLTD

    Link Layer Topology Discovery

    LPCM

    Linear Pulse Code Modulation

    MAC

    media access control

    MIME

    Multipurpose Internet Mail Extensions

    MPEG

    Motion Picture Experts Group

    MSCP

    media server control point

    NAS

    network-attached storage

    NSS

    Network Sharing Services

    NTSC

    National Television System Committee

    PAL

    phase alternating line

    PNG

    portable network graphics

    PnP-X

    Plug and Play Extensions

    QoS

    Quality of Service

    RTP

    Real-Time Transfer Protocol

    RTSP

    Real-Time Streaming Protocol

    SSDP

    Simple Service Discovery Protocol

    TCP/IP

    Transmission Control Protocol/Internet Protocol

    UDN

    unique device name

    UDP

    User Datagram Protocol

    UI

    user interface

    WMA

    Windows Media Audio

    WMC

    Windows Media Connect

    WMV

    Windows Media Video

    WoL

    Wake on LAN

    WPS

    Wi-Fi Protected Setup

    WSP

    Windows Logo Program

    WTV

    Windows TV



    Resources

    Windows Logo Resources


    Windows Logo Program information

    http://winqual.microsoft.com/



    Windows Logo requirements and policies

    http://www.microsoft.com/whdc/winlogo/hwrequirements.mspx


    Windows Media Resources


    Building a Network Device Compatible with Microsoft Windows Media Player 11

    http://go.microsoft.com/fwlink/?LinkId=87957



    A Technical Overview of Windows Media DRM 10 for Devices

    http://go.microsoft.com/fwlink/?LinkId=28570



    Windows Media Licensing Program

    http://www.microsoft.com/windows/windowsmedia/licensing/default.mspx



    Windows Media Player SDK on MSDN

    http://go.microsoft.com/fwlink/?LinkID=130978

    Windows 7 Codec Support

    http://go.microsoft.com/fwlink/?LinkId=130993


    Rally Technologies


    Windows Connect Now

    http://go.microsoft.com/fwlink/?LinkId=130992



    LLTD and QoS for Media Experience

    http://go.microsoft.com/fwlink/?LinkId=129540


    Windows Driver and Metadata Resources


    Creating and submitting a device driver package

    http://go.microsoft.com/fwlink/?LinkId=131005



    Creating and submitting a device metadata package

    http://go.microsoft.com/fwlink/?LinkId=129543


    Industry Resources


    UPnP MediaServer and MediaRenderer-related specifications

    http://www.upnp.org/standardizeddcps/mediaserver.asp



    Digital Living Network Alliance (DLNA) Guidelines

    http://www.dlna.org



    Appendixes

    Appendix 1: Sample Simple Service Discovery Protocol Announcement Messages


    The following examples show sample NOTIFY messages sent by the Windows 7 NSS. Depending on the computer that is hosting NSS, some fields might have different values:

    NOTIFY * HTTP/1.1\r\n

    Host:239.255.255.250:1900\r\n

    NT:urn:schemas-upnp-org:service:ConnectionManager:1\r\n

    NTS:ssdp:alive\r\n

    Location:http://192.168.1.100:2869/upnphost/udhisapi.dll?content=uuid:224e2bb9-6961-4d79-b05f-f72cb415dc6c\r\ns

    USN:uuid:224e2bb9-6961-4d79-b05f-f72cb415dc6c::urn:schemas-upnp-org:service:ConnectionManager:1\r\n

    Cache-Control:max-age=1800\r\n

    Server:Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0\r\n

    \r\n
    NOTIFY * HTTP/1.1\r\n

    Host:239.255.255.250:1900\r\n

    NT:urn:schemas-upnp-org:service:ContentDirectory:1\r\n

    NTS:ssdp:alive\r\n Location:http://192.168.1.100:2869/upnphost/udhisapi.dll?content=uuid:224e2bb9-6961-4d79-b05f-f72cb415dc6c\r\n

    USN:uuid:224e2bb9-6961-4d79-b05f-f72cb415dc6c::urn:schemas-upnp-org:service:ContentDirectory:1\r\n

    Cache-Control:max-age=1800\r\n

    Server:Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0\r\n

    \r\n
    NOTIFY * HTTP/1.1\r\n

    Host:239.255.255.250:1900\r\n

    NT:urn:schemas-upnp-org:device:MediaServer:1\r\n

    NTS:ssdp:alive\r\n Location:http://192.168.1.100:2869/upnphost/udhisapi.dll?content=uuid:224e2bb9-6961-4d79-b05f-f72cb415dc6c\r\n

    USN:uuid:224e2bb9-6961-4d79-b05f-f72cb415dc6c::urn:schemas-upnp-org:device:MediaServer:1\r\n

    Cache-Control:max-age=1800\r\n

    Server:Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0\r\n

    \r\n
    NOTIFY * HTTP/1.1\r\n

    Host:239.255.255.250:1900\r\n

    NT:upnp:rootdevice\r\n

    NTS:ssdp:alive\r\n

    Location:http://192.168.1.100:2869/upnphost/udhisapi.dll?content=uuid:224e2bb9-6961-4d79-b05f-f72cb415dc6c\r\n

    USN:uuid:224e2bb9-6961-4d79-b05f-f72cb415dc6c::upnp:rootdevice\r\n

    Cache-Control:max-age=1800\r\n

    Server:Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0\r\n

    \r\n


    The following example shows a UPnP M-SEARCH message response by NSS:

    M-SEARCH * HTTP/1.1\r\n

    Host:239.255.255.250:1900\r\n

    ST:urn:schemas-upnp-org:device:MediaServer:1\r\n

    Man:"ssdp:discover"\r\n

    MX:3\r\n


    \r\n

    The following example shows a sample SSDP announcement from a UPnP MediaRenderer:

    NOTIFY * HTTP/1.1\r\n

    HOST: 239.255.255.250:1900\r\n

    CACHE-CONTROL: max-age=1800\r\n

    LOCATION: http://192.168.1.100:80/description.xml\r\n

    NT: urn:schemas-upnp-org:device:MediaRenderer:1\r\n

    NTS: ssdp:alive\r\n

    SERVER: NetDeviceOS/5.4 UPnP/1.0 DMP/5.0\r\n

    USN: uuid: 224e2bb9-6961-4d79-b05f-f72cb415dc6c::urn:schemas-upnp-org:device:MediaRenderer:1\r\n

    \r\n

    Appendix 2: Resource Elements for Transcoded Content


    The following example shows multiple resource elements exposed for the testImage.jpg file.

    In each resource element, the name of the file in the root URL is intentionally shortened for brevity and clarity.





    testImage

    object.item.imageItem.photo

    [No Keywords]

    2002-03-04

    http://192.168.1.111:10243/WMPNSSv4/1234/{name}.jpg?
    albumArt=true


    protocolInfo="http-get:*:image/jpeg:*" colorDepth="24">
    http://192.168.1.111:10243/WMPNSSv4/1234/{name}.jpg


    http://192.168.1.111:10243/WMPNSSv4/1234/{name}.jpg?formatID=23,width=160,height=104

    http://192.168.1.111:10243/WMPNSSv4/1234/{name}.jpg?formatID=23,width=640,height=419

    http://192.168.1.111:10243/WMPNSSv4/1234/{name}.?formatID=23,width=1024,height=671

    http://192.168.1.111:10243/WMPNSSv4/1234/{name}.jpg?formatID=24,width=136,height=90,thumbnail=false,aspectRatio=9:8,rFill=20,gFill=20,bFill=20

    http://192.168.1.111:10243/WMPNSSv4/1234/{name}.jpg?formatID=24,width=684,height=456,thumbnail=false,aspectRatio=9:8,rFill=20,gFill=20,bFill=20

    protocolInfo="http-get:*:image/x-ycbcr-yuv420:*" colorDepth="24">
    http://192.168.1.111:10243/WMPNSSv4/1234/{name}.jpg?formatID=24,width=3000,height=1968,thumbnail=false,aspectRatio=1:1,rFill=20,gFill=20,bFill=20


    1   2   3   4   5   6   7   8   9


    Download 212.17 Kb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa


    Design Guidelines and Considerations for Building Windows Certified Network Media Devices

    Download 212.17 Kb.