Jump to content

Guvcview for OPI (Orange PI PC / 2Plus / 2E)


@lex

Recommended Posts

@Tido, it is not a question, it is an answer for those who don't have Guvcview working with CMOS camera.

Guvcview works with USB camera only, unless you modify the source or get deb packages when ready.

Link to comment
Share on other sites

@lex

 

this is too long a post to send in a P.M. so steps and results listed below.

 

The following is performed on a fresh rootfs on an OrangePi One - with the latest (at time of writing) Debian Desktop http://mirror.igorpecovnik.com/Armbian_5.13_Orangepione_Debian_jessie_3.4.112_desktop.7z

 

following steps performed

 

 

software installed

apt-get install intltool autotools-dev libsdl1.2-dev libgtk-3-dev portaudio19-dev libpng12-dev libavcodec-dev libavutil-dev libudev-dev libusb-1.0-0-dev libpulse-dev libgsl0-dev libv4l-dev libv4l2rds0
--install-recommends -f -y

cloned your repo into the working directory /usr/src/

git clone https://github.com/avafinger/guvcview

edited ./bootstrap.sh and replace ./configure line with "./configure --prefix=/usr --enable-yuyv --disable-sdl2" -without quotation marks, as performing standard ./bootstrap.sh errors out with

 

checking for GVIEWRENDER... no
configure: error: Package requirements (sdl2 >= 2.0) were not met:

No package 'sdl2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
 

 

 

 

attempting to correct ask for mesa utils installation which will not install as it conflicts with other packages

 

 

WITH A MODIFIED ./bootstrap.sh the following output is seen
 


configure:

  guvcview 2.0.2
  ----------------------

  Prefix           : /usr
  Pulseaudio       : yes
  internal format  : yuyv
  gsl              : yes
  sdl2             : no
  mjpg decoder     : libavcodec
  desktop file     : yes
  debian menu      : yes

 

 

 

 

when issuing the make command, the following is noted

 

 

root@orangepione:/usr/src/guvcview# make
make  all-recursive
make[1]: Entering directory '/usr/src/guvcview'
Making all in gview_v4l2core
make[2]: Entering directory '/usr/src/guvcview/gview_v4l2core'
  CC       libgviewv4l2core_la-v4l2_core.lo
  CC       libgviewv4l2core_la-v4l2_formats.lo
  CC       libgviewv4l2core_la-v4l2_controls.lo
  CC       libgviewv4l2core_la-v4l2_devices.lo
  CC       libgviewv4l2core_la-v4l2_xu_ctrls.lo
  CC       libgviewv4l2core_la-uvc_h264.lo
  CC       libgviewv4l2core_la-core_time.lo
  CC       libgviewv4l2core_la-frame_decoder.lo
  CC       libgviewv4l2core_la-colorspaces.lo
  CC       libgviewv4l2core_la-jpeg_decoder.lo
  CC       libgviewv4l2core_la-soft_autofocus.lo
  CC       libgviewv4l2core_la-dct.lo
  CC       libgviewv4l2core_la-control_profile.lo
  CC       libgviewv4l2core_la-save_image.lo
  CC       libgviewv4l2core_la-save_image_jpeg.lo
  CC       libgviewv4l2core_la-save_image_bmp.lo
  CC       libgviewv4l2core_la-save_image_png.lo
  CCLD     libgviewv4l2core.la
make[2]: Leaving directory '/usr/src/guvcview/gview_v4l2core'
Making all in gview_audio
make[2]: Entering directory '/usr/src/guvcview/gview_audio'
  CC       libgviewaudio_la-audio.lo
  CC       libgviewaudio_la-audio_fx.lo
  CC       libgviewaudio_la-core_time.lo
  CC       libgviewaudio_la-audio_portaudio.lo
  CC       libgviewaudio_la-audio_pulseaudio.lo
  CCLD     libgviewaudio.la
make[2]: Leaving directory '/usr/src/guvcview/gview_audio'
Making all in gview_render
make[2]: Entering directory '/usr/src/guvcview/gview_render'
  CC       libgviewrender_la-render.lo
  CC       libgviewrender_la-render_fx.lo
  CC       libgviewrender_la-render_osd_vu_meter.lo
  CC       libgviewrender_la-render_osd_crosshair.lo
  CC       libgviewrender_la-render_sdl1.lo
  CCLD     libgviewrender.la
