HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: Grzesio on 2007-04-26 21:50:05

Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-04-26 21:50:05
Hi everyone!

Is anybody interested in SPDIF passthrough for AC3/DTS?

Here it is  foo_spdif page (http://www.ga.cba.pl/)
Title: foo_spdif - SPDIF support for foobar
Post by: marlonqpa on 2007-04-26 22:54:50
cool plugin, but it play my dts files to fast. i think this is the same problem like with an early version of Acropolis dts plugin.
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-04-26 23:41:46
Yes, well it's probably because your files are recorded at 44.1kHz and your sound card doesn't support spdif passthrough at such frequency. Unfortunately most sound boards have output fixed at 48kHz.
Title: foo_spdif - SPDIF support for foobar
Post by: Mangix on 2007-04-26 23:44:06
foobar2000 has a DSP called Resampler which should do the job.
Title: foo_spdif - SPDIF support for foobar
Post by: willardjuice on 2007-04-27 00:10:30
I guess this doesn't work for Vista x64?  All I get is: "Unable to open item for playback (Unsupported file format):[insert my dts or dd file here].  I tried both .AC3/.DTS and .SPDIF file extensions, same result.
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-04-27 00:20:08
I guess this doesn't work for Vista x64?  All I get is: "Unable to open item for playback (Unsupported file format):[insert my dts or dd file here].  I tried both .AC3/.DTS and .SPDIF file extensions, same result.


I have no idea  I assume your sound card driver for vista supports spdif playback, right?
Title: foo_spdif - SPDIF support for foobar
Post by: cyRq on 2007-04-27 10:29:57
If you wanna play *.ac3 and *.dts files, you must have the input plugins for those formats (foo_ac3 and foo_dts)
Title: foo_spdif - SPDIF support for foobar
Post by: Rozzo on 2007-04-27 13:33:01
Didn't work here.

I tried with a clean install with/without foo_ac3 plugin

Without foo_ac3, foobar2000 crashed

With foo_ac3, it was normal playback, no spdif passtrough

Maybe that MSVCR80.dll library? Where needs to be added?

-Rozzo
Title: foo_spdif - SPDIF support for foobar
Post by: Rozzo on 2007-04-27 18:34:45
Hi,

this kind of plugin is all that I need for happiness.

Unfortunately it doesn't work here.

foo_spdif Without foo-Ac3, foobar2000 crashes

foo-spdif With foo-Ac3 I get usual playback, not spdif

Added msv80 library into system32, no happiness

*.spdif appended to filenames, no happiness

Uh?
Rozzo
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-04-29 20:24:07
Hi,

this kind of plugin is all that I need for happiness.

Unfortunately it doesn't work here.

foo_spdif Without foo-Ac3, foobar2000 crashes

foo-spdif With foo-Ac3 I get usual playback, not spdif

Added msv80 library into system32, no happiness

*.spdif appended to filenames, no happiness

Uh?
Rozzo


Ok, I'm working on few changes, please be patient
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-04-30 13:31:36
new release:
foo_spdif_v0.2 (http://www.ga.cba.pl)

v0.2:
- fixed horrible bug preventing even a try at opening spdif for sample rates different than 48kHz
- optimized playback startup delay when forcing 48kHz
- added <FORCED!> tag in codec name for files forced to 48kHz
- added support for mpeg audio (for test purposes, works with ".spdif" extension only, any feedback is welcome)
- added support for stream type change, eg if there are dts and ac3 streams following each other in one file

additional requirements:
- foobar2000 v0.9.4 at least
- directX8 or newer
Title: foo_spdif - SPDIF support for foobar
Post by: Erik Garci on 2007-04-30 16:42:54
Grzesio,

Thank you very much for creating this plugin.  It is the missing piece that I was looking for.

I tried v0.1b, and the only problem that I encountered is that it does not always set the sound card to the correct sampling rate.  For example, when I play a 44.1kHz .AC3 file, sometimes it correctly sets the sound card to 44.1kHz, but sometimes it incorrectly sets the sound card to 48kHz.  A similar problem happens when I play a 48kHz .AC3 file.  In any case, the foobar2000 status bar always shows the correct sampling rate.  It's just the sound card that is being set incorrectly sometimes.  To get around the problem, I have to keep restarting the playback of the file until it eventually sets the correct sampling rate.

I will try v0.2 and report my results.

By the way, I am using the latest version of foobar2000 (v0.9.4.3), with the ASIO output plugin, on the M-Audio Delta DiO 2496 sound card (with the latest drivers), and Windows XP SP2.
Title: foo_spdif - SPDIF support for foobar
Post by: Rozzo on 2007-04-30 18:16:25
Hi,

thanks for your work.

I don't know if I miss something:

When I play my AC3 files with creative mediasource (windows XP, Creative X-Fi, digital bitstream output activated), I get a pop-up "Dolby Digital Bitstream Out" and the display on my Denon AVR 1706 Receiver reads "Dolby Digital EX". In this condition, music sounds perfect through my six speakers, loud, clear and integrated, sooo satisfying. In this mode, I can control music's volume only through the receiver controls.

Same effect obtained with Zoom Player and Ciberlink Power DVD.

With Foobar and spdif plugin (I tried Direct Sound, Kernel Streaming and Asio aoutput) I get only standard Playback, Receiver applies its PLII or NEO 5x1 effects, so no way to hear my AC3 as they.

My question is if this spdif passtrough plugin can send the ac3 files directly to the receiver as Dolby Digital bitstream from Foobar or I'am misunderstanding something.

For me is very important because I'm attached to foobar2000 and want to use it as my standard player, but the hearing experience with Dolby Digital Bitstream Output for AC3 files is far superior to the 5x1 plugin solutions I find otherwise. It's real surround music!!
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-04-30 19:04:45
Grzesio,

Thank you very much for creating this plugin.  It is the missing piece that I was looking for.

I tried v0.1b, and the only problem that I encountered is that it does not always set the sound card to the correct sampling rate.  For example, when I play a 44.1kHz .AC3 file, sometimes it correctly sets the sound card to 44.1kHz, but sometimes it incorrectly sets the sound card to 48kHz.  A similar problem happens when I play a 48kHz .AC3 file.  In any case, the foobar2000 status bar always shows the correct sampling rate.  It's just the sound card that is being set incorrectly sometimes.  To get around the problem, I have to keep restarting the playback of the file until it eventually sets the correct sampling rate.

I will try v0.2 and report my results.

By the way, I am using the latest version of foobar2000 (v0.9.4.3), with the ASIO output plugin, on the M-Audio Delta DiO 2496 sound card (with the latest drivers), and Windows XP SP2.



Thanks for the info, Erik. I'm waiting for your feedback on v0.2.

Can anyone confirm that mpeg audio (mp1,mp2,mp3) passthrough works or not?
Title: foo_spdif - SPDIF support for foobar
Post by: Erik Garci on 2007-05-01 06:03:22
I tried v0.2, and 44.1kHz .AC3 files have no problem now.  Thanks for correcting it.

However, 48kHz .AC3 files still have the same problem as before.  I will try to explain it in more detail.  The problem happens when you use any of the following methods to start playing the .AC3 file:

1. Press the Play button.
2. Double-click it in the playlist.
3. Press the Next button.
4. Press the Previous button.

In addition, the behavior depends on whether the sound card is set to 44.1kHz or 48kHz before you start playing it.

If the sound card is set to 44.1kHz before you start playing it, then foobar2000 sets the card to 48kHz, which is the correct sampling rate.  However, the progress slider and the elapsed time in the status bar will get stuck after 1 second.  foobar2000 continues to play the file anyway.  When the end of the file is reached, foobar2000 will not automatically play the next file in the playlist.  It just stops completely.

Or, if the sound card is set to 48kHz before you start playing it, then foobar2000 sets the card to 44.1kHz, which is the incorrect sampling rate.  However, there is an easy way to work around this situation.  While it is playing, you can simply press Pause twice (or press Pause and then Play), which causes foobar2000 to set the card to 48kHz, which is the correct sampling rate.  In this case, the progress slider and the elapsed time in the status bar will not get stuck.  foobar2000 will automatically play the remaining files in the playlist as well, and it will play them with no problems.

I figured out that the best way to start playing a 48kHz .AC3 file is to perform these three steps:
1. Start playing it.
2. If it is playing at 48kHz, then start playing it again, so it is playing at 44.1kHz now, even though it is incorrect.
3. Press Pause twice, so it is playing at 48kHz now, which is correct.

By the way, I also tried playing MPEG Audio files by renaming them to .SPDIF.  It seems that foobar2000 is sending audio to the sound card at the correct sampling rate, but the external decoders do not seem to be receiving or recognizing the audio.
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-05-01 06:56:40
Ops, that is very very odd what you have discovered
Thanks for detailed explanation of the problem. I will try to do something about it.
To be shure, does it mean that if you don't click anything (just let the playlist play itself continously) then everything is ok?
Does the problem become only when you are changing from one playing track to another or is it present also when you are starting to play from silence (stopped state)? Could you test it again with output plugin set to null renderer?
And also I would like to know if the <FORCED!> tag is visible at any time in the status bar.

About mpeg audio, does it mean that your receiver is capable of decoding mpeg audio? Because mine simply is not
Title: foo_spdif - SPDIF support for foobar
Post by: Erik Garci on 2007-05-01 15:02:57
Ops, that is very very odd what you have discovered
Thanks for detailed explanation of the problem. I will try to do something about it.
To be shure, does it mean that if you don't click anything (just let the playlist play itself continously) then everything is ok?

Everything is OK if I just let the playlist continue automatically from file to file.  I can click on the progress slider, and everything is still OK.
Quote
Does the problem become only when you are changing from one playing track to another or is it present also when you are starting to play from silence (stopped state)?

The problem happens in both of those cases.
Quote
Could you test it again with output plugin set to null renderer?

I will test that.
Quote
And also I would like to know if the <FORCED!> tag is visible at any time in the status bar.

I never saw the tag, but I wasn't always looking for it.
Quote
About mpeg audio, does it mean that your receiver is capable of decoding mpeg audio? Because mine simply is not

I have connected to two devices: a Denon AVR-3806 receiver and a JVC SU-DH1 headphone adapter.  I am not sure if the Denon supports any MPEG audio format.  The owner's manual states: "MUSE 3.1 and MPEG multi-channel audio are not available to North American consumers – same is true for Dolby’s AAC."  In addition, the serial protocol manual states that MPEG-2 AAC is "Invalid at AVR model." It is not clear if this means that the Denon does not support MPEG audio at all, or just does not support MPEG-2 AAC in particular.  As for the JVC, the owner's manual states that it supports MPEG-2 AAC, up to 5.1 channel.  It has an LED indicator labeled "MPEG-2 AAC" that is supposed to light up, but I have not seen it light up at all.  Anyway, it seems that they are not receiving any audio, since nothing lights up, and there is just silence.
Title: foo_spdif - SPDIF support for foobar
Post by: Erik Garci on 2007-05-02 04:57:27
Could you test it again with output plugin set to null renderer?

I tested Null Output.  The progress slider and elapsed time never get stuck, and it seems to be playing at the correct sampling rate, or at least the total elapsed time seems to be accurate.
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-05-02 12:44:39
So it looks like some kind of incompatibility with your asio output but I have also found some weak points in the source code that may cause your problem. I going to rewrite part of the plugin but unfortunately it may take a little longer.
Title: foo_spdif - SPDIF support for foobar
Post by: Erik Garci on 2007-05-03 06:28:19
To be more specific, the problem happens when I play padded and unpadded 48kHz AC3 files with these extensions: .AC3, .AC3WAV, .SPDIF, and .WAVAC3.

(Padded files are files that have been padded with zeros in order to match the size of a PCM stream.)

The problem does not happen when I play padded .WAV files.  For example, I can simply change the extension of a padded file from .AC3WAV to .WAV, and the problem goes away.  In fact, I can play padded .WAV files without even using foo_spdif, since foobar2000 just passes it through as if it were PCM audio.
Title: foo_spdif - SPDIF support for foobar
Post by: Erik Garci on 2007-05-04 16:08:23
I also tested 48kHz DTS files.  Same problem.

44.1kHz DTS files have no problems though.
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-05-05 18:01:30
I hope foo_spdif_v0.3 (http://www.ga.cba.pl/) will help on that.
Title: foo_spdif - SPDIF support for foobar
Post by: dDaYb on 2007-05-06 11:30:36
foobar 0.9.4f + foo_spdif_v0.3 + foo_input_dts 0.1.7
dts file 44100 works fine, but i had to rename my .dts files to .spdif

thanks for plugin !
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-05-06 12:58:32
When I play my AC3 files with creative mediasource (windows XP, Creative X-Fi, digital bitstream output activated), I get a pop-up "Dolby Digital Bitstream Out" and the display on my Denon AVR 1706 Receiver reads "Dolby Digital EX". In this condition, music sounds perfect through my six speakers, loud, clear and integrated, sooo satisfying. In this mode, I can control music's volume only through the receiver controls.

Same effect obtained with Zoom Player and Ciberlink Power DVD.

With Foobar and spdif plugin (I tried Direct Sound, Kernel Streaming and Asio aoutput) I get only standard Playback, Receiver applies its PLII or NEO 5x1 effects, so no way to hear my AC3 as they.

My question is if this spdif passtrough plugin can send the ac3 files directly to the receiver as Dolby Digital bitstream from Foobar or I'am misunderstanding something.


Sorry Rozzo, I missed your post.

For me it looks like the spdif plugin doesn't work at all. Did you try to rename your ac3 files with .spdif extension?
By the way, you are right, spdif plugin sends ac3 files directly to your external receiver without decompressing it. It doesn't  even use foobar's output plugin but its own. You can switch foobar's output to "null output" to test if spdif plugin really do its job.
And of course, your receiver should indicate Dolby Digital ® logo.
Title: foo_spdif - SPDIF support for foobar
Post by: Erik Garci on 2007-05-06 16:05:40
I hope foo_spdif_v0.3 (http://www.ga.cba.pl/) will help on that.

v0.3 works great for me.  I no longer have problems playing 48kHz AC3/DTS files.

Thank you!!!


By the way, you mentioned this on your site:
- dropped support for mpeg audio since the main idea is to pass-through multi-channel audio

Some MPEG audio formats support multi-channel, such as MPEG-2 AAC.  I think it would be useful if foo_spdif could pass through those multi-channel formats to the receiver (even though some receivers cannot decode them).
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-05-06 20:12:27
By the way, you mentioned this on your site:
- dropped support for mpeg audio since the main idea is to pass-through multi-channel audio

Some MPEG audio formats support multi-channel, such as MPEG-2 AAC.  I think it would be useful if foo_spdif could pass through those multi-channel formats to the receiver (even though some receivers cannot decode them).

OK, I should have been more specific about that. By "mpeg audio" I meant only mp1,mp2,mp3 files but AAC is quite different thing to pass through spdif and as far as I know AAC is now defined as MPEG-4 standard.
I agree that it would be nice to include AAC support but unfortunately I couldn't get right specification so far, that is something like IEC 61937-6. I also have no equipment to test it
Title: foo_spdif - SPDIF support for foobar
Post by: Dither on 2007-05-14 08:28:04
Works fine for me but just until it meets with local-codepage (cyrillic) characters in path.
For example:
Unable to open item for playback (Could not open file.):
"D:\Моя музыка\Album1\CDImage.dts"

PS: Anyway, thanks for this cool plugin.
Title: foo_spdif - SPDIF support for foobar
Post by: Rozzo on 2007-05-14 22:00:29
Hi Grzesio,

happiness here,
plugin started to work when instead of cheking all the three options in the options page, I checked only ac3>spdif.
Back to Foobar, thanks a lot,
Rozzo.
Title: foo_spdif - SPDIF support for foobar
Post by: redmodel on 2007-05-16 00:05:26
Thanks for the plugin it's something i've been needing for a while,

but it doesn't work .  I have Vista x64, with a realtek ac97 chipset.

I believe it's in the 600 series. 

Anyhow I only get two channel audio output.  So it seems as the Foo_AC3 and Foo_Input_DTS seem to decoding the file and ignoring the Foo_SPDIF
Title: foo_spdif - SPDIF support for foobar
Post by: mmorselli on 2007-05-16 21:32:08
May I play multi channel WavePack file with this plugin ?

I have some .wv files that plays fine on Foobar (latest), but if I rename it to .SPDIF it says "Unable to open item for playback (unknow file format or corrupt data)"


(XP Pro SP2)
Title: foo_spdif - SPDIF support for foobar
Post by: willardjuice on 2007-05-21 00:55:59
I guess this doesn't work for Vista x64?  All I get is: "Unable to open item for playback (Unsupported file format):[insert my dts or dd file here].  I tried both .AC3/.DTS and .SPDIF file extensions, same result.


Ah I got it to work in Vista x64 but only at 48khz, at 44.1kHz it's a no go for me.  Both 44.1kHz DTS and DD files are not passed through correctly (my receiver flickers between DD/DTS and PCM). 

I am in audio creation mode and have bit-perfect playback enable so I should be able to passthrough 44.1kHz material (I could in XP x64).  Although it might be a Vista X-Fi driver bug (I don't have another program that supports passthrough of 44.1kHz material atm, but I will setup MPC soon and report back).  Either way, keep up the good work. 

EDIT: Same thing happens on MPC and AC3Filter with 44.1kHz DD/DTS files, so I guess it's a X-Fi bug.
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-05-21 15:53:01
Works fine for me but just until it meets with local-codepage (cyrillic) characters in path.
For example:
Unable to open item for playback (Could not open file.):
"D:\??? ??????\Album1\CDImage.dts"

PS: Anyway, thanks for this cool plugin.

I'm going to correct it in the nearest possible future. I had to drop the project for a while but I will be back
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-05-21 16:22:51
May I play multi channel WavePack file with this plugin ?

Unfortunately, no.
Title: foo_spdif - SPDIF support for foobar
Post by: aurelio on 2007-06-01 00:23:03
Hi Grzesio,
I get this error:
Quote
Unable to open item for playback (Sound card driver has refused SPDIF format!)

My audio codec is Realtek ALC850 (integrated on Asus A8N32-SLI mobo), latest Vista driver, "DS: Realtek Digital Output" chosen as output device.
Any idea?
Title: foo_spdif - SPDIF support for foobar
Post by: SBeaver on 2007-06-01 12:36:30
Hi Grzesio,
I get this error:
Quote
Unable to open item for playback (Sound card driver has refused SPDIF format!)

My audio codec is Realtek ALC850 (integrated on Asus A8N32-SLI mobo), latest Vista driver, "DS: Realtek Digital Output" chosen as output device.
Any idea?


I get this message also, but using windows xp x64 and a different soundcard.
I tried all devices in the list (I have bitperfect playback on this soundcard with KS 32-bit setting but that didn't work either)
Title: foo_spdif - SPDIF support for foobar
Post by: ociec on 2007-06-02 12:46:19
My audio codec is Realtek ALC850 (integrated on Asus A8N32-SLI mobo), latest Vista driver, "DS: Realtek Digital Output" chosen as output device.
Any idea?

Switch off analog output.

I  have same gigbyte mobo with ALC850. Divx+ ac3 works fine.
But some problem dts. Foobar + foo_spdif play dts on yamha 459 (detect dts 5.1) , but time on foobar hold on. Always 0:00. One song ending, next never start. Until i push button start. I have foobar2000_0.9.4.3 + foo_spdif 0.3
With foo_input_dts, time on foobar is ok, but only 2 channel.
After i close foobar and open it, always msg:"Module uninstalled: Module foo_spdif.dll has been removed since last run. Would you like to keep its settings?". Then i must instal foobar again...

ociec
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-06-03 22:01:53
I  have same gigbyte mobo with ALC850. Divx+ ac3 works fine.
But some problem dts. Foobar + foo_spdif play dts on yamha 459 (detect dts 5.1) , but time on foobar hold on. Always 0:00. One song ending, next never start. Until i push button start. I have foobar2000_0.9.4.3 + foo_spdif 0.3
With foo_input_dts, time on foobar is ok, but only 2 channel.
After i close foobar and open it, always msg:"Module uninstalled: Module foo_spdif.dll has been removed since last run. Would you like to keep its settings?". Then i must instal foobar again...

What is your os?
Could you try to switch your foobar output to "Null output" and check if it helps with unfreezing the progress bar?
Title: foo_spdif - SPDIF support for foobar
Post by: ociec on 2007-06-04 21:21:17
What is your os?
Could you try to switch your foobar output to "Null output" and check if it helps with unfreezing the progress bar?


Vista Ultimate PL

"Null output" - Now foobar play ok. Progres bar counting time. Songs change to next.  thanks.

Quote
After i close foobar and open it, always msg:"Module uninstalled: Module foo_spdif.dll has been removed since last run. Would you like to keep its settings?". Then i must instal foobar again...

I uninstal foobar, delete folder and instal again. Foobar dont show this msg.

ociec
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-06-05 15:03:30


What is your os?
Could you try to switch your foobar output to "Null output" and check if it helps with unfreezing the progress bar?


Vista Ultimate PL

"Null output" - Now foobar play ok. Progres bar counting time. Songs change to next.  thanks.

I'm glad to hear that.
I think there is still some problem with spdif pass-through in Vista sound drivers
The Null output is for test purposes only. Spdif will work fine but other media won't be audible.
You can try different output plugins and find out one working properly, if any.
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-06-05 17:07:17
latest stablest version:
foo_spdif_v1.0 (http://ga.cba.pl/)
Title: foo_spdif - SPDIF support for foobar
Post by: NullString on 2007-06-29 22:00:23
Thanks for the component!
Although, when I send the signal through spdif, the soundcard shows a popup indicating that its decoding the signal. But when I play files using foo_input_dts, it doesn't, so I guess the decoding is being done in software (But it sounds 5.1 so there is no problem).  Using only the spdif component, I can't get playback of the files.  But having both of them activated (foo_input_dts & foo_spdif) I can hear DTS as 5.1 and the soundcard pop-up shows, so the decoding is being done there, everything is ok. The only problem are the APEv2 tags that the foo_input_dts allows me to put on the .dts files, embedded cuesheets and that stuff. It doesn't get recognized  (so I think it's only spdif or software decoding for now). Is there a way to make both of these great plugins live together?
Thanks in advance.
Title: foo_spdif - SPDIF support for foobar
Post by: yhloh on 2007-06-30 04:33:54
latest stablest version:
foo_spdif_v1.0 (http://ga.cba.pl/)

Hi Everyone,I can't browse the site above with Firefox or IE.
Can anybody tell me how can I get the plugins? thanks!
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-07-04 12:49:47
Thanks for the component!
Although, when I send the signal through spdif, the soundcard shows a popup indicating that its decoding the signal. But when I play files using foo_input_dts, it doesn't, so I guess the decoding is being done in software (But it sounds 5.1 so there is no problem).  Using only the spdif component, I can't get playback of the files.  But having both of them activated (foo_input_dts & foo_spdif) I can hear DTS as 5.1 and the soundcard pop-up shows, so the decoding is being done there, everything is ok. The only problem are the APEv2 tags that the foo_input_dts allows me to put on the .dts files, embedded cuesheets and that stuff. It doesn't get recognized  (so I think it's only spdif or software decoding for now). Is there a way to make both of these great plugins live together?
Thanks in advance.

I think the name of spdif plugin is a little confusing and suggest that this is pure output plugin. In fact, it is specific combination of input-output plugins  You can have only one input plugin for any media file type (only one will work) if you want foo_input_dts then you should disable dts support in foo_spdif plugin (DTS->SPDIF option in foobar preferences), otherwise, you have to remove foo_input_dts.
I have no plans for APEv2 tags support for now.



latest stablest version:
foo_spdif_v1.0 (http://ga.cba.pl/)

Hi Everyone,I can't browse the site above with Firefox or IE.
Can anybody tell me how can I get the plugins? thanks!

Can anyone confirm this problem? It works fine for me with ie6 and opera.
Title: foo_spdif - SPDIF support for foobar
Post by: Rozzo on 2007-07-04 17:41:19
Hi Grezsio,

after some time of using the plugin I found uncomfortable changing the extension of ac3 files to .spdif

No way to solve this inconvenient?, say open ac3 files directly in foobar2000 without intermediate operations?

ys,
Rozzo
Title: foo_spdif - SPDIF support for foobar
Post by: NullString on 2007-07-05 04:53:26
I think the name of spdif plugin is a little confusing and suggest that this is pure output plugin. In fact, it is specific combination of input-output plugins  You can have only one input plugin for any media file type (only one will work) if you want foo_input_dts then you should disable dts support in foo_spdif plugin (DTS->SPDIF option in foobar preferences), otherwise, you have to remove foo_input_dts.
I have no plans for APEv2 tags support for now.

Thanks for the answer!


latest stablest version:
foo_spdif_v1.0 (http://ga.cba.pl/)

Hi Everyone,I can't browse the site above with Firefox or IE.
Can anybody tell me how can I get the plugins? thanks!

Can anyone confirm this problem? It works fine for me with ie6 and opera.

Works fine in Maxthon & IE7!
Title: foo_spdif - SPDIF support for foobar
Post by: darkj2k on 2007-07-09 15:21:34
Cannot connect to d/l page too by IE7 & Firefox. Could someone reply by attached file or u/l to somewhere? Thanks.
Title: foo_spdif - SPDIF support for foobar
Post by: mlanglois on 2007-07-10 14:37:39
Thanks for this GREAT plugin!
Unfortunately the SPDIF output of my sound card is not recognized by the plugin (I use a Terratec Aureon 5.1 USB MKII). This is a common pb with a lot of sound cards, which can easily be solved by an option like "Output SPDIF as PCM" used by AC3Filter (http://ac3filter.net) (cf. specifically here (http://ac3filter.net/files/docs/ac3filter_1_30b/spdif_eng.html#x1-160002.5)).

Is there any hope that such an option will be included? Thanks!
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-07-12 19:44:48
after some time of using the plugin I found uncomfortable changing the extension of ac3 files to .spdif
No way to solve this inconvenient?, say open ac3 files directly in foobar2000 without intermediate operations?
ys,
Rozzo

you don't have to change the extension to .spdif if you remove other input plugins for ac3 files.
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-07-12 20:11:49
Thanks for this GREAT plugin!
Unfortunately the SPDIF output of my sound card is not recognized by the plugin (I use a Terratec Aureon 5.1 USB MKII). This is a common pb with a lot of sound cards, which can easily be solved by an option like "Output SPDIF as PCM" used by AC3Filter (http://ac3filter.net) (cf. specifically here (http://ac3filter.net/files/docs/ac3filter_1_30b/spdif_eng.html#x1-160002.5)).

Is there any hope that such an option will be included? Thanks!

Well, frankly, sending ac3 as pcm could be very annoying and even dangerous not only for the eqipment but also for your ears  I know you may hate me but I think that buying a new card would be a better choice.
Title: foo_spdif - SPDIF support for foobar
Post by: yhloh on 2007-07-14 05:27:58
Cannot connect to d/l page too by IE7 & Firefox. Could someone reply by attached file or u/l to somewhere? Thanks.


We all live in Taiwan.
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-07-16 10:42:51

Cannot connect to d/l page too by IE7 & Firefox. Could someone reply by attached file or u/l to somewhere? Thanks.


We all live in Taiwan.

have you tried using any http proxy server? one located in Poland is w3cache.icm.edu.pl:8080. I'm not shure it will work for you but I'm shure you can find one that works.
Title: foo_spdif - SPDIF support for foobar
Post by: yhloh on 2007-07-17 00:49:00
I forgot to use proxy server in Poland.
87.239.177.2:8000 from http://www.proxy4free.com/page1.html (http://www.proxy4free.com/page1.html) works for me.
Thank Grzesio and all.
Title: foo_spdif - SPDIF support for foobar
Post by: gogo on 2007-07-28 13:30:55
Thanks for this nice plugin. Passing DTS streams via SPDIF to my AV receiver for decoding works very well.

The only thing still missing now is "native" support for DTS CDs. It would be soooooo nice if foobar could distinguish between DTS and PCM streams put in .wav files. Then we were able to play DTS CDDAs in foobar like any other CDDA: without prior ripping. Also, the renaming of files on the hard disc from .wav to .dts or .spdif would not be necessary any more.
I know that this functionality is actually not within the scope of this plugin, but it would make this plugin even more useful. I'm really looking forward to see such a feature in foobar, so I don't have to use PowerDVD for DTS CDDA playback anymore
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-08-03 00:59:52
Thanks for this nice plugin. Passing DTS streams via SPDIF to my AV receiver for decoding works very well.

The only thing still missing now is "native" support for DTS CDs. It would be soooooo nice if foobar could distinguish between DTS and PCM streams put in .wav files. Then we were able to play DTS CDDAs in foobar like any other CDDA: without prior ripping. Also, the renaming of files on the hard disc from .wav to .dts or .spdif would not be necessary any more.
I know that this functionality is actually not within the scope of this plugin, but it would make this plugin even more useful. I'm really looking forward to see such a feature in foobar, so I don't have to use PowerDVD for DTS CDDA playback anymore

I will keep in mind your needs but I'm afraid it's easier to say than do with the present foobar sdk. Maybe if the idea of packet decoders becomes more flexible it will be possible to incorporate some extra features. For now, I just don't want to force any more functionality doing some stupid tricks. Let the future bring some hope
Title: foo_spdif - SPDIF support for foobar
Post by: isamu on 2007-08-14 11:49:46
I will keep in mind your needs but I'm afraid it's easier to say than do with the present foobar sdk. Maybe if the idea of packet decoders becomes more flexible it will be possible to incorporate some extra features. For now, I just don't want to force any more functionality doing some stupid tricks. Let the future bring some hope



Hello Grzesio how are you?

I would like to know if this plugin would make a difference if I'm listening to regular FLAC files through my Creative Audigy 2ZS soundcard, connected to a DSP processor like the *Alpine PXA-H701* (http://www.crutchfield.com/S-RKuGzAB6QvU/cgi-bin/ProdView.asp?i=500PXAH701) via an S/PDIF Toslink signal? Since FLAC files are just 2-channel audio files, is a passthrough S/PDIF signal necessary?
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-08-14 20:33:55
I would like to know if this plugin would make a difference if I'm listening to regular FLAC files through my Creative Audigy 2ZS soundcard, connected to a DSP processor like the *Alpine PXA-H701* (http://www.crutchfield.com/S-RKuGzAB6QvU/cgi-bin/ProdView.asp?i=500PXAH701) via an S/PDIF Toslink signal? Since FLAC files are just 2-channel audio files, is a passthrough S/PDIF signal necessary?

It will not make a difference because it works only for AC3 and DTS streams. However, if it supported flac files with stereo content in your particular case the difference would be just in bypassing some unnecessary sound processing of foobar and your sound card which may or may not decrease/improve sound quality
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-08-22 12:29:49
Release v1.1 (http://www.ga.cba.pl/) is available.

Now you can choose between WaveOut and DirectSound Output. The default is new WaveOut since it seems to be more reliable and compatible. You can switch back to former DirectSound in preferences page.
I hope it will help in a few cases when you see messages like "the sound card driver has refused spdif format".
Title: foo_spdif - SPDIF support for foobar
Post by: isamu on 2007-08-22 14:27:56
Release v1.1 (http://www.ga.cba.pl/) is available.

Now you can choose between WaveOut and DirectSound Output. The default is new WaveOut since it seems to be more reliable and compatible. You can switch back to former DirectSound in preferences page.
I hope it will help in a few cases when you see messages like "the sound card driver has refused spdif format".



Grzesio, I am getting an error on the PC in my car. When I boot up foobar, it says "Failed to load DLL: foo_spdif.DLL" and says the reason is because the file isn't configured right blah blah blah...

I am running Windows XP Home and Foobar0.9.4.3. Can you tell me how to resolve this?
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-08-22 18:10:57
Grzesio, I am getting an error on the PC in my car. When I boot up foobar, it says "Failed to load DLL: foo_spdif.DLL" and says the reason is because the file isn't configured right blah blah blah...

I am running Windows XP Home and Foobar0.9.4.3. Can you tell me how to resolve this?

That's strange  Nothing really comes to my mind... You can try to remove foo_spdif.dll from components directory, run foobar and discard foo_spdif config data when foobar ask for it. Close foobar and then copy foo_spdif.dll back to components directory. I'm just guessing...
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-08-23 15:32:30
Release v1.2 (http://www.ga.cba.pl/) is available.
Title: foo_spdif - SPDIF support for foobar
Post by: yhloh on 2007-08-24 05:10:41
proxy server for those who live in taiwan
195.116.60.2:3124

new working proxy server
80.97.12.51:3128
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-08-24 11:59:00
What a rush, v1.3 (http://www.ga.cba.pl/) released
Title: foo_spdif - SPDIF support for foobar
Post by: ontherocks on 2007-08-24 16:46:00
I tried to use your plugin with Foobar v0.9.4.3 & v0.9.4.4 and get the following error.

"Failed to load DLL: foo_spdif.dll
Reason: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."


I tried deleting the dll from the components folder and then putting back again as you suggested in  Post #59 but that doesn't help either.
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-08-24 21:44:01
I tried to use your plugin with Foobar v0.9.4.3 & v0.9.4.4 and get the following error.

"Failed to load DLL: foo_spdif.dll
Reason: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."


I tried deleting the dll from the components folder and then putting back again as you suggested in  Post #59 but that doesn't help either.

Did that error appear with the last version? What about earlier releases? And did you try reinstalling foobar as the message advised? (I think the necessary step is uninstalling and deleting whole directory by hand before new installation)

EDIT:
I've just thought that maybe there is some conflict between foo_spdif and other component you have installed (duplicated guids for example). Could you try to remove all 3rd party plugins but foo_spdif and see if the problem still exists?
Title: foo_spdif - SPDIF support for foobar
Post by: ontherocks on 2007-08-25 00:52:39
Yes I tried that. Uninstalled foobar, the directory deleted automatically after uninstallation.
Installed foobar again. Just put your dll and nothing else. But still I would get that error.
I tried v1.3. I am yet to try your older versions.
Title: foo_spdif - SPDIF support for foobar
Post by: David Nordin on 2007-11-02 15:24:20
Is there no way to get RAW or PCM output?
For example when used with foo_dts, foo_ac3 or just foo_channel_mixer and thus output to any number of channels needed.
Title: foo_spdif - SPDIF support for foobar
Post by: chmv on 2007-12-06 09:27:53
First, many thank for plugin!!!

But I and my friend have same problem with some of DTS files. Foobar crash on files such as
"Telarc DTS 5.1 Surround Sampler (DTS CD).dts" and many others... I think, because foobar cannot receive the information about file. Plugin foo_input_dts.dll gives the information about file but in this case foo_spdif.dll does not work

I can give any information about OS, hardware/software. Just ask what...

Please help!
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-12-15 15:34:57
Sorry for my absence but I am very busy lately

Is there no way to get RAW or PCM output?
For example when used with foo_dts, foo_ac3 or just foo_channel_mixer and thus output to any number of channels needed.

There is no way to output pcm multichannel stream through spdif, I'm not aware of it at least. S/PDIF was designed for pcm stereo only. This idea could only be achieved by (re)encoding foobar's multichannel output to AC3 or DTS compressed stream and then pass it through spdif. However this would require redesigning whole foo_spdif plugin.

But I and my friend have same problem with some of DTS files. Foobar crash on files such as
"Telarc DTS 5.1 Surround Sampler (DTS CD).dts" and many others... I think, because foobar cannot receive the information about file. Plugin foo_input_dts.dll gives the information about file but in this case foo_spdif.dll does not work

I try to verify it in some time.
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2007-12-18 11:31:52
But I and my friend have same problem with some of DTS files. Foobar crash on files such as
"Telarc DTS 5.1 Surround Sampler (DTS CD).dts" and many others...

Ok, I need more details. What OS, soundcard, foobar version, foo_spdif plugin version.
You may also try to remove all your extra plugins except foo_spdif and then play the file.
Title: foo_spdif - SPDIF support for foobar
Post by: theseBoetz on 2008-05-14 08:44:49
When I play either a .DTS or an .AC3 file in Foobar, it stops playing after each song. So I have to manually start each song again. I play these files through the S/PDIF plugin (foo_spdif).
Title: foo_spdif - SPDIF support for foobar
Post by: OpaJo0 on 2008-05-15 21:40:57
When I play either a .DTS or an .AC3 file in Foobar, it stops playing after each song. So I have to manually start each song again. I play these files through the S/PDIF plugin (foo_spdif).

I can confirm this. It stops 1 second before end of file when "Audigy 2 NX" is selected als Output. This problem does not appear when using "Null Output".
Title: foo_spdif - SPDIF support for foobar
Post by: theseBoetz on 2008-05-16 13:04:15
I have an Audigy 2 NX as well, could it be that the soundcard is the problem? In other media players spdif output usually works like a charm.
Title: foo_spdif - SPDIF support for foobar
Post by: Madsly on 2008-06-06 10:24:01
Plz, upload  v1.3 to rapidshare (or anywhere else). Official site is down
Title: foo_spdif - SPDIF support for foobar
Post by: Madsly on 2008-06-06 11:24:15
http://www.mamboo.ru/media/foobar2000/foo_spdif_1.3.rar (http://www.mamboo.ru/media/foobar2000/foo_spdif_1.3.rar)
Title: foo_spdif - SPDIF support for foobar
Post by: Shayne on 2008-06-22 16:17:43
Hi

I had this working no problem for my ambisonic wav rips to 48hz dts in windows xp but i can not seem to get them to pass thru on windows vista.  Has anyone had luck with vista and foo_spdif?

Regards
Title: foo_spdif - SPDIF support for foobar
Post by: Shayne on 2008-06-29 23:34:51
Bump

Just wondering if anyone has this working with Vista or am i wasting my time.  Come on there must be people out their listening to DTS

Regards
Title: foo_spdif - SPDIF support for foobar
Post by: Shayne on 2008-07-05 17:47:13
Bump

Just wondering if anyone has this working with Vista or am i wasting my time.  Come on there must be people out their listening to DTS

Regards



Got it thanks all 

Regards
Title: foo_spdif - SPDIF support for foobar
Post by: VinVen on 2008-07-12 01:23:39

I tried to use your plugin with Foobar v0.9.4.3 & v0.9.4.4 and get the following error.

"Failed to load DLL: foo_spdif.dll
Reason: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."


I tried deleting the dll from the components folder and then putting back again as you suggested in  Post #59 but that doesn't help either.

Did that error appear with the last version? What about earlier releases? And did you try reinstalling foobar as the message advised? (I think the necessary step is uninstalling and deleting whole directory by hand before new installation)

EDIT:
I've just thought that maybe there is some conflict between foo_spdif and other component you have installed (duplicated guids for example). Could you try to remove all 3rd party plugins but foo_spdif and see if the problem still exists?


Hi - I'm having the very same issue - repeatedly get the message FAILED TO LOAD DLL: FOO_SPDIF.DLL. Tried to fix this for the past 30 hours and no luck. Have XP SP2 on my PC with Turtle Beach AA Amigo and SPDIF enabled. Tried with/without foo_ac3 in components library. No happiness.  PowerDVD however works fine and is able to passthrough .ac3 files to Denon Receiver using SPDIF.  Have an old 600mHz desktop (XP SP2 Creative Live) in my basement. Through the LAN when I reference the very same foobar2k installation from the basement PC it works fine and loads foo_spdif without issues. Any leads will be greatly appreciated. Using Foobar ver 0.9.5.4 and spdif ver 1.3 Thank you.
Title: foo_spdif - SPDIF support for foobar
Post by: VinVen on 2008-07-12 13:20:39


I tried to use your plugin with Foobar v0.9.4.3 & v0.9.4.4 and get the following error.

"Failed to load DLL: foo_spdif.dll
Reason: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."


I tried deleting the dll from the components folder and then putting back again as you suggested in  Post #59 but that doesn't help either.

Did that error appear with the last version? What about earlier releases? And did you try reinstalling foobar as the message advised? (I think the necessary step is uninstalling and deleting whole directory by hand before new installation)

EDIT:
I've just thought that maybe there is some conflict between foo_spdif and other component you have installed (duplicated guids for example). Could you try to remove all 3rd party plugins but foo_spdif and see if the problem still exists?


Hi - I'm having the very same issue - repeatedly get the message FAILED TO LOAD DLL: FOO_SPDIF.DLL. Tried to fix this for the past 30 hours and no luck. Have XP SP2 on my PC with Turtle Beach AA Amigo and SPDIF enabled. Tried with/without foo_ac3 in components library. No happiness.  PowerDVD however works fine and is able to passthrough .ac3 files to Denon Receiver using SPDIF.  Have an old 600mHz desktop (XP SP2 Creative Live) in my basement. Through the LAN when I reference the very same foobar2k installation from the basement PC it works fine and loads foo_spdif without issues. Any leads will be greatly appreciated. Using Foobar ver 0.9.5.4 and spdif ver 1.3 Thank you.


         
Okay resolved this. Apparently I was missing runtime components for Visual C++ libraries. You can obtain a copy from Microsoft Download area: search for "Microsoft Visual C++ 2008 Redistributable Package (X86)"
Thanks for the plugin and a fine music player.
Title: foo_spdif - SPDIF support for foobar
Post by: Mang1 on 2008-07-20 11:04:11
Hi,

Still having troubles with proper speed of playback. Got foo_spdif v1.3  and foobar v 0.9.5.1, spdif pass selected in audigy options on 48khz level (i doubt it has any influence).
I see the issue has been soleved by rel. 0.3 so...why it doesn't work for me?
Should i have some other plugin installed as well? Or is there smthg i've overlooked/ not switched?

Mangi
Title: foo_spdif - SPDIF support for foobar
Post by: Blualeono on 2008-08-22 20:06:02
http://www.mamboo.ru/media/foobar2000/foo_spdif_1.3.rar (http://www.mamboo.ru/media/foobar2000/foo_spdif_1.3.rar)

it's down! plz, reshare
Title: foo_spdif - SPDIF support for foobar
Post by: Slipstreem on 2008-08-22 20:20:00
The link still works fine for me. Give it another go.

Cheers, Slipstreem. 
Title: foo_spdif - SPDIF support for foobar
Post by: Tadas on 2008-10-05 10:11:01
Thanks for this dll, but I still got some issues. Firstly, I still don't know how to make audio files play at normal speed, I'm new with foobar and I just really don't know what to do. And I use foobar equalizer, it works fine with all audio files and it worked with dts files too. But when I installed that this dll file, it stoped working with dts files, so any ideas how to make the equlizer work?
Title: foo_spdif - SPDIF support for foobar
Post by: dts-fan on 2008-11-10 02:17:16

When I play either a .DTS or an .AC3 file in Foobar, it stops playing after each song. So I have to manually start each song again. I play these files through the S/PDIF plugin (foo_spdif).

I can confirm this. It stops 1 second before end of file when "Audigy 2 NX" is selected als Output. This problem does not appear when using "Null Output".

I have the same problem with spdif and Audigy 2 NX. Any ideas to solve the problem?
Title: foo_spdif - SPDIF support for foobar
Post by: Sazzily on 2008-11-21 15:14:43
Hiya,

I am rather new to all of this.. but have gotten the following to work:

----------------------------------------------------------
With "WASAPI: Digital Output Device (SPDIF)" as output module:
* DTS -> spdif -> amplifier at 44.1 kHz (named .wav)

With "DS: Digital Output Device (SPDIF)" as output module:
* DTS -> spdif -> amplifier at 48 kHz (named .dts)
* AC3 -> spdif -> amplifier at 48 kHz

With "DS: Digital Output Device (SPDIF)" as output module
and "Allow playback at 48kHz for files recorded at 44,1kHz":
* DTS -> spdif -> amplifier at 44.1 kHz with increased speed (+10% pitch) (named .dts)

I could not test AC3 -> spdif -> amplifier at 44.1 kHz as I have no such file.
----------------------------------------------------------

My OS is Vista 64bit and I use Foobar 0.9.5.6 with foo_spdif 1.3 and foo_out_wasapi 1.2

The problem I would like to have help with is that I have to switch output device manually to be able to play both 44,1kHz DTS and 48kHz DTS/AC3.
Are there any way to put all these different types in one playlist so that foobar automatically change sampling rate on the spdif stream to my amplifier?
The amplifier automatically switches between AC3 and DTS when I switch between them in 48k.

Thanks in advance for any responses and for developing the programs and plug-ins..

/ Sazzily
Title: foo_spdif - SPDIF support for foobar
Post by: conquerist on 2009-01-12 07:52:03
First off, thanks Grzesio, this is the first time I've been able to seamlessly use SPDIF with a media library. WMP+AC3Filter always was a pain because WMP keeps the last file open in DirectShow, so SPDIF output is "locked", preventing outputting more than a single song over SPDIF. The only solution was to ouput SPDIF as PCM, aka "kernel streaming" in foobar, which had its own drawbacks.

I'd like to request 2 features for a new version of foo_spdif.

Implementing ApeV2 tags would make foo_spdif alot more usable, because it eliminates the need to use another program or foo_ac3/foo_input_dts to view/edit/see tags. The source of foo_input_dts is available here (http://kode54.foobar2000.org/foo_input_dts_source.zip), which should be a good reference point (of course you'll also have to publish your source code in accordance to the GPL if you re-use the code).

The second feature is purely cosmetic. IMO, it would be "cleaner" to have "DTS" or "AC3" as the %codec% and the detailed info such as " 3/2.1 (5.1) 14bit LE" as %codec_profile%.
Title: foo_spdif - SPDIF support for foobar
Post by: infirmus on 2009-01-14 05:46:43
First off, thanks Grzesio, this is the first time I've been able to seamlessly use SPDIF with a media library. WMP+AC3Filter always was a pain because WMP keeps the last file open in DirectShow, so SPDIF output is "locked", preventing outputting more than a single song over SPDIF. The only solution was to ouput SPDIF as PCM, aka "kernel streaming" in foobar, which had its own drawbacks.

I'd like to request 2 features for a new version of foo_spdif.

Implementing ApeV2 tags would make foo_spdif alot more usable, because it eliminates the need to use another program or foo_ac3/foo_input_dts to view/edit/see tags. The source of foo_input_dts is available here (http://kode54.foobar2000.org/foo_input_dts_source.zip), which should be a good reference point (of course you'll also have to publish your source code in accordance to the GPL if you re-use the code).

The second feature is purely cosmetic. IMO, it would be "cleaner" to have "DTS" or "AC3" as the %codec% and the detailed info such as " 3/2.1 (5.1) 14bit LE" as %codec_profile%.

Agreed, thanks for the plugin.

I would also like to second those 2 feature suggestions. Especially the APEv2 tagging.

I tried muxing my AC3/DTS files into Matroska Audio (MKA) containers and tag the tracks using the Matroska metadata system but Foobar2000 doesnt seem to support that (although as far as I am aware FLAC in MKA containers can be tagged).

On a separate topic, the plugin doesnt seem to be working correctly with the latest Foobar2000 version. Foobar2000 sometimes crashes when seeking and the seek bar/time elapsed indicator does not increment (i.e. stays at 0:00). Here are two logfiles (Log 1 (http://pastebin.com/f731f24c5), Log 2 (http://pastebin.com/f790e9502)).

Another thing I tried with regard to getting SPDIF output was using the DirectShow plugin, but for some reason that doesnt seem to use AC3 Filter. AC3Filter is a DirectShow filter isnt it?
Title: foo_spdif - SPDIF support for foobar
Post by: tommypeters on 2009-02-26 16:25:44
Sorry for my absence but I am very busy lately

Is there no way to get RAW or PCM output?
For example when used with foo_dts, foo_ac3 or just foo_channel_mixer and thus output to any number of channels needed.

There is no way to output pcm multichannel stream through spdif, I'm not aware of it at least. S/PDIF was designed for pcm stereo only.

S/P-DIF is designed for only 2 channels of PCM, but it doesn't have to be stereo... With a sound card having 3 S/P-DIF outputs (or 3 sound cards)
you could output 5.1 if you just could address the individual channels. Kernel Streaming?
Title: foo_spdif - SPDIF support for foobar
Post by: roman2 on 2009-06-20 15:29:30
Hi,

I'de really like to use foo_spdif to pass some ac3 5.1 files through my spdif-output. But 'till now I've found no way to tag my files. I've tried to use foo_ac3 simultanously. That way I could tag my files, but couldn't prevent foo_ac3 to decode the ac3 stream, so I ended up in stereo.
So does anyone now a way to pass the ac3 stream through spdif and tag the files?
Title: foo_spdif - SPDIF support for foobar
Post by: Madsly on 2009-07-24 22:16:19
Grzesio:

Can you fix a problem of freezing zoobar player after each DTS file and out of seekbar (00:00)?

Meantime only way is to use Null output, but with this type there is no way to playing WAV-DTS/MP3/FLAC/ETC.

Also there is a problem with wrong DTS type identification of 96/24 tracks (48kHz in foobar)
Title: foo_spdif - SPDIF support for foobar
Post by: Kick29 on 2010-08-02 14:34:33
Hi all,

Is there any chance to see this plugin ported over to foobar 1.x versions? Currently, I believe it only works with foobar v0.9.x

Thanks,
Title: foo_spdif - SPDIF support for foobar
Post by: Grzesio on 2011-05-22 15:48:22
Hi...

I had a few minutes so I modified spdif plugin to work on Windows 7.
The old spdif plugin is very tricky so no wonder it refuse working on windows 7.
The new spdifer plugin (http://ga.cba.pl/) is typical input component for foobar which transforms raw
ac3 or dts stream into spdif stream and forwards this stream as uncompressed audio data directly to the sound card.
This means that it may work only when certain conditions are met, that is:
1. foobar doesn't alter this stream in any way.
2. foobar has bitperfect output which transfer audio data to the audio device without any alteration.


To get ac3/dts over spdif in foobar on windows 7 do the following:

1. Remove old foo_spdif.dll and replace it by foo_spdifer.dll
2. Install WASAPI output component and set foobar's output to it.
3. Remove (disable) all components that could alter in any way the audio stream from spdifer plugin.
  This includes all of dsp plugins but to be shure, remove all components except input and output ones.
4. Set the volume level of foobar to 100%.

This should help, helped me on Windows 7 and Realtek ALC889A on board.
If it doesn't work for your soundcard you may try asio output component
instead of wasapi one but wasapi should be more compatible.

If you experience problems with seeking to the end of the file with WASAPI output try to decrease buffer length to 500ms or below.
Title: foo_spdif - SPDIF support for foobar
Post by: Sandrine on 2011-05-22 16:27:34
I had a few minutes so I modified spdif plugin to work on Windows 7.
(...)

3. Remove (disable) all components that could alter in any way the audio stream from spdifer plugin.
  This includes all of dsp plugins but to be shure, remove all components except input and output ones.

While I consider this a very worthy undertaking, completely disabling the DSP in- and output components defies the purpose of using Fb2k for me. Many DSP decoding components provide additional functionality that should not need to be excluded, for example the tagging feature of the DTS plug-in.

I realize that this is not your fault, rather the plug-in programmers should finally give in to the user's request and make the sound processing optional and user switchable while maintaining their added functionality. This means, the DSP components in Fb2k should have some kind of pass-through mode, where the sound can be passed without pre-processing to a receiver with the appropriate codecs (AC3, DTS, etc.).

Update: Sorry, I realize now you were referring to other DSP components which would alter sound like replaygain. However, my previous point is still valid, if not for SPDIFER.
Title: foo_spdif - SPDIF support for foobar
Post by: mudlord on 2011-05-22 22:51:26
Quote
completely disabling the DSP in- and output components defies the purpose of using Fb2k for me.


Abusing the API much?
Title: foo_spdif - SPDIF support for foobar
Post by: Polouess on 2011-06-28 09:30:23
hi. first, thanks for porting this plugin.
however, on windows 7 x64 with foobar2000 1.1.7, I get this:

"Failed to load DLL: foo_spdifer.dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000."

do I need any additional MSVC*.dll?
Also, do I need the WASAPI output plugin if I have the ASIO plugin installed?
Title: foo_spdif - SPDIF support for foobar
Post by: lvqcl on 2011-06-28 16:30:47
Quote
do I need any additional MSVC*.dll?


Yes, it needs MSVCR100.DLL (from MSVC 2010 redist)
Title: foo_spdif - SPDIF support for foobar
Post by: Polouess on 2011-07-02 09:59:01
Quote
do I need any additional MSVC*.dll?


Yes, it needs MSVCR100.DLL (from MSVC 2010 redist)


cool thanks, working now
Title: foo_spdif - SPDIF support for foobar
Post by: murrko on 2012-02-07 17:41:04
aww, http://ga.cba.pl/ (http://ga.cba.pl/) is down for several days...
Grzesio or somebody who have foo_spdifer downloaded, can you share it somewhere?
Title: foo_spdif - SPDIF support for foobar
Post by: banan on 2012-03-10 14:46:00
Hello. I have a cheap plug-and-play USB sound card that uses standard windows drivers which have some limitations, namely: the driver does not support SPDIF output. WinampAC3 plugin in Winamp has a feature called "Output SPDIF as PCM". In the manual they call it "SPDIF-as-PCM trick". What it essentially does is the following:

"Because of PCM nature of SPDIF transmission we can trick the sound card and say that we want to transmit PCM data, but send compressed stream instead."

It works like a charm.

Now the question: is there any way to do this with foo_spdif.dll plugin? So far it says: "Unable to open item for playback (Sound card driver has refused SPDIF format!)"

I have tried Kernel Streaming plugin, but it keeps saying "Unrecoverable playback error: KS output error: error opening device"
Title: foo_spdif - SPDIF support for foobar
Post by: banan on 2012-03-10 15:08:09
I just tried foo_spdifer.dll -- and to my surprise it does exactly what I need! Saying that dll is for Windows 7 is a bit misleading. I simply replaced foo_spdif.dll with foo_spdifer.dll on my XP machine and now my USB sound card is passing through multichannel DTS and AC3 streams without any issues.
Title: foo_spdif - SPDIF support for foobar
Post by: newanti on 2012-03-24 16:03:44
Hi. I can't  access to http://ga.cba.pl/ (http://ga.cba.pl/) for some reason. Can anyone send foo_spdifer.dll to my mail newanti@yandex.ru or share it somewhere?
Title: foo_spdif - SPDIF support for foobar
Post by: westuaragorn on 2012-06-23 14:51:14
Hello I can't load this foo_spdif and when I turning on my foobar with this addon it shows me this note: Failed to load DLL: foo_spdif.dll
Reason: Not a valid Win32 application.

And I don't know what to do with this, can anyone help mee?
Title: foo_spdif - SPDIF support for foobar
Post by: lvqcl on 2012-06-23 15:00:09
Redownload foo_spdif here: http://web.archive.org/web/20100512160004/.../www.ga.cba.pl/ (http://web.archive.org/web/20100512160004/http://www.ga.cba.pl/)
Title: foo_spdif - SPDIF support for foobar
Post by: westuaragorn on 2012-06-23 15:14:47
Redownload foo_spdif here: http://web.archive.org/web/20100512160004/.../www.ga.cba.pl/ (http://web.archive.org/web/20100512160004/http://www.ga.cba.pl/)



Thnaks this works ofr me. But i thought that this plugin will work with mp3 too on foobar, and why version don't work with my win xp?

And there is only this plugin for coaxial spdif or is there another stuff?
Title: foo_spdif - SPDIF support for foobar
Post by: lvqcl on 2012-06-23 15:22:44
This plugin is needed for bitstreaming of DTS and AC3, and is useless for MP3 files.
Title: foo_spdif - SPDIF support for foobar
Post by: westuaragorn on 2012-06-23 15:30:08
This plugin is needed for bitstreaming of DTS and AC3, and is useless for MP3 files.

Is there anything which can be used with mp3? Or I just have to rely on my speakers decoder( I have logitech z 5500) ?
Title: foo_spdif - SPDIF support for foobar
Post by: newanti on 2012-06-24 13:27:07
Redownload foo_spdif here: http://web.archive.org/web/20100512160004/.../www.ga.cba.pl/ (http://web.archive.org/web/20100512160004/http://www.ga.cba.pl/)

Thanks a lot
Title: foo_spdif - SPDIF support for foobar
Post by: westuaragorn on 2012-07-06 13:40:36
where can i found foo_ousKS ? Can anyone help me? because even google  didn't found it
Title: foo_spdif - SPDIF support for foobar
Post by: Brazil2 on 2012-07-06 13:55:32
where can i found foo_ousKS ?

I guess you're talking about foo_out_ks, Kernel Streaming support component, so here it is:
http://www.foobar2000.org/components/view/foo_out_ks (http://www.foobar2000.org/components/view/foo_out_ks)
Title: foo_spdif - SPDIF support for foobar
Post by: westuaragorn on 2012-07-07 13:48:57
where can i found foo_ousKS ?

I guess you're talking about foo_out_ks, Kernel Streaming support component, so here it is:
http://www.foobar2000.org/components/view/foo_out_ks (http://www.foobar2000.org/components/view/foo_out_ks)



thanks:)
Title: foo_spdif - SPDIF support for foobar
Post by: Lurker on 2013-01-05 12:18:34
Can somebody share a copy of the latest foo_spdifer.dll?
Title: foo_spdif - SPDIF support for foobar
Post by: newanti on 2013-01-05 15:02:39
U can get it here http://liveweb.archive.org/http://www.ga.c...l/spdif_w7.html (http://liveweb.archive.org/http://www.ga.cba.pl/spdif_w7.html)
Title: foo_spdif - SPDIF support for foobar
Post by: Lurker on 2013-01-05 17:49:00
U can get it here http://liveweb.archive.org/http://www.ga.c...l/spdif_w7.html (http://liveweb.archive.org/http://www.ga.cba.pl/spdif_w7.html)

Thank you! I've read it worked for somebody under WinXP SP3, but for me it does not work, while the old foo_spdif.dll works correctly.
Title: foo_spdif - SPDIF support for foobar
Post by: Lurker on 2013-01-06 13:18:45
OK, played around, and realized that the new spdifer is like "direct PCM mode" in other similar output plug-ins: it does not requests S/PDIF mode from the sound card. For me, it finally works via ASIO output.

But both foo_spdif and foo_spdifer miss gapless playback! Also, the both miss playback of compressed (flac, ape) DTS files.

For me, direct streaming via ASIO to the sound card connected via coaxial or optical cable to the sound processor works without any plugins, finally. Though it would be good to have a plug-in like foo_spdif, but which provides gapless playback, at least.
Title: foo_spdif - SPDIF support for foobar
Post by: Ptijohn on 2013-05-24 21:00:04
Hi,
I'm trying to use spdifer on windows 7 pro (64 bits), with wasapi and realtek onboard chipset.
However, after installing the dll, every time i reboot foobar, it crashes after a few seconds... (without starting any song)
Moreover, if i am lucky enough to launch a DTS file, the sound that i get is just a sizzling (is that how you say it in English ?), so nothing good.. And foobar crashes anyway just after that...

I was running foobar v1.1.10 (not working), so i tried v1.2.6 but the result wasn't better.

Any idea of what i'm doing wrong ? I disabled the inbuilt dts component of foobar, but i'm not sure what components i should also disable :/ (no DSP is activated, default in foobar)

PS : The passthrough is working well with MPC-HC (with LAV Filters), but it would be great to have it working with foobar.

Thanks in advance !
Title: foo_spdif - SPDIF support for foobar
Post by: Ptijohn on 2013-05-24 22:19:10
Nevermind, WASAPI was just badly installed... It wouldn't load correctly at first.
It's now working like a charm ! Thanks a lot for your work !
Title: foo_spdif - SPDIF support for foobar
Post by: Sandrine on 2013-06-13 17:43:45
foobar 1.2.7, dts pass-through not working for me despite foo_spdifer 1.0. Anyone else had more luck?
Title: Re: foo_spdif - SPDIF support for foobar
Post by: feanor_ on 2017-11-13 21:39:45
I have installed foobar v1.3.16 and added foo_spdifer_1.0 component to it in order to play DTS 5.1 via S/PDF (optical) output.
I also added WASAPI.fb2k output component but only stereo audio appeared on my Samsung player.
Can somebody tell me what should I do in order to setup the correct 5.1 output?
(VLC player can send the 5.1 signal via optical output, but I would like to use foobar instead)
Thank you for your help in advance!
Title: Re: foo_spdif - SPDIF support for foobar
Post by: krabapple on 2019-07-21 01:26:07
What is the current, most up to date plugin for S/PDIF output??

foo_spdifer was built for Win7.