[Linux] Camera resolution won't save/apply.

This page summarizes the projects mentioned and recommended in the original post on /r/ispyconnect

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • OpenCV

    Open Source Computer Vision Library

  • From what I've gathered, it's possible that the GPU [Nvidia 650M] isn't compatible with FFmpeg/NVENC. Resulting in ````Error: ffmpegbase: Main: Couldn't create AV_HWDEVICE_TYPE_NONE decoder. Using CPU instead. Though setting the decoder to use CPU still doesn't allow the resolution to change. It will change in the terminal, IE; opening /dev/video2 with opts video_size=1920x1080 but it doesn't seem to change in the agent as opening /dev/video2 with opts video_size=160x90 looks identical. I'm not sure what I'm missing, what can I do to fix this? Logs Starting... Using default media location Creating temp path for opencv in /tmp/ Get com port list Using default port (8090) Local Server running on port 8090 H264 compatible version of ffmpeg is required to use H264 encoding. Switch to VP8 in settings if unable to record. Accepting http connections at http://*:8090/ Access locally at http://192.168.50.121:8090 Agent (v3.9.0.0) Log start Process is 64 bit Using WorkStation GC Init Webrtc Init FFmpeg Looking for ffmpeg in /usr/local/lib Not in there.. Looking for ffmpeg in /usr/lib/x86_64-linux-gnu ffmpeg path: /usr/lib/x86_64-linux-gnu Initializing devices vdpau ZeroConf: ZeroConf Service Started cuda vaapi drm opencl Found 4 devices List Devices: /dev/video3 call ffplay -nodisp -f v4l2 -list_formats all /dev/video3 [video4linux2,v4l2 @ 0x7f1e50000bc0] ioctl(vidioc_g_input): inappropriate ioctl for device List Devices: /dev/video2 call ffplay -nodisp -f v4l2 -list_formats all /dev/video2 [video4linux2,v4l2 @ 0x7f3304000bc0] raw : yuyv422 : yuyv 4:2:2 : 640x480 160x90 160x120 176x144 320x180 320x240 352x288 432x240 640x360 800x448 800x600 864x480 960x720 1024x576 1280x720 1600x896 1920x1080 2304x1296 2304x1536 List Devices: /dev/video1 call ffplay -nodisp -f v4l2 -list_formats all /dev/video1 [video4linux2,v4l2 @ 0x7f2f7c000bc0] ioctl(vidioc_g_input): inappropriate ioctl for device List Devices: /dev/video0 call ffplay -nodisp -f v4l2 -list_formats all /dev/video0 [video4linux2,v4l2 @ 0x7f6ee8000bc0] raw : yuyv422 : yuyv 4:2:2 : 640x480 384x216 352x288 320x240 176x144 160x120 1280x720 call arecord -l Preloading Images Turn Server accepting connections at 192.168.50.121:3478 using range 50000-50010) MQTT not configured or enabled Loaded 1 cameras and 0 mics from /home/toor/AgentDVR/Media/XML/objects.xml Running at http://localhost:8090 Enable: Main: Enabled opening /dev/video2 with opts video_size=1920x1080 IP addresses: 192.168.50.121 found 192.168.50.1 found 192.168.50.65 found 192.168.50.7 found 192.168.50.43 found 192.168.50.121 found 192.168.50.137 Start Stream: Main: Using software decoder found 192.168.50.136 [ WARN:0] global /home/sean/Desktop/emgucv/opencv/modules/core/src/matrix_expressions.cpp (1334) assign OpenCV/MatExpr: processing of multi-channel arrays might be changed in the future: https://github.com/opencv/opencv/issues/16739 rtc:added servers rtc:inited peer connection (True) rtc:set flag rtc:onsuccessanswer ICE state: Checking ICE state: Connected rtc:ondatachannelstatechange (serverdata: Open) rtc: opened serverdata rtc:ondatachannelstatechange (talk: Open) rtc: opened talk Found 4 devices List Devices: /dev/video3 call ffplay -nodisp -f v4l2 -list_formats all /dev/video3 [video4linux2,v4l2 @ 0x7f4604000bc0] ioctl(vidioc_g_input): inappropriate ioctl for device List Devices: /dev/video2 call ffplay -nodisp -f v4l2 -list_formats all /dev/video2 [video4linux2,v4l2 @ 0x7f2f4c000bc0] raw : yuyv422 : yuyv 4:2:2 : 640x480 160x90 160x120 176x144 320x180 320x240 352x288 432x240 640x360 800x448 800x600 864x480 960x720 1024x576 1280x720 1600x896 1920x1080 2304x1296 2304x1536 List Devices: /dev/video1 call ffplay -nodisp -f v4l2 -list_formats all /dev/video1 [video4linux2,v4l2 @ 0x7faa04000bc0] ioctl(vidioc_g_input): inappropriate ioctl for device List Devices: /dev/video0 call ffplay -nodisp -f v4l2 -list_formats all /dev/video0 [video4linux2,v4l2 @ 0x7fa6b8000bc0] raw : yuyv422 : yuyv 4:2:2 : 640x480 384x216 352x288 320x240 176x144 160x120 1280x720 call arecord -l SourcePlayingFinished: Main: Playing finished (Restart) intervals: Main: Reconnecting intervals: Main: Reconnect Exit opening /dev/video2 with opts video_size=1920x1080 Start Stream: Main: Using software decoder SourcePlayingFinished: Main: Playing finished (StoppedByUser) opening /dev/video2 with opts video_size=1920x1080 Enable: Main: Enabled Start Stream: Main: Using software decoder StartSaving: Main: opening with base codec AV_CODEC_ID_H264 Opening codec mediaWriter: Main: Using CPU encoder

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts