bakes82 131 Posted March 25, 2022 Share Posted March 25, 2022 (edited) I reworked my original 4k transcode killer to just target hevc transcoding and instead of being on a schedule job to be on playback reporting. I only tested on web ui/ios/shield. https://github.com/bakes82/Emby.HEVCTranscodeKiller Update 4/8/2022 - Added paused video killing. Edited April 8, 2022 by bakes82 4 Link to comment Share on other sites More sharing options...
bakes82 131 Posted March 26, 2022 Author Share Posted March 26, 2022 (edited) Reserved. Edited April 8, 2022 by bakes82 Link to comment Share on other sites More sharing options...
CassTG 103 Posted March 26, 2022 Share Posted March 26, 2022 (edited) Just for info, just tried this on .32 beta server (linux docker), installed plugin, rebooted server, selected a 4k HEVC file from a library ticked in the plugin settings enabled kill video transcoding, video showed as transcoding in the dashboard playback was not stopped in either Chrome or Edge Update Apologies, i will leave my original message up so i remember to not be a spanner, i had ticked the Librarys thinking that meant include the library, if i had bothered to read the title i would of seen that meant excluded. Only when i checked the logs did i see it was playing because it was exluded not included Works a treat, thank you Edited March 26, 2022 by CassTG Link to comment Share on other sites More sharing options...
MangoMC 50 Posted March 26, 2022 Share Posted March 26, 2022 Same for me. Tried on latest stable. No matter what I tick it just happens nothing Link to comment Share on other sites More sharing options...
bakes82 131 Posted March 26, 2022 Author Share Posted March 26, 2022 Good to hear, yeah the boxes are to EXCLUDE as it says also good to hear it works on the beta I only tested it on the current stable 4.6. something. I tried to put some decent logging in to help at least show what's going on. Its possible something like a roku or firestick could report back different data or not honor the "stop" request I send but I dont have those to test with so I keep my fingers crossed it works. 1 Link to comment Share on other sites More sharing options...
bakes82 131 Posted March 26, 2022 Author Share Posted March 26, 2022 14 minutes ago, MangoMC said: Same for me. Tried on latest stable. No matter what I tick it just happens nothing maybe try posting what your config is/device, or look in the logs. 2022-03-26 00:19:51.295 Info Emby HEVC Transcode Killer: Kill Audio: False, Kill Video: True 2022-03-26 00:19:51.296 Info Emby HEVC Transcode Killer: File in excluded directory /media/Movies : /media/Movies/2 Fast 2 Furious (2003) - x265 DTS-X HDR 7.1 PHOCiS Bluray-2160p {tt0322259}.mkv ignored killing. 2022-03-26 00:17:33.087 Info Emby HEVC Transcode Killer: Kill Audio: False, Kill Video: True 2022-03-26 00:17:33.087 Info Emby HEVC Transcode Killer: Is Direct Audio: False, Is Direct Video: False, Video Codec: hevc 2022-03-26 00:17:33.087 Info Emby HEVC Transcode Killer: Kill Video Link to comment Share on other sites More sharing options...
MangoMC 50 Posted March 26, 2022 Share Posted March 26, 2022 Ok, its working, but i dont understand how. I always wanted a feature that when 4K is transcoding and theres also a 1080p version its using that instead But now thats what its doing, i choose another bitstream limit and voila its playing the other h264 1080p version and thats why it didnt killied the stream Great, Thanks, Link to comment Share on other sites More sharing options...
bakes82 131 Posted March 26, 2022 Author Share Posted March 26, 2022 39 minutes ago, MangoMC said: Ok, its working, but i dont understand how. I always wanted a feature that when 4K is transcoding and theres also a 1080p version its using that instead But now thats what its doing, i choose another bitstream limit and voila its playing the other h264 1080p version and thats why it didnt killied the stream Great, Thanks, Correct, it only kills HEVC which most 4k is in HEVC. 1080p is usually 264 not 265. But if you have your 1080p in a folder like /media/movies and your 4k in /media/movies 4k you can exclude the /media/movies folder. That way if you have a 1080p 265 movie and want to allow it to transcode you can. This is how most of the "arrs" work since you need a diff folder for each arr to put media in Link to comment Share on other sites More sharing options...
MangoMC 50 Posted March 26, 2022 Share Posted March 26, 2022 That's exactly what I'm doing. 2 radarr. 2 sonarr. Different path. Same library and grouped. Now exactly what I wanted the last 2 years Cool. Link to comment Share on other sites More sharing options...
bakes82 131 Posted March 27, 2022 Author Share Posted March 27, 2022 23 hours ago, MangoMC said: That's exactly what I'm doing. 2 radarr. 2 sonarr. Different path. Same library and grouped. Now exactly what I wanted the last 2 years Cool. 1 Bitcoin plz. 1 Link to comment Share on other sites More sharing options...
CassTG 103 Posted March 27, 2022 Share Posted March 27, 2022 (edited) Quote possible something like a roku or firestick could report back different data or not honor the "stop" request I send but I dont have those to test with so I keep my fingers crossed it wor I only tested on chrome Edge and shield. I will test tomorrow on LG and Samsung TV. And if no one does it before will test a firecube in next week or so when I'm round my mates Edit actually I have remote control of all their devices ha ha ha insert evil malevolent laugh here,so I shall get it to play a 4k hevc file remotely and see from dashboard if it kills it won't know if message is delivered however Edited March 27, 2022 by CassTG Link to comment Share on other sites More sharing options...
Mookdog 90 Posted April 7, 2022 Share Posted April 7, 2022 @bakes82 Any chance of adding the pause kill back in ? I liked that function on the previous plugin but the previous plugin no longer works with latest beta. Keeps coming up with errors Mook Link to comment Share on other sites More sharing options...
bakes82 131 Posted April 7, 2022 Author Share Posted April 7, 2022 18 hours ago, Mookdog said: @bakes82 Any chance of adding the pause kill back in ? I liked that function on the previous plugin but the previous plugin no longer works with latest beta. Keeps coming up with errors Mook Id have to see if you keep it paused if it keeps sending a status back, the HEVC is a rewrite of the 4k so if it sends back a status while still paused every so often it should be fine, if not it might be a diff plugin to use the old schedule task way. Link to comment Share on other sites More sharing options...
bakes82 131 Posted April 8, 2022 Author Share Posted April 8, 2022 On 4/6/2022 at 10:32 PM, Mookdog said: @bakes82 Any chance of adding the pause kill back in ? I liked that function on the previous plugin but the previous plugin no longer works with latest beta. Keeps coming up with errors Mook New release is on github, I didnt do a bunch of testing on it since its along the same line as the killing code so let me know, in my testing it did kill my paused video. Link to comment Share on other sites More sharing options...
Mookdog 90 Posted April 8, 2022 Share Posted April 8, 2022 I sure will thanks sir @bakes82 Mook Link to comment Share on other sites More sharing options...
Mookdog 90 Posted April 8, 2022 Share Posted April 8, 2022 23 minutes ago, bakes82 said: New release is on github, I didnt do a bunch of testing on it since its along the same line as the killing code so let me know, in my testing it did kill my paused video. That worked @bakes82 thank u so much for your effort brother. Now I am a happy camper lol Mook Link to comment Share on other sites More sharing options...
Mookdog 90 Posted May 9, 2022 Share Posted May 9, 2022 (edited) Seems as if pause kill isnt working in latest server beta. It worked the previous beta but seems to have stopped on this latest one. I have my pause kill set to 2 minutes and I had a video paused for 5 minutes and it never killed it. Mook Edit : Nevermind it looks like its working. It did kill my stream on my tablet. Will update if I have anymore problems Edited May 10, 2022 by Mookdog Resolved Link to comment Share on other sites More sharing options...
Mookdog 90 Posted May 14, 2022 Share Posted May 14, 2022 Hey @bakes82 seems the pause kill no longer works on the latest android tv app. Works fine on regular android app but not android tv Thanks Mook Link to comment Share on other sites More sharing options...
bakes82 131 Posted May 22, 2022 Author Share Posted May 22, 2022 @Mookdog I updated the API of the server version, dunno if that will do anything or not, attach logs, I think if you look for the thing below in the logs you might have an error, or maybe they implemented some new function that needs called instead. Emby HEVC Transcode Killer: Link to comment Share on other sites More sharing options...
Mookdog 90 Posted May 22, 2022 Share Posted May 22, 2022 1 hour ago, bakes82 said: @Mookdog I updated the API of the server version, dunno if that will do anything or not, attach logs, I think if you look for the thing below in the logs you might have an error, or maybe they implemented some new function that needs called instead. Emby HEVC Transcode Killer: That worked thanks so much @bakes82 Mook Link to comment Share on other sites More sharing options...
zyfinity 15 Posted May 26, 2022 Share Posted May 26, 2022 @bakes Is it possible to have an interval check duration thats shorter than 1 minute? I got around this for the previous 4k kill plugin you made by changing the task interval file within emby, but it seems on this new plugin (thats definetly better) if i try using a fraction of a minute it just resets back to 5 minutes? Link to comment Share on other sites More sharing options...
bakes82 131 Posted May 28, 2022 Author Share Posted May 28, 2022 (edited) On 5/26/2022 at 5:49 AM, zyfinity said: @bakes Is it possible to have an interval check duration thats shorter than 1 minute? I got around this for the previous 4k kill plugin you made by changing the task interval file within emby, but it seems on this new plugin (thats definetly better) if i try using a fraction of a minute it just resets back to 5 minutes? Interval check on what? Paused time? Are you saying you dont want any paused sessions? Im pretty sure in the code I have it set for >0 else default to 5 where old code probably didnt do that. Edited May 28, 2022 by bakes82 Link to comment Share on other sites More sharing options...
MangoMC 50 Posted June 19, 2022 Share Posted June 19, 2022 Hey Ive got a Feature request u can maybe add. A play after a while stop. Means. When someone is playing without stop a few hours the play will be killed. Reason ive got a few friends which are stupid to press stop and just put there TVs off and the Stick is playing. Direct play or transcoding doesnt matter. Maybe thats possible 1 Link to comment Share on other sites More sharing options...
Mookdog 90 Posted June 20, 2022 Share Posted June 20, 2022 10 hours ago, MangoMC said: Hey Ive got a Feature request u can maybe add. A play after a while stop. Means. When someone is playing without stop a few hours the play will be killed. Reason ive got a few friends which are stupid to press stop and just put there TVs off and the Stick is playing. Direct play or transcoding doesnt matter. Maybe thats possible Man this is a great idea. I got alot of bozos (My mother included) Who does that also Mook Link to comment Share on other sites More sharing options...
fbpeffer 1 Posted July 5, 2022 Share Posted July 5, 2022 Hey, just want to add that I'm running this on the latest beta and the nag works fine, but its allowing 4k video to transcode. Log attached here. embyserver.txt 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