[0.8.6-rc1] A/52 over S/PDIF broken

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
FFWD
Blank Cone
Blank Cone
Posts: 12
Joined: 10 Dec 2005 14:38
Location: Netherlands
Contact:

[0.8.6-rc1] A/52 over S/PDIF broken

Postby FFWD » 02 Dec 2006 17:46

I have a Logitech Z-5500 5.1 speakerset connected via optical S/PDIF to my onboard Realtek ALC880 HD Audio soundcard.

When I play a movie with AC3 audio and select 'Audio > Audio Device > A/52 over S/PDIF' the audio track begins to stutter/skipping.

Selecting the 'Win32 WaveOut extension output' audio output module does not resolve this problem on both Windows XP SP2 and Windows Vista RTM.

I am using the most recent drivers for my soundcard.

Anybody?

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 02 Dec 2006 21:50


FFWD
Blank Cone
Blank Cone
Posts: 12
Joined: 10 Dec 2005 14:38
Location: Netherlands
Contact:

Postby FFWD » 02 Dec 2006 23:32

vlc-0.8.6-test2a has the same problem as vlc-0.8.6-rc1.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 03 Dec 2006 03:33

Does 0.8.5 pose the issue for you??

FFWD
Blank Cone
Blank Cone
Posts: 12
Joined: 10 Dec 2005 14:38
Location: Netherlands
Contact:

Postby FFWD » 03 Dec 2006 13:01

I just tested it; 0.8.4, 0.8.4a and 0.8.5 have the same problem.

0.8.2 works fine.

With all post-0.8.2 releases the sound is slightly less distorted if I enable 'Win32 WaveOut extension output' audio output.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 04 Dec 2006 00:56

Starting with 0.8.4 the DirectX module was rebuilt to be more compatible with DirectX 9c and it was recommended at that time by Microsoft that you update audio and video drivers. It's also smart to keep current with DirectX runtime. There are timing issues with S/PDIF and DirectX and we recommend shutting it off by using the older method of addressing the audio card "Win32 wavOut extension output", but all digital video is follow audio for sync. If the video is not being controlled properly or the audio is not providing this control there will be problems.

FFWD
Blank Cone
Blank Cone
Posts: 12
Joined: 10 Dec 2005 14:38
Location: Netherlands
Contact:

Postby FFWD » 04 Dec 2006 10:42

Starting with 0.8.4 the DirectX module was rebuilt to be more compatible with DirectX 9c and it was recommended at that time by Microsoft that you update audio and video drivers.
Using the latest drivers on both platforms
It's also smart to keep current with DirectX runtime.
On XP I installed the DirectX 9.0c October 2006 end-user redistributable, Vista uses DirectX 10
There are timing issues with S/PDIF and DirectX
Other apps don't seem to have timing issues...
and we recommend shutting it off by using the older method of addressing the audio card "Win32 wavOut extension output",
AC3 streams are only slightly less distorted if I enable 'Win32 WaveOut extension output' audio output
but all digital video is follow audio for sync. If the video is not being controlled properly or the audio is not providing this control there will be problems.
VLC is controlling the audio/video, or am I wrong?

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 04 Dec 2006 18:23

Other apps don't seem to have timing issues...
This is because many other programs link the two functions without you knowing about it.
On XP I installed the DirectX 9.0c October 2006 end-user redistributable, Vista uses DirectX 10
I have no idea how Vista will react and DirectX 10 is not available for XP.
VLC is controlling the audio/video, or am I wrong?
VLC selects (internally) a sync function. The aouts, vouts and drivers do the rest. Please remember S/PIDF is a pass through to your audio card.

FFWD
Blank Cone
Blank Cone
Posts: 12
Joined: 10 Dec 2005 14:38
Location: Netherlands
Contact:

Postby FFWD » 04 Dec 2006 19:39

So this isn't going to be fixed (not on any to-do list)?

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 05 Dec 2006 01:12

This is all I could find on S/PDIF

http://trac.videolan.org/vlc/ticket/174

Please note the date and nature of the problem.

FFWD
Blank Cone
Blank Cone
Posts: 12
Joined: 10 Dec 2005 14:38
Location: Netherlands
Contact:

Postby FFWD » 05 Dec 2006 01:50

'Bugs paradize', that doesn't sound good... Thanks for the help though.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 06 Dec 2006 04:12

That's what you get when a project is without seasoned windows developers.
Don't use PMs for support questions.

blingo
New Cone
New Cone
Posts: 5
Joined: 08 Dec 2006 11:48

Postby blingo » 08 Dec 2006 14:45

Am having the same problem using optical output on my Asus A8N-E motherboard connect to my sony receiver. I will try the wave out fix see if that works later on tonight, hope it does. Will let you guys know how i get on.

RoRa
New Cone
New Cone
Posts: 3
Joined: 12 Dec 2006 11:51

Postby RoRa » 12 Dec 2006 12:12

However, after installing the final version vlc-0.8.6-win32.exe, AC3 Sound ist still broken via S/PDIF.

Using the libaout_directx_plugin.dll from version 0.8.2 works fine. But that can't be the final solution . . .

Where do I find the waveoutfix?

kr
RoRa

cumulus7
New Cone
New Cone
Posts: 2
Joined: 12 Dec 2006 17:41

Postby cumulus7 » 12 Dec 2006 18:06

Hi,

i have the same problem: stuttering AC3 files.
WinXP SP2, VLC 0.8.6.

I then installed the old VLC 0.8.2 in another directory and copied its libaout_directx_plugin.dll to the 0.8.6s plugin directory.
THANX RoRa!!!!!

Now it works as it should.

I hope this gets fixed in the default installation files as it will affect a lot of people.

CU
Markus

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 13 Dec 2006 10:57

You CAN'T trade library versions in VLC. The results can and will cause very unexpected results. The issue seems to be your audio card as the last time this module was rebuilt was for 0.8.4 and DirectX 9c.

RoRa
New Cone
New Cone
Posts: 3
Joined: 12 Dec 2006 11:51

Postby RoRa » 13 Dec 2006 12:36

You CAN'T trade library versions in VLC.
I thought this way, thats why I am trying to find a clean solution. I tested it with DirectX 9.0c, SoundMax Digital Audio (onboard) and Soundblaster Audigy 2 ZS with the newest available drivers. No way to get it running with the current "libaout_directx_plugin.dll".

But now, I found another solution. I just forget the (default) DirectX Output and use the "Win32 waveOut extension output".

Preferences > Audio > Output modules > Advanced options > Audio output module

Now I have 5.1 via S/PDIF working fine, without trading any library versions and I'm going to watch the DVD "Terminator IV - Killing DirectX" now.

kr
RoRa

cumulus7
New Cone
New Cone
Posts: 2
Joined: 12 Dec 2006 17:41

Postby cumulus7 » 13 Dec 2006 16:05

I am using a Realtek 882D Chipset.
No Soundmax.
So it doesnt seem to be entirely soundcard related since we both have different soundcards but the same problem

And btw: Nero ShowTime works fine...

CU
Markus

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 13 Dec 2006 18:37

You CAN'T trade library versions in VLC.
I thought this way, thats why I am trying to find a clean solution. I tested it with DirectX 9.0c, SoundMax Digital Audio (onboard) and Soundblaster Audigy 2 ZS with the newest available drivers. No way to get it running with the current "libaout_directx_plugin.dll".

But now, I found another solution. I just forget the (default) DirectX Output and use the "Win32 waveOut extension output".

Preferences > Audio > Output modules > Advanced options > Audio output module

Now I have 5.1 via S/PDIF working fine, without trading any library versions and I'm going to watch the DVD "Terminator IV - Killing DirectX" now.

kr
RoRa
This is how it worked in 0.8.5 too! Most pros will agree there are timing issues using DirectX and S/PDIF.

RoRa
New Cone
New Cone
Posts: 3
Joined: 12 Dec 2006 11:51

Postby RoRa » 13 Dec 2006 20:37

Most pros will agree there are timing issues using DirectX and S/PDIF.
Why is DirectX set as the default audio output module then? Anyway, maybe it should change automatically when selecting S/PDIF or at least a tooltip should appear.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 14 Dec 2006 09:27

Because S/PDIF is not the default and it works fine then. Many programs link the two functions VLC does not.

coverdale76
New Cone
New Cone
Posts: 2
Joined: 23 Jan 2007 10:47
Contact:

Postby coverdale76 » 23 Jan 2007 11:07

Hi,

i have the same problem: stuttering AC3 files.
WinXP SP2, VLC 0.8.6.

I then installed the old VLC 0.8.2 in another directory and copied its libaout_directx_plugin.dll to the 0.8.6s plugin directory.
THANX RoRa!!!!!

Now it works as it should.

I hope this gets fixed in the default installation files as it will affect a lot of people.

CU
Markus
That's it! Cool~ Thanks!!


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests