FAQ - Direct Play, Direct Stream & Transcoding¶
There are three ways Plex handles streaming media to a client device. These methods are:
Direct Play¶
Direct Play is the ideal method for Plex & Emby to handle a media file when streaming to a client device. When Plex or Emby uses Direct Play, it means the media file is fully compatible with the client device, and the Plex or Emby server simply sends it without any alterations. This method consumes minimal CPU resources on the server.
Direct Stream¶
Direct Stream is employed when the client device doesn't support the container format of the media file but is compatible with both video and audio formats. Plex or Emby remuxes the file, transferring the video and audio streams into a format supported by the client device. Direct Stream also utilizes very little CPU resources on the server.
What happens during Direct Stream:
- If the audio isn't supported, the server adjusts it without altering the video.
- If the container isn't supported, the server remuxes it into a compatible format without changing the audio or video.
Devices like phones or TVs might have limitations in video playback, which Direct Stream addresses by adapting the file to the client device requirements.
Transcoding¶
Transcoding comes into play when neither the video nor the audio stream of the media file is supported by the client device. Plex or Emby converts the incompatible stream into a compatible format through transcoding.
Transcoding video requires significant CPU resources, while transcoding audio consumes a moderate amount. If the CPU isn't powerful enough, buffering may occur as the server transcodes the stream on the fly.
What happens during Transcoding:
- If the network bandwidth is insufficient, the server adjusts the bitrate for smooth streaming.
- If the player doesn't support the video codec, the server transcodes it to a supported codec.
- 4K content isn't transcoded; instead, a warning is issued.
Important Settings for Plex Or Emby App¶
By default, Plex or Emby clients should cap media files at 720p 2mbps. Files above this quality are transcoded, resulting in lower-quality video. It's recommended to configure your client device settings for optimal video and audio quality, minimizing transcoding.
has an excellent wiki dedicated to the optimal settings that you should use for a variety of devices.