Author Topic: WebCam Driver Question  (Read 4217 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 574
  • -Receive: 121
  • Posts: 3171
  • Karma: +25/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: WebCam Driver Question
« Reply #15 on: January 23, 2021, 03:21:50 pm »
Hi David, can you let me know your Logitech C270 webcam hardware ID?

FYI: I had tested here:
- Logitech C920 HD Pro Webcam
- Ausdom USB Generic Webcam Realtek‎‎
Video is working, I have pending to test the mic.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

David McKenna

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 25
  • Posts: 341
  • Karma: +14/-0
    • View Profile
Re: WebCam Driver Question
« Reply #16 on: January 23, 2021, 03:36:25 pm »
Hi David, can you let me know your Logitech C270 webcam hardware ID?

 Hi Martin,

  Sure, it is 046d:0825 and reports itself as 'Logitech, Inc. Webcam 270'.

Regards,

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 574
  • -Receive: 121
  • Posts: 3171
  • Karma: +25/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: WebCam Driver Question
« Reply #17 on: January 23, 2021, 03:40:35 pm »
Thanks David.
I just created this page:  Logitech C270 HD Webcam
Martin Iturbide
OS2World NewsMaster
... just share the dream.

David McKenna

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 25
  • Posts: 341
  • Karma: +14/-0
    • View Profile
Re: WebCam Driver Question
« Reply #18 on: January 23, 2021, 04:24:49 pm »
 Well, I just tried Remy's 'WCC' program, along with Wim's latest UVC software, and video and audio from the Logitech C270 does indeed work! Bit of a mystery why sound doesn't work from the command prompt, but probably user error. Thanks Remy and Wim for putting it all together!

Regards,

Remy

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 15
  • Posts: 409
  • Karma: +0/-0
    • View Profile
Re: WebCam Driver Question
« Reply #19 on: January 24, 2021, 12:25:19 pm »
Thanks David.
I just created this page:  Logitech C270 HD Webcam

Logitech 9000 pro works good too

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 76
  • Posts: 791
  • Karma: +23/-0
    • View Profile
Re: WebCam Driver Question
« Reply #20 on: January 24, 2021, 12:51:58 pm »
Well, I just tried Remy's 'WCC' program, along with Wim's latest UVC software, and video and audio from the Logitech C270 does indeed work! Bit of a mystery why sound doesn't work from the command prompt, but probably user error. Thanks Remy and Wim for putting it all together!

Regards,
What do you mean with "sound does not work"?
If it is about either USB sound input or sound output, I am currently working on fixing a couple of errors in the USB sound drivers. In particular if you have more than one USB audio capable device plugged in. Martin is helping me in testing.

David McKenna

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 25
  • Posts: 341
  • Karma: +14/-0
    • View Profile
Re: WebCam Driver Question
« Reply #21 on: January 24, 2021, 02:59:25 pm »
What do you mean with "sound does not work"?

 Lars,

 Sorry I wasn't specific - I meant I did not hear anything from the speakers when running 'wmaudio' next to 'webcam /a /n' (even though there were no errors in the command prompt windows). When I run 'WCC' I do hear sound from the speakers (slightly delayed). The only USB sound device plugged in here is the microphone on the webcam, although both of your USB sound drivers are installed.

Regards,

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 574
  • -Receive: 121
  • Posts: 3171
  • Karma: +25/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: WebCam Driver Question
« Reply #22 on: January 24, 2021, 03:14:34 pm »
Thanks David.
I just created this page:  Logitech C270 HD Webcam

Logitech 9000 pro works good too

Hi Remy

Can you please share with me the HardwareID. I created this page: Logitech_QuickCam_Pro_9000
If you want you can also share with me the USB hardware report. Have you test mic recording?

Regards
« Last Edit: January 24, 2021, 03:24:25 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 574
  • -Receive: 121
  • Posts: 3171
  • Karma: +25/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: WebCam Driver Question
« Reply #23 on: January 24, 2021, 04:18:52 pm »
It might be a good idea ;) to read the included webcam.txt file?