make[2]: Leaving directory '/usr/src/guvcview/gview_render'
Making all in gview_encoder
make[2]: Entering directory '/usr/src/guvcview/gview_encoder'
  CC       libgviewencoder_la-encoder.lo
  CC       libgviewencoder_la-video_codecs.lo
  CC       libgviewencoder_la-audio_codecs.lo
  CC       libgviewencoder_la-libav_encoder.lo
  CC       libgviewencoder_la-stream_io.lo
  CC       libgviewencoder_la-file_io.lo
  CC       libgviewencoder_la-matroska.lo
  CC       libgviewencoder_la-avi.lo
  CC       libgviewencoder_la-muxer.lo
  CCLD     libgviewencoder.la
make[2]: Leaving directory '/usr/src/guvcview/gview_encoder'
Making all in guvcview
make[2]: Entering directory '/usr/src/guvcview/guvcview'
  CC       guvcview-guvcview.o
  CC       guvcview-video_capture.o
  CC       guvcview-core_io.o
  CC       guvcview-options.o
  CC       guvcview-config.o
  CC       guvcview-gui.o
  CC       guvcview-gui_gtk3.o
gui_gtk3.c: In function ‘gui_error_gtk3’:
gui_gtk3.c:437:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (title_lbl), 0, 0);
  ^
gui_gtk3.c:437:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3.c:443:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (text), 0, 0);
  ^
gui_gtk3.c:443:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3.c:454:3: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
   gtk_misc_set_alignment (GTK_MISC (text2), 0, 0);
   ^
gui_gtk3.c:454:3: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3.c:459:3: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
   gtk_misc_set_alignment (GTK_MISC (dev_lbl), 0.5, 0.5);
   ^
gui_gtk3.c:459:3: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
  CC       guvcview-gui_gtk3_menu.o
  CC       guvcview-gui_gtk3_v4l2ctrls.o
gui_gtk3_v4l2ctrls.c: In function ‘gui_attach_gtk3_v4l2ctrls’:
gui_gtk3_v4l2ctrls.c:159:5: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
     gtk_misc_set_alignment (GTK_MISC (control_widgets_list[widget_list_size - 1].label), 1, 0.5);
     ^
gui_gtk3_v4l2ctrls.c:159:5: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
  CC       guvcview-gui_gtk3_videoctrls.o
gui_gtk3_videoctrls.c: In function ‘gui_attach_gtk3_videoctrls’:
gui_gtk3_videoctrls.c:107:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_Device), 1, 0.5);
  ^
gui_gtk3_videoctrls.c:107:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_videoctrls.c:150:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_FPS), 1, 0.5);
  ^
gui_gtk3_videoctrls.c:150:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_videoctrls.c:214:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_Resol), 1, 0.5);
  ^
gui_gtk3_videoctrls.c:214:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_videoctrls.c:269:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_InpType), 1, 0.5);
  ^
gui_gtk3_videoctrls.c:269:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_videoctrls.c:307:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_videoFilters), 0.5, 0.5);
  ^
gui_gtk3_videoctrls.c:307:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_videoctrls.c:408:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_osd), 0.5, 0.5);
  ^
gui_gtk3_videoctrls.c:408:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
  CC       guvcview-gui_gtk3_h264ctrls.o
gui_gtk3_h264ctrls.c: In function ‘gui_attach_gtk3_h264ctrls’:
gui_gtk3_h264ctrls.c:610:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_RateControlMode), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:610:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:651:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_RateControlMode_cbr_flag), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:651:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:681:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_TemporalScaleMode), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:681:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:716:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_SpatialScaleMode), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:716:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:752:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_FrameInterval), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:752:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:794:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_BitRate), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:794:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:822:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_Hints), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:822:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:904:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_SliceMode), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:904:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:931:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_SliceUnits), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:931:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:957:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_Profile), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:957:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1020:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_Profile_flags), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1020:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1050:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_IFramePeriod), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1050:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1076:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_EstimatedVideoDelay), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1076:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1102:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_EstimatedMaxConfigDelay), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1102:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1128:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_UsageType), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1128:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1168:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_SNRScaleMode), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1168:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1260:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_StreamFormat), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1260:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1286:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_EntropyCABAC), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1286:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1319:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_NumOfReorderFrames), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1319:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1356:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_View), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1356:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1386:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_StreamID), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1386:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1416:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_SpatialLayerRatio), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1416:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_h264ctrls.c:1450:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_LeakyBucketSize), 1, 0.5);
  ^
