Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Remy

Pages: 1 2 [3] 4 5 ... 28
31
Hardware / Re: WebCam Driver Question
« on: February 09, 2021, 08:09:53 pm »
Hi Wim,

I have a few questions about parameter /f and fps :   

webcam allows to set
/fN - Select Nth discrete frame interval setting for video.
 Proper values for N are 0 up to the highest setting available on your webcam.

Do you know how to get available setting for a webcam ?
I expect getting a discrete frame interval value for each supported fps
Is there a link between the value 0 to n and the supported fps from highest to lowest ?

Test show me that the bitrate is reduced when increasing the n value for /f parameter
I didn't notice any real quality degradation when using /f2 which provides a very smaller output file.   

For all resolution, I always have 25fps for my webcam into ffprobe output.
Are any parameters on webcam to set a different supported fps for a given frame size ?

Thanks
Rémy 
 

32
Internet / Re: Firefox trap.
« on: February 06, 2021, 09:54:29 pm »
Well, as usual, need to test with a new profile or at least in safe mode.

With a new profile already done but not in safe mode.
I'll try it for a few days.

Regards
Rémy

33
Internet / Re: Firefox trap.
« on: February 06, 2021, 06:33:54 pm »
Which build are you using? If the Pentium M, you might want to test the i686 one. Seems there are optimization problems with the Pentium M one, I need to upload new builds and haven't got around to it.
And of course a repeatable situation would be good, especially after testing with a new profile.

It is the i686 one.
My system has an I7 970 cpu

34
Internet / Re: Firefox trap.
« on: February 06, 2021, 06:09:19 pm »
Doesn't look familiar. Was it a one off or repeatable?

I've got it 4 times since first January 2021.
But i could not indentify in which conditions it happens

Today, I updated ff to the latest build and got again a trap.


 Exception Report - created 2021/02/06 13:44:36
______________________________________________________________________

 OS2/eCS Version:  2.45
 # of Processors:  4
 Physical Memory:  3470 mb
 Virt Addr Limit:  2816 mb
 Exceptq Version:  7.11.3-shl (Jul  5 2016)

______________________________________________________________________

 Exception C0000005 - Access Violation
______________________________________________________________________

 Process:  W:\PROGRAMS\FIREFOX\FIREFOX.EXE (11/11/2020 21:59:20 74,241)
 PID:      6C (108)
 TID:      01 (1)
 Priority: 200

 Filename: W:\PROGRAMS\FIREFOX\XUL.DLL (11/11/2020 22:08:01 41,073,853)
 Address:  005B:AB848BAA (0001:02C38BAA)
 Cause:    Attempted to read from 00000010
           (not a valid address)

______________________________________________________________________

 Failing Instruction
______________________________________________________________________

 AB848B9A  TEST EBP, EBP         (85ed)
 AB848B9C  JZ   0xab848ce8       (0f84 46010000)
 AB848BA2  MOV  [ESP], EBP       (892c24)
 AB848BA5  CALL 0xab844da0       (e8 f6c1ffff)
 AB848BAA >MOV  EAX, [EAX+0x10]  (8b40 10)
 AB848BAD  MOV  EAX, [EAX+0x20]  (8b40 20)
 AB848BB0  MOV  ECX, [EAX+0x10]  (8b48 10)
 AB848BB3  TEST ECX, ECX         (85c9)

______________________________________________________________________

 Registers
______________________________________________________________________

 EAX : 00000000   EBX  : 0013C87C   ECX : 20F33E0C   EDX  : AB5B8B84
 ESI : 2DEC3300   EDI  : 0013C7EC
 ESP : 0013C7C0   EBP  : 20F33D20   EIP : AB848BAA   EFLG : 00210206
 CS  : 005B       CSLIM: FFFFFFFF   SS  : 0053       SSLIM: FFFFFFFF

 EAX : not a valid address
 EBX : read/write memory on this thread's stack
 ECX : read/write memory allocated by LIBCN0
 EDX : read/exec  memory at 0001:029B0B84 in XUL
 ESI : read/write memory allocated by LIBCN0
 EDI : read/write memory on this thread's stack

