Any REAL solutions for SPDIF passthrough?
#1
Sad 
PLEASE...for the love of God.. been searching all over the net for 3 full days just trying to get DTS working with XBMC. I get (like most of you) the error about being unable to initialize audio. SPDIF works PERFECTLY in VLC and WMP. Tried EVERY solution I have read, but nothing works. Is there a REAL fix for this? THANK YOU, THANK YOU!

Win XP Pro (SP3)
Turtle Beach Santa Cruz (tried generic drivers, won't install, not for this specific card)
Soundblaster Live! (tried this card as well, no-go)
Reply
#2
Not wanting to tick you off (you look mad Laugh) but I was unaware there was a problem with this?
Don't ya just select "HDMI" or "Optical/Coax" in audio output in system settings, set your speaker configuration and then let your amp worry about the decoding? DTS works perfectly for me and my neighbour.

cheers
Reply
#3
If only it were that simple...
Sadly, it isn't. Apparently, many people have this issue and it's been around for years. I'm getting digital out to work just fine with 2-speaker files, but 5.1 AC3 files trigger an error in XBMC. I'm using the latest Dharma 4 release. Thanks for your help/suggestions. They are much appreciated!
Reply
#4
Debug log.
Reply
#5
Sure. Here you go. I'm only posting what looks relevant. Let me know if there's something missing. THANKS!!

18:56:27 T:2768 M:1152557056 ERROR: CDVDAudioCodecPassthroughFFmpeg::Open - FFmpeg SPDIF muxer does not support this codec

19:32:07 T:396 M:1089019904 NOTICE: Creating video thread
19:32:07 T:396 M:1089015808 NOTICE: Opening audio stream: 1 source: 256
19:32:07 T:396 M:1089015808 NOTICE: Finding audio codec for: 86021
19:32:07 T:396 M:1088983040 NOTICE: Creating audio thread
19:32:07 T:2380 M:1088966656 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
19:32:07 T:2380 M:1088917504 NOTICE: Creating audio device with codec id: 86021, channels: 2, sample rate: 48000, pass-through
19:32:07 T:1172 M:1089245184 NOTICE: running thread: video_thread
19:32:07 T:2380 M:1087188992 ERROR: CWin32DirectSound::Initialize: cannot create secondary buffer (DSERR_INVALIDPARAM)
19:32:07 T:2380 M:1087180800 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
19:32:07 T:1172 M:1085521920 NOTICE: fps: 23.975986, pwidth: 1280, pheight: 532, dwidth: 1279, dheight: 532
19:32:07 T:1172 M:1085521920 NOTICE: Display resolution DESKTOP : 1024x768 @ 60.00 - Full Screen (12)
19:32:13 T:1172 M:1064157184 WARNING: CDVDVideoCodecFFmpeg:Big Grinecode - avcodec_decode_video didn't consume the full packet. size: 2933, consumed: 0
19:32:13 T:1172 M:1064157184 WARNING: CDVDVideoCodecFFmpeg:Big Grinecode - avcodec_decode_video didn't consume the full packet. size: 2658, consumed: 0
19:32:15 T:1172 M:1055334400 WARNING: CDVDVideoCodecFFmpeg:Big Grinecode - avcodec_decode_video didn't consume the full packet. size: 7367, consumed: 0
Reply
#6
do a pastebin link of the whole thing...

I'm having a similar problem, but I think I'm going to solve it by going back to hdmi through the mobo...
Silverstone Case with Windows 7 HTPC(considering Ubuntu) with Biostar TA790GX A3+ w/ Quad-core Phenom 2 processor, 8GB DDR3 G-Skill Ripjaw RAM, Zotac nvidia gt430 gpu w/hdmi 1.4a, Pioneer BD-S02 Bluray Combo drive, Mygica HD Thriller ATSC/NTSC Clear QAM Hybrid PCI PVR card, USB-UIRT, Onkyo HT-S9300THX 7.1 System, 50" Panasonic Viera 3DTV (TC-P50GT25), Verizon Fios with Motorola HD DVR, XBOX 360 w/ Kinect, Panasonic DMP-BDT100 FullHD 3D Bluray Player, X10 NStinct Remote
Reply
#7
Hi. Had to Google what pastebin is... Hope this is what you're looking for. THANK YOU ALL FOR ANY HELP!

http://xbmc.pastebin.com/gwDAzCQq
Reply
#8
I came across the following..not sure if it helps at all...
"There is no passthrough in the win32 port yet, meaning no ac3 or dts unless it's set to analog (and even then it's probably not downmixed to 2 channels, the xbox does this for us, win32 doesn't)."

If this is the case, then why is XBMC using Win32 Directsound?
Reply
#9
This isn't working for me either. Are you guys getting an error message pop up in XBMC, or is the audio just silent?
Version: 20110904-bb1417b
OS: Windows 7 Professional 64 Bit
Display: Samsung LN52B750 52" 240Hz LCD HDTV
CPU: AMD Phenom II X4 965 Black AM3 3.4Ghz 512KB 45NM 125W 4000MHZ
Graphics: PNY XLR8 Nvidia GeForce 9800 GT
Memory: CORSAIR XMS2 4GB (4 x 1GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400)
Motherboard: ASUS M3A78-EM
Reply
#10
Probably not the answer you are looking for but you could try the DSplayer version of XBMC: http://forum.xbmc.org/showthread.php?tid=61355

You can use FFDshow for the audio which should fix your DTS issue and as a bonus will allow hardware acceleration since you are using XP.
Reply
#11
I get the error message as well.
Reply
#12
Mallet21 Wrote:Probably not the answer you are looking for but you could try the DSplayer version of XBMC: http://forum.xbmc.org/showthread.php?tid=61355

You can use FFDshow for the audio which should fix your DTS issue and as a bonus will allow hardware acceleration since you are using XP.


I was SOOOO hoping this would work! Thanks anyway Sad

I installed this version of XBMC and set output to AC3 and DTS in FFDSHOW...not sure what else to do. Still get the "cannot initialize audio device" error
Reply
#13
ffdshow settings won't do anything with a non-dsplayer xbmc. On the other hand, the dsplayer using ffdshow should not pop up that message.

Looks like xbmc is passing incorrect parameters to the audio driver, but it's hard to figure out without access to the hardware.

And that quote about missing passthrough is quite dated. xbmc does support passthrough of AC3 and DTS.

The pastebin'ed log is not a debug log but I doubt it would help much.
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply
#14
Thanks for your help, CrystalP. It's much appreciated. I uninstalled all versions of XBMC and any filters and started from scratch. Un-installed K-lite codec pack, FFDshow, AC3filter, etc. Problem persists. I read that when using DSplayer, I will have to modify a config file (somefilter.xml) and add what filters should be used. Do you know if this is correct? Or do I just have to install DSplayer and specify DTS passthrough in FFDshow settings and that's it?
Reply
#15
Alright...after trying EVERYTHING under the sun (can't believe the extremes I went to) and spending 16 hours/day for 4 days...I give up.
Reply

Logout Mark Read Team Forum Stats Members Help
Any REAL solutions for SPDIF passthrough?0