Luke Posted March 25 Share Posted March 25 4 minutes ago, cwills75 said: Any update on allowing a custom/higher bitrate for transcoded audio. I wasn't even aware this was an issue until recently, but I have a few clients on Apple TV with receivers that are stuck playing AC3 384kb/s with any DTS files. I was aware the Apple TV doesn't bitstream DTS/DTS-HD MA/DTS-X, but was never aware of the low bitrate until seeing this post and looking in the log files. Even the streaming info when the file is being played doesn't show audio transcoding going on. It says direct streaming, which isn't really accurate. adam1.txt 44 kB · 0 downloads HI, I think this will be improved in the upcoming 4.7 release, but yes, more options are possible for future updates. Thanks. 3 Link to comment Share on other sites More sharing options...
Maldark Posted May 28 Share Posted May 28 (edited) On 8/25/2021 at 10:51 AM, MakiXx said: I've made a GitHub repo with instructions and Windows/Linux builds of my wrapper through GitHub actions so that it's verifiably legit. Let me know if you need help. https://github.com/makitsune/emby-custom-ac3-bitrate It seems like the builds have expired, and I have limited expereince building stuff myself (Running Windows). Would someone be able to explain this to me like I'm 5? It's been upsetting me since I started using Emby that the Audio bit-rate when transcoding is so low, and now I've found this thread I feel so close to a solution, I just can't work out how to build my own file for use. Any help would be amazing. EDIT: Small progress. Managed to download Go and compile my own version. I found ffmpeg.exe in "AppData/Roaming/Emby-Server/System" renamed to "_ffmpeg.exe" and dropped in the complied version of ffmpeg.go, Little lost as to what to do next. Edited May 28 by Maldark Link to comment Share on other sites More sharing options...
Maldark Posted May 28 Share Posted May 28 (edited) OK it took me a while to sort this out so I thought I'd share my idiots guide to getting this working for anyone else that stumbles across this thread and really wants better audio in transcoding. This is for Windows only, I'm running on Windows 10, but I assume it'll be the same for 11. 1. Download and install Go (https://go.dev/dl/), you'll need this to compile the new wrapper file. 2. Restart your computer for the changes to come into effect. 3. Copy the text from the ffmpeg.go file found in MakiXx's github (https://github.com/makitsune/emby-custom-ac3-bitrate) into a notepad document and save the file as "ffmpeg.go" I recommend saving this file to C:/Users/[USERNAME]/ 4. Open Command Prompt by typing "CMD" into the start bar and pressing enter. 5. Compile the ffmpeg.go file by typing "go build -ldflags="-s -w" ffmpeg.go" and pressing enter. 6. Find the "ffmpeg.exe" file in your emby-server folder "C:\Users\[USERNAME]\AppData\Roaming\Emby-Server\system" and rename it to "_ffmpeg.exe" 7. Paste the "ffmpeg.exe" file you compiled in Step 5 into the same folder as the newly renamed "_ffmpeg.exe" 8. Right-click the start button and select "system", scroll down the "About" page and click "Advanced System Settings", then click on "Environmental Variables". 9. Create a new System Variable. It's name is "EMBY_CUSTOM_FFMPEG_PATH" and its value is "C:\Users\[USERNAME]\AppData\Roaming\Emby-Server\system\_ffmpeg.exe 10. Click OK and restart, it should now work, you can confirm by opening a file and forcing it to transcode. Edited May 28 by Maldark 1 Link to comment Share on other sites More sharing options...
staticmotion Posted May 30 Share Posted May 30 (edited) This is brilliant Maldark, thanks so much! I only had problems with step 5. I needed to change the directory in CMD to where a file called "go.mod" was located (having put the ffmpeg.go file in that same folder in step 3). For me it was CD C:\Program Files\Go\test\bench\go1 once in CMD Edited May 30 by staticmotion Link to comment Share on other sites More sharing options...
staticmotion Posted June 3 Share Posted June 3 Having said that... it's not working 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