Author Topic: HTI HT-203U Thermal Imager Raspberry Pi OS  (Read 1006 times)

0 Members and 2 Guests are viewing this topic.

Offline 5B4APVTopic starter

  • Newbie
  • Posts: 3
  • Country: cy
HTI HT-203U Thermal Imager Raspberry Pi OS
« on: March 28, 2024, 08:25:44 pm »
Hello!

I am trying to view the UVC video stream of the HT-203U 256x192 USB C thermal camera on raspberry pi os but I haven't been able to.
I have tried through VLC, guvcview, cheese and ffmpeg

The thermal imager works fine as a webcam on Windows, but on Pi os it wont display anything and each software prints errors when trying to connect to it.

The format that works on windows is YUYV422 256x192

Any guidance on how to view live video from this device will be greatly appreciated.

Bellow are the outputs of 2 commands that show the details of the video stream the device outputs.


ffmpeg -f v4l2 -list_formats all -i /dev/video0:

[video4linux2,v4l2 @ 0x1907cd0] Raw       :     yuyv422 :           YUYV 4:2:2 : 256x392 256x192 256x196 256x400 256x196 256x200 192x520 192x400
[video4linux2,v4l2 @ 0x1907cd0] Compressed:       mjpeg :          Motion-JPEG : 120x160 240x320 640x360
[video4linux2,v4l2 @ 0x1907cd0] Compressed:        h264 :                H.264 : 240x320


v4l2-ctl -d /dev/video0 --list-formats:

ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

       
  • : 'YUYV' (YUYV 4:2:2)
  • [1]: 'MJPG' (Motion-JPEG, compressed)
            [2]: 'H264' (H.264, compressed)
 

Offline 5B4APVTopic starter

  • Newbie
  • Posts: 3
  • Country: cy
Re: HTI HT-203U Thermal Imager Raspberry Pi OS
« Reply #1 on: March 31, 2024, 09:54:16 pm »
Some more information I got from the camera:

uvcdynctrl -f:
Code: [Select]
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00980001, name = 'User Controls', type = 6
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x00980001, name = 'User Controls'
[libwebcam] Unknown V4L2 user control ID encountered: 0x0098090E (V4L2_CID_USER_BASE + 14)
[libwebcam] Unknown V4L2 user control ID encountered: 0x0098090F (V4L2_CID_USER_BASE + 15)
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x009F0001, name = 'Image Processing Controls', type = 6
[libwebcam] Unknown V4L2 control ID encountered: 0x009F0905
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x009D0001, name = 'JPEG Compression Controls', type = 6
[libwebcam] Unknown V4L2 control ID encountered: 0x009D0903
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00990001, name = 'Codec Controls', type = 6
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x009909CA (V4L2_CID_MPEG_BASE + 202)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x009909CB (V4L2_CID_MPEG_BASE + 203)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x009909CE (V4L2_CID_MPEG_BASE + 206)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x009909CF (V4L2_CID_MPEG_BASE + 207)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x009909D8 (V4L2_CID_MPEG_BASE + 216)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x009909E2 (V4L2_CID_MPEG_BASE + 226)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x009909E5 (V4L2_CID_MPEG_BASE + 229)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x00990A61 (V4L2_CID_MPEG_BASE + 353)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x00990A62 (V4L2_CID_MPEG_BASE + 354)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x00990A66 (V4L2_CID_MPEG_BASE + 358)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x00990A67 (V4L2_CID_MPEG_BASE + 359)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x00990A6B (V4L2_CID_MPEG_BASE + 363)
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00980001, name = 'User Controls', type = 6
[libwebcam] Unknown V4L2 user control ID encountered: 0x00980914 (V4L2_CID_USER_BASE + 20)
[libwebcam] Unknown V4L2 user control ID encountered: 0x00980915 (V4L2_CID_USER_BASE + 21)
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00980001, name = 'User Controls', type = 6
[libwebcam] Unknown V4L2 user control ID encountered: 0x0098090E (V4L2_CID_USER_BASE + 14)
[libwebcam] Unknown V4L2 user control ID encountered: 0x0098090F (V4L2_CID_USER_BASE + 15)
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x009F0001, name = 'Image Processing Controls', type = 6
[libwebcam] Unknown V4L2 control ID encountered: 0x009F0905
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00980001, name = 'User Controls', type = 6
[libwebcam] Unknown V4L2 user control ID encountered: 0x00980927 (V4L2_CID_USER_BASE + 39)
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00990001, name = 'Codec Controls', type = 6
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x00990A67 (V4L2_CID_MPEG_BASE + 359)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x00990A6B (V4L2_CID_MPEG_BASE + 363)
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00A40001, name = 'Stateless Codec Controls', type = 6
[libwebcam] Unknown V4L2 control ID encountered: 0x00A40A95
[libwebcam] Unknown V4L2 control ID encountered: 0x00A40A96
Listing available frame formats for device video0:
Pixel format: YUYV (YUYV 4:2:2; MIME type: video/x-raw-yuv)
  Frame size: 256x392
    Frame rates: 25
  Frame size: 256x192
    Frame rates: 25
  Frame size: 256x196
    Frame rates: 25, 25
  Frame size: 256x400
    Frame rates: 25
  Frame size: 256x196
    Frame rates: 25, 25
  Frame size: 256x200
    Frame rates: 25
  Frame size: 192x520
    Frame rates: 25
  Frame size: 192x400
    Frame rates: 25
Pixel format: MJPG (Motion-JPEG; MIME type: image/jpeg)
  Frame size: 120x160
    Frame rates: 25
  Frame size: 240x320
    Frame rates: 30
  Frame size: 640x360
    Frame rates: 30
Pixel format: H264 (H.264)
  Frame size: 240x320
    Frame rates: 30

xinput --list:
Code: [Select]
⎡ Virtual core pointer                    id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              id=4 [slave  pointer  (2)]
⎜   ↳ vc4-hdmi-0                              id=7 [slave  pointer  (2)]
⎜   ↳ vc4-hdmi-1                              id=8 [slave  pointer  (2)]
⎣ Virtual core keyboard                    id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard              id=5 [slave  keyboard (3)]
    ↳ HikCamera: UVC Camera                    id=6 [slave  keyboard (3)]
    ↳ vc4-hdmi-0                              id=9 [slave  keyboard (3)]
    ↳ vc4-hdmi-1                              id=10 [slave  keyboard (3)]

v4l2-ctl -d0 -D:
Code: [Select]
Driver Info:
        Driver name      : uvcvideo
        Card type        : HikCamera: UVC Camera
        Bus info         : usb-0000:01:00.0-1.4.4
        Driver version   : 6.1.21
        Capabilities     : 0x84a00001
                Video Capture
                Metadata Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps      : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format
Media Driver Info:
        Driver name      : uvcvideo
        Model            : HikCamera: UVC Camera
        Serial           : F10615613
        Bus info         : usb-0000:01:00.0-1.4.4
        Media version    : 6.1.21
        Hardware revision: 0x00000409 (1033)
        Driver version   : 6.1.21
Interface Info:
        ID               : 0x03000002
        Type             : V4L Video
Entity Info:
        ID               : 0x00000001 (1)
        Name             : HikCamera: UVC Camera
        Function         : V4L2 I/O
        Flags         : default
        Pad 0x01000007   : 0: Sink
          Link 0x0200000d: from remote pad 0x1000009 of entity 'Input 2': Data, Enabled, Immutable

I believe it's possibly a wrong driver selected for the device, but the resolutions seem correct.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf