Audio Crackle when Pause the Playback

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.
Schnuffel
Blank Cone
Blank Cone
Posts: 82
Joined: 26 Nov 2011 20:13
VLC version: 2.1.5
Operating System: Windows 7 64
Location: Germany

Audio Crackle when Pause the Playback

Postby Schnuffel » 23 Feb 2012 05:00

hi

i noticed that vlc (seems all versions doing this)
will produce 2 small crackles when pause the playback
(no matter if its an audio or video file)

when i press stop it doesn't occur
changing the audio output have no effect

i wonder why vlc is doing this (and how it can be fixed)




btw i can report something nice too
vlc is able to play old copy protected audio cds without errors :-)
wmp and foobar2k cannot (they skip 1st track)
only eac and mpc hc can play them too

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Audio Crackle when Pause the Playback

Postby VLC_help » 23 Feb 2012 17:18

Does the crackles happen if you playback network stream?

Schnuffel
Blank Cone
Blank Cone
Posts: 82
Joined: 26 Nov 2011 20:13
VLC version: 2.1.5
Operating System: Windows 7 64
Location: Germany

Re: Audio Crackle when Pause the Playback

Postby Schnuffel » 23 Feb 2012 21:00

yep it happens with ALL media files
streams too

when i press pause the audio crackle 2 times
these "crackles" are little parts of the media file
like hiccup

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Audio Crackle when Pause the Playback

Postby VLC_help » 24 Feb 2012 20:16

Does it help if you rename libspeex_resampler_plugin.dll to libspeex_resampler_plugin.dll2 and libsamplerate_plugin.dll to libsamplerate_plugin.dll2 ?

Schnuffel
Blank Cone
Blank Cone
Posts: 82
Joined: 26 Nov 2011 20:13
VLC version: 2.1.5
Operating System: Windows 7 64
Location: Germany

Re: Audio Crackle when Pause the Playback

Postby Schnuffel » 25 Feb 2012 00:55

it has no effect

i read in other another forum that
vlc will not stop immediately when u press pause
it will continue to play some frames
may be this is the reason

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Audio Crackle when Pause the Playback

Postby VLC_help » 25 Feb 2012 19:56

The stop isn't instant, but there shouldn't be crackles.

Schnuffel
Blank Cone
Blank Cone
Posts: 82
Joined: 26 Nov 2011 20:13
VLC version: 2.1.5
Operating System: Windows 7 64
Location: Germany

Re: Audio Crackle when Pause the Playback

Postby Schnuffel » 13 Jun 2012 05:01

i havn't used vlc for a while
just tried latest nightly build
vlc-2.1.0-git-20120613-0003-win32

and the crackles are gone
now audio stops and pauses without errors :-)

i use a new soundcard
asus xonar essence one
and have installed a clean windows
may be this is a reason too


edit: tested with 2.0.1 and it still crackles

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Audio Crackle when Pause the Playback

Postby Jean-Baptiste Kempf » 03 Jul 2012 18:17

Can you retry the next NB of 2.1?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

TEMAndroid
New Cone
New Cone
Posts: 1
Joined: 03 Jul 2012 22:04

Re: Audio Crackle when Pause the Playback

Postby TEMAndroid » 03 Jul 2012 22:10

I have same problem in Win.. Volume change with delay and "crackle" when press Pause..
I try nightly build - and it's really help, but now have new problem - on change volume VLC has crached...
So if in nightly build change Audio Output to DirectX waveOut - issue not solving, but perfectly work when Output module set to "Windows Audio Session output".
Tested on WIn7 32 and 64 bit...
VLC 2.1.0-git-20120703-0403

Schnuffel
Blank Cone
Blank Cone
Posts: 82
Joined: 26 Nov 2011 20:13
VLC version: 2.1.5
Operating System: Windows 7 64
Location: Germany

Re: Audio Crackle when Pause the Playback

Postby Schnuffel » 06 Aug 2012 19:41

sorry i haven't looked into this thread

i just tested
vlc-2.1.0-git-20120806-0005
and audio is ok without crakles

in 2.03 and 2.04 nb audio still crackles when pausing playback


yep seems latest nightly builds have some other problems
for e.g. change volume with mouse doesn't work
language cannot be changed
even english is not shown in options the field is just empty
and visualisations are still broken (since years :-) )
and there is a new bug: some wmv files
won't play audio properly


but its called nightly build so some bugs can occour :-)


edit: when using direct x for audio output wmv audio is playing fine again
and TEMAndroid could disable a vlc crash ( i had the same with a previous nb version) by changing to direct x output
i guess there is a small bug in standard audio output module

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Audio Crackle when Pause the Playback

Postby Rémi Denis-Courmont » 06 Aug 2012 20:29

I think the bug is still there in the DirectX/DirectSound output. It is fixed only if you select the Default or WAS(API) audio output.

As for "won't play audio properly", that's way too vague to be useful.

Volume not responding is probably http://trac.videolan.org/vlc/ticket/6880
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Schnuffel
Blank Cone
Blank Cone
Posts: 82
Joined: 26 Nov 2011 20:13
VLC version: 2.1.5
Operating System: Windows 7 64
Location: Germany

Re: Audio Crackle when Pause the Playback

Postby Schnuffel » 06 Aug 2012 20:51

with standard output
i cannot change volume with mouse (in previous nb versions vlc crashed while trying to do it)
with some wmv files audio wont play properly (instead of audio i hear only random clicks but the messages shows no errors)

with direct x output
wmv files play audio fine again
and i can change volume with mouse again (but only between 0 and 100% , higher is not possible, but higher than 100% is not usefull anyway)

but the audio crackle when pausing
like u said its still unfixed with direct x

i cannot see a WAS(API) audio output


win32 output seems to have some bugs too
no audio crackles when pausing and wmv audio is playing fine
but...
i can change audio volume only if i go with mouse cursor over the audio field in the gui
if i do it in video window it doesn't work
and some videos play complety without any audio output

seems all audio outputs have different bugs....
volume not responding seems to be connected with the selected audio output

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Audio Crackle when Pause the Playback

Postby Rémi Denis-Courmont » 07 Aug 2012 14:12

Windows Audio Session is WASAPI.

And there is no "win32" audio output. I don't have a clue what you're going on about.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Schnuffel
Blank Cone
Blank Cone
Posts: 82
Joined: 26 Nov 2011 20:13
VLC version: 2.1.5
Operating System: Windows 7 64
Location: Germany

Re: Audio Crackle when Pause the Playback

Postby Schnuffel » 07 Aug 2012 16:45

"win32 waveout extension output" is full name

windows audio session
has some bugs too
it doesn't crackle when pausing but
with some wmv files ( not all ) audio is not playing properly only random clicks are played
and volume change works only when mouse cursor is over audio field in gui
in video window it doesn't work



btw the windows audio session output seems not to work properly anyway
normally with wasapi the windows mixer should be overriden
for e.g. when playing a 96k file it should be played like that
but even with wasapi output the file is transformed to 44,1k

my soundcard (asus xonar essence one) shows the frequenz and no matter which output module i use in vlc
its allways 44,1k (default windows resample setting)

so the vlc wasapi output does NOT override the windows settings or vlc resample all audio material on its own to 44,1k
no matter which frequenz the original file is encoded with

if u can hear a difference between 44,1k and 48, 96, 176,4 or 192 is another question
but wasapi plugin for foobar2k plays the file like it was encoded without resample it.

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Audio Crackle when Pause the Playback

Postby Rémi Denis-Courmont » 07 Aug 2012 23:28

None of the VLC audio outputs override the Windows settings. That would require support for exclusive mode access.

Exclusive mode is inadequate as a default as it does not cooperate with other applications. Consequently, it has never been implemented in Windows VLC, regardless of the output (WASAPI, DirectSound, WaveOut or SDL). There is a feature request for that, but so far nobody has proposed to implement it or to sponsor the implementation.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 71 guests