cyrus104 0 Posted February 4, 2023 Share Posted February 4, 2023 I have an Emby server running in docker with /dev/dri passthrough working as expected, if I transcode everything works but not on regular streaming. However when I stream to my Firefox browser at 4K, it freezes after 15-30 seconds. It's currently been set to Auto 4K - 140Mbps. The server says Video 4K H264 Direct Play (46Mbps) Audio EAC3 5.1 Transcode (AAC 384 kbps) Server CPU is at 25-30% and the Desktop is at 3-4%. I understand that audio can't be transcoded in hardware but not sure why that would be freezing when the server cpu utilization is so low. Link to comment Share on other sites More sharing options...
Happy2Play 8332 Posted February 4, 2023 Share Posted February 4, 2023 2 hours ago, cyrus104 said: I have an Emby server running in docker with /dev/dri passthrough working as expected, if I transcode everything works but not on regular streaming. However when I stream to my Firefox browser at 4K, it freezes after 15-30 seconds. It's currently been set to Auto 4K - 140Mbps. The server says Video 4K H264 Direct Play (46Mbps) Audio EAC3 5.1 Transcode (AAC 384 kbps) Server CPU is at 25-30% and the Desktop is at 3-4%. I understand that audio can't be transcoded in hardware but not sure why that would be freezing when the server cpu utilization is so low. Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks! Have you tried a different browser? Link to comment Share on other sites More sharing options...
cyrus104 0 Posted February 5, 2023 Author Share Posted February 5, 2023 Thanks for the quick response. I have tried Chrome, Brave (worst), and Firefox (works the best but still hangs). Here are some logs that I took a few sections after the freeze. Side note: the dashboard actually says that the playback is continuing and the time is still counting up like normal playback. Browser who screen is frozen including the playback time. embyserver.txt ffmpeg-remux-0031523f-923d-4be9-b8ca-d43f955967ab_1.txt Link to comment Share on other sites More sharing options...
GrimReaper 3326 Posted February 5, 2023 Share Posted February 5, 2023 As a first step, you should really get rid of that excessive number of subtitles or obtain external srt subs and repeat test, see how does that compare. Quote 8:15:58.312 Stream mapping: 08:15:58.312 Stream #0:0 -> #0:0 (copy) 08:15:58.312 Stream #0:1 -> #0:1 (eac3 (native) -> aac (native)) 08:15:58.312 Stream #0:2 -> #1:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:3 -> #2:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:4 -> #3:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:5 -> #4:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:6 -> #5:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:7 -> #6:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:8 -> #7:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:9 -> #8:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:10 -> #9:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:11 -> #10:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:12 -> #11:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:13 -> #12:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:14 -> #13:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:15 -> #14:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:16 -> #15:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:17 -> #16:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:18 -> #17:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:19 -> #18:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:20 -> #19:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:21 -> #20:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:22 -> #21:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:23 -> #22:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:24 -> #23:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:25 -> #24:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:26 -> #25:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:27 -> #26:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:28 -> #27:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:29 -> #28:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:30 -> #29:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:31 -> #30:0 (subrip (srt) -> webvtt (native)) 08:15:58.312 Stream #0:32 -> #31:0 (subrip (srt) -> webvtt (native)) Link to comment Share on other sites More sharing options...
cyrus104 0 Posted February 5, 2023 Author Share Posted February 5, 2023 (edited) Thanks, how do I get rid of these / just par it down to like english and english(forced). In the Library, I have Open Subtitles disabled, require a hash match and forced subtitles only both enabled. Edited February 5, 2023 by cyrus104 Link to comment Share on other sites More sharing options...
GrimReaper 3326 Posted February 5, 2023 Share Posted February 5, 2023 (edited) Number of tools available online, for example MkvToolNix will do. Edit: Also, community made plugin: Edited February 5, 2023 by GrimReaper Link 1 Link to comment Share on other sites More sharing options...
cyrus104 0 Posted February 5, 2023 Author Share Posted February 5, 2023 Alright installed Sub-Killer and think it's setup. I'm still getting the same issue. embyserver.txt ffmpeg-remux-4be15c51-377d-44d9-98bb-c3509823ea51_1.txt Link to comment Share on other sites More sharing options...
Luke 37180 Posted February 5, 2023 Share Posted February 5, 2023 Hi, can you try Chrome? How does that compare? Link to comment Share on other sites More sharing options...
cyrus104 0 Posted February 6, 2023 Author Share Posted February 6, 2023 I'm getting the same thing in chrome proper. Link to comment Share on other sites More sharing options...
GrimReaper 3326 Posted February 6, 2023 Share Posted February 6, 2023 On 2/5/2023 at 2:52 PM, cyrus104 said: I'm still getting the same issue. Because you're again playing the same file with the same number of subs, it would be odd if the result was any different. Quote {"Codec":"subrip","Language":"eng","TimeBase":"1/1000","DisplayTitle":"English (SUBRIP)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"eng","TimeBase":"1/1000","Title":"SDH","DisplayTitle":"English (SUBRIP)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"ara","TimeBase":"1/1000","DisplayTitle":"Arabic (SUBRIP)","DisplayLanguage":"Arabic","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":4,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"cze","TimeBase":"1/1000","DisplayTitle":"Czech (SUBRIP)","DisplayLanguage":"Czech","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":5,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"dan","TimeBase":"1/1000","DisplayTitle":"Danish (SUBRIP)","DisplayLanguage":"Danish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":6,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"ger","TimeBase":"1/1000","DisplayTitle":"German (SUBRIP)","DisplayLanguage":"German","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":7,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"gre","TimeBase":"1/1000","DisplayTitle":"Greek, Modern (1453-) (SUBRIP)","DisplayLanguage":"Greek, Modern (1453-)","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":8,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"spa","TimeBase":"1/1000","DisplayTitle":"Spanish (SUBRIP)","DisplayLanguage":"Spanish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":9,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"spa","TimeBase":"1/1000","Title":"European","DisplayTitle":"Spanish (SUBRIP)","DisplayLanguage":"Spanish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":10,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"fin","TimeBase":"1/1000","DisplayTitle":"Finnish (SUBRIP)","DisplayLanguage":"Finnish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":11,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"fre","TimeBase":"1/1000","DisplayTitle":"French (SUBRIP)","DisplayLanguage":"French","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":12,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"heb","TimeBase":"1/1000","DisplayTitle":"Hebrew (SUBRIP)","DisplayLanguage":"Hebrew","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":13,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"hin","TimeBase":"1/1000","DisplayTitle":"Hindi (SUBRIP)","DisplayLanguage":"Hindi","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":14,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"hun","TimeBase":"1/1000","DisplayTitle":"Hungarian (SUBRIP)","DisplayLanguage":"Hungarian","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":15,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"ind","TimeBase":"1/1000","DisplayTitle":"Indonesian (SUBRIP)","DisplayLanguage":"Indonesian","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":16,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"ita","TimeBase":"1/1000","DisplayTitle":"Italian (SUBRIP)","DisplayLanguage":"Italian","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":17,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"jpn","TimeBase":"1/1000","DisplayTitle":"Japanese (SUBRIP)","DisplayLanguage":"Japanese","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":18,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"kor","TimeBase":"1/1000","DisplayTitle":"Korean (SUBRIP)","DisplayLanguage":"Korean","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":19,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"nob","TimeBase":"1/1000","DisplayTitle":"Bokmål, Norwegian (SUBRIP)","DisplayLanguage":"Bokmål, Norwegian","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":20,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"dut","TimeBase":"1/1000","DisplayTitle":"Dutch (SUBRIP)","DisplayLanguage":"Dutch","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":21,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"pol","TimeBase":"1/1000","DisplayTitle":"Polish (SUBRIP)","DisplayLanguage":"Polish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":22,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"por","TimeBase":"1/1000","DisplayTitle":"Portuguese (SUBRIP)","DisplayLanguage":"Portuguese","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":23,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"por","TimeBase":"1/1000","Title":"Brazilian","DisplayTitle":"Portuguese (SUBRIP)","DisplayLanguage":"Portuguese","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":24,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"rum","TimeBase":"1/1000","DisplayTitle":"Romanian (SUBRIP)","DisplayLanguage":"Romanian","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":25,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"rus","TimeBase":"1/1000","DisplayTitle":"Russian (SUBRIP)","DisplayLanguage":"Russian","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":26,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"swe","TimeBase":"1/1000","DisplayTitle":"Swedish (SUBRIP)","DisplayLanguage":"Swedish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":27,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"tha","TimeBase":"1/1000","DisplayTitle":"Thai (SUBRIP)","DisplayLanguage":"Thai","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":28,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"tur","TimeBase":"1/1000","DisplayTitle":"Turkish (SUBRIP)","DisplayLanguage":"Turkish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":29,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"vie","TimeBase":"1/1000","DisplayTitle":"Vietnamese (SUBRIP)","DisplayLanguage":"Vietnamese","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":30,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"chi","TimeBase":"1/1000","Title":"Simplified","DisplayTitle":"Chinese Simplified (SUBRIP)","DisplayLanguage":"Chinese Simplified","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":31,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"},{"Codec":"subrip","Language":"chi","TimeBase":"1/1000","Title":"Traditional","DisplayTitle":"Chinese Traditional (SUBRIP)","DisplayLanguage":"Chinese Traditional","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":32,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","AttachmentSize":0,"SubtitleLocationType":"InternalStream"} Quote 15:48:03.989 Stream mapping: 15:48:03.989 Stream #0:0 -> #0:0 (copy) 15:48:03.989 Stream #0:1 -> #0:1 (eac3 (native) -> aac (native)) 15:48:03.989 Stream #0:2 -> #1:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:3 -> #2:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:4 -> #3:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:5 -> #4:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:6 -> #5:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:7 -> #6:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:8 -> #7:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:9 -> #8:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:10 -> #9:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:11 -> #10:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:12 -> #11:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:13 -> #12:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:14 -> #13:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:15 -> #14:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:16 -> #15:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:17 -> #16:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:18 -> #17:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:19 -> #18:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:20 -> #19:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:21 -> #20:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:22 -> #21:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:23 -> #22:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:24 -> #23:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:25 -> #24:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:26 -> #25:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:27 -> #26:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:28 -> #27:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:29 -> #28:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:30 -> #29:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:31 -> #30:0 (subrip (srt) -> webvtt (native)) 15:48:03.989 Stream #0:32 -> #31:0 (subrip (srt) -> webvtt (native)) Link to comment Share on other sites More sharing options...
cyrus104 0 Posted February 6, 2023 Author Share Posted February 6, 2023 Hmm, so I installed sub-killer, have it enabled, selected eng and selected the movie library. Is there a way to force it to work? Link to comment Share on other sites More sharing options...
GrimReaper 3326 Posted February 6, 2023 Share Posted February 6, 2023 2 minutes ago, cyrus104 said: Hmm, so I installed sub-killer, have it enabled, selected eng and selected the movie library. I wouldn't do that, create a separate test library first with few items only and after confirming you're getting desired results you can apply it on your whole library. As for how it should work: @Cheesegeezer. 1 Link to comment Share on other sites More sharing options...
cyrus104 0 Posted February 6, 2023 Author Share Posted February 6, 2023 Found that I'm getting an error on Subkiller, 2023-02-06 17:37:44.979 Info Server: http/1.1 POST http://10.100.10.51:8096/emby/ScheduledTasks/Running/a68cbabd002d557c1e1c21c43d74fef7?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=115144cb-340d-4fe4-8bf4-bd42f75dcd8a&X-Emby-Client-Version=4.7.11.0&X-Emby-Language=en-us. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 2023-02-06 17:37:44.979 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://10.100.10.51:8096/emby/ScheduledTasks/Running/a68cbabd002d557c1e1c21c43d74fef7?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=115144cb-340d-4fe4-8bf4-bd42f75dcd8a&X-Emby-Client-Version=4.7.11.0&X-Emby-Language=en-us 2023-02-06 17:37:44.980 Info SubKiller: No. of Libraries selected is 1 2023-02-06 17:37:44.980 Info SubKiller: Getting Root Folder Library Items 2023-02-06 17:37:45.035 Info SubKiller: Total No. of items in Library 847 2023-02-06 17:37:45.035 Error SubKiller: Object reference not set to an instance of an object. *** Error Report *** Version: 4.7.11.0 Command line: /app/emby/EmbyServer.dll -programdata /config -ffdetect /app/emby/ffdetect -ffmpeg /app/emby/ffmpeg -ffprobe /app/emby/ffprobe -restartexitcode 3 Operating system: Linux version 6.1.0-2-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_ Framework: .NET 6.0.8 OS/Process: x64/x64 Runtime: app/emby/System.Private.CoreLib.dll Processor count: 4 Data path: /config Application path: /app/emby System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object. at Emby.SubKiller.ScheduledTasks.SubKillerScheduledTask.<>c__DisplayClass43_0.<Execute>b__0(BaseItem t) at System.Linq.Enumerable.WhereArrayIterator`1.ToList() at Emby.SubKiller.ScheduledTasks.SubKillerScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) Source: Emby.SubKiller TargetSite: Boolean <Execute>b__0(MediaBrowser.Controller.Entities.BaseItem) Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted February 7, 2023 Share Posted February 7, 2023 2 hours ago, cyrus104 said: Found that I'm getting an error on Subkiller, 2023-02-06 17:37:44.979 Info Server: http/1.1 POST http://10.100.10.51:8096/emby/ScheduledTasks/Running/a68cbabd002d557c1e1c21c43d74fef7?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=115144cb-340d-4fe4-8bf4-bd42f75dcd8a&X-Emby-Client-Version=4.7.11.0&X-Emby-Language=en-us. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 2023-02-06 17:37:44.979 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://10.100.10.51:8096/emby/ScheduledTasks/Running/a68cbabd002d557c1e1c21c43d74fef7?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=115144cb-340d-4fe4-8bf4-bd42f75dcd8a&X-Emby-Client-Version=4.7.11.0&X-Emby-Language=en-us 2023-02-06 17:37:44.980 Info SubKiller: No. of Libraries selected is 1 2023-02-06 17:37:44.980 Info SubKiller: Getting Root Folder Library Items 2023-02-06 17:37:45.035 Info SubKiller: Total No. of items in Library 847 2023-02-06 17:37:45.035 Error SubKiller: Object reference not set to an instance of an object. *** Error Report *** Version: 4.7.11.0 Command line: /app/emby/EmbyServer.dll -programdata /config -ffdetect /app/emby/ffdetect -ffmpeg /app/emby/ffmpeg -ffprobe /app/emby/ffprobe -restartexitcode 3 Operating system: Linux version 6.1.0-2-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_ Framework: .NET 6.0.8 OS/Process: x64/x64 Runtime: app/emby/System.Private.CoreLib.dll Processor count: 4 Data path: /config Application path: /app/emby System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object. at Emby.SubKiller.ScheduledTasks.SubKillerScheduledTask.<>c__DisplayClass43_0.<Execute>b__0(BaseItem t) at System.Linq.Enumerable.WhereArrayIterator`1.ToList() at Emby.SubKiller.ScheduledTasks.SubKillerScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) Source: Emby.SubKiller TargetSite: Boolean <Execute>b__0(MediaBrowser.Controller.Entities.BaseItem) Thanks for the error log. If you can bear with me until tomorrow I’ll take a look and see where its falling down for you but i think i know where. also please create another library (physically on a drive and then add that as a new library) and just copy 5 items(movies) that you know have lots of subs in. In a way I’m glad its failed, otherwise you may have run it on all 400 or so items in your library and not got the desired results. 1 Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted February 7, 2023 Share Posted February 7, 2023 So from your log i think its this line. I think this is the only Linq filtering in the code. I’m just looking at my git repo on my phone. var itemsToProcess = _itemsInLibraries.Where(t => !processedItems.Contains(t.InternalId)).ToList(); Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted February 7, 2023 Share Posted February 7, 2023 @cyrus104 can you attach your Emby.SubKiller.xml file here please. found in the programdata/plugins/configuration folder. i wanna check if you have any processed files in there. I don’t think you have so that would confirm my fix (another null object- dang i need to catch these better) Link to comment Share on other sites More sharing options...
cyrus104 0 Posted February 7, 2023 Author Share Posted February 7, 2023 @Cheesegeezer was putting the kid down to bed but will get a small Library setup. Kind of a pain due to it being in a docker and having to pass a new folder in. I was able to get the file that you requested. Also, thanks a ton for responding so fast. Emby.SubKiller.xml Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted February 7, 2023 Share Posted February 7, 2023 1 hour ago, cyrus104 said: @Cheesegeezer was putting the kid down to bed but will get a small Library setup. Kind of a pain due to it being in a docker and having to pass a new folder in. I was able to get the file that you requested. Also, thanks a ton for responding so fast. Emby.SubKiller.xml 618 B · 0 downloads No worries fella. yup so I’ll get a fix for you later today. I would suggest extracting text based also, in case there are no pgs at least if they are there they will extract. @Dickydodah! did you say SDH aren’t getting written? Link to comment Share on other sites More sharing options...
Dickydodah! 128 Posted February 7, 2023 Share Posted February 7, 2023 Hi @Cheesegeezer If I recall correctly the SDH were being extracted but not labelled SDH. Also it seemed to depend on the order of the Subs in the video file. If you had; 1. English forced 2. English 3. English SDH You ended up with english forced.srt and english.srt but the english.srt is actually SDH. I'm reasonably sure all three were extracted but one was overwritten. I can do a test again with all 3 subs if you like Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted February 7, 2023 Share Posted February 7, 2023 7 minutes ago, Dickydodah! said: Hi @Cheesegeezer If I recall correctly the SDH were being extracted but not labelled SDH. Also it seemed to depend on the order of the Subs in the video file. If you had; 1. English forced 2. English 3. English SDH You ended up with english forced.srt and english.srt but the english.srt is actually SDH. I'm reasonably sure all three were extracted but one was overwritten. I can do a test again with all 3 subs if you like Nope i think i have it. I'm gonna chuck up a test version here for you in a second. If you can run the check on those three formats again. Dont have Extract only forced selected. Just Extract Text Based subs switched on. Standby..... 1 Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted February 7, 2023 Share Posted February 7, 2023 (edited) so the only thing i can try on is the Title for SDH. Hope this badboy works. if it does. we can let the boyo know to give this a whirl. Cheers Dicky Edited February 7, 2023 by Cheesegeezer Link to comment Share on other sites More sharing options...
Dickydodah! 128 Posted February 7, 2023 Share Posted February 7, 2023 You did get it working on one of the beta tests so it is possible. I do make sure my test file is correctly labelled and flags set as GIGO I'll get the results to you in a mo as I needed to setup my test library again. 1 Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted February 7, 2023 Share Posted February 7, 2023 4 minutes ago, Dickydodah! said: You did get it working on one of the beta tests so it is possible. I do make sure my test file is correctly labelled and flags set as GIGO I'll get the results to you in a mo as I needed to setup my test library again. Cheers bud Link to comment Share on other sites More sharing options...
Dickydodah! 128 Posted February 7, 2023 Share Posted February 7, 2023 That seemed to work but I am seeing an error thrown at the end of the SK process, any ideas why? I don't have RTM enabled or a timer for the scheduled task set. To go a bit off subject the second log shows that if no subs of the selected language exist it leaves all subs intact which seems a bit strange. embyserver.txt embyserver2.txt Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted February 7, 2023 Share Posted February 7, 2023 7 minutes ago, Dickydodah! said: That seemed to work but I am seeing an error thrown at the end of the SK process, any ideas why? I don't have RTM enabled or a timer for the scheduled task set. Hmmmm i'm not sure why 7 minutes ago, Dickydodah! said: To go a bit off subject the second log shows that if no subs of the selected language exist it leaves all subs intact which seems a bit strange. Yeah... i dunno how to handle that. do i just say if no matches then remove all. My issue is that if someone doesn't select a language, and then runs it..... booom all your subs are gone. I guess i should check that there is a selection made and if there is then remove them. I shall ponder for a moment 7 minutes ago, Dickydodah! said: embyserver.txt 18.27 kB · 0 downloads embyserver2.txt 10.85 kB · 0 downloads Logs look good apart from the Errrrrrrror!! Thanks Dicky, much appreciated as always and glad the bloody SDH is working now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now