Posts: 3
Joined: Oct 2010
Reputation:
0
Hi all,
Long time XBMC user. I really appreciate the work you've all done over the years.
The new AC3 encoder is great, but I've got an old/crappy receiver that can't handle 640k bitrates. Is there a way to configure the ac3 encoder to output @ 448k instead?
If there isn't, I'm up for trying to modify the src and rolling my own build. Where in the src tree would I find the encoder code?
Thanks!
~Al
Posts: 1,451
Joined: Apr 2010
Reputation:
124
CrystalP
Team-Kodi Developer
Posts: 1,451
2010-10-18, 01:38
(This post was last modified: 2010-10-18, 02:09 by CrystalP.)
Alcides,
I had a quick chat with other devs and we would take a patch that adds a new advanced setting to define the max AC3 bitrate accepted by a receiver.
It would do the following:
- add a new advanced setting - default value 640k, can be set to 448k in your case
- change the bitrate used in the AC3 encoder (DVDAudioEncoderFFmpeg.cpp)
- check the bitrate and deny passthrough if the max AC3 bitrate is exceeded. That should automatically trigger transcoding to AC3 at the max AC3 bitrate (DVDAudioCodecPassthroughFFmpeg.cpp)
Are you up for it?
Posts: 3
Joined: Oct 2010
Reputation:
0
Tell you what. Let me checkout the tree and see if I can get trunk to build for Windows. (The change makes sense on all distros, but since I use XBMC on Windows, I want to make sure things are working there. I checked the faq and I've got the Windows build prereqs covered.)
If all that goes well, I'll come back and we can discuss my submitting a patch!
Posts: 265
Joined: Dec 2010
Reputation:
1
I am having the exact same problem but i am not following any of the responses. Is it possible to set the max bit rate?
Posts: 25
Joined: Dec 2008
Reputation:
0
I have this problem...it's a pain trying to convert ac3 bitrate without sync problems.
Did this ever make it into 10.1?
Posts: 15
Joined: May 2011
Reputation:
0
is ac3 encoding option available on atv 2g? it is not clear if the software encoding is or isnt available on latest stable...
Posts: 2
Joined: Nov 2012
Reputation:
0
Is this patch available? I need to do the same thing to make my old Sony receiver process the AC3.