PDA

View Full Version : AC3 audio not being passthrough to reciever


samrum
2009-01-16, 03:28
passthroughed? anyway

I'm unable to get AC3 audio to passthrough to my receiver when playing videos. I'm currently on jester's 17097 build and it was working fine a few builds back (around 16000 something) but now it doesn't.

DTS passes through fine so I know xbmc is correctly set to digital output. Any help would be appreciated.

debug log:
http://pastebin.com/m6987563f

Also what are all of those "Surface::CSurface::Flip - missed requested swap" in there?

Allfodr
2009-01-23, 16:16
I can confirm this bug, currently using bulid 16499 everything works fine. With later bulids (i think from 16620) no ac3 sound only stereo from external decoder.
It might have something to do with this http://xbmc.org/trac/changeset/16620

vlx42
2009-01-24, 00:10
I had the same problem, but found the solution in a different post.

Try checking if you have msvcr71.dll in the c:\windows\system32

samrum
2009-01-24, 02:07
I can confirm this bug, currently using bulid 16499 everything works fine. With later bulids (i think from 16620) no ac3 sound only stereo from external decoder.
It might have something to do with this http://xbmc.org/trac/changeset/16620

Oh yeah I should have said that it was sending stereo.

It's good to have confirmation, thanks man.
I'll check on msvcr71.dll later on.

Allfodr
2009-01-24, 04:57
I had the same problem, but found the solution in a different post.

Try checking if you have msvcr71.dll in the c:\windows\system32

I do have msvcr71 in system 32, otherwise xbmc won't even launch. could you please post which os and sound card are you using?

@samrum tnx i thought i was alone with this, and since xbmc is not properly mapping analog 5.1, we are doomed to old svn's :D

vlx42
2009-01-24, 15:23
I do have msvcr71 in system 32, otherwise xbmc won't even launch. could you please post which os and sound card are you using?


Ok, my xbmc launch fine without msvcr71 in the system32 folder, but i get this error in the log file, and the ac3 audio is converted to stereo:

ERROR: Win32DllLoader::Load: Unable to load C:\Program Files\XBMC\system\players\dvdplayer\liba52.dll (126)

The msvcr71.dll is also located in the c:\program file\xbmc folder but the liba52.dll can't find it there.

I'm using a old audigy card under vista.

WiSo
2009-01-24, 21:41
latest svn builds from the sticky have everything you need included and working.

amdmannen
2009-01-25, 17:42
I have this "bug" too.
DTS is fine but not AC3 from dvd or files on hdd work, pcm only.
Tryed the latest build from Jester without luck.

Cant find older builds that should work, aka 1649.

Can someone help me out with a older svn build?
Thx

Update:
I forgot too say that on XP Pro /MCE itīs working just fine.
Vista 32/64 itīs not.

Im not running XBMC windows on comp i sign but on this:
Intel Q6600@3ghz
8GB A-Data 800mhz mem
Gigabyte GA-EP35-DS3 rev 2.1
Realtek 889A soundcard, on mobo, s/pdif -> Yamaha 5.1/DTS receiver
Nvida 8600GT 256mb
System hdd is Fujitsu 2,5" 60GB
Storage is not important in this case ;)

Allfodr
2009-01-26, 00:54
Here is link to svn 16499, try and let us know. Same thing for me dts is fine but ac3 is only outputting to stereo with newer builds...

http://www.mediafire.com/?sharekey=6dd860bf3e5b9f870c814df2efeadc50e04e75f6 e8ebb871

amdmannen
2009-01-26, 00:58
I just tryed out Jester latest build, XBMCSetup-Rev17344-jester, x264 working fine :)
Will try out some dvd now.

samrum
2009-01-26, 04:29
Tried the latest jester build and still only got stereo.

Checked my system32 folder and msvcr71.dll wasn't there so I downloaded it and put it in my system32 folder and AC3 passthrough worked again! Hooray!

Thanks, vlx42!

Edit: Here's the debug log of the same file now that it works. http://pastebin.com/f129971e8

amdmannen
2009-01-26, 09:00
Yeah before the latest Jester build i used the 8.10 just for testing, i then got the error with the dll file, downloaded it and fired up xbmc, ac3 working but play dvd disc was a no go.
Then i saw Jester had compiled a newer build and downloaded that one, and it worked, could be that i already got the dll in system32, can check when i get home from work(still 8 houres left)

Jester
2009-01-26, 14:29
Strange, is in all my builds I include the missing .dll files...(they are in the XBMC folder)

strange error:

DEBUG: msvcrt.dll incomplete function _fullpath(...) called

