dreamxwarden 0 Posted May 17, 2024 Posted May 17, 2024 (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, 2024 by dreamxwarden minor change of description
sa2000 424 Posted May 17, 2024 Posted May 17, 2024 @dreamxwardenIs there a hardware detection log as well ? filename: "hardware_detection-xxxxxxxxxx.txt"
sa2000 424 Posted May 17, 2024 Posted May 17, 2024 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
sa2000 424 Posted May 17, 2024 Posted May 17, 2024 (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, 2024 by sa2000
dreamxwarden 0 Posted May 17, 2024 Author Posted May 17, 2024 4 hours ago, sa2000 said: @dreamxwardenIs there a hardware detection log as well ? filename: "hardware_detection-xxxxxxxxxx.txt" hardware_detection-63851532039.txt
dreamxwarden 0 Posted May 17, 2024 Author Posted May 17, 2024 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)
keemy 22 Posted May 18, 2024 Posted May 18, 2024 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 .
dreamxwarden 0 Posted May 21, 2024 Author Posted May 21, 2024 1 minute ago, wtko1 said: Have you solved it? Nope. I solved it by return the Mac Studio to Apple.
sa2000 424 Posted May 22, 2024 Posted May 22, 2024 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.
sa2000 424 Posted May 22, 2024 Posted May 22, 2024 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
keemy 22 Posted October 2, 2024 Posted October 2, 2024 On 5/22/2024 at 6:25 AM, sa2000 said: Thank you. I will follow this up Any updates on this?
sa2000 424 Posted October 2, 2024 Posted October 2, 2024 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 ?
keemy 22 Posted October 2, 2024 Posted October 2, 2024 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.
sa2000 424 Posted October 3, 2024 Posted October 3, 2024 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
keemy 22 Posted October 3, 2024 Posted October 3, 2024 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
Carlo 4552 Posted October 3, 2024 Posted October 3, 2024 @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.
Luke 40137 Posted October 3, 2024 Posted October 3, 2024 HI we'll take a look at this. Thanks for reporting.
sa2000 424 Posted October 4, 2024 Posted October 4, 2024 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
keemy 22 Posted October 4, 2024 Posted October 4, 2024 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 1
alado70839 2 Posted October 6, 2024 Posted October 6, 2024 On 10/3/2024 at 10:57 PM, keemy said: 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 409.78 kB · 6 downloads ffmpeg-transcode-1080p-264.txt 1.61 MB · 1 download ffmpeg-transcode-1080p-265.txt 1.32 MB · 1 download Hi could I try the new ffmpeg binary? Where to download?
sa2000 424 Posted October 7, 2024 Posted October 7, 2024 On 04/10/2024 at 16:47, keemy said: embyserver-full.txt 11.49 MB · 1 download embyserver-first launch.txt 4.03 MB · 1 download hardware_detection-63863546889.txt 123.93 kB · 2 downloads 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).txt 3.97 kB · 2 downloads media info.txt 7.19 kB · 1 download Thank you. I have added the logs and other info for the 3 issues to what has already been referred to the development team. The 3 issues being: - subtitles stop after a few minutes - hardware transcoding default settings need to be changed for hardware transodes to be used - 4k/265 failure 1
sa2000 424 Posted October 7, 2024 Posted October 7, 2024 On 06/10/2024 at 03:33, alado70839 said: Hi could I try the new ffmpeg binary? Where to download? It is not available for download. I can make it available to try out. I need the embyserver log and an ffmpeg server log to confirm that you are on the platform that this relates See https://emby.media/support/articles/Log-Files.html
alado70839 2 Posted October 7, 2024 Posted October 7, 2024 (edited) 36 minutes ago, sa2000 said: It is not available for download. I can make it available to try out. I need the embyserver log and an ffmpeg server log to confirm that you are on the platform that this relates See https://emby.media/support/articles/Log-Files.html Sure, I will upload later, I'm using mac embyserver-osx-arm64-4.9.0.14 beta one ffmpeg-remux-e6524708-285b-4c35-9f6c-6035e566d569_1.txt.zip embyserver.txt.zip Edited October 7, 2024 by alado70839
sa2000 424 Posted October 7, 2024 Posted October 7, 2024 19 minutes ago, alado70839 said: 4.9.0.14 beta I would be happy to provide you with the new build if you were on the current beta. Suggest we wait until you switch to the current 4.9.0.30 beta. Any reason for staying with 4.9.0.14 ?
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