rdp / virtual-audio-capture-grabber-device

free audio capture device to capture all the "wave out sound" that is playing on your speakers (i.e. record what you hear) for Windows Vista+. Releases downloadable in this package:
https://github.com/rdp/screen-capture-recorder-to-video-windows-free
Other
578 stars 181 forks source link

Fail to build audio_sniffer_2008.sln on Windows 8.1 #22

Closed ghost closed 6 years ago

ghost commented 6 years ago

I'm trying to follow the how_to_setup_code.txt guide use it on Windows 8.1

Unfortunally I could not install the Windows SDK 7.1 on Windows 8.1, then I built the baseclasses.sln of the Windows SDK 7.0 version.

Then I'm getting some error LINK: .... void even include the header and lib files from baseclasses Release and Debug.

rdp commented 6 years ago

I recently had luck installing the windows SDK 7.1 on windows 10, how does yours fail?

On Thu, Oct 12, 2017 at 8:03 AM, Daniel Felipe notifications@github.com wrote:

I'm trying to follow the how_to_setup_code.txt guide use it on Windows 8.1

Unfortunally I could not install the Windows SDK 7.1 on Windows 8.1, then I built the baseclasses.sln of the Windows SDK 7.0 version.

Then I'm getting some error LINK: .... void even include the header and lib files from baseclasses Release and Debug.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rdp/virtual-audio-capture-grabber-device/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAw0GW6OCXKT2kATKfBkToZk_4_YtP-ks5sripHgaJpZM4P3JyR .

ghost commented 6 years ago

I did this: 1 - I built the baseclasses.sln on Windows 10 in the Release, Release_MBCS, Debug, Debug_MBCS win32 mode to produce strmbasd.lib and strmbase.lib.

2 - I went to ...\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008 directory and I opened the audio_sniffer_2008.sln. I setted all the includes and library deps to C: ...\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses

And I went to build that in win32, as the result I

Error 12 error LNK2001: unresolved external symbol _AvSetMmThreadCharacteristicsW@8 C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\loopback-capture.obj audio_sniffer_2008 Error 8 error LNK2001: unresolved external symbol _AvRevertMmThreadCharacteristics@4 C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\loopback-capture.obj audio_sniffer_2008 Error 1 error LNK2001: unresolved external symbol "void __cdecl ShowOutput(char const *,...)" (?ShowOutput@@YAXPBDZZ) C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\directshow_fillbuffer.obj audio_sniffer_2008 Error 6 error LNK2001: unresolved external symbol "public: virtual long __stdcall CSource::FindPin(wchar_t const *,struct IPin * *)" (?FindPin@CSource@@UAGJPB_WPAPAUIPin@@@Z) C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\directshow_stuff.obj audio_sniffer_2008 Error 4 error LNK2001: unresolved external symbol "public: virtual long __stdcall CBaseFilter::QueryVendorInfo(wchar_t * *)" (?QueryVendorInfo@CBaseFilter@@UAGJPAPA_W@Z) C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\directshow_stuff.obj audio_sniffer_2008 Error 5 error LNK2001: unresolved external symbol "public: virtual long __stdcall CBaseFilter::JoinFilterGraph(struct IFilterGraph *,wchar_t const *)" (?JoinFilterGraph@CBaseFilter@@UAGJPAUIFilterGraph@@PB_W@Z) C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\directshow_stuff.obj audio_sniffer_2008 Error 3 error LNK2001: unresolved external symbol "public: __thiscall CSourceStream::CSourceStream(wchar_t const *,long *,class CSource *,wchar_t const *)" (??0CSourceStream@@QAE@PB_WPAJPAVCSource@@0@Z) C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\directshow_stuff.obj audio_sniffer_2008 Error 7 error LNK2001: unresolved external symbol "public: __thiscall CSource::CSource(wchar_t const *,struct IUnknown *,struct _GUID)" (??0CSource@@QAE@PB_WPAUIUnknown@@U_GUID@@@Z) C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\directshow_stuff.obj audio_sniffer_2008 Error 2 error LNK2001: unresolved external symbol "protected: virtual long __stdcall CSourceStream::QueryId(wchar_t * *)" (?QueryId@CSourceStream@@MAGJPAPA_W@Z) C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\directshow_stuff.obj audio_sniffer_2008 Error 11 error LNK2001: unresolved external symbol "long __cdecl start_silence_thread(void)" (?start_silence_thread@@YAJXZ) C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\loopback-capture.obj audio_sniffer_2008 Error 10 error LNK2001: unresolved external symbol "long __cdecl set_config_string_setting(wchar_t const *,wchar_t *)" (?set_config_string_setting@@YAJPB_WPA_W@Z) C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\loopback-capture.obj audio_sniffer_2008 Error 9 error LNK2001: unresolved external symbol "long __cdecl join_silence_thread(void)" (?join_silence_thread@@YAJXZ) C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\loopback-capture.obj audio_sniffer_2008 Error 13 error LNK1120: 12 unresolved externals C:\PorkPie\RTMP_Server_Client\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008\Release\audio_sniffer_2008.dll audio_sniffer_2008

So what's wrong? I followed the steps correctly?

rdp commented 6 years ago

maybe there is another option that isn't the _2008 option? taht was for MSVC 2008

On Sun, Oct 15, 2017 at 7:15 AM, Daniel Felipe notifications@github.com wrote:

I did this: 1 - I built the baseclasses.sln on Windows 10 in the Release/Release_MBCS/Debug/Debug_MBCS win32 mode to produce strmbasd.lib and strmbase.lib.

2 - I went to ...\virtual-audio-capture-grabber-device\source_code\acam\audio_sniffer_2008 directory and I opened the audio_sniffer_2008.sln. I setted all the includes and library deps to C: ...\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses

And I went to build that in win32, as the result I

1>LINK : fatal error LNK1181: cannot open input file 'strmbase.lib'

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rdp/virtual-audio-capture-grabber-device/issues/22#issuecomment-336714401, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAw0C7t1Gs-J9N1beN5airXLf2ysxmXks5sshOJgaJpZM4P3JyR .

ghost commented 6 years ago

Ok. But what's the option do you recommend? I have Visual Studio 2010 / 2013 and 2015 install.

Sorry, but I didn't understand your projects. For exemple, in .../source_code/ what's the virtual audio output sniffer.sln?

and in .../source_code/synth_depracated/ what's synth.sln?

rdp commented 6 years ago

2010

On Tue, Oct 17, 2017 at 2:00 PM, Daniel Felipe notifications@github.com wrote:

Ok. But what's the option do you recommend? I have Visual Studio 2010 / 2013 and 2015 install.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rdp/virtual-audio-capture-grabber-device/issues/22#issuecomment-337352403, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAw0FOYVWLzbEvApeXMQ482edzs_bYfks5stQdKgaJpZM4P3JyR .

ghost commented 6 years ago

I built virtual audio output sniffer.sln and generated the audio_sniffer.dll. I ran register_run_as_admin.bat and it was ok. And I listed the dshow devices on ffmpeg, but I didn't found out any drive install.

` [dshow @ 0000000001cc2920] DirectShow video devices (some may be both video and audio devices)

[dshow @ 0000000001cc2920] "WebCam SC-13HDL12131N"

[dshow @ 0000000001cc2920] Alternative name "@devicepnp\?\usb#vid_2232&pi d_1035&mi_00#7&2a89fef2&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"

[dshow @ 0000000001cc2920] DirectShow audio devices

[dshow @ 0000000001cc2920] "Microfone (Realtek High Definition Audio)"

[dshow @ 0000000001cc2920] Alternative name "@devicecm{33D9A762-90C8-11D0- BD43-00A0C911CE86}\wave_{E1084966-BA1C-4164-8315-CB66FCBB5497}" dummy: Immediate exit requested `

So is there something else step that I'm missing?

rdp commented 6 years ago

make sure the 32 vs. 64 bittedness of your ffmpeg matches the one you registered...

On Thu, Oct 19, 2017 at 6:30 PM, Daniel Felipe notifications@github.com wrote:

I built virtual audio output sniffer.sln and generated the audio_sniffer.dll. I ran register_run_as_admin.bat and it was ok. And I listed the dshow devices on ffmpeg, but I didn't found out any drive install.

` [dshow @ 0000000001cc2920] DirectShow video devices (some may be both video and audio devices)

[dshow @ 0000000001cc2920] "WebCam SC-13HDL12131N"

[dshow @ 0000000001cc2920] Alternative name "@devicepnp\?\usb#vid_2232& pi d_1035&mi_00#7&2a89fef2&0&0000#{65e8773d-8f56-11d0-a3b9- 00a0c9223196}\global"

[dshow @ 0000000001cc2920] DirectShow audio devices

[dshow @ 0000000001cc2920] "Microfone (Realtek High Definition Audio)"

[dshow @ 0000000001cc2920] Alternative name "@devicecm{33D9A762-90C8- 11D0- BD43-00A0C911CE86}\wave_{E1084966-BA1C-4164-8315-CB66FCBB5497}" dummy: Immediate exit requested `

So is there something else step that I'm missing?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rdp/virtual-audio-capture-grabber-device/issues/22#issuecomment-338074057, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAw0F5XZM5mgtLbbJ3GqLHiPtRr_HMHks5st-m6gaJpZM4P3JyR .

rdp commented 6 years ago

If there is still a problem try with visual studio 2010 express and report back, cheers!