gui_gtk3_h264ctrls.c:1450:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
  CC       guvcview-gui_gtk3_audioctrls.o
gui_gtk3_audioctrls.c: In function ‘gui_attach_gtk3_audioctrls’:
gui_gtk3_audioctrls.c:101:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_SndAPI), 1, 0.5);
  ^
gui_gtk3_audioctrls.c:101:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_audioctrls.c:137:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_SndDevice), 1, 0.5);
  ^
gui_gtk3_audioctrls.c:137:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_audioctrls.c:177:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_SndSampRate), 1, 0.5);
  ^
gui_gtk3_audioctrls.c:177:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_audioctrls.c:229:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_SndNumChan), 1, 0.5);
  ^
gui_gtk3_audioctrls.c:229:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_audioctrls.c:263:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_Latency), 1, 0.5);
  ^
gui_gtk3_audioctrls.c:263:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_audioctrls.c:307:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (label_audioFilters), 0.5, 0.5);
  ^
gui_gtk3_audioctrls.c:307:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
  CC       guvcview-gui_gtk3_callbacks.o
gui_gtk3_callbacks.c: In function ‘encoder_video_properties’:
gui_gtk3_callbacks.c:1789:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_fps), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1789:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:1814:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_bit_rate), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1814:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:1832:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_qmax), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1832:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:1850:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_qmin), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1850:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:1868:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_max_qdiff), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1868:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:1886:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_dia), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1886:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:1904:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_pre_dia), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1904:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:1922:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_pre_me), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1922:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:1940:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_me_pre_cmp), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1940:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:1958:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_me_cmp), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1958:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:1976:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_me_sub_cmp), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1976:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:1994:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_last_pred), 1, 0.5);
  ^
gui_gtk3_callbacks.c:1994:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:2012:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_gop_size), 1, 0.5);
  ^
gui_gtk3_callbacks.c:2012:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:2030:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_qcompress), 1, 0.5);
  ^
gui_gtk3_callbacks.c:2030:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:2048:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_qblur), 1, 0.5);
  ^
gui_gtk3_callbacks.c:2048:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:2066:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_subq), 1, 0.5);
  ^
gui_gtk3_callbacks.c:2066:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:2084:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_framerefs), 1, 0.5);
  ^
gui_gtk3_callbacks.c:2084:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:2102:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_me_method), 1, 0.5);
  ^
gui_gtk3_callbacks.c:2102:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:2120:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_mb_decision), 1, 0.5);
  ^
gui_gtk3_callbacks.c:2120:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:2138:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_max_b_frames), 1, 0.5);
  ^
gui_gtk3_callbacks.c:2138:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:2156:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_num_threads), 1, 0.5);
  ^
gui_gtk3_callbacks.c:2156:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c: In function ‘encoder_audio_properties’:
gui_gtk3_callbacks.c:2239:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_bit_rate), 1, 0.5);
  ^
gui_gtk3_callbacks.c:2239:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
gui_gtk3_callbacks.c:2258:2: warning: ‘gtk_misc_set_alignment’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-declarations]
  gtk_misc_set_alignment (GTK_MISC (lbl_sample_fmt), 1, 0.5);
  ^
gui_gtk3_callbacks.c:2258:2: warning: ‘gtk_misc_get_type’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-declarations]
  CCLD     guvcview
make[2]: Leaving directory '/usr/src/guvcview/guvcview'
Making all in data
make[2]: Entering directory '/usr/src/guvcview/data'
Making all in icons
make[3]: Entering directory '/usr/src/guvcview/data/icons'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/usr/src/guvcview/data/icons'
make[3]: Entering directory '/usr/src/guvcview/data'
cd .. && /bin/bash ./config.status data/guvcview.appdata.xml.in
config.status: creating data/guvcview.appdata.xml.in
  ITMRG  guvcview.appdata.xml
cd .. && /bin/bash ./config.status data/guvcview.desktop.in
config.status: creating data/guvcview.desktop.in
  ITMRG  guvcview.desktop
cd .. && /bin/bash ./config.status data/guvcview.in
config.status: creating data/guvcview.in
cp guvcview.in guvcview
make[3]: Leaving directory '/usr/src/guvcview/data'
make[2]: Leaving directory '/usr/src/guvcview/data'
Making all in po
make[2]: Entering directory '/usr/src/guvcview/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/src/guvcview/po'
Making all in po/gview_v4l2core
make[2]: Entering directory '/usr/src/guvcview/po/gview_v4l2core'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/src/guvcview/po/gview_v4l2core'
make[2]: Entering directory '/usr/src/guvcview'
make[2]: Leaving directory '/usr/src/guvcview'
make[1]: Leaving directory '/usr/src/guvcview'
root@orangepione:/usr/src/guvcview# 

 

 

is the above expected behaviour of have i forgotten to do somethin??

Edited by zador.blood.stained
Added spoiler for the big wall of text
Link to comment
Share on other sites

Looks fine, i had this gtk3 warning on version 2.0.4 and the GUI window did not opened as expected. If you experience this behavior (gui not showing) i think you should go with version 2.0.4. Perhaps you have newer gtk3 libs.

Make sure you don't have any other version installed and run 'make install' and check the version and start up guvcview with command line to see the GUI window.

 

PS: /usr is the standard Ubuntu way! Change it in accordance with Debian if you prefer.

Link to comment
Share on other sites

looking good so far (git clone https://github.com/avafinger/guvcview) - issued a make install

the from command line, issued guvcview and the application loaded. minor problem my end, i cant test it till the camera module arrives.

 

Q. would you like me to continue with the packaging?

 

Q. would you like me to wait until i have the camera module to test this works and then package.

Link to comment
Share on other sites

I think Debian Jessie has Guvcview 2.0.2 deb packaging already, you can work on this.

I leave the answers to Igor / TKaiser , Guvcview users must be aware to pass  --cmos_camera=0 or it will not work correctly with USB cameras.

 

If the answer is 'NO', we should work on 2.0.4 so people can choose to install it.

Link to comment
Share on other sites

We can provide an own package since zador added this as part of this commit just recently. When packages are ready and available somewhere I can always test them on request :)

 

For my understanding: On which of our platforms does installation of guvcview makes some sense now (you also referenced Pine64 IIRC)?

Link to comment
Share on other sites

From the work i have done with @lex thus far:

 

It is recomended that the changes he has made are compiled on the architecture of the board it is to be used on - in this instance H3 - from my notes of our discussions, it absolutely must NOT be cross-compiled

 

For my understanding: On which of our platforms does installation of guvcview makes some sense now (you also referenced Pine64 IIRC)?

Link to comment
Share on other sites

i dont seem to be even able to extract them... having said that - if you already have the files compiled and debs made, do you need me to continue working on a .deb build script?

 

If anybody tests these, please let me know if this works or doesn't work, compared to self-compiled version.

Link to comment
Share on other sites

i dont seem to be even able to extract them...

I just built a jessie desktop system and tested installation of these packages. It works, but you have to install dependencies first (when you put packages in a repository this won't be a problem)

Dependencies for libguvcview:
libasound2 libavcodec56 libavcodec-extra-56 libavutil54 libgsl0ldbl libpng12-0 libportaudio2 libpulse0 libsdl1.2debian libudev1 libusb-1.0-0 libv4l-0
Dependencies for guvcview:
libatk1.0-0 libcairo-gobject2 libcairo2 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libpango-1.0-0 libpangocairo-1.0-0

but I don't have a camera to test this stuff. Edit: if this works with any camera, I may be able to find some USB web cams from laptops and solder a cable to them later.

 

having said that - if you already have the files compiled and debs made, do you need me to continue working on a .deb build script?

For guvcview - no, assuming this version works OK. There are a few desktop packages still (libvdpau-sunxi, libcedrus, xf86-video-fbturbo) which need packaging (not exactly scripts but "debianization" parts made with dh_make and manual editing of files). Sorry if you already wasted your time on guvcview.

Link to comment
Share on other sites

@zador.blood.stained

 

It should work with any camera (USB) if you pass --cmos_camera=0 on command line and  will be able to work exactly as the original code.  I am just worried about the struct size for some kernel version, as an example is the subchannel implemented in the BSP. If i recall correctly it was needed to start streaming on OLD kernel. But is just a thought.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines