plex_generate_vid_previews
plex_generate_vid_previews copied to clipboard
NVIDIA HW Acceleration seems overly slow
Just following up on my issue with gpu hw acceleration not working as requested, I left the script running for as of the console logs below just over 6 hours with my gpu & cpu threads both set to 6 threads & upon checking I have a variety of mkv files that can apparently use my gpu & a bunch that won't as shown by my console logs. I also tested with only gpu threads in my env file & the same issue occurs but upon relaunching the script everything appears to be using the gpu as it should so think that resolved itself.
Looking at some of those generation times even some of the files with "HW = True" seem much slower than if I were to just directly generate the thumbnails with plex itself. My PC is running with a 4090 so for it to be functioning like this seems extremely odd but granted this might just be a h265 + limitations of gigabit SMB issue & things are running as expected.
No matter the amount of threads this still seems to just be overly slow in general so not sure what's going on with this one but I've added my console logs below.
The script will also remain frozen upon starting it with something along the lines of this until it seems to complete a file then it will start to show files being generated & the status of hw acceleration.
2024/10/09 03:10:08 | ℹ️ - Getting the media files from library 'Movies' 2024/10/09 03:10:09 | ℹ️ - Got 243 media files for library Movies ⠧ Working... ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12% 0:00:07 30/243
`2024/10/08 21:21:35 | ℹ️ - Getting the media files from library 'Movies' 2024/10/08 21:21:35 | ℹ️ - Got 243 media files for library Movies ⠋ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 21:36:51 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/10 Lives (2024) {tmdb-567811}/10 Lives (2024) {tmdb-567811} [WEBDL-1080p][EAC3 2.0]-WB60.mkv HW=True TIME=911.8seconds SPEED=5.54x ⠧ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 21:38:02 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Arcadian (2024) {tmdb-1051896}/Arcadian (2024) {tmdb-1051896} [WEBDL-1080p][EAC3 5.1]-FLUX.mkv HW=True TIME=980.9seconds SPEED=5.62x ⠴ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 21:43:37 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Alien Romulus (2024) {tmdb-945961}/Alien Romulus (2024) {tmdb-945961} [CAM][AC3 2.0]-AMC.mkv HW=True TIME=1314.3seconds SPEED=5.11x ⠇ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 22:29:02 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Abigail (2024) {tmdb-1111873}/Abigail (2024) {tmdb-1111873} [WEBDL-2160p][DV HDR10Plus][EAC3 Atmos 5.1]-FLUX.mkv HW=False TIME=4035.2seconds SPEED=1.63x ⠇ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 22:37:27 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Atlas (2024) {tmdb-614933}/Atlas (2024) {tmdb-614933} [WEBDL-1080p][EAC3 Atmos 5.1]-FLUX.mkv HW=False TIME=1539.9seconds SPEED=4.69x ⠇ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 22:44:30 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Alone (2020) {tmdb-509635}/Alone (2020) {tmdb-509635} [Remux-1080p][DTS-HD MA 5.1][AVC]-FraMeSToR.mkv HW=True TIME=4968.6seconds SPEED=1.18x ⠹ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 22:46:50 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/57 Seconds (2023) {tmdb-937249}/57 Seconds (2023) {tmdb-937249} [Remux-1080p][DTS-HD MA 5.1]-FraMeSToR.mkv HW=False TIME=5106.3seconds SPEED=1.17x ⠋ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 22:47:50 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/As They Made Us (2022) {tmdb-644100}/As They Made Us (2022) {tmdb-644100} [WEBDL-2160p][EAC3 5.1]-dB.mkv HW=False TIME=3189.2seconds SPEED=1.87x ⠸ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 22:55:28 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/The Adventures of Tintin (2011) {tmdb-17578}/The Adventures of Tintin (2011) {tmdb-17578} [Remux-1080p][DTS-HD MA 7.1][AVC]-RATiObump.mkv HW=False TIME=5608.2seconds SPEED=1.14x ⠇ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 23:02:55 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Aquaman and the Lost Kingdom (2023) {tmdb-572802}/Aquaman and the Lost Kingdom (2023) {tmdb-572802} [Bluray-2160p][DV HDR10][TrueHD Atmos 7.1]-W4NK3R.mkv HW=True TIME=6073.3seconds SPEED=1.23x ⠧ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 23:26:18 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Beaconsfield (2012) {tmdb-103883}/Beaconsfield (2012) {tmdb-103883} [WEBDL-1080p][EAC3 2.0]-iJP.mkv HW=False TIME=695.4seconds SPEED=11.2x ⠹ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 23:28:06 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Ad Astra (2019) {tmdb-419704}/Ad Astra (2019) {tmdb-419704} [Hybrid][Remux-2160p][HDR10Plus][TrueHD Atmos 7.1][HEVC]-WiLDCAT.mkv HW=True TIME=7583.5seconds SPEED=0.974x ⠋ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 23:35:39 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Battle Over Britain (2023) {tmdb-1136318}/Battle Over Britain (2023) {tmdb-1136318} [Remux-1080p][DTS-HD MA 5.1][AVC]-TRiToN.mkv HW=False TIME=1494.8seconds SPEED=3.23x ⠇ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 23:35:39 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/2 Fast 2 Furious (2003) {tmdb-584}/2 Fast 2 Furious (2003) {tmdb-584} [Remux-2160p][HDR10][DTS-X 7.1][HEVC]-PmP.mkv HW=False TIME=8018.0seconds SPEED=0.805x ⠦ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 23:40:04 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Arrival (2016) {tmdb-329865}/Arrival (2016) {tmdb-329865} [Remux-2160p][HDR10][DTS-HD MA 7.1][HEVC]-FraMeSToR.mkv HW=True TIME=6393.4seconds SPEED=1.09x ⠼ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:-- 0/2432024/10/08 23:49:01 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/1917 (2019) {tmdb-530915}/1917 (2019) {tmdb-530915} [Remux-2160p][HDR10Plus][TrueHD Atmos 7.1][HEVC]-FraMeSToR.mkv HW=True TIME=8843.5seconds SPEED=0.808x ⠧ Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1% -:--:-- 3/2432024/10/08 23:56:08 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Angel Has Fallen (2019) {tmdb-423204}/Angel Has Fallen (2019) {tmdb-423204} [Remux-2160p][DV HDR10][TrueHD Atmos 7.1][HEVC]-FraMeSToR.mkv HW=True TIME=9268.1seconds SPEED=0.784x ⠸ Working... ━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4% -:--:-- 9/2432024/10/09 00:06:51 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Beverly Hills Cop Axel F (2024) {tmdb-280180}/Beverly Hills Cop Axel F (2024) {tmdb-280180} [WEBDL-2160p][DV HDR10][EAC3 Atmos 5.1]-FLUX.mkv HW=True TIME=941.5seconds SPEED=7.52x ⠴ Working... ━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4% -:--:-- 9/2432024/10/09 00:09:15 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Beetlejuice Beetlejuice (2024) {tmdb-917496}/Beetlejuice Beetlejuice (2024) {tmdb-917496} [WEBDL-2160p][DV HDR10Plus][EAC3 Atmos 5.1]-FLUX.mkv HW=True TIME=1636.2seconds SPEED=3.84x ⠇ Working... ━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6% -:--:-- 15/2432024/10/09 00:14:45 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/The Bikeriders (2024) {tmdb-1008409}/The Bikeriders (2024) {tmdb-1008409} [WEBDL-1080p][EAC3 Atmos 5.1]-LetMeRideYou.mkv HW=True TIME=695.2seconds SPEED=10.1x ⠇ Working... ━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6% -:--:-- 15/2432024/10/09 00:17:03 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Bad Boys for Life (2020) {tmdb-38700}/Bad Boys for Life (2020) {tmdb-38700} [Remux-2160p][HDR10][DTS-X 7.1][HEVC]-FraMeSToR.mkv HW=True TIME=4181.1seconds SPEED=1.78x ⠏ Working... ━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6% -:--:-- 15/2432024/10/09 00:19:57 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/The Belko Experiment (2016) {tmdb-341006}/The Belko Experiment (2016) {tmdb-341006} [Remux-1080p][DTS-HD MA 5.1][AVC]-FraMeSToR.mkv HW=False TIME=1870.7seconds SPEED=2.85x ⠦ Working... ━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6% -:--:-- 15/2432024/10/09 00:20:21 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Begin Again (2013) {tmdb-198277}/Begin Again (2013) {tmdb-198277} [Remux-1080p Proper][DTS-HD MA 5.1][AVC]-FraMeSToR.mkv HW=False TIME=2109.6seconds SPEED=2.97x ⠸ Working... ━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6% -:--:-- 15/2432024/10/09 00:20:55 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Bad Boys (1995) {tmdb-9737}/Bad Boys (1995) {tmdb-9737} [Remux-2160p][HDR10][TrueHD Atmos 7.1][HEVC]-FraMeSToR.mkv HW=True TIME=5317.5seconds SPEED=1.34x ⠼ Working... ━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6% -:--:-- 15/2432024/10/09 00:26:27 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Bird Box (2018) {tmdb-405774}/Bird Box (2018) {tmdb-405774} [WEBDL-2160p][DV HDR10][EAC3 Atmos 5.1][HEVC]-SiC.mkv HW=True TIME=880.6seconds SPEED=8.45x ⠼ Working... ━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6% -:--:-- 15/2432024/10/09 00:31:49 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/The Beekeeper (2024) {tmdb-866398}/The Beekeeper (2024) {tmdb-866398} [Remux-2160p][DV HDR10][TrueHD Atmos 7.1][HEVC]-TRiToN.mkv HW=False TIME=4363.4seconds SPEED=1.46x ⠧ Working... ━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6% -:--:-- 15/2432024/10/09 00:33:44 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Bad Boys II (2003) {tmdb-8961}/Bad Boys II (2003) {tmdb-8961} [Remux-2160p][HDR10][TrueHD Atmos 7.1][HEVC]-FraMeSToR.mkv HW=False TIME=5179.6seconds SPEED=1.7x ⠹ Working... ━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7% -:--:-- 17/2432024/10/09 00:34:13 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Boneyard (2024) {tmdb-1114738}/Boneyard (2024) {tmdb-1114738} [WEBDL-1080p][EAC3 5.1]-BYNDR.mkv HW=True TIME=303.7seconds SPEED=19.2x ⠹ Working... ━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7% -:--:-- 17/2432024/10/09 00:34:33 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Blink Twice (2024) {tmdb-840705}/Blink Twice (2024) {tmdb-840705} [WEBDL-1080p][EAC3 Atmos 5.1]-FLUX.mkv HW=True TIME=440.4seconds SPEED=14.1x ⠸ Working... ━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7% -:--:-- 17/2432024/10/09 00:36:53 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Black Lotus (2023) {tmdb-996154}/Black Lotus (2023) {tmdb-996154} [Remux-1080p][TrueHD Atmos 7.1]-FraMeSToR.mkv HW=True TIME=967.0seconds SPEED=5.55x ⠋ Working... ━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7% -:--:-- 17/2432024/10/09 00:37:20 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Bad Boys Ride or Die (2024) {tmdb-573435}/Bad Boys Ride or Die (2024) {tmdb-573435} [Bluray-1080p][AC3 5.1]-BHDStudio.mp4 HW=False TIME=5258.2seconds SPEED=1.32x ⠴ Working... ━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7% -:--:-- 17/2432024/10/09 00:41:18 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Beetlejuice (1988) {tmdb-4011}/Beetlejuice (1988) {tmdb-4011} [Hybrid][Remux-2160p][DV HDR10][TrueHD Atmos 7.1][HEVC]-FraMeSToR.mkv HW=True TIME=3733.3seconds SPEED=1.48x ⠸ Working... ━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7% -:--:-- 17/2432024/10/09 00:43:54 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Breathe (2024) {tmdb-720321}/Breathe (2024) {tmdb-720321} [Bluray-1080p][EAC3 5.1]-playHD.mkv HW=False TIME=619.9seconds SPEED=9.07x ⠙ Working... ━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7% -:--:-- 17/2432024/10/09 00:46:02 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Call Me Country Beyoncé and Nashvilles Renaissance (2024) {tmdb-1276928}/Call Me Country Beyoncé and Nashvilles Renaissance (2024) {tmdb-1276928} [WEBDL-1080p][EAC3 2.0]-FLUX.mkv HW=True TIME=150.6seconds SPEED=17.1x ⠋ Working... ━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7% -:--:-- 17/2432024/10/09 00:48:52 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Borderlands (2024) {tmdb-365177}/Borderlands (2024) {tmdb-365177} [WEBDL-2160p][DV HDR10Plus][EAC3 Atmos 5.1]-FLUX.mkv HW=True TIME=1003.7seconds SPEED=6.03x ⠙ Working... ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12% -:--:-- 30/2432024/10/09 01:22:38 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Code 8 Part II (2024) {tmdb-932420}/Code 8 Part II (2024) {tmdb-932420} [WEBDL-2160p][DV HDR10][EAC3 Atmos 5.1]-FLUX.mkv HW=False TIME=1659.2seconds SPEED=3.63x ⠙ Working... ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12% -:--:-- 30/2432024/10/09 01:27:04 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Bridget Joness Baby (2016) {tmdb-95610}/Bridget Joness Baby (2016) {tmdb-95610} [Remux-1080p][DTS-HD MA 5.1][AVC]-FraMeSToR.mkv HW=True TIME=3164.6seconds SPEED=2.33x ⠦ Working... ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12% -:--:-- 30/2432024/10/09 02:01:36 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Damaged (2024) {tmdb-1105407}/Damaged (2024) {tmdb-1105407} [Remux-1080p][DTS-HD MA 5.1][AVC]-TRiToN.mkv HW=False TIME=4008.8seconds SPEED=1.46x ⠋ Working... ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12% -:--:-- 30/2432024/10/09 02:02:43 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Cherry (2021) {tmdb-544401}/Cherry (2021) {tmdb-544401} [WEBDL-2160p][DV HDR10Plus][EAC3 Atmos 5.1]-FLUX.mkv HW=True TIME=4304.7seconds SPEED=1.97x ⠸ Working... ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12% -:--:-- 30/2432024/10/09 02:03:36 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Civil War (2024) {tmdb-929590}/Civil War (2024) {tmdb-929590} [Bluray-2160p][DV HDR10Plus][TrueHD Atmos 7.1]-MainFrame.mkv HW=True TIME=4314.7seconds SPEED=1.51x ⠸ Working... ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12% -:--:-- 30/2432024/10/09 02:05:58 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Challengers (2024) {tmdb-937287}/Challengers (2024) {tmdb-937287} [Remux-1080p][TrueHD Atmos 7.1][AVC]-CiNEPHiLES.mkv HW=True TIME=4865.5seconds SPEED=1.62x ⠧ Working... ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12% -:--:-- 30/2432024/10/09 02:15:06 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Code 8 (2019) {tmdb-461130}/Code 8 (2019) {tmdb-461130} [Remux-1080p Proper][DTS-HD MA 5.1][AVC]-PmP.mkv HW=False TIME=4887.5seconds SPEED=1.21x ⠇ Working... ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12% -:--:-- 30/2432024/10/09 02:49:03 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Danger Close The Battle of Long Tan (2019) {tmdb-508664}/Danger Close The Battle of Long Tan (2019) {tmdb-508664} [Remux-1080p Proper][DTS-HD MA 5.1][AVC]-PmP.mkv HW=False TIME=6544.2seconds SPEED=1.08x ⠸ Working... ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12% -:--:-- 30/2432024/10/09 02:56:41 | ℹ️ - Generated Video Preview for //republiccommand/media/plex/movies/Day Shift (2022) {tmdb-755566}/Day Shift (2022) {tmdb-755566} [WEBDL-2160p][DV HDR10][EAC3 Atmos 5.1]-SMURF.mkv HW=True TIME=3025.1seconds SPEED=2.21x ⠴ Working... ━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12% -:--:-- 30/243`