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 ... 34 35 [36] 37 38 ... 61
526
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

527
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

528
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.

529
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

530
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

531
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

532
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

533
Hardware / Re: WebCam Driver Question
« on: January 22, 2021, 08:36:05 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,

I'm going to give it a try.

Regards

534
Hardware / Re: WebCam Driver Question
« on: January 22, 2021, 08:35:13 pm »
Hi

I also tested this USB webcam and worked: Ausdom USB Generic Webcam Realtek / 0BDA:58B0

Was some test software to try to use the USB mic of cameras?

Regards

Have look here
https://www.os2world.com/forum/index.php/topic,2453.msg27426.html#msg27426

When using the USB webcam micro, use a headset to prevent larsen.

535
Hardware / Re: WebCam Driver Question
« on: January 19, 2021, 07:24:03 pm »
Hi Wim,

It works nice since.

Regards
Rémy

536
Applications / Re: Freedb shut down
« on: December 26, 2020, 01:22:59 am »
Hi Remy,

sent you an email few minutes ago, I hope I still have the correct address

Holger

Email replied with link.
(read new requirements rxutilex.dll and curl to enable all functions as written into top of the included text file with some details about all changes done into the current alpha build)

Regards
Rémy

537
Applications / Re: Freedb shut down
« on: December 25, 2020, 07:21:11 pm »
Hi there, I just wanted to share some information. Maybe old fashioned but I keep buying music on CDs. Occasionally I copy tracks or complete Cds to my harddrive, mainly using either RSJ -CD View (part of RSJ CD Writer) and AVxCat (great!!). Both programs used to query track titles from freedb.org which was shut down in June. There is an alternative which is gnudb.org. I have attached a picture showing my settings for RSJ  CD View. perhaps it may be helpful for others. I even tried leech.mp3 which I ususally do not use. Setting gnudb.gnudb.org 8880 in the config file for leechmp3 works. I then checked PM123 (player). One can configure the CDDA Play plugin by adding the server cddbp://gnudb.gnudb.org:8880. So when inserting a CD and using PM123 to play the CD the  CD and the titles are queried from gnudb.org .
I am still struggling with AvxCat. There is no setting where one could define the server to use, so I suppose remy ( the author) either uses a dll or there is a script that has to be adjusted

Greetings
Holger

Hi !

I'm working on AVxCAT v2 and old freedb link has changed into it since freedb no more working.
Currently, I have done major changes for the audio parts I would like have (included IceCast links !)
I'm currently working on video cam recording (with sound) but not finished yet and I have to update/add some planned video process options...

If you are interested to give a try to my current V2 alpha work, I can provide you with a link (through private message)
Regards
Rémy

538
Web applications / Re: QT5 simplebrowser
« on: November 13, 2020, 11:22:19 am »
Can someone enlighten me why I would use the new highmem at all ? It does the very same thing as all the highmems that already exist but potentially it does them faster.
But it is a one time action to mark DLL code (and data) segments to load high. The change is persistent. You do not do it over and over again.

"The change is persistent."  Sure it is

'You do not do it over and over again.'  right, One time is enough

As you know, there is an issue into OS/2. When an application loads the dlls above 512 and when the application is closed, the dlls are unloaded but the corresponding memory range is than unusable... To prevent this, having an alltime active background process just loading the highmem dlls prevents the dlls to be unloaded and preserves the high storage space.   

539
Web applications / Re: QT5 simplebrowser
« on: November 13, 2020, 01:25:21 am »
That is what happens when you download "internal" beta software  ;)
As in it does not have readme file...
Highmem is not to blame.

Two issue's can cause this: Did you mark the code and data segments to load high ?
Only mark the code segments.

Second issue:
There is a bug that when you load DLL's high they are not unloaded from memory.
This is a bug in the kernel...

Roderick Klein

About first issue: yes
About second issue, I konw it and dlls marked as load high are left loaded. This way, always same dlls are reused instead of loading them again and again with lose of space.

540
Web applications / Re: QT5 simplebrowser
« on: November 12, 2020, 08:00:50 pm »
be carefull with the new highmem, I just got my system with application no more working due it set 2 modules to highmem while it should not
This makes highmem not working afterwards and I had to use above512 to unmak both wrongly marked dlls. 

Pages: 1 ... 34 35 [36] 37 38 ... 61