Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Josh5 - Unmanic - Library Optimiser

Featured Replies

Quick question (possibly answered in this long thread), is there a way for Unmaic to keep the original file and move the transcoded file to a different folder? Basically I am only using Unmanic for reducing file sizes for tablet viewing and so I copy the files to a folder that Unmanic watches to encode. My preference is that the original file does not get deleted, as I may want to encode that same file with different settings and do not want to have to copy it back to the folder again.
Thoughts?

  • Replies 1.6k
  • Views 439k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • @Ashe @trekkiedj @itimpi   Please see update first post also for an example of how I have it setup. I have also added a temporary solution to adding multiple library locations if anyone need

  • There should be a new update available. This has quite a number of changes to how ffmpeg is executed. It should resolve some issues with inotify and library scanning. For those people who created

  • Just as a notice here, I will soon be steeping away from using Unraid to develop and maintain my projects. I will still provide support for Unraid for all of my projects, but that will be moved and on

Posted Images

Nvm, I found the solution is via Plugins.

Ok so I finally got a ARC card the Sparkle-Arc-A380-Genie-6GB-GDDR6-RAM

image.png.eecd474f518970c8f45931f883b679d9.png

And I am running the latest 7.0.0 Beta 2

 

But what do I need to get the Unmanic working?
And I can see the card is recognized in Unraid
image.png.98126c930e7f49aec6f01d72829a8109.png

Its the card 2 (I think) and the renderD129 (Wasnt there before)

So what do I need to do? So far I have done the normal 

image.png.04d0bf87c59230a3a0d402a3648fb4e5.png

That didn't work so I did the old changes

image.png.800dc46f8df947bc128f98f3b4596f52.png

image.png.8fed30e0aa1e436df6f2dddeb6572ba1.pngimage.png.80354bd7446cb0afa8f867c23f9356da.png

 

 

But the errors I get indicate that the HW isn't working in Unmanic

image.thumb.png.a47fefd0624a3be812565a53e5bbfb4e.png

 

Encoding:
image.thumb.png.02912664e9a8572584dd1df58c454a90.png

Any input on how people are running this successfully would be most welcome 🙂

 

 

 

 

On 4/12/2024 at 10:44 PM, alturismo said:

im not using unmanic, but i can tell you there is currently no AV1 encoding with your iGPU ...

 

if you dont believe me, check this about raptor lake cpu ...

https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video

 

or ask in the dedicated unmanic discord channel ;)

I stand corrected and I just bought a ARC card just for Unmanic!
But for some reason I just cant get it working (2 time I am paying and giving up on this 😞 )

 

 

30 minutes ago, casperse said:

I stand corrected and I just bought a ARC card just for Unmanic!

may rather ask in his discord if av1 support should be implemented ... also, when i remember correctly full ARC support will be given on v7 ++ as the Kernel is updated to work correctly with the hardware.

you would be correct arc support is coming in unraid 7  until then you can try passing it through to a vm which has worked for some people but locks up my server for me

Ok, but I am running v7.0.0 Beta 2 and ARC is working GREAT when transcoding in Plex?
I just think I need some Docker setting to tell Unmanic to use the ARC instead of the QuicEnc.

  • 1 month later...

Running 7.02 beta..  Looking for the same thing. Can transcode with plex.  It appears that unmanic is using the cpu/video when it is active.  If i disable the internal GPU i can get unmanic to use the 310Arc that i have. 

Ok i have figured it out.  There is a plugin named "Transcode Video Files"  You are able to chose intel or nvidia.  I have tested both and they are working. Extra Parameters "--runtime=nvidia --device /dev/dri:/dev/dri/" Add variables   NVIDIA_VISIBLE_DEVICES: Your GPU ID and Variable  NVIDIA_DRIVER_CAPABILITIES: all.  Screenshot2024-10-22at19_22_26.thumb.png.00e394db00117e2c92ba916128eed2b8.png

Screenshot 2024-10-22 at 19.17.58.png

Screenshot 2024-10-22 at 19.27.18.png

  • 2 months later...

Quick question: What format do I need to use for the languages to be removed when using 'Remove audio/subtitle streams by language' plugin?

 

In the example it says:

 

Remove Japanese and French streams

jp,fr

 

But it's not removing French or Spanish subtitles even though I have added

fr,es

to the settings.

 

Thanks.

There's a conflict in directions. In one place it says 2 letter and in a other it says 3. Not sure what the correct answer is.

Hi All

 

I still cant use my A380 card in Unmanic to transcode to AV1.
I can confirm that the card works with Unraid and Plex/Emby/Jellyfin

But Unmanic to AV1 does not work (The card is selected correctly I asked in the Unmanic forum)

Have enyone her gotten it working in the new Unraid 7.0 release candidate?

12 hours ago, casperse said:

Hi All

 

I still cant use my A380 card in Unmanic to transcode to AV1.
I can confirm that the card works with Unraid and Plex/Emby/Jellyfin

But Unmanic to AV1 does not work (The card is selected correctly I asked in the Unmanic forum)

Have enyone her gotten it working in the new Unraid 7.0 release candidate?

might be able to help with this. i've used the av1 software encoder with success, i think the process should be similar as long as the gpu is passed through correctly. not 100% positive, but give this a shot:

 

Open up a terminal inside the container. you said you asked in the unmanic forum (i'm assuming discord?) and you passed the gpu through correctly. Just to cross it off the list, open a terminal inside the container and run 

 

ls /dev/dri



you should see -card0 and -renderD128. for now, i'll assume it passed through.

next thing to check is to make sure is that ffmpeg detects your gpu. if the gpu is passed through correctly, i can't imagine that it wouldn't, but just double check to avoid chasing rabbit. type

ffmpeg -hwaccels

this should return "vaapi".
 

After all that, you want to make sure the container has the right qsv encoder for av1 that you're wanting. i don't have an unmondified unmanic container to check this, it's been a while since i've checked a clean install, so run

ffmpeg -encoders | grep qsv

 

you should see

V..... av1_qsv              AV1 (Intel Quick Sync Video acceleration) (codec av1)

returned as one of the listed encoders. if NOT, you need to install this in your container. if it does have it, then you simply need to enable it in the transcode video plugin i believe. you'll then need to add additional video options below it like bitrate, etc depending on what options that encoder has available. i'm not familiar with that encoder specifically. hope this helps.
Screenshot2025-01-06at4_28_00PM.thumb.png.f57a657b56a2bde4aa10b7f6dfff1cb6.png

Edited by Cpt. Chaz
formatting

Is anyone getting the "Ignore files recently modified" plugin to work as expected? Which timestamp does it read? I just recently discovered UnManic and am loving it so far but this plugin is driving me crazy. I have a decent size library accrued over many years but the plugin seems to block virtually all files from being considered despite the fact that many of them are literally years old.

I seem to get a ton of errors like this:
 

2025-01-10T00:01:23:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'ignore_files_recently_modified'
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
    runner(data)
  File "/config/.unmanic/plugins/ignore_files_recently_modified/plugin.py", line 81, in on_library_management_file_test
    if not ensure_last_modified_time_on_file(data.get('path'), minimum_age):
  File "/config/.unmanic/plugins/ignore_files_recently_modified/plugin.py", line 48, in ensure_last_modified_time_on_file
    file_stats = os.stat(os.path.join(path))

 

I recently switched to Unmanic for keeping my video library encoded properly and it works great. Turns out, however, my new Samsung TV (or rather the Plex version on it) doesn't seem to like the 96 kHz AAC audio the default settings of the reencoding plugin produce. 

 

I'd like to reduce the bitrate to 48 kHz, but I'm not sure about which options to put where in the plugin config.

 

Any help would be greatly appreciated.

Seems like there's a parameter you can set in the AAC converter plugin that defines the desired sample rate: -ar 48000

 

The AAC normalization plugin, however, sports no such parameter and promptly converts the audio tracks previously converted to 48kHz up to 96kHz ones again. :(

 

The only way to save my library from being converted 96kHz sample rate over and over again was to remove the AAC normalization plugin altogether.

On 1/6/2025 at 11:31 PM, Cpt. Chaz said:

might be able to help with this. i've used the av1 software encoder with success, i think the process should be similar as long as the gpu is passed through correctly. not 100% positive, but give this a shot:

 

Open up a terminal inside the container. you said you asked in the unmanic forum (i'm assuming discord?) and you passed the gpu through correctly. Just to cross it off the list, open a terminal inside the container and run 

 

ls /dev/dri



you should see -card0 and -renderD128. for now, i'll assume it passed through.

next thing to check is to make sure is that ffmpeg detects your gpu. if the gpu is passed through correctly, i can't imagine that it wouldn't, but just double check to avoid chasing rabbit. type

ffmpeg -hwaccels

this should return "vaapi".
 

After all that, you want to make sure the container has the right qsv encoder for av1 that you're wanting. i don't have an unmondified unmanic container to check this, it's been a while since i've checked a clean install, so run

ffmpeg -encoders | grep qsv

 

 

you should see

V..... av1_qsv              AV1 (Intel Quick Sync Video acceleration) (codec av1)

returned as one of the listed encoders. if NOT, you need to install this in your container. if it does have it, then you simply need to enable it in the transcode video plugin i believe. you'll then need to add additional video options below it like bitrate, etc depending on what options that encoder has available. i'm not familiar with that encoder specifically. hope this helps.
Screenshot2025-01-06at4_28_00PM.thumb.png.f57a657b56a2bde4aa10b7f6dfff1cb6.png

This is Great I have just removed the Nvida card (Had given up on AV1 and the ARC card) and inserted it again.
I am seeing this:

image.thumb.png.1fdee2cf1112f6d19a93336e89d74c66.png

 

Which gives me the configuration:

 

--device=/dev/dri/card2:/dev/dri/card0 --device=/dev/dri/renderD129:/dev/dri/renderD128

 

Unmanic: Docker terminal:

image.png.83ba6db7e3ca1d3cd83a8a986ee42983.png

And:

image.thumb.png.08b4fbfd4b409a54ca083e7e3a9de0e8.png

 

And:

image.thumb.png.1259fb61c82d9fa28a756f600b8dd6ff.png

So am I missing some codec? and if I am how to go about this?

I have done the encoder config, but it does not utllize the card.

Again thanks for your help !!!

 

BTW: the 3 card listed is the built in IPMI card on the MB

 

 

 

 



 

Edited by casperse

  • 2 weeks later...

Hi Team,

 

Not sure if this is a known issue but my workers won't honor the schedule I've set up. I only want them to run 9-5 on Saturday and Sunday but they just stay on all the time. Note the screenshots are from a Tuesday.

 

Thank you for your help

 

Pete

Screenshot 2025-02-04 100228.png

Screenshot 2025-02-04 100324.png

  • 3 months later...

I've been trying to get gpu acceleration working for ages, found others with same problem but no solutions that I can find.

My CPU is a 5825U which should support h265 decode/encode and I already pass this through to plex, steam, and immich containers fine.

I have the usual extra parameter --device=/dev/dri added, within the container I see /dev/dri/card0 and /dev/dri/renderD128 which is usually a good sign.

looking at ffmpeg in the container, it seems to be set up for hardware acceleration showing vaapi at the end of the following command:

 

ffmpeg -hwaccels
ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Hardware acceleration methods:
cuda
vaapi
qsv
drm
opencl
vulkan

 

within the settings I see the VAAPI device correctly.

image.png.a18e74540b90dc5b941db15603c57404.png

 

But when the transcoding starts it just hits the CPU. No GPU is used at all (according to radeontop).

Does anyone have any ideas, or other tests I can run?

I can't add a GPU as this is in a little minipc setup, so I need to do the best with what I've got!

 

I just ran a ffmpeg decode to test on the console, and noticed this:

Driver does not support some wanted packed headers (wanted 0xd, found 0x1)

 

 

 

Edited by MatthewD

I'm having the same issue as previous post by MatthewD.  This has been working for me for over a year.  I recently rebuilt some of my dockers from scratch and Unmanic is setup the same as before.  The one difference is that there used to be transcode plugins by processor.  I used the "Video Encoder H265/HEVC - hevc_vaapi (INTEL/AMD)" plugin before.  Now I see that the "Transcode Video Files" can be configured for all the processor types, but it does not get used.  Everything is just hitting the cpu.  I've watched both intel_gpu_top and the unraid plugin "GPU Statistics" and I never see the video processor used. 

 

Not sure how to fix this, so any help would be appreciated.

Edited by jeff_screws

  • 2 months later...

Hi,

Do you know how to reset "File Size Metrics Data Panel" ?

I would like to either remove some files from stat (because I ran unmanic for someone else) or reset to zero as a fresh start.

(and same for Video Library Stats Data Panel) ?

Thank you.

  • 2 weeks later...

how do i get to the support page?

updating to 0.3.0 borks the ability to access the unmanic dashboard.

rolled back to 0.2.9 and the support future development button is borked there too.

image.png

  • 2 weeks later...

Hello everyone,

I’m experiencing an issue with Unmanic. I’ve been trying for several hours to get it running, but plugins that require GPU support, such as H.265, are not appearing. Other plugins are visible without any problems.

I have added the following under Extra Parameters: --device=/dev/dri, and Intel GPU Top is installed. My Unraid server is running on an Intel NUC with a 1220p CPU.

Could anyone advise why GPU-supported plugins are not working or what I might be missing?

Thank you in advance for your help.

  • 2 weeks later...

Anyone having an issue where the transcode video plugin won't populate when selected as to allow you to make changes? Then, even when it does load, it loses the settings once restarted or sometimes at random. For example, it might start transcoding my library via GPU, then randomly stop using GPU and be running it all off my CPU. I have tried stopping, updating the JSON for the plugins for different libraries, the global plugin JSON, etc., with the same result. It'll work, then not, save, then not, etc. Sad deal as Unmanic is by far the simplest option IMO.

  • Author
7 hours ago, BVTJ said:

Anyone having an issue where the transcode video plugin won't populate when selected as to allow you to make changes? Then, even when it does load, it loses the settings once restarted or sometimes at random. For example, it might start transcoding my library via GPU, then randomly stop using GPU and be running it all off my CPU. I have tried stopping, updating the JSON for the plugins for different libraries, the global plugin JSON, etc., with the same result. It'll work, then not, save, then not, etc. Sad deal as Unmanic is by far the simplest option IMO.

7 hours ago, BVTJ said:

Anyone having an issue where the transcode video plugin won't populate when selected as to allow you to make changes? Then, even when it does load, it loses the settings once restarted or sometimes at random. For example, it might start transcoding my library via GPU, then randomly stop using GPU and be running it all off my CPU. I have tried stopping, updating the JSON for the plugins for different libraries, the global plugin JSON, etc., with the same result. It'll work, then not, save, then not, etc. Sad deal as Unmanic is by far the simplest option IMO.

Have you tried restarting the container? The mist recent update of the transcode videos plugin was not compatible with the module reload and it kinda broke. But a restart if the app sets everything right.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.