I expected that there would be a guvcview-dbg for use with gdb, but it
seems no.
I have however run with -v and attach the output.
ael
guvcview 1.7.3
file guvcview_video.mkv has extension type 1
file guvcview_image.jpg has extension type 0
file guvcview_image.jpg has extension type 0
Video file suffix detected: 0
Image file suffix detected: 0
video_device: /dev/video0
vid_sleep: 0
cap_meth: 1
resolution: 1280 x 720
windowsize: 560 x 560
default action: 0
mode: mjpg
fps: 1/30
Display Fps: 0
bpp: 32
hwaccel: 1
vid_codec: 8
sound: 1
sound Device: 0
sound samp rate: 1
sound Channels: 2
Sound delay: 0 nanosec
Sound Format: 80
Pan Step: 2 degrees
Tilt Step: 2 degrees
Video Filter Flags: 0
image inc: 1
profile(default):/home/ael/default.gpfl
starting portaudio...
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:947:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:947:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
language catalog=> dir:/usr/share/locale type:UTF-8 lang:en_GB cat:guvcview.mo
Screen resolution is (1920 x 1080)
mjpg: setting format to MJPG
capture method = 1
video device: /dev/video0
Device Node Path: /dev/video0
VID/PID: 5986 0248
(null)
BisonCam, NB Pro
serial: (null)
busnum: 3
devnum: 3
vid:5986
pid:0248
driver:uvcvideo
device doesn't seem to support uvc H264 (0)
Init. BisonCam, NB Pro (location: usb-0000:00:14.0-8)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/10,
{ discrete: width = 640, height = 360 }
Time interval between frame: 1/30,
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/30,
{ discrete: width = 640, height = 360 }
Time interval between frame: 1/30,
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/30,
{ discrete: width = 640, height = 360 }
Time interval between frame: 1/30,
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/30,
{ discrete: width = 640, height = 360 }
Time interval between frame: 1/30,
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/30,
{ discrete: width = 640, height = 360 }
Time interval between frame: 1/30,
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/30,
{ discrete: width = 640, height = 360 }
Time interval between frame: 1/30,
device doesn't seem to support uvc H264 (0)
checking muxed H264 format support
checking format: MJPG
VIDIOC_G_COMP:: Inappropriate ioctl for device
fps is set to 1/30
drawing controls
control[0]:(int) 0x980900 'Brightness'
min:-127 max:128 step:1 def:5 curr:5
control[1]:(int) 0x980901 'Contrast'
min:0 max:30 step:1 def:18 curr:18
control[2]:(int) 0x980902 'Saturation'
min:0 max:127 step:1 def:63 curr:63
control[3]:(int) 0x980903 'Hue'
min:-180 max:180 step:1 def:0 curr:0
control[4]:(bool) 0x98090c 'White Balance Temperature, Auto'
def:1 curr:1
control[5]:(int) 0x980910 'Gamma'
min:20 max:250 step:1 def:100 curr:100
control[6]:(int) 0x980913 'Gain'
min:0 max:10 step:1 def:0 curr:0
control[7]:(menu) 0x980918 'Power Line Frequency'
min:0 max:2 def:2 curr:2
menu[0]: [0] -> 'Disabled'
menu[1]: [1] -> '50 Hz'
menu[2]: [2] -> '60 Hz'
control[8]:(int) 0x98091a 'White Balance Temperature'
min:2500 max:7000 step:1 def:6000 curr:6000
control[9]:(int) 0x98091b 'Sharpness'
min:0 max:60 step:1 def:10 curr:10
control[10]:(int) 0x98091c 'Backlight Compensation'
min:0 max:2 step:1 def:0 curr:0
control[11]:(bool) 0x9a0903 'Exposure, Auto Priority'
def:0 curr:1
resolutions of format(2) = 8
frame rates of 6ยบ resolution=1
fps is set to 1/30
Def. Res: 5 numb. fps:1
--------------------------------------- device #0
Name = HDA Intel PCH: ALC269VB Analog (hw:0,0)
Host API = ALSA
Max inputs = 2, Max outputs = 2
Def. low input latency = 0.006
Def. low output latency = 0.006
Def. high input latency = 0.035
Def. high output latency = 0.035
Def. sample rate = 44100.00
--------------------------------------- device #1
Name = HDA Intel HDMI: 0 (hw:1,3)
Host API = ALSA
Max inputs = 0, Max outputs = 8
Def. low input latency = -1.000
Def. low output latency = 0.006
Def. high input latency = -1.000
Def. high output latency = 0.035
Def. sample rate = 44100.00
--------------------------------------- device #2
Name = HDA Intel HDMI: 1 (hw:1,7)
Host API = ALSA
Max inputs = 0, Max outputs = 8
Def. low input latency = -1.000
Def. low output latency = 0.006
Def. high input latency = -1.000
Def. high output latency = 0.035
Def. sample rate = 44100.00
--------------------------------------- device #3
Name = HDA Intel HDMI: 2 (hw:1,8)
Host API = ALSA
Max inputs = 0, Max outputs = 8
Def. low input latency = -1.000
Def. low output latency = 0.006
Def. high input latency = -1.000
Def. high output latency = 0.035
Def. sample rate = 44100.00
--------------------------------------- device #4
Name = sysdefault
Host API = ALSA
Max inputs = 128, Max outputs = 128
Def. low input latency = 0.021
Def. low output latency = 0.021
Def. high input latency = 0.021
Def. high output latency = 0.021
Def. sample rate = 48000.00
--------------------------------------- device #5
Name = front
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.006
Def. high input latency = -1.000
Def. high output latency = 0.035
Def. sample rate = 44100.00
--------------------------------------- device #6
Name = surround40
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.006
Def. high input latency = -1.000
Def. high output latency = 0.035
Def. sample rate = 44100.00
--------------------------------------- device #7
Name = surround51
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.006
Def. high input latency = -1.000
Def. high output latency = 0.035
Def. sample rate = 44100.00
--------------------------------------- device #8
Name = surround71
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.006
Def. high input latency = -1.000
Def. high output latency = 0.035
Def. sample rate = 44100.00
--------------------------------------- device #9
[ Default Input, Default Output ]
Name = default
Host API = ALSA
Max inputs = 128, Max outputs = 128
Def. low input latency = 0.021
Def. low output latency = 0.021
Def. high input latency = 0.021
Def. high output latency = 0.021
Def. sample rate = 48000.00
--------------------------------------- device #10
Name = dmix
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.021
Def. high input latency = -1.000
Def. high output latency = 0.021
Def. sample rate = 48000.00
----------------------------------------------
SampleRate:8000 Channels:2
GUVCVIEW Signals:
SIGUSR1: Video stop/start capture
SIGUSR2: Image capture
SIGINT (ctrl+c): Exit
examples:
kill -s SIGUSR1 'pid'
killall -s USR2 guvcview
Starting main loop
Video driver: x11
A window manager is available
(Desktop resolution = 1920x1080)
Checking video mode 1280x720@32bpp : OK
Shuting Down Thread
Thread terminated...
cleaning Thread allocations: 100%
Video thread completed
Video Thread finished
write /home/ael/.config/guvcview/video0 OK
free audio mutex
closed v4l2 strutures
free controls
free controls - vidState
cleaned allocations - 100%
Closing portaudio ...OK
Closing GTK... OK