Camera tab in Axis

More
4 years 7 months ago #237963 by robertspark
Replied by robertspark on topic camview
i restarted and got this, i am going to try with cheese (ive had my camera a few years as the belief was that the high resolution cameras sometimes used video compression and were not good for part tracing / had a lower frame rate)
  www.sheetcam.com/Scanything/index

Code:
ob@RobsCNC:~/scanything$ mplayer tv:// -tv driver=v4l2 MPlayer 1.4 (Debian), built with gcc-10 (C) 2000-2019 MPlayer Team do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing tv://. TV file format detected. Selected driver: v4l2  name: Video 4 Linux 2 input  author: Martin Olschewski <olschewski@zpr.uni-koeln.de>  comment: first try, more to come ;-) v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead. Selected device: MICROSCOPE  Capabilities:  video capture  streaming  supported norms:  inputs: 0 = Camera 1;  Current input: 0  Current format: YUYV tv.c: norm_from_string(pal): Bogus norm parameter, setting default. v4l2: ioctl enum norm failed: Inappropriate ioctl for device Error: Cannot set norm! Selected input hasn't got a tuner! v4l2: ioctl set mute failed: Invalid argument v4l2: ioctl query control failed: Invalid argument libva info: VA-API version 1.10.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_10 libva info: va_openDriver() returns 0 ========================================================================== Opening video decoder: [raw] RAW Uncompressed Video Movie-Aspect is undefined - no prescaling applied. VO: [vdpau] 640x480 => 640x480 Packed YUY2 Selected video codec: [rawyuy2] vfm: raw (RAW YUY2) ========================================================================== Audio: no sound Starting playback... libvdpau-va-gl: VideoSurface::PutBitsYCbCr_glsl(): not implemented source YCbCr format 'VDP_YCBCR_FORMAT_YUYV' [vdpau] Error when calling vdp_video_surface_put_bits_y_cb_cr: VDP_STATUS_INVALID_Y_CB_CR_FORMAT MPlayer interrupted by signal 11 in module: filter_video - MPlayer crashed by bad usage of CPU/FPU/RAM.   Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and   disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.  [ This binary of MPlayer in Debian is currently compiled with    '--enable-debug'; the debugging symbols are in the package    'mplayer-dbgsym'.] corrupted size vs. prev_size in fastbins MPlayer interrupted by signal 6 in module: filter_video

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #237970 by robertspark
Replied by robertspark on topic camview
hmm this worked for me too...

github.com/wooksong/contributon2019-nns/issues/3
Code:
gst-launch-1.0 v4l2src name=cam_src ! videoconvert ! videoscale ! video/x-raw,format=RGB ! queue ! videoconvert ! ximagesink name=img_origin

 

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #237977 by cakeslob
Replied by cakeslob on topic camview
unless camview is something else I dont understand,you just want to view a webcam right? it should be included as a qtvcp, ive been using it with an rpi and chinese borescope cam, theres an axis sample config
github.com/LinuxCNC/linuxcnc/blob/master.../qtvcp/qtvcp_tab.ini
Code:
EMBED_TAB_NAME= qtscreen EMBED_TAB_COMMAND= halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} cam_align
The following user(s) said Thank You: timo

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #237994 by cmorley
Replied by cmorley on topic camview
qtvcp has a cam module panel that can be embedded too.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #237997 by robertspark
Replied by robertspark on topic camview
thanks I'll give it a try this evening

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #238029 by robertspark
Replied by robertspark on topic camview
well i learnt something else (works great!)

forum.linuxcnc.org/media/kunena/attachme...align-howtoembed.pdf
The following user(s) said Thank You: seuchato, phillc54

Please Log in or Create an account to join the conversation.

Time to create page: 0.301 seconds
Powered by Kunena Forum