Playback from capturing device gives crackling audio

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.
maitrepiet
Blank Cone
Blank Cone
Posts: 69
Joined: 27 Oct 2009 14:44

Playback from capturing device gives crackling audio

Postby maitrepiet » 01 Jun 2014 16:00

Hi,
I'm trying to playback from my Avermedia Live Gamer Portable (C875), using playback from capturing device, using Dshow.
The video is fine, but the audio is crackling. Looking at the debug info there seems to be a synchronistion or resampling problem.

I'm using VLC 2.1.3 on Windows 7 32 bit. I have the same problem with vlc 2.0.8.

when ussing ffplay, both audio and video are fine, so it is not a hardware problem.
I use this command:
ffplay -f dshow -i video="LGP Stream Engine":audio="LGP Stream Engine Audio"

Can anyone help.

Attached is the log:

Code: Select all

status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (97123): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 97123 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (97971): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 97971 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (97820): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 97820 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (97986): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 97986 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76744): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76744 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76748): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76748 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76442): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76442 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96855): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96855 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96475): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96475 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75193): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75193 us) [0status change: ( audio volume: 141 ) 3[01334aa4] main audio output warning: eplayback too late (75621): up-samplingc [01334aa4] main audio output debug: resampling stopped (drift: 75621 us)d8 ec] status change: ( audio volume: 141 ) direct3d vout display debug: Display:332 (hr=0x88760872) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96469): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96469 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96431): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96431 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (98124): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 98124 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76769): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76769 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76646): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76646 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76731): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76731 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76780): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76780 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75997): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75997 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76969): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76969 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76342): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76342 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (97383): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 97383 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75885): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75885 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75533): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75533 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96892): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96892 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96602): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96602 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75930): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75930 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96863): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96863 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76007): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76007 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76131): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76131 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96628): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96628 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75999): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75999 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75670): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75670 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76097): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76097 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75357): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75357 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76105): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76105 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75659): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75659 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75726): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75726 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75417): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75417 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (74863): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 74863 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (74987): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 74987 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75029): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75029 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96394): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96394 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (95946): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 95946 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (95795): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 95795 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (97078): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 97078 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96814): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96814 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96980): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96980 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76240): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76240 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75386): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75386 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76202): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76202 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76378): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76378 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76184): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76184 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (118859): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 118859 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (97506): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 97506 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (97717): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 97717 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96974): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96974 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (97117): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 97117 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75519): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75519 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96406): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96406 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96232): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96232 us) status change: ( audio volume: 141 ) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (96580): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 96580 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75568): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75568 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75510): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75510 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75943): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75943 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76042): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76042 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (76087): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 76087 us) status change: ( audio volume: 141 ) [01334aa4] main audio output warning: playback too late (75394): up-sampling [01334aa4] main audio output debug: resampling stopped (drift: 75394 us) status change: ( audio volume: 141 ) [0136de74] main playlist debug: incoming request - stopping current input [03ecd8ec] main vout display debug: auto hiding mouse cursor [03dstatus change: ( audio volume: 141 ) 999d4] [main input debug: 0control: stopping input1334aa4] main audio output war ning: playback too late (96433): up-sampling[03e0cd7c] main decoder debug: removing module "rawvideo"[0136de74] main playlist debug: [incoming request - stopping current input01334aa4] main audio output debug: resampling stopped (drift: 96433 us)[03e0cd7c] main dec oder debug: [killing decoder fourcc `YUY2', 0 PES in FIFO0136de74] main playlist debug: finished input [0136status change: ( audio volume: 141 ) de74] main playlist debug: saving a free vout [0136de74] main playlist debug: reusing provided vout [03e6508c] main decoder debug: removing module "araw" [03e6508c] main decoder debug: killing decoder fourcc `s16l', 0 PES in FIFO [03eb5074] main audio converter debug: removing module "audio_format" [03eb4d4c] main audio filter debug: removing module "scaletempo" [029111e4] main volume debug: removing module "float_mixer" [0136de74] main playlist debug: keeping audio output [01327efc] main demux debug: removing module "dshow" [01327efc] dshow demux debug: CaptureFilter::Pause [01327efc] dshow demux debug: CaptureFilter::Pause [01327efc] dshow demux debug: CaptureFilter::Stop [01327efc] dshow demux debug: CapturePin::EndFlush [01327efc] dshow demux debug: CaptureFilter::Stop [01327efc] dshow demux debug: CapturePin::EndFlush [01327efc] dshow demux debug: releasing DirectShow [01327efc] dshow demux debug: DeleteDirectShowGraph: Removing filters [01327efc] dshow demux debug: DeleteDirectShowGraph: Removing capture filter [01327efc] dshow demux debug: CaptureFilter::EnumPins [01327efc] dshow demux debug: CapturePin::QueryDirection [01327efc] dshow demux debug: CapturePin::ConnectedTo [OK] [01327efc] dshow demux debug: CapturePin::Disconnect [OK] [01327efc] dshow demux debug: CaptureFilter::SetSyncSource [01327efc] dshow demux debug: CaptureFilter::JoinFilterGraph [01327efc] dshow demux debug: CaptureFilter::GetState 0 [01327efc] dshow demux debug: DeleteDirectShowGraph: Removing device filter [01327efc] dshow demux debug: DeleteDirectShowGraph: Removing capture filter [01327efc] dshow demux debug: CaptureFilter::EnumPins [01327efc] dshow demux debug: CapturePin::QueryDirection [01327efc] dshow demux debug: CapturePin::ConnectedTo [OK] [01327efc] dshow demux debug: CapturePin::Disconnect [OK] [01327efc] dshow demux debug: CaptureFilter::SetSyncSource [01327efc] dshow demux debug: CaptureFilter::JoinFilterGraph [01327efc] dshow demux debug: CaptureFilter::GetState 0 [01327efc] dshow demux debug: DeleteDirectShowGraph: Removing device filter [03d999d4] main input debug: Program doesn't contain anymore ES [0136de74] main playlist debug: incoming request - stopping current input [0136de74] main playlist debug: dead input [03dd5fcc] main video output debug: [destroying useless vout012f12b4] qt4 interf ace debug: IM: Deleting the input [03ecd8ec] main vout display debug: removing module "direct3d" [03ecd8ec] direct3d vout display debug: Direct3D scene released successfully [03ecd8ec] direct3d vout display debug: DirectXEventThread terminating [03ecd8ec] direct3d vout display debug: DirectXCloseWindow [03ecd8ec] direct3d vout display debug: WinProc WM_DESTROY [03e67f04] qt4 window debug: releasing video... [012f12b4] qt4 interface debug: Video is not needed anymore [03eb4a24] main spu text debug: removing module "freetype" [03eb46fc] main scale debug: removing module "yuvp" [03eb43d4] main scale debug: removing module "swscale"

maitrepiet
Blank Cone
Blank Cone
Posts: 69
Joined: 27 Oct 2009 14:44

Re: Playback from capturing device gives crackling audio

Postby maitrepiet » 04 Jun 2014 13:16

I suspect it has to do with a loss of synchronisation between audio and video. When I use ffmpeg, I notice a delay of the audio with respect to the video of about ms. (audio late).

I suspect that ffmpeg, just leaves this as is, and that vlc tries to compesate for this by resampling.

Is there a possible to force VLC not to try to sync?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 48 guests