Where does the Plex Plugin do transcoding by default?

    • OMV 2.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Where does the Plex Plugin do transcoding by default?

      I understand that Plex can be made to do transcoding to a disk drive or to RAM. I would like to use RAM exclusively, even if that means my buffer size will be limited.

      Is this the default on OMV?
      If not, what do I need to change my transcode directory to in order to make this happen on the plugin version of Plex?

      The post was edited 1 time, last by Learning2NAS ().

    • Learning2NAS wrote:

      It sound like Plex is caching to disk


      Learning2NAS wrote:

      How can I scoot the transcoding cache into RAM on OMV?

      Ask in the plex forums or wait for someone here that knows how to that. Or if you want use the docker image you say that does the same

      Learning2NAS wrote:

      I did this on another NAS running Plex in Docker and it was super easy, but I don't know anything about OMV yet...still learning.

      OMV is just debian under the hood, there is no magic here.
      The plugin just installs plexmediaserver using a deb package made for debian wehezy, and is just a panel to start......and stop plex
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • One additional question: When Plex is using its default setup (saving cached transcodes to the HDD), is that path (/media/UJUID/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/) on the OMV root drive with the plugin/OS, or on the drive where the rest of the Plex files are stored?

      Edit: Found this one by clicking through both directories. It looks like it is stored on the other (non-OS) drive; the one that you get to select during the Plex Plugin installation process.

      The post was edited 3 times, last by Learning2NAS ().

    • Okay, I found some stuff that may be helpful for making sense of this situation. Other Plex users have reported speed increases from caching to RAM. See here.

      1. Debian can be easily made to run /tmp in RAM using tmpfs (which is already included in the OS). See here.
      2. The only problem is Plex doesn't remove the transcoded video until you have exited the video you're watching. So as you watch a film, the transcode files really begin to stack up. If you have 4GB of RAM and watch a 15GB Blu-Ray rip, Plex will crash in the middle of the film as /tmp fills up. This is explained in the link for #2 as well.
      3. By default, Debian empties /tmp each time the machine reboots. See answer here.
      4. The problem can be solved by either adding enough RAM to cache to /tmp like Plex normally does (16GB or more in the case of some Blu-Rays), or by using something to empty /tmp. The tmp directory may contain useful files that you don't want to delete at arbitrary intervals. Doing so may result in program or OS instability.

      The easiest fix would be to transcode to /tmp and teach Plex to cleanup transcode files once they have been viewed, rather than at the end of a film. This probably isn't worth the trouble, though.

      The post was edited 1 time, last by Learning2NAS ().

    • tekkb wrote:

      There are cheap ARM devices that make good clients for Plex or Emby. Transcoding will use a lot more resources, CPU, on your server.


      While i perfectly understand the need for experimenting and learning stuff, i also would recommend this approach. Get yourself a Raspberry Pi 2, a micro SD-Card and put rasplex on it. Your server won't have to transcode, and a Pi would need significantly less power than a ps3. You'll get direct streaming, choice of different skins, 24p playback and you can use your TVs remote via HDMI-CEC. Never been happier with such a small device. Completely replaced my HTPCs, which i used to run. And its fun to set it up, and see it run. I never turn mine off, it is tucked away behind the TV, and just works.
    • Someday soon, boys. I understand the advtanges of both options. I'm just out of power plugs behind my entertainment center and I'm out of HDMI inputs on my TV. Since we still play PS3 games (unfinished business there, since some games took a bit to come down in price after the switch to the new generation of consoles), I don't want to unhook it just yet, and it is SO frustrating to have to plug and unplug things each time you want to do something with your TV.

      I lived that life back in the 90s, but there's no excuse for it today. I won't go back!