BEis 21 Posted November 19, 2017 Share Posted November 19, 2017 Hi all, I have Emby server running on a Mac Mini (late 2012, Intel Core i7, Macmini6,2 with Intel HD Graphics 4000). I've been playing with the different hardware acceleration transcoding settings, but I'm not sure if I am seeing any difference at all. Does anyone know which options are available on this particular machine? Or are none of them relevant? Thanks in advance! Link to comment Share on other sites More sharing options...
BEis 21 Posted November 22, 2017 Author Share Posted November 22, 2017 Ok then, does anyone know where I might be able to look up such information? I've tried Google searching but I'm not really sure what I'm looking for, and so far haven't had any luck. Link to comment Share on other sites More sharing options...
Luke 37057 Posted November 22, 2017 Share Posted November 22, 2017 The only possibility is going to be intel quicksync, but given the age of the machine, does it even support that? @@Waldonnis do you know? In any event, try the Quick Sync option. Thanks. Link to comment Share on other sites More sharing options...
Waldonnis 148 Posted November 22, 2017 Share Posted November 22, 2017 Hi all, I have Emby server running on a Mac Mini (late 2012, Intel Core i7, Macmini6,2 with Intel HD Graphics 4000). I've been playing with the different hardware acceleration transcoding settings, but I'm not sure if I am seeing any difference at all. Does anyone know which options are available on this particular machine? Or are none of them relevant? Thanks in advance! The only possibility is going to be intel quicksync, but given the age of the machine, does it even support that? @@Waldonnis do you know? In any event, try the Quick Sync option. Thanks. Pretty sure it should support it...especially since my i5 has the same generation of iGPU and it works (HD Graphics 4000) Knowing Intel, though, some SKUs may not be equal, so best to double-check the exact processor model against...well, I can't find a chart anywhere, but Intel's spec sheets should list it. That being said, I have no idea what Apple supports on the OS level nor if Intel's driver would include the necessary libraries. I'm assuming they do now (at least for decoding), but no idea about older hardware or if encoding is supported. I guess you could try running ffmpeg using h264_qsv instead of libx264 to convert a short video clip as a test. Handbrake may also indicate if it's working (at least on Windows, the codec dropdown on the Video tab will list "H.264 (Intel QSV)" if it's detected). Link to comment Share on other sites More sharing options...
BEis 21 Posted November 24, 2017 Author Share Posted November 24, 2017 Ok, so here's a really dumb question ... how do I know when it's working? I have it turned on, what should I be looking for? I downloaded Handbrake and the codec dropdown doesn't include the Intel QSV entry you mentioned. So maybe there is my answer... Link to comment Share on other sites More sharing options...
Luke 37057 Posted November 24, 2017 Share Posted November 24, 2017 We don't actually indicate this in the UI, although we should add that for a future update. In the meantime if you attach an ffmpeg log I will tell you if it is being used. Thanks. Link to comment Share on other sites More sharing options...
BEis 21 Posted December 14, 2017 Author Share Posted December 14, 2017 Sorry for the late reply on this, I actually wasn't sure where to get the logs, and then once I figured it out, I forgot about this thread. Here's the requested log: Log.txt.zip Link to comment Share on other sites More sharing options...
Luke 37057 Posted December 14, 2017 Share Posted December 14, 2017 In this particular log it is not being used. Link to comment Share on other sites More sharing options...
Everbrave 62 Posted January 4, 2018 Share Posted January 4, 2018 Is then the answer is No, Mac Mini late 2012 cannot use Hardware transcoding (or Emby doe not support it)? Link to comment Share on other sites More sharing options...
Luke 37057 Posted January 4, 2018 Share Posted January 4, 2018 Is then the answer is No, Mac Mini late 2012 cannot use Hardware transcoding (or Emby doe not support it)? I'll have to review but I think QuickSync would be your only option and our macOS ffmpeg builds might not be including that yet. Link to comment Share on other sites More sharing options...
Everbrave 62 Posted January 4, 2018 Share Posted January 4, 2018 I'll have to review but I think QuickSync would be your only option and our macOS ffmpeg builds might not be including that yet. I have the latest ffmpeg 3.4.1 installed and monitored the CPU load with Activity Monitor; with and without Quicksync the CPU (core i7) load is the same (around 33%) while playing a HEVC file. Link to comment Share on other sites More sharing options...
Luke 37057 Posted January 4, 2018 Share Posted January 4, 2018 What do you mean installed? Link to comment Share on other sites More sharing options...
Everbrave 62 Posted January 4, 2018 Share Posted January 4, 2018 What do you mean installed? intstalled (using homebrew) on the same Mac where the Emby server also runs. Link to comment Share on other sites More sharing options...
Luke 37057 Posted January 4, 2018 Share Posted January 4, 2018 did you configure it in the emby transcoding menu? Link to comment Share on other sites More sharing options...
BEis 21 Posted January 4, 2018 Author Share Posted January 4, 2018 Hey guys, for what it's worth, I believe the Mac Mini (in my case, 2011 model) does support Quicksync, but it just isn't being utilized by Emby. The reason I think this is, if I play the same video in Plex, it indicates "Transcoding (hw)" ... I'm assuming the (hw) indicates hardware based transcoding, although they don't specify which type is being used. Not sure if that helps at all... Link to comment Share on other sites More sharing options...
Everbrave 62 Posted January 4, 2018 Share Posted January 4, 2018 did you configure it in the emby transcoding menu? yes, of course choosing QuickSync and "enable Hardware transcoding" ticked/unticked for comparison. Link to comment Share on other sites More sharing options...
Luke 37057 Posted January 4, 2018 Share Posted January 4, 2018 Ok yes then please attach an ffmpeg log example. thanks. Link to comment Share on other sites More sharing options...
Everbrave 62 Posted January 4, 2018 Share Posted January 4, 2018 Hey guys, for what it's worth, I believe the Mac Mini (in my case, 2011 model) does support Quicksync, but it just isn't being utilized by Emby. The reason I think this is, if I play the same video in Plex, it indicates "Transcoding (hw)" ... I'm assuming the (hw) indicates hardware based transcoding, although they don't specify which type is being used. Not sure if that helps at all... I have the Mac Mini (late 2012) and the MacBook Pro 15" (also 2012, the same CPU core i7). An indication that Emby does not utilise QSV "correctly" (it says experimental) is that it doesn't work on Synology DS918+ Apollo Lake CPU which defiantly supports QSV. As far as I know, Plex uses Libav which allows both QSV and AV-API. Link to comment Share on other sites More sharing options...
Everbrave 62 Posted January 4, 2018 Share Posted January 4, 2018 Ok yes then please attach an ffmpeg log example. thanks. how/where to get the ffmpeg log file? Link to comment Share on other sites More sharing options...
Luke 37057 Posted January 4, 2018 Share Posted January 4, 2018 How to report a problem. Thanks. Link to comment Share on other sites More sharing options...
Everbrave 62 Posted January 4, 2018 Share Posted January 4, 2018 How to report a problem. Thanks. here you go Thanks Log.txt Log-2.txt Link to comment Share on other sites More sharing options...
Luke 37057 Posted January 4, 2018 Share Posted January 4, 2018 I'd have to see the server log, but quicksync is not active here. Link to comment Share on other sites More sharing options...
Everbrave 62 Posted January 4, 2018 Share Posted January 4, 2018 I'd have to see the server log, but quicksync is not active here. here is the server log Log-3.txt Link to comment Share on other sites More sharing options...
Luke 37057 Posted January 4, 2018 Share Posted January 4, 2018 the ffmpeg build does not have quicksync support, which reminds me, there's no way for you to customize the ffmpeg build in our macOS release. I think for the next release what we'll do is start using these macOS builds: https://ffmpeg.zeranoe.com/builds/ If you want to download them and then just replace these files, that would be an interesting test: 2018-01-04 12:44:19.704 Info MediaEncoder: FFMpeg: /Applications/EmbyServer.app/Contents/MacOS/ffmpeg 2018-01-04 12:44:19.704 Info MediaEncoder: FFProbe: /Applications/EmbyServer.app/Contents/MacOS/ffprobe Thanks. Link to comment Share on other sites More sharing options...
BEis 21 Posted January 4, 2018 Author Share Posted January 4, 2018 I just replaced those files and restarted the server. Tried playing something that needed to be transcoded, let it play for a few seconds. Here are the server log and ffmpeg log. When I was playing the transcoded video, my CPU meters on the Mac Mini spiked to quite a high value ... almost 600% (it treats separate cores individually, which is why it reads above 100%). So I'm guessing the HW acceleration still isn't working. But I'd be curious to see what the logs say. Archive.zip 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