amdmannen
2009-01-26, 14:52
Well im going too make a reinstall of my Vista 32bit tonight anyway and iīll check if all went good with the new build.

Allfodr
2009-01-26, 17:55
Finally working for me too with latest Jester's build (Rev17368) :grin:
thanks to Jester for all the hard work...

amdmannen
2009-01-27, 00:56
Update.
I did have to copy the dll file to system32 to get the ac3 to work.
Used 8.10 then upgraded that to Jesterīs build that came yesterday, Rev17368

Jester
2009-01-27, 16:16
Update.
I did have to copy the dll file to system32 to get the ac3 to work.
Used 8.10 then upgraded that to Jesterīs build that came yesterday, Rev17368

can you do me a favour ? can you delete the .dll from your system32 run xbmc with the ac3 file (so it doesn't work) with the debug log turned on and post it here?

Want to fix that issue in the build without having the manually copy stuff :)

Thanks !

amdmannen
2009-01-27, 20:36
can you do me a favour ? can you delete the .dll from your system32 run xbmc with the ac3 file (so it doesn't work) with the debug log turned on and post it here?

Want to fix that issue in the build without having the manually copy stuff :)

Thanks !

Here we go:
http://pastebin.com/m2e3b60d3

Jester
2009-01-27, 20:53
Here we go:
http://pastebin.com/m2e3b60d3

Thanks:

issue:

#
DEBUG: Win32DllLoader::Load(C:\Program Files\XBMC\system\players\dvdplayer\liba52.dll)
#
19:24:57 T:3116 M:2924802048 ERROR: Win32DllLoader::Load: Unable to load C:\Program Files\XBMC\system\players\dvdplayer\liba52.dll (126)
#
19:24:57 T:3116 M:2924802048 DEBUG: FactoryCodec - Audio: passthrough - Failed
#
19:24:57 T:3116 M:2924802048 DEBUG: FactoryCodec - Audio: liba52 - Opening
#
19:24:57 T:2352 M:2924802048 NOTICE: running thread: video_thread
#
19:24:57 T:3116 M:2924793856 DEBUG: Win32DllLoader::Load(C:\Program Files\XBMC\system\players\dvdplayer\liba52.dll)
#
19:24:57 T:3116 M:2924670976 ERROR: Win32DllLoader::Load: Unable to load C:\Program Files\XBMC\system\players\dvdplayer\liba52.dll (126)
#
19:24:57 T:3116 M:2924662784 DEBUG: FactoryCodec - Audio: liba52 - Failed

Jester
2009-01-27, 20:54
For now I've changed the installer to put the .dll file in c:\windows\system32


could you do a test where you delete the .dll files in the system32 dir, install my latest xbmc and see if:

1. the .dlls get placed into the system32 dir
2. if the problem is fixed

my latest build (use my link below) contains this fix.
XBMCSetup-Rev17393-jester.exe

Thanks for helping out !

amdmannen
2009-01-27, 21:59
Done.
Deleted the dll file.
Installed your latest build.
Checked System32 again, itīs there.
Played the same movie again, DD working again :D

Thx for Your work Jester.

Jester
2009-01-27, 22:11
thx, from now on i'll leave this in so we don't have to worry about .dll's anymore :)

AliG
2009-01-28, 03:58
Hey,
I installed the latest jester's build, but I'm having having audio issues. I get the error saying "Failed to initalize audio hardware" I've attached the log to help

Thanks
AliG

http://pastebin.com/m7a5ce1ec

samrum
2009-01-28, 06:00
Thanks for your work, Jester

amdmannen
2009-01-28, 09:49
Jester, a little OT, but when i used the build with the fixed dll i noticed another thing.
External subtitles was broken, reverted to the build that fixed ac3 from Sunday build, all fine again.
Could be SVN that is the problem.
Just thought you should know.
If there is a need for testing this problem out, letīs start a new topic about this.

Jester
2009-01-28, 10:52
Hey,
I installed the latest jester's build, but I'm having having audio issues. I get the error saying "Failed to initalize audio hardware" I've attached the log to help

Thanks
AliG

http://pastebin.com/m7a5ce1ec

goto your audio settings and change the output

Jester
2009-01-28, 10:53
Jester, a little OT, but when i used the build with the fixed dll i noticed another thing.
External subtitles was broken, reverted to the build that fixed ac3 from Sunday build, all fine again.
Could be SVN that is the problem.
Just thought you should know.
If there is a need for testing this problem out, letīs start a new topic about this.

they are working on some subtitle issues for mkv etc. (check the SVN updates on trac on the progress) but yes please open a new thread for this issue i'm closing this one....