Page 1 of 1

DShow audio takes a VERY LONG time to start

Posted: 25 Feb 2013 11:28
by Videogamer555
DShow audio and video means audio and video from a hardware device rather than a media file. And t doesn't matter if streaming out, or directly playing it, or converting it. Any access to DShow audio takes up to a minute to start! Meanwhile DShow video starts almost instantly! If doing audio and video, then the video does wait for the audio, in order to remain in synch. But why is the DShow AUDIO taking so much time to start?

Please help.

Re: DShow audio takes a VERY LONG time to start

Posted: 08 Sep 2013 16:48
by teamol
I have exactly the same problem

Re: DShow audio takes a VERY LONG time to start

Posted: 09 Sep 2013 11:44
by teamol

Code: Select all

main debug: adding item `dshow://' ( dshow:// ) qt4 debug: Adding a new MRL to recent ones: dshow:// main debug: meta ok for (null), need to fetch art main debug: rebuilding array of current - root Seznam skladeb main debug: rebuild done - 1 items, index -1 main debug: processing request item: dshow://, node: null, skip: 0 main debug: resyncing on dshow:// main debug: dshow:// is at 0 main debug: starting playback of the new playlist item main debug: resyncing on dshow:// main debug: dshow:// is at 0 main debug: creating new input thread main debug: Creating an input for 'dshow://' main debug: looking for meta fetcher module: 1 candidate main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\irou\AppData\Local\Temp' main debug: `dshow://' gives access `dshow' demux `' path `' main debug: creating demux: access='dshow' demux='' location='' file='(null)' main debug: looking for access_demux module: 1 candidate dshow debug: dshow-vdev: none dshow debug: dshow-adev: Mikrofon (HD Pro Webcam C920) lua debug: Trying Lua scripts in C:\Users\irou\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac main debug: using meta fetcher module "lua" main debug: TIMER module_need() : 1.750 ms - Total 1.750 ms / 1 intvls (Avg 1.750 ms) main debug: removing module "lua" main debug: searching art for dshow:// main debug: looking for art finder module: 2 candidates lua debug: Trying Lua scripts in C:\Users\irou\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac dshow debug: skipping video device lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac dshow debug: found device: MV ASF Stream Audio Client Source dshow debug: found device: Mikrofon (HD Pro Webcam C920) dshow debug: found device: Realtek Digital Input (Realtek dshow debug: asking for device: Mikrofon (HD Pro Webcam C920) lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: no art finder module matching "any" could be loaded main debug: TIMER module_need() : 5.488 ms - Total 5.488 ms / 1 intvls (Avg 5.488 ms) main debug: art not found for dshow:// qt4 debug: IM: Setting an input dshow debug: asked for Mikrofon (HD Pro Webcam C920), binding to Mikrofon (HD Pro Webcam C920) dshow debug: using device: Mikrofon (HD Pro Webcam C920) dshow debug: EnumDeviceCaps: output pin: Capture dshow debug: EnumDeviceCaps: input pin: Hlavn� hlasitost dshow debug: EnumDeviceCaps: trying pin Capture !!!!!!!!!!!!!!!! Here is stays for 20 seconds !!!!!!!!!!!!!!!! dshow debug: EnumDeviceCaps: input pin default format configured dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:44100 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:44100 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:44100 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:32000 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:32000 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:22050 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:22050 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:11025 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:11025 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:8000 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:8000 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:44100 bits/sample:8 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:44100 bits/sample:8 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:22050 bits/sample:8 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:22050 bits/sample:8 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:11025 bits/sample:8 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:11025 bits/sample:8 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:8000 bits/sample:8 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:8000 bits/sample:8 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:48000 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:48000 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:96000 bits/sample:16 dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:96000 bits/sample:16 dshow debug: CaptureFilter::JoinFilterGraph dshow debug: connecting filters dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::ConnectedTo [not connected] dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::QueryFilterInfo dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::QueryAccept [OK] (channels=2, samples/sec=44100, bits/samples=16, format=araw) dshow debug: CapturePin::ReceiveConnection [OK] dshow debug: CapturePin::NotifyAllocator dshow debug: filters connected successfully ! dshow debug: MEDIATYPE_Audio dshow debug: selected audio pin accepts format: araw dshow debug: Playing... dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::ConnectedTo [OK] dshow debug: CaptureFilter::SetSyncSource dshow debug: CaptureFilter::Pause dshow debug: CaptureFilter::Run main debug: selecting program id=0 main debug: using access_demux module "dshow" main debug: TIMER module_need() : 5608.353 ms - Total 5608.353 ms / 1 intvls (Avg 5608.353 ms) main debug: looking for decoder module: 32 candidates araw debug: samplerate:44100Hz channels:2 bits/sample:16 main debug: using decoder module "araw" main debug: TIMER module_need() : 41.242 ms - Total 41.242 ms / 1 intvls (Avg 41.242 ms) main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\irou\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 1.346 ms - Total 1.346 ms / 1 intvls (Avg 1.346 ms) main debug: `dshow://' successfully opened main error: Invalid PCR value in ES_OUT_SET_(GROUP_)PCR ! main debug: Buffering 0% main debug: creating audio output main debug: looking for audio output module: 2 candidates aout_directx debug: Opening DirectSound Audio Output aout_directx debug: found device: Primární ovladač zvuku aout_directx debug: found device: Reproduktory (Realtek High Definition Audio) aout_directx debug: found device: Realtek Digital Output (Realtek High Definition Audio) aout_directx debug: found device: Realtek Digital Output(RCA) (Realtek High Definition Audio) aout_directx debug: device supports 2 channels (DEFAULT!) aout_directx debug: device supports 1 channel aout_directx debug: Windows says your SpeakerConfig is stereo aout_directx debug: creating DirectSoundThread main debug: using audio output module "aout_directx" main debug: TIMER module_need() : 28.933 ms - Total 28.933 ms / 1 intvls (Avg 28.933 ms) aout_directx debug: DirectSoundThread ready main debug: output 's16l' 44100 Hz Stereo frame=1 samples/4 bytes main debug: mixer 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes main debug: filter(s) 'f32l'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo main debug: looking for audio filter module: 13 candidates audio_format debug: f32l->s16l, bits per sample: 32->16 main debug: using audio filter module "audio_format" main debug: TIMER module_need() : 43.720 ms - Total 43.720 ms / 1 intvls (Avg 43.720 ms) main debug: conversion pipeline completed main debug: looking for audio mixer module: 2 candidates main debug: using audio mixer module "float32_mixer" main debug: TIMER module_need() : 3.577 ms - Total 3.577 ms / 1 intvls (Avg 3.577 ms) main debug: input 's16l' 44100 Hz Stereo frame=1 samples/4 bytes main debug: looking for audio filter module: 1 candidate scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: TIMER module_need() : 3.696 ms - Total 3.696 ms / 1 intvls (Avg 3.696 ms) main debug: filter(s) 's16l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo main debug: looking for audio filter module: 13 candidates audio_format debug: s16l->f32l, bits per sample: 16->32 main debug: using audio filter module "audio_format" main debug: TIMER module_need() : 0.131 ms - Total 0.131 ms / 1 intvls (Avg 0.131 ms) main debug: conversion pipeline completed main debug: filter(s) 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo main debug: conversion pipeline completed main debug: filter(s) 'f32l'->'f32l' 48510 Hz->44100 Hz Stereo->Stereo main debug: looking for audio filter module: 13 candidates main debug: using audio filter module "samplerate" main debug: TIMER module_need() : 0.246 ms - Total 0.246 ms / 1 intvls (Avg 0.246 ms) main debug: conversion pipeline completed main debug: End of audio preroll main debug: Buffering 36% main debug: Buffering 73% main debug: Stream buffering done (330 ms in 330 ms) main debug: Decoder buffering done in 0 ms main warning: PTS is out of range (-9989), dropping buffer main warning: PTS is out of range (-33183), dropping buffer main warning: audio output out of sync, adjusting dates (73356 us) main warning: not synchronized (73357 us), resampling main warning: buffer too late (106898), up-sampling
When I initialize the device in GraphEdit it is instant.

Hopefully someone can give us some guidance

Re: DShow audio takes a VERY LONG time to start

Posted: 10 Sep 2013 00:02
by Jean-Baptiste Kempf
It's a bug.

Re: DShow audio takes a VERY LONG time to start

Posted: 10 Sep 2013 14:56
by teamol
Hi, thank you for your reply. I would like to ask if this bug has a tracking id so I can keep watch on it.

Thank you very much

Re: DShow audio takes a VERY LONG time to start

Posted: 12 Sep 2013 13:23
by Jean-Baptiste Kempf
Search the trac with dshow keyword.

Re: DShow audio takes a VERY LONG time to start

Posted: 25 Oct 2015 11:37
by Videogamer555
I know it's a long time ago, but has this bug been fixed yet?