Code: [Select]
┌───────────────┐                                                ┌────────────┐
│ Webcam Server ├────────────────────────────────────────────────┤ webcam.exe │
└───────────────┘                                                └────────────┘
.
Use "webcam /a" to run named pipe server for wav audio from the microphone.
┌──────────────────────┐                                        ┌─────────────┐
│ Webcam Monitor Audio ├────────────────────────────────────────┤ wmaudio.exe │
└──────────────────────┘                                        └─────────────┘
.
Plays pcm wave audio from the Webcam Server. Acts as named pipe client.
Use "wmaudio" to connect the Webcam Monitor Audio to \PIPE\Webcam\Audio.
Use e.g "wmaudio /a1/v30" to play on audio adapter 1 at reduced volume.
.

Hi Wim

I wanted to test any kind of sound from my USB Webcam - Logitech C920 HD Pro Webcam
I'm using "Webcam00-20210120.zip" and Lar's USBAUDIO.

I get this error:
Code: [Select]
[X:\HOME\DOWNLOADS\WEBCAM00-20210120]webcam /a /n
started.
format:mjpg
 acquire webcam
 set configuration
 negotiate video format
/a server (audio) On-Line.
 obtain video format
 commit video format
 set video alt interface
/n server (video) On-Line.
 set audio frequency
 starting iso video
 set audio mike volume
 set audio alt interface
 starting iso audio
[00000057]
obtain audio error.
The camera lights up. "wmvideo /n" works and provide video


And

Code: [Select]
[X:\HOME\DOWNLOADS\WEBCAM00-20210120]wmaudio /a3 /v100
started.
 opening audio input pipe
 opening ampmixer device
Unsupported format mode.
 closing audio input pipe
 closing event semaphore
 deallocating dart buffers
Invalid device ID given.
 informing dart use ended
Invalid device ID given.
 closing ampmixer device
Invalid device ID given.
stopped.


Regards

Update: Updated to webcam latest version.
« Last Edit: January 24, 2021, 04:24:20 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 76
  • Posts: 791
  • Karma: +23/-0
    • View Profile
Re: WebCam Driver Question
« Reply #24 on: January 24, 2021, 04:40:18 pm »
What do you mean with "sound does not work"?

 Lars,

 Sorry I wasn't specific - I meant I did not hear anything from the speakers when running 'wmaudio' next to 'webcam /a /n' (even though there were no errors in the command prompt windows). When I run 'WCC' I do hear sound from the speakers (slightly delayed). The only USB sound device plugged in here is the microphone on the webcam, although both of your USB sound drivers are installed.

Regards,
The problem could be that AN auto switches the default Wave device when you plug in a USB device. And WCC might be smart enough to select a specific audio device for playback while wmaudio might use the default device. Sometimes,automatisms are a bad choice. As in this case.
« Last Edit: January 24, 2021, 04:43:31 pm by Lars »

David McKenna

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 25
  • Posts: 341
  • Karma: +14/-0
    • View Profile
Re: WebCam Driver Question
« Reply #25 on: January 24, 2021, 04:55:20 pm »
Lars,

  It turns out my initial instinct was correct: user error. Needed to define the volume on the wmaudio command. When I tried 'wmaudio /v100' I got a nice blast of feedback! Using 'wmaudio /v70' and the sound is heard from the speakers clearly and without delay. So it's all good!

Regards,

Remy

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 15
  • Posts: 409
  • Karma: +0/-0
    • View Profile
Re: WebCam Driver Question
« Reply #26 on: January 24, 2021, 05:18:13 pm »
Thanks David.
I just created this page:  Logitech C270 HD Webcam

Logitech 9000 pro works good too

Hi Remy

Can you please share with me the HardwareID. I created this page: Logitech_QuickCam_Pro_9000
If you want you can also share with me the USB hardware report. Have you test mic recording?

Regards

Video + Audio are ok
HardwareID: 046D:0990:0008
« Last Edit: January 24, 2021, 05:21:22 pm by Remy »

Remy

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 15
  • Posts: 409
  • Karma: +0/-0
    • View Profile
Re: WebCam Driver Question
« Reply #27 on: January 24, 2021, 05:20:37 pm »
It might be a good idea ;) to read the included webcam.txt file?

Code: [Select]
┌───────────────┐                                                ┌────────────┐
│ Webcam Server ├────────────────────────────────────────────────┤ webcam.exe │
└───────────────┘                                                └────────────┘
.
Use "webcam /a" to run named pipe server for wav audio from the microphone.
┌──────────────────────┐                                        ┌─────────────┐
│ Webcam Monitor Audio ├────────────────────────────────────────┤ wmaudio.exe │
└──────────────────────┘                                        └─────────────┘
.
Plays pcm wave audio from the Webcam Server. Acts as named pipe client.
Use "wmaudio" to connect the Webcam Monitor Audio to \PIPE\Webcam\Audio.
Use e.g "wmaudio /a1/v30" to play on audio adapter 1 at reduced volume.
.

Hi Wim

I wanted to test any kind of sound from my USB Webcam - Logitech C920 HD Pro Webcam
I'm using "Webcam00-20210120.zip" and Lar's USBAUDIO.

I get this error:
Code: [Select]
[X:\HOME\DOWNLOADS\WEBCAM00-20210120]webcam /a /n
started.
format:mjpg
 acquire webcam
 set configuration
 negotiate video format
/a server (audio) On-Line.
 obtain video format
 commit video format
 set video alt interface
/n server (video) On-Line.
 set audio frequency
 starting iso video
 set audio mike volume
 set audio alt interface
 starting iso audio
[00000057]
obtain audio error.
The camera lights up. "wmvideo /n" works and provide video


And

Code: [Select]
[X:\HOME\DOWNLOADS\WEBCAM00-20210120]wmaudio /a3 /v100
started.
 opening audio input pipe
 opening ampmixer device
Unsupported format mode.
 closing audio input pipe
 closing event semaphore
 deallocating dart buffers
Invalid device ID given.
 informing dart use ended
Invalid device ID given.
 closing ampmixer device
Invalid device ID given.
stopped.


Regards

Update: Updated to webcam latest version.

Hi Martin,

It works well using latest Arca USB drivers build.

Regards
Rémy

Wim Brul

  • Full Member
  • ***
  • Thank You
  • -Given: 5
  • -Receive: 43
  • Posts: 234
  • Karma: +11/-0
    • View Profile
    • Wim's home page
Re: WebCam Driver Question
« Reply #28 on: January 24, 2021, 05:43:23 pm »
Hi Martin,

Quote
I wanted to test any kind of sound from my USB Webcam - Logitech C920 HD Pro Webcam
I'm using "Webcam00-20210120.zip" and Lar's USBAUDIO.

With "Lar's USBAUDIO" do say that you installed audio.zip from usbdrv237.zip ?
[00000057] obtain audio error. This is SYS0087: The parameter is incorrect.
Please attach lsusb report of this camera for me to inspect.

Regards,
Wim

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 76
  • Posts: 791
  • Karma: +23/-0
    • View Profile
Re: WebCam Driver Question
« Reply #29 on: January 26, 2021, 09:02:27 am »
If Remy says "it works fine with ArcaOS drivers" I don't know what audio driver he actually uses. There was a dedicated 12.07 audio class 1.0 driver from AN but I think in the meantime, the AN USB stack also contains "our" drivers. To be clarified.

Anyway: I am currently doing heavy rework on USBAUDIF.DLL and also on the audio drivers. That will hopefully get us around the "unsupported format mode" error plus some other quirks. That's because DART uses the ampmixer which in turns calls into USBAUDIF.DLL which in turn calls into the audio drivers.
« Last Edit: January 26, 2021, 09:05:08 am by Lars »