Log in

View Full Version : Searching uvc 1.5 compatible webcam recording software for Windows


NanoBot
20th October 2020, 21:28
Hi everybody,

I am searching for an alternative to the Windows 10 "Camera" app. I own a no name webcam which is uvc 1.5 compatible ( https://en.wikipedia.org/wiki/USB_video_class ) and is able to send a ready encoded h.264 stream. The only Windows software which is able to record this stream without trying to reencode it is the Windows 10 "Metro" Camera app. All other programs for Windows I could find insist in reencoding the stream, which is completly unneccessary.

Under Linux, I found the program "guvcview", which is able to exactly what I want: Use the "preencoded" h.264 stream from the camera, encode the captured audio to mp3, aac or something else and then mux both streams to mkv or mp4. In addition, guvcview allows me to select the frame size, e.g. 640x480, 1280x720 or 1920x1080, and the frame rate, which must be set to 25fps, while the Windows Camera app sticks to 30fps, which is not correct for this camera. For some reason, the builtin encoder of the camera is good enough for 25fps but sometimes to "slow" for 30fps.

Does one one of you have a recommendation ? With Graphstudio, I am able to record the preencoded 25fps stream, but I am hoping for a more comfortable solution.

C.U. Nanobot

Emulgator
21st October 2020, 20:58
If guvcview allows selectable frame size and fps then it will reencode.
Which you don't want.
You may upload a video stream sample to wetransfer.

NanoBot
21st October 2020, 21:22
No, luckily guvcview does not recode the video, using this configuration:

#Guvcview 2.0.6 config file

#video input width
width=1920
#video input height
height=1080
#video input format
v4l2_format=875967048
#video input capture method
capture=mmap
#audio api
audio=port
#gui api
gui=gtk3
#render api
render=sdl
#video codec [raw mjpg mpeg flv1 wmv1 mpg2 mp43 dx50 h264 vp80 theo]
video_codec=raw
#audio codec [pcm mp2 mp3 aac ac3 vorb]
audio_codec=mp3
#profile name
profile_name=default.gpfl
#profile path
profile_path=/home/nanobot
#video name
video_name=my_video.mkv
#video path
video_path=/media/nanobot/Daten
#video sufix flag
video_sufix=1
#photo name
photo_name=my_photo.jpg
#photo path
photo_path=/home/nanobot
#photo sufix flag
photo_sufix=1
#fps numerator (def. 1)
fps_num=1
#fps denominator (def. 25)
fps_denom=25
#audio device index (-1 - api default)
audio_device=4
#video fx mask
video_fx=0x0
#audio fx mask
audio_fx=0x0
#OSD mask
osd_mask=0x0
crosshair_color=0xff00


The important setting is "video_codec=raw" and "width=1920 and height=1080", which is one of the native resolutions the webcam offers. I can also easily check if the video is encoded by checking the bitrate of the videostream in the recorded file, which is always constant 4000kBit/s for 1280x720, 6000kBit/s at 1280x960 and 9000kBit/s at 1920 x 1080. Obviously these are the bitrates the builtin encoder of this webcam is configured to.

And what I am looking for is a program with the same capabilities, but for Windows 10. And until now, I could not find one.