I just discovered version 2.0.0 on the upstream website, so decided
to try that rather than persist with the older version.

That too gives a segmentation fault (almost immediately):
$ guvcview -w0 -d /dev/video0
GUVCVIEW: couldn't open /home/ael/.config/guvcview2/video0 for read: No
such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
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
[mjpeg @ 0xad2620] This decoder does not support parameter changes, but
PARAM_CHANGE side data was sent to it.
[mjpeg @ 0xad2620] Error applying parameter changes.
Segmentation fault
-----------------------------------------------------

I have only just noticed that the new guvcview is a shell script, so I
guess that I will have to dig a bit to see how to use gdb.

I see that the -w switch is now verbosity, so I attach a more verbose
dump.

ael

GUVCVIEW: couldn't open /home/ael/.config/guvcview2/video0 for read: No such 
file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
GUVCVIEW: language catalog=> dir:/usr/local/share/locale type:en_GB.UTF-8 
cat:guvcview.mo
GUVCVIEW: main thread (tid: 19846)
V4L2_CORE: Device Node Path: /dev/video0
  VID/PID: 5986 0248
  (null)
  BisonCam, NB Pro
  serial: (null)
  busnum: 1
  devnum: 3
V4L2_CORE: language catalog=> dir:/usr/local/share/locale type:en_GB.UTF-8 
cat:gview_v4l2core.mo
V4L2_CORE: capture method mmap (1)
V4L2_CORE: video device: /dev/video0 
V4L2_CORE: mapping control for Pan (relative)
V4L2_CORE: mapping control for Tilt (relative)
V4L2_CORE: mapping control for Pan Reset
V4L2_CORE: mapping control for Tilt Reset
V4L2_CORE: mapping control for Focus
V4L2_CORE: mapping control for LED1 Mode
V4L2_CORE: mapping control for LED1 Frequency
V4L2_CORE: mapping control for Disable video processing
V4L2_CORE: mapping control for Raw bits per pixel
V4L2_CORE: 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 inteALSA 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
rval 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, 
V4L2_CORE: checking muxed H264 format support
V4L2_CORE: checking h264 unit id for device 0 (bus:1 dev:3)
V4L2_CORE: (libusb) checking bus(4) dev(2) for device
V4L2_CORE: (libusb) checking bus(4) dev(1) for device
V4L2_CORE: (libusb) checking bus(3) dev(2) for device
V4L2_CORE: (libusb) checking bus(3) dev(1) for device
V4L2_CORE: (libusb) checking bus(2) dev(1) for device
V4L2_CORE: (libusb) checking bus(1) dev(3) for device
V4L2_CORE: (libusb) checking for H264 unit id
control[0]:(int) 0x980900 'Brightness'
        min:-127 max:128 step:1 def:5 curr:0
control[1]:(int) 0x980901 'Contrast'
        min:0 max:30 step:1 def:18 curr:0
control[2]:(int) 0x980902 'Saturation'
        min:0 max:127 step:1 def:63 curr:0
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:0
control[5]:(int) 0x980910 'Gamma'
        min:20 max:250 step:1 def:100 curr:0
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:0
        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:0
control[9]:(int) 0x98091b 'Sharpness'
        min:0 max:60 step:1 def:10 curr:0
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:0
GUVCVIEW: fps configured to 1/25
GUVCVIEW: setting video codec to 'dx50'
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
GUVCVIEW: setting audio codec to 'mp2'
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
GUVCVIEW: basename for my_video.mkv is my_video.mkv
GUVCVIEW: extension for my_video.mkv is mkv
GUVCVIEW: basename for my_photo.jpg is my_photo.jpg
GUVCVIEW: extension for my_photo.jpg is jpg
--------------------------------------- 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
----------------------------------------------
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
V4L2_CORE: checking format: MJPG
V4L2_CORE: query v4l2 buffers
V4L2_CORE: mapping v4l2 buffers
V4L2_CORE: mapped buffer[0] with length 921600 to pos 0x7f98632c5000
V4L2_CORE: mapped buffer[1] with length 921600 to pos 0x7f98631e4000
V4L2_CORE: mapped buffer[2] with length 921600 to pos 0x7f9863103000
V4L2_CORE: mapped buffer[3] with length 921600 to pos 0x7f9863022000
V4L2_CORE: queue v4l2 buffers
V4L2_CORE: trying to change fps to 1/25
GUVCVIEW: created capture thread with tid: 1673160448
GUVCVIEW: capture thread (tid: 19849)
RENDER: Initializing SDL2 render
GUVCVIEW: (GUI) Screen resolution is (1920 x 1080)
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: video codec list size:11
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
ENCODER: audio codec list size:6
GUVCVIEW: attaching v4l2 controls
GUVCVIEW: attaching video controls
GUVCVIEW: frame rates of resolution index 1 = 1 
GUVCVIEW: fps is set to 1/30
V4L2_CORE: trying to change fps to 1/30
GUVCVIEW: resolutions of format(2) = 8 
GUVCVIEW: attaching audio controls
RENDER: video display 0 ->  1920x1080px @ 60hz
RENDER: setting window size to 640x480

RENDER: Available SDL2 rendering drivers:
  0: opengl
    SDL_RENDERER_TARGETTEXTURE [X]
    SDL_RENDERER_SOFTWARE      [ ]
    SDL_RENDERER_ACCELERATED   [X]
    SDL_RENDERER_PRESENTVSYNC  [X]
  1: opengles2
    SDL_RENDERER_TARGETTEXTURE [X]
    SDL_RENDERER_SOFTWARE      [ ]
    SDL_RENDERER_ACCELERATED   [X]
    SDL_RENDERER_PRESENTVSYNC  [X]
  2: software
    SDL_RENDERER_TARGETTEXTURE [X]
    SDL_RENDERER_SOFTWARE      [X]
    SDL

Reply via email to