______________________________________________________________________

 Stack Info for Thread 01
______________________________________________________________________

   Size       Base        ESP         Max         Top
 00100000   00140000 -> 0013C7C0 -> 00114000 -> 00040000

______________________________________________________________________

 Call Stack
______________________________________________________________________

   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  AB848BAA   XUL       0001:02C38BAA  between nsDocShell::GetOriginAttributes + 4A and nsDocShell::CreatePrincipalFromReferrer - 166  (both in Unified_cpp_docshell_base0.cpp)

 20F33D20  AB85A21C   XUL       0001:02C4A21C  between nsDocShell::{vtable} + 534 and nsQueryObject::{vtable} - 6E0  (both in Unified_cpp_docshell_base0.cpp)

 AB859CF0  AB83F740   XUL       0001:02C2F740  nsDocShell::AddRef  (in Unified_cpp_docshell_base0.cpp)

 Lost Stack chain - new EBP below previous

______________________________________________________________________


35
Internet / Firefox trap.
« on: February 06, 2021, 11:57:00 am »
Hi !

I just had following trap into Firefox 45.9.0-SUa2 (2019-05-20)
Any idea about what happens ?

 Filename: W:\PROGRAMS\FIREFOX\XUL.DLL (06/02/2019 18:00:05 39,105,957)
 Address:  005B:AB8A86F2 (0001:029286F2)
 Cause:    Attempted to read from 00000010
           (not a valid address)

______________________________________________________________________

 Failing Instruction
______________________________________________________________________

 AB8A86E2  MOV  [ESP], EDX       (891424)
 AB8A86E5  MOV  [ESP+0x1c], EDX  (895424 1c)
 AB8A86E9  CALL 0xab8a6730       (e8 42e0ffff)
 AB8A86EE  MOV  EDX, [ESP+0x1c]  (8b5424 1c)
 AB8A86F2 >MOV  EAX, [EAX+0x10]  (8b40 10)
 AB8A86F5  MOV  EAX, [EAX+0x20]  (8b40 20)
 AB8A86F8  MOV  EDI, [EAX+0x10]  (8b78 10)
 AB8A86FB  TEST EDI, EDI         (85ff)

______________________________________________________________________

 Registers
______________________________________________________________________

 EAX : 00000000   EBX  : 0019D8EC   ECX : 3330622C   EDX  : 33306140
 ESI : 34E67420   EDI  : 34E67538
 ESP : 0019D850   EBP  : 0019D87C   EIP : AB8A86F2   EFLG : 00210206
 CS  : 005B       CSLIM: FFFFFFFF   SS  : 0053       SSLIM: FFFFFFFF

 EAX : not a valid address
 EBX : read/write memory on this thread's stack
 ECX : read/write memory allocated by LIBCN0
 EDX : read/write memory allocated by LIBCN0
 ESI : read/write memory allocated by LIBCN0
 EDI : read/write memory allocated by LIBCN0

______________________________________________________________________

 Stack Info for Thread 01
______________________________________________________________________

   Size       Base        ESP         Max         Top
 00100000   001A0000 -> 0019D850 -> 0015E000 -> 000A0000

______________________________________________________________________

 Call Stack
______________________________________________________________________

   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  AB8A86F2   XUL       0001:029286F2  between nsDocShell::GetOriginAttributes + 52 and nsDocShell::CreatePrincipalFromReferrer - 16E  (both in Unified_cpp_docshell_base0.cpp)

 0019D87C  201424E0   *Unknown*

 33306140  AB8BA0DC   XUL       0001:0293A0DC  between nsDocShell::{vtable} + 534 and nsQueryObject::{vtable} - 6E0  (both in Unified_cpp_docshell_base0.cpp)

 AB8B9BB0  AB8A1870   XUL       0001:02921870  nsDocShell::AddRef  (in Unified_cpp_docshell_base0.cpp)

 Lost Stack chain - new EBP below previous

______________________________________________________________________

Regards
Rémy

36
Multimedia / Re: Updated Uniaud32 build
« on: February 05, 2021, 11:33:51 am »
Hi All,

https://smedley.id.au/tmp/uniaud32-linux-5.10.11-20210131.zip

Fixed a problem in hda_codec.c that allowed me to remove a dirty hack from lib32/sound.c

This *might* help fix a reported problem with system sounds interrupting a MP3 stream and not resuming correctly, which is a regression from the 2.02 driver.

Cheers,

Paul

Hi Paul,

I give a try to your latest build and it is the best off all I could try (now using it in replace of previous one).
No ff crash seen, better switch when using PM123 and running a youtube video and going back to pm123 etc... Very good
Definitively the best build.

Regards
Rémy 

37
Hardware / Re: WebCam Driver Question
« on: January 30, 2021, 08:25:07 pm »
Hi Wim,

It works nice since.

Regards
Rémy

Hi Rémy,

Fine. In the meantime I have updated webcam.exe and wmaudio.exe and added  wmvideo.exe and I think my package is now complete.
I think I tested it with your wcc.exe but I don't remember. My memory is getting worse. I have attached it here so Martin could try these too.

@Martin - Use "webcam /n" to start the Webcam Server and use "wmvideo /n" to start the Webcam Monitor Video and see what you get.

Regards,
Wim

Hi Wim,

This latest build has always 48000Hz audio output !
I went back to the previous build which allow me to set 44100Hz

Regards
Rémy

My latter build takes the audio sample frequency specified by the user and validates it against the usb audio descriptors of the webcam. Logitech c250/c270/pro9000 webcams do not support 44100 Hz. according to their audio descriptors and since the last scanned audio descriptor specifies 48000 Hz. this frequency is used. Similarly 16000 Hz. will be used by the Logitech Quickcam Pro for Notebooks because this is the only audio frequency that this webcam reports supported. This latter build is supposed to work with audio from all kinds of uvc compliant webcams.

On the contrary my former build takes the audio sample frequency specified by the user and validates it using a list of hardcoded values that work with the Logitech c250/c270/pro9000 webcams and this list includes 22050 Hz. and 44100 Hz. that happen to work on these webcams despite of the fact that their usb audio decriptors omit these. Scanning of usb audio descriptors was not yet implemented but that is really the way to go.

I checked my c270 under windows.
It supports 16bits 16000Hz, 16bits 32000Hz and 16bits 48000Hz
right, 44100 isn't listed (despite it works well) - 16000, 32000 and 48000 are real selectable frequencies.
Are they available ? (I always get 48000 as output)

Regards
Rémy     

38
Hardware / Re: WebCam Driver Question
« on: January 29, 2021, 01:25:24 am »
Hi Wim,

It works nice since.

Regards
Rémy

Hi Rémy,

Fine. In the meantime I have updated webcam.exe and wmaudio.exe and added  wmvideo.exe and I think my package is now complete.
I think I tested it with your wcc.exe but I don't remember. My memory is getting worse. I have attached it here so Martin could try these too.

@Martin - Use "webcam /n" to start the Webcam Server and use "wmvideo /n" to start the Webcam Monitor Video and see what you get.

Regards,
Wim

Hi Wim,

This latest build has always 48000Hz audio output !
I went back to the previous build which allow me to set 44100Hz

Regards
Rémy

39
Hardware / Re: WebCam Driver Question
« on: January 28, 2021, 07:36:09 pm »
I think what needs to be done is the audio and video streams being muxed into a container such as AVI, WEBM or Matroska so that the video and audio are in sync. The program to do that is FFmpeg where you should be able to pipe or feed the files into it and get a stream out.
There's likely directions of the internet for doing it.
Even better would be to use FFmpeg's libavcodec in a program to do the muxing, beyond my abilities.

I'm already working on ....  under Avxcat v2

Review some information from older post:
https://www.os2world.com/forum/index.php/topic,2453.msg27476.html#msg27476

Syntax I use has changed a lot due to syncro issue and other issue using latest ffmpeg (release 4.2.2-3)
I could get better result inverting audio and video input file order.
Sharing with you, here is a working example :
Of course, You have to start Wim's exes first.
ffmpeg -y -use_wallclock_as_timestamps 1 -thread_queue_size 64 -i \PIPE\Webcam\Audio -itsoffset 1.05 -use_wallclock_as_timestamps 1 -thread_queue_size 64 -f mjpeg -i \PIPE\Webcam\Video -c:v copy -c:a copy -map 1:v:0 -map 0:a:0 mywebcam.avi

(adjust -itsoffset 1.05 value if you have video/audio not syncro)

Of course, you can make the choice to change avi to mp4 etc.... but this will introduce ffmpeg process which could impact result at this step.
I've got some better results piping ffmpeg result into an other ffmpeg process.
ffmpeg -y -use_wallclock_as_timestamps 1 -thread_queue_size 64 -i \PIPE\Webcam\Audio -itsoffset 1.05 -use_wallclock_as_timestamps 1 -thread_queue_size 64 -f mjpeg -i \PIPE\Webcam\Video -c:v copy -c:a copy -map 1:v:0 -map 0:a:0 -f avi - |ffmpeg -i - mywebcam.mp4

Output of the second ffmpeg (or directly from first process) could be of other type (e.g. flv for rtmp...). You'll have visible latency due to ffmpeg process time (some special parameters exist to reduce streaming latency but already exist)

Warning: Piping from firs FFMPEG into second FFMPEG may consume a high amount of storage
From what I could see, about 174Mb shared low storage while runing only one ffmpeg step with avi output file requires about 42Mb shared low storage.
ffmpeg -y -use_wallclock_as_timestamps 1 -thread_queue_size 64 -i \PIPE\Webcam\Audio -itsoffset 1.05 -use_wallclock_as_timestamps 1 -thread_queue_size 64 -f mjpeg -i \PIPE\Webcam\Video -c:v copy -c:a copy -map 1:v:0 -map 0:a:0 mywebcam.avi    (or -f avi mywebcam.avi or any other format)

Note: If you start webcam through WCC, you can display/control current recording using:
 ffplay -i http://127.0.0.1:14225 -x 190 -y 144

40
Hardware / Re: WebCam Driver Question
« on: January 27, 2021, 01:03:44 am »
Neither one WPI nor the other contains USBAUDIF.DLL.
So where does it come from?

As it is written, yours  ;)
(usbdrv234)

It was installed during test between your driver and Arca ones trying to progress Wim's webcam driver.
Those dll's have been left.

Regards
Rémy

41
Hardware / Re: WebCam Driver Question
« on: January 26, 2021, 06:35:19 pm »
Yes, 12.07 contains USBAUDIO.SYS.
... and obviously nothing else.

the usbaudif.dll and usbwav.dll I have installed are:
[C:\mmos2\dll]bldlevel usbaudif.dll
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#Lars Erdmann:10.234#@##1## 18 Apr 2020 12:42:31     Laptop
 ::::::@@USB Audio 1.0 and 2.0 VSD
Vendor:          Lars Erdmann
Revision:        10.234
Date/Time:       18 Apr 2020 12:42:31
Build Machine:   Laptop
File Version:    10.234
Description:     USB Audio 1.0 and 2.0 VSD

[C:\mmos2\dll]bldlevel usbwav.dll
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#Lars Erdmann:10.234#@##1## 18 Apr 2020 12:42:50     Laptop
 ::::::@@Filter IO Proc and MULAW/ALAW Codec for USBAUDIO
Vendor:          Lars Erdmann
Revision:        10.234
Date/Time:       18 Apr 2020 12:42:50
Build Machine:   Laptop
File Version:    10.234
Description:     Filter IO Proc and MULAW/ALAW Codec for USBAUDIO

Nothing else

About 12.07, here is wpi archive view.

42
Hardware / Re: WebCam Driver Question
« on: January 26, 2021, 02:17:27 pm »
To Lars

Yes, USB 12.07

Regards
Rémy

I have USB3/USB2 enabled

43
Hardware / Re: WebCam Driver Question
« 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

44
Hardware / Re: WebCam Driver Question
« 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

45
Hardware / Re: WebCam Driver Question
« 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

Pages: 1 2 [3] 4 5 ... 28