Media Transfer Protocol

Media Transfer Protocol

The Media Transfer Protocol is a devised set of custom extensions to the Picture Transfer Protocol (PTP).[1] Whereas PTP was designed for downloading photographs from digital cameras, Media Transfer Protocol supports the transfer of music files on digital audio players and media files on portable media players, as well as personal information on personal digital assistants.

Media Transfer Protocol (commonly referred to as MTP) is part of the "Windows Media" framework and thus closely related to Windows Media Player. Windows Vista has built-in support for MTP. Support for Media Transfer Protocol in Windows XP requires the installation of Windows Media Player 10 or higher.[2] Mac and Linux systems have software packages to support it.[3][4]

The USB Implementers Forum device working group standardized MTP as a fully fledged Universal Serial Bus (USB) device class in May 2008.[5] MTP is since then, an official extension to PTP and shares the same class code.[6]

Contents

Overview

The main purpose of this protocol is to facilitate the transfer of media files and associated metadata to/from devices, the management of media files and configuration data on these devices, and to allow the remote control of these devices.[7]

The protocol was originally implemented for use across USB but extended for use across TCP/IP and Bluetooth. Windows Vista supports MTP over TCP/IP. Windows 7 and Windows Vista with the Platform Update for Windows Vista also support MTP over Bluetooth.[8] The host connecting to an MTP device is called an MTP Initiator whereas the device itself is an MTP Responder.[7]

A main reason for using MTP rather than for example the USB mass-storage device class (MSC) is that the latter operates at the granularity of a mass storage device block (usually in practice, a FAT block), rather than at the logical file level. In other words, the USB mass storage class is designed to give a host computer undifferentiated access to bulk mass storage, such as compact flash, rather than to a file system, which might be safely shared with the target device (except for specific files which the host might be modifying/accessing). In practice, therefore, when a USB host computer has mounted an MSC partition, it assumes absolute control of the storage, which then may not be safely modified by the device without risk of data corruption until the host computer has severed the connection.

MTP and PTP specifically overcome this issue by making the unit of managed storage a local file rather than an entire (possibly very large) unit of mass storage at the block level. In this way, MTP works like a transactional file system - either the entire file is written/read or nothing. The storage media is not affected by failed transfers.

In case the device maintains a database/index of the content of the disk, MTP saves the cost of re-scanning the entire disk every time the content is modified.

Additionally, the MTP allows MTP Initiators to identify the specific capabilities of device(s) with respect to file formats and functionality. In particular, MTP Initiators may have to provide passwords and other information to unlock files, or otherwise enable restricted capabilities. Nothing specific of this nature is in the core standard but the possibility is allowed via Vendor extensions (whereas USB mass-storage does not cater for such extensions). MTPZ, the Zune Extension to MTP specifically denies access to files until authentication has been processed, which is only possible using Windows Media Player 10 or higher.

Drawbacks

By design, MTP devices (like PTP devices) are not treated as a traditional removable drive. The actual file system is implemented by the device, not by the computer's operating system. In theory the operating system may hide this difference, but this is not the case on Windows or Mac OS. This also means that conventional file system recovery tools will be of no use if the drive is corrupted, or crashes.

As opposed to USB Mass Storage, a number of operating systems do not support MTP out of the box. Some even require third-party software.

Neither the MTP nor the PTP standards allow for direct modification of objects. Instead, modified objects must be reuploaded in their entirety, which can take a long time for large objects. With PTP/MTP, the file size must be known at the opening stage.[7]

Windows MTP support

On Microsoft Windows, MTP is supported in Microsoft Windows XP if Windows Media Player 10 or later versions are installed. Windows Vista has MTP built-in. Most MTP-compatible devices do not appear through drive letter assignment in Windows Explorer, instead they will appear as "devices" in Windows Explorer. Additionally, on Windows, MTP-compatible devices support a feature called AutoSync, which lets users configure Windows Media Player to automatically transfer all newly acquired or copied content to devices whenever they are connected. AutoSync is customizable so that the player will transfer only content that meets certain criteria (songs rated four stars or higher, for instance). Changes made to file properties (such as a user rating) on a device can be propagated back to the computer when the device is reconnected. Windows 7's sensor platform supports sensors built into MTP-compatible devices.[9]

Support for legacy Windows versions

For downlevel operating systems, specifically, Windows 2000, Windows 98 and Windows Me, Microsoft has released the MTP Porting Kit.[10] which contains a MTP device driver for these legacy Windows operating systems.

Some manufacturers, such as Creative Technology, also provide legacy MTP drivers for some of their players; these usually consist of MTP Porting Kit files with a customized INF file describing their specific players.[citation needed]

Market acceptance

Microsoft's partners, including Creative Technology, Intel, iriver and Samsung, who manufactured devices based on Microsoft's "Portable Media Center specification", popularized this protocol. These devices were lined up at the 2004 Consumer Electronics Show.

After an initial period of uncertain reactions, several large media player producers such as Creative Technology and iriver have opted to embrace the MTP protocol and drop their own custom device protocols. The general perception is that these companies are happy that they no longer have to develop their own protocols and device drivers for their products[citation needed]. The current device makers and device lines supporting MTP are:

Note

  • Microsoft Zune modified to "MTPZ" and is therefore not an MTP device.

Implementations

MTP Basic has been proposed for standardization and shall become available on multiple platforms.

  • Windows XP supports MTP if Windows Media Player 10 or 11 (or the Windows Media 11 Runtime) is installed.
  • Windows Vista and Windows 7 natively implement MTP.
  • The Xbox 360 and PlayStation 3 can connect to MTP devices.
  • Linux and FreeBSD MTP interoperability can be achieved by using:
    • libgphoto2 a shared library which supports PTP with some MTP extensions and was originally designed to support PTP cameras
      • The gphoto2 commandline tool for scripted uploading.
      • F-Spot has MTP support through gvfsd-gphoto2
      • Nautilus has MTP support with gphoto2:// URIs.
    • libmtp a shared library implementing the MTP protocol which also includes some command-line example tools
      • Amarok has MTP support through libmtp
      • Audacious has MTP support through libmtp.
      • Banshee has MTP support through libmtp
      • Clementine has MTP support through libmtp
      • Gnomad2 has MTP support through libmtp.
      • gMTP has MTP support through libmtp.
      • MTPfs supports mounting MTP devices like filesystem through libmtp.
      • Qlix has MTP support through libmtp.
      • Rhythmbox has MTP support through libmtp.
  • Mac OS X has third-party MTP support by way of XNJB (which also uses the libmtp implementation of the protocol) and Android File Transfer for use with Android devices.
  • Symbian OS includes MTP support for music, videos and images.
  • AmigaOS, AROS and MorphOS have support for MTP devices through the Poseidon and its PTP class driver.
  • Android includes MTP support since API level 12 (3.1).

See also

References

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Media Transfer Protocol — Das Media Transfer Protocol (MTP) ist eine Weiterentwicklung des Picture Transfer Protocol. Es ermöglicht die Übertragung von Daten zwischen Endgeräten und Computern. Inhaltsverzeichnis 1 Einführung 2 Übertragung 3 Vorteile 4 …   Deutsch Wikipedia

  • Media Transfer Protocol — У этого термина существуют и другие значения, см. MTP (значения). Media Transfer Protocol (MTP)[1]  основанный на PTP аппаратно независимый протокол, разработанный компанией Microsoft для подключения цифровых плееров к компьютеру. Первая… …   Википедия

  • Media Transfer Protocol — MTP (Media Transfer Protocol) est un protocole inventé par Microsoft pour permettre aux appareils mobiles multimédia (appareil photo, lecteur MP3...) de communiquer entre eux. C est un protocole propriétaire, ce qui signifie que ses… …   Wikipédia en Français

  • Media-Transfer-Protokoll — Das Media Transfer Protocol (MTP) ist eine Weiterentwicklung des Picture Transfer Protocol. Es ermöglicht die Übertragung von Daten zwischen Endgeräten und Computern. Inhaltsverzeichnis 1 Einführung 2 Übertragung 3 Vorteile 4 Nachteile 5 …   Deutsch Wikipedia

  • Media Dispatch Protocol — The Media Dispatch Protocol (MDP) was developed by the Pro MPEG Media Dispatch Group to provide an open standard for secure, automated, and tapeless delivery of audio, video and associated data files. Such files typically range from low… …   Wikipedia

  • Media dispatch protocol — The Media Dispatch Protocol (MDP) is being developed by the Pro MPEG Media Dispatch Group to provide an open standard for secure, automated, and tapeless delivery of audio, video and associated data files. Such files typically range from low… …   Wikipedia

  • Picture Transfer Protocol — (PTP) is a widely supported protocol developed by the International Imaging Industry Association to allow the transfer of images from digital cameras to computers and other peripheral devices without the need of additional device drivers. The… …   Wikipedia

  • Picture Transfer Protocol — (PTP) est un protocole développé par l International Imaging Industry Association pour permettre le transfert d images depuis un appareil photo numérique (APN) sur un ordinateur. Ce protocole a été standardisé en tant que ISO 15740. Il a été de… …   Wikipédia en Français

  • Picture Transfer Protocol — Das Picture Transfer Protocol (PTP) ist ein von der International Imaging Industry Association entwickeltes Protokoll zum Austausch von Bildern zwischen Digitalkameras und anderen Geräten wie Computern oder Druckern. Inhaltsverzeichnis 1… …   Deutsch Wikipedia

  • Hypertext Transfer Protocol — HTTP Persistence · Compression · HTTPS Request methods OPTIONS · GET · HEAD · POST · PUT · DELETE · TRACE · CONNECT Header fields Cookie · ETag · Location · Referer DNT · …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”