dreamxwarden 0 Posted May 17 Share Posted May 17 (edited) As the photo and logs indicate, hardware transcoding isn't working, no matter what playback quality I chose. I have valid Emby Premiere subscription, and already enabled VideoToolbox H.264 in transcoding settings. embyserver.txt ffmpeg-transcode-b1ff3c14-58aa-414a-aa4b-1ee5ccdbad3d_1.txt Edited May 17 by dreamxwarden minor change of description Link to comment Share on other sites More sharing options...
sa2000 144 Posted May 17 Share Posted May 17 @dreamxwardenIs there a hardware detection log as well ? filename: "hardware_detection-xxxxxxxxxx.txt" Link to comment Share on other sites More sharing options...
sa2000 144 Posted May 17 Share Posted May 17 Looking at the logs you provided, it has detected the hardware transcoding >>>>>> Hardware Encoders for h264 [X] VideoToolbox H.264 but then fell be to software transcode after getting a failure It had selected hardware for encoding and software for decoding Info Previous transcoding attempt failed. Falling back to software transcoding. I will see if there are any clues as to why that happened Link to comment Share on other sites More sharing options...
sa2000 144 Posted May 17 Share Posted May 17 (edited) Is this a standard 4.8.6.0 release installation Could you find the ffmpeg version being used by running in terminal this command /Applications/EmbyServer.app/Contents/MacOS/ffmpeg -version Edited May 17 by sa2000 Link to comment Share on other sites More sharing options...
dreamxwarden 0 Posted May 17 Author Share Posted May 17 4 hours ago, sa2000 said: @dreamxwardenIs there a hardware detection log as well ? filename: "hardware_detection-xxxxxxxxxx.txt" hardware_detection-63851532039.txt Link to comment Share on other sites More sharing options...
dreamxwarden 0 Posted May 17 Author Share Posted May 17 3 hours ago, sa2000 said: Is this a standard 4.8.6.0 release installation Could you find the ffmpeg version being used by running in terminal this command /Applications/EmbyServer.app/Contents/MacOS/ffmpeg -version And the latest version of macOS (Sonoma 14.5) Link to comment Share on other sites More sharing options...
keemy 16 Posted May 18 Share Posted May 18 As far as I know there's still no hardware transcoding for MacOS m1 chips. Numerous user have been requesting/asking when it will be enabled . Link to comment Share on other sites More sharing options...
wtko1 0 Posted May 21 Share Posted May 21 Have you solved it? Link to comment Share on other sites More sharing options...
dreamxwarden 0 Posted May 21 Author Share Posted May 21 1 minute ago, wtko1 said: Have you solved it? Nope. I solved it by return the Mac Studio to Apple. Link to comment Share on other sites More sharing options...
sa2000 144 Posted May 22 Share Posted May 22 On 17/05/2024 at 16:45, dreamxwarden said: And the latest version of macOS (Sonoma 14.5) Thank you for confirming the ffmpeg version. We are behind on the version of ffmpeg on MacOS and this is being looked into. Link to comment Share on other sites More sharing options...
sa2000 144 Posted May 22 Share Posted May 22 On 18/05/2024 at 19:28, keemy said: As far as I know there's still no hardware transcoding for MacOS m1 chips. Numerous user have been requesting/asking when it will be enabled . Thank you. I will follow this up Link to comment Share on other sites More sharing options...
keemy 16 Posted Wednesday at 12:55 AM Share Posted Wednesday at 12:55 AM On 5/22/2024 at 6:25 AM, sa2000 said: Thank you. I will follow this up Any updates on this? Link to comment Share on other sites More sharing options...
sa2000 144 Posted Wednesday at 08:02 AM Share Posted Wednesday at 08:02 AM 7 hours ago, keemy said: Any updates on this? There may be a build of ffmpeg to try out. Which version of Emby Server are you running on? Are you running on this embyserver-osx-arm64-4.8.10.0.zip ? Link to comment Share on other sites More sharing options...
keemy 16 Posted Wednesday at 11:49 AM Share Posted Wednesday at 11:49 AM Yes this is the version I'm using on macOS sonoma. I've only gotten hardware transcoding to work sometimes when I change the settings to advanced and select videotoolbox. It's also hit and miss when it works and it never works for hevc/265 encoded content, it only works on a few 264 encoded files. Link to comment Share on other sites More sharing options...
sa2000 144 Posted Thursday at 07:19 AM Share Posted Thursday at 07:19 AM 19 hours ago, keemy said: Yes this is the version I'm using on macOS sonoma. I've only gotten hardware transcoding to work sometimes when I change the settings to advanced and select videotoolbox. It's also hit and miss when it works and it never works for hevc/265 encoded content, it only works on a few 264 encoded files. I will be sending you a later emby ffmpeg build to try out and see if it is better with hardware transcoding. 1 Link to comment Share on other sites More sharing options...
keemy 16 Posted Thursday at 02:57 PM Share Posted Thursday at 02:57 PM 7 hours ago, sa2000 said: I will be sending you a later emby ffmpeg build to try out and see if it is better with hardware transcoding. So I loaded the new binaries as instructed and ran some tests. Just as before HW transcoding could only be detected when selected manually in advanced settings. 10800/264 - works on all the files I tested. Previously was hit or miss. 1080p/265 - works on all the files I tested. Previously did not work at all. 4k/265 - Fails for all the files I tested. It tried to use HW transcoding then fails and falls back to software. Previously failed as well. For all the files that successfully used HW transcoding they all had issues with subtitles. They would play for the first 2 or 3 minutes then completely stop rendering. These were all embedded plain text subtitles. I tested these with software transcoding and the subtitles had no issues displaying the entire time. All tests were done on a 2019 Nvidia Shield Pro. ffmpeg-transcode-4K-265.txt ffmpeg-transcode-1080p-264.txt ffmpeg-transcode-1080p-265.txt Link to comment Share on other sites More sharing options...
Carlo 4354 Posted Thursday at 04:16 PM Share Posted Thursday at 04:16 PM @softworkz Can you take a look at this. 10:34:27.311 Streamcopy requested for output stream 0:0, which is fed from a complex filtergraph. Filtering and streamcopy cannot be used together. Link to comment Share on other sites More sharing options...
Luke 38096 Posted Thursday at 08:00 PM Share Posted Thursday at 08:00 PM HI we'll take a look at this. Thanks for reporting. Link to comment Share on other sites More sharing options...
sa2000 144 Posted 20 hours ago Share Posted 20 hours ago 18 hours ago, keemy said: 10800/264 - works on all the files I tested. Previously was hit or miss. 1080p/265 - works on all the files I tested. Previously did not work at all. That is good news - Thank you for trying out emby ffmpeg version 5.1-emby_2023_06_25 18 hours ago, keemy said: 4k/265 - Fails for all the files I tested. It tried to use HW transcoding then fails and falls back to software. Previously failed as well. So the provided ffmpeg log ffmpeg-transcode-4K-265.txt covers this. Could you also download and attach the main embyserver log for this period 2024-10-03 10:34 18 hours ago, keemy said: Just as before HW transcoding could only be detected when selected manually in advanced settings. Could you provide the emby server logs for the first launch together with the hardware detection log file 18 hours ago, keemy said: For all the files that successfully used HW transcoding they all had issues with subtitles. They would play for the first 2 or 3 minutes then completely stop rendering. These were all embedded plain text subtitles. I tested these with software transcoding and the subtitles had no issues displaying the entire time. All tests were done on a 2019 Nvidia Shield Pro. Could you provide the emby server logs and emby ffmpeg logs for one of these examples - together with the media info details and thanks for all your help Link to comment Share on other sites More sharing options...
keemy 16 Posted 14 hours ago Share Posted 14 hours ago 6 hours ago, sa2000 said: So the provided ffmpeg log ffmpeg-transcode-4K-265.txt covers this. Could you also download and attach the main embyserver log for this period 2024-10-03 10:34 embyserver-full.txt 6 hours ago, sa2000 said: Could you provide the emby server logs for the first launch together with the hardware detection log file embyserver-first launch.txthardware_detection-63863546889.txt 6 hours ago, sa2000 said: Could you provide the emby server logs and emby ffmpeg logs for one of these examples - together with the media info details The full emby server log plus the 1080p ffmpeg files yesterday contain the files that had issues with subtitles. I attached the mediainfo JSON output for 2 of the affected files. media info (2).txtmedia info.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