update changelog for v2.2.2
Fix compile with musl and ffmpeg 8.0
Patches added to git master
Apply ffmpeg8 and musl patches by Paul Zander <negril.nx+gentoo@gmail.com>; add sfml3 fixes
update to SFML 3.0
fix some spelling errors
Add gtk3 support for OBSBOT Meet4K AI camera
Fix desktop file for cmake
fix deprecation warning with ffpmeg 7.1; add -Wall to compile flags
I think in arch libdecor doesn't force the gtk3 plugin, so SDL in gnome ends up using the default cairo backend.
I think in arch libdecor doesn't force the gtk3 plugin, so SDL in gnome ends up using the default cairo,
this is because mutter doesn't implement xdg-decorations and forces csd (client side decorations), this seems like a lost battle. All wayland compositors, implement ssd (server side decorations) with the exception of gnome and enlighthment.
This can't be the issue. Building guvcview with Qt and disabling Gtk also causes the same crash (according to your tests). Disabling Gtk makes sure guvcview isn't even linked against Gtk. Guvcview only uses Gtk in the main thread. The render thread uses SDL or SFML. I don't know any distribution in that SDL has a direct dependency on Gtk. This just doesn't make any sense. SDL is supposed to be system independent. libdecor is NOT a gtk lib, although it has a optional Gtk pluggin (https://gitlab.freedesktop.org/libdecor/libdecor)...
Checking SDL API I found that libdecor is used over xdg-shell when xdg-decoration protocol is unavailable. So if xdg-decoration is available native decorations are used instead. In Arch both SDL and libdecor are build with a dependency on wayland-protocols package that includes xdg-decoration, so in arch at least, both SDL and libdecor use native wayland window decorations instead of the Gtk3 pluggin.
libdecor can be disabled programmatically : https://wiki.libsdl.org/SDL2/SDL_HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR just need to add SDL_SetHint("SDL_HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR", "0"); to render_sdl2.c just after SDL_SetHint("SDL_HINT_RENDER_SCALE_QUALITY", "1"); around line 84
This can't be the issue. Building guvcview with Qt and disabling Gtk also causes the same crash (according to your tests). Disabling Gtk makes sure guvcview isn't even linked against Gtk. Guvcview only uses Gtk in the main thread. The render thread uses SDL or SFML. I don't know any distribution in that SDL is has a direct dependency on Gtk. This just doesn't make any sense. SDL is supposed to be system independent. libdecor is NOT a gtk lib, although it has a optional Gtk pluggin (https://gitlab.freedesktop.org/libdecor/libdecor)...
Hi, I've been running guvcview in wayland with the sdl backend for 2+ years (in Arch) without any issues. The gui and the render run in different threads, this is how guvcview is designed. I've tested in gnome, plasma and sway and never had any issues. Could this be related to the way sdl is build?
Hi, I've been running guvcview in wayland with the sdl backend for 2+ years (in Arch) without any issues. The gui and the render run in different threads, this is how guvcview is designed. I've tested in gnome, plasma and sway and never ad any issues. Could this be related ti the way sdl is build?
fix libs version
Also needs QT support for merging, otherwise it will loose consistency between GTK and QT interfaces. Since I don't have this camera to test, I can't add support for the QT interface myself.
fix the guvcview with mjpeg when I use high resolution camera to preview
add corrected fix to master with commit [9b143fe]
add support for MJPG decoder for yuv420p output pixel format
set render window to fixed size keeping video aspect ratio
fix pts ordering for video muxing
use pkt pts as muxer timestamp
fix video timestamps
fix spelling errors in gview_audio
clang-format gview_v4l2core code
fix qt6 package name in README.md
small update to README.md
update README.md with cmake build system info
clang-format gview_audio code
update Changelog
update GL linking
add -lGL to gview_render and guvcview if SFML is used
make -lGL option PUBLIC
in some distros GL is not linked for gview_render, force it with -lGL
change build system: move from autoconf to cmake
fix x265 encoder defaults
If the problem is in sdl2, then using the qt interface shouldn't make any difference. The crash should happen any way. If the problem is in the gtk interface, then yes, using the qt interface should produce a different output
I don't think fedora default theme is the same as gtk default (Adwaita). In any case guvcview doesn't use any of the gtk css stuff directly. For what I can see from your backtrace, there seems to be some calls to sdl decorate border, I'm not sure about sdl2 internals, but if you running gnome, maybe window decorations use gtk css. Have you tried with sfml render instead of sdl2?
Hi, have you tried with the qt interface : --disable-gtk3 --enable-qt5 You can also enable the sfml render: --enable-sfml and then: guvcview --render=sfml As for the GTK interface, I really can't reproduce the problem in Arch. Did you tried changing your gtk theme? If it works under root then it's most likely a permission issue. Just try with a default theme like Adwaita or installing a local theme. Regards,
always link guvcview with -lGl if sfml build is enabled; bump guvcview and libraries verion
Fix duplicate key
fix crosshair size config file read
Merge remote-tracking branch 'refs/remotes/origin/master'
enable osd crosshair size to be changed in the config file
Support physical button click for certain digital microscope models
Make guvicview skips device files for metadata.
apply Kentaro Fukushi patch: Make guvicview skips device files for metadata.
fix printf warning
Add binary fx filter
Hi, This will only work for gtk3, you also need to change MainWindow::render_fx_filter_changed(int state) in gui_qt5_callbacks.cpp so that the filter is available in the qt5 interface. Otherwise it wont even build with configure --enable-qt5
Wrong COPYING file in the sources
Fixed in git master
Fix COPYING to the same GPL version (v2) as the source files
fix minimum version for audio channels api deprecated warning (>= 59)
Ramast <ramast@users.sourceforge.net> Some models produce Qt::Key_WebCam when clicked instead of Qt::Key_Camera. This simple merge request makes the app support both keys; add small fixes
fix audio channels deprecated warning in avcodec >= 58
update hyde park map 6
update hyde park map 6; add check_stairs to trap1 objects
fix maps to latest version of tiled (object type is now object class); add Entity21 object
refresh pre-rendered xbr sprites
fix sprite
fix int random generator
fix more sprites; fix size of trap6 object and sprite
fix loading map view
Fix more sprites
more ccpcheck fixes
fix cppcheck warnings
add -O3 optimization flag
prevent view from changing when player2 is dead
fix clang-tidy warnings
fix some sprites
Fix typo in README.md
add README.md
merge version2
add .gitignore
Update Changelog
update autoconf scripts
Fix committed to git master: https://sourceforge.net/p/guvcview/git-master/ci/308dd55b57330a82d1d6329b78c846365ef7dbd0/ eatdirt dirteat@users.sourceforge.net escreveu no dia domingo, 10/04/2022 à(s) 17:02: [tickets:#70] https://sourceforge.net/p/guvcview/tickets/70/ ffmpeg-5 and its API breaks* Status: open Milestone: next Created: Sun Apr 10, 2022 04:02 PM UTC by eatdirt Last Updated: Sun Apr 10, 2022 04:02 PM UTC Owner: nobody Hi there, just a head up for the new ffmpeg-5, which comes with its...
ffmpeg-5 and its API breaks
Fix committed: https://sourceforge.net/p/guvcview/git-master/ci/308dd55b57330a82d1d6329b78c846365ef7dbd0/
fix deprecated avcodec calls
hi, To build from source you should follow the readme.md file. To create the configure script just run the bootstrap script first. Also you should be able to get precompiled deb files from my ppa ppa:pj-assis/ppa Regards, Paulo
Also you should set --verbosity=4 this will output a lot of debug info that can be used to identify the issue.
No. What broke 2.0.6 was libavencoder. It was just a little change. AVPacket now sets the audio channels to 0, regardless of what is set on the codec context. So I just needed to reset the channels after libavcodec set the AVPacket defaults. The problem was that the encoding failed with a generic error and without outputing any debug info, so I had to debug both guvcview and libavcoded. Portaudio and pulseaudio have been working without issues for years. Please make sure you clean any older versions...
No. What broke 2.0.6 was libavencoder. It was just a little change. AVPacket no sets the audio channels to 0, regardless of what is set on the codec context. So I just meeded to
Also make sure you removed the old version completly, including the application libs located in /usr/lib/ (libguv*) or whathever place their installed. It can happen that the old libs are being used instead of the new ones.
Make sure to run the bootstrap script first, this will create the configure script.
This must be some other issue, I have tested in Manjaro against the latest libavcodec and it is working with all the encoders, also in 2.0.7 if you chose the pcm codec, audio is not even encoded, it's just stored directly to file.
it just some small changes to allow static build. Among other tjings, sfml when linked statically needs to link also to libGl
Hi. This was solved in the latest release (2.0.7) Please upgrade to this new version. You can download the source code from the files link. Check the build instrutions in the Readme.md file. Regards, Paulo A quinta, 4/11/2021, 17:02, Keith Smith sitruc55@users.sourceforge.net escreveu: [tickets:#66] https://sourceforge.net/p/guvcview/tickets/66/ No Audio recorded on Fedora Jam 35 w/pipewire* Status: open Milestone: next Labels: pipewire Created: Thu Nov 04, 2021 05:02 PM UTC by Keith Smith Last Updated:...
No Audio recorded on Fedora Jam 35 w/pipewire
This was fixed in the latest version (2.0.7). Please upgrade to the latest release. You can get the source code in the files link, and build instrutions in the Readme.md file. Regards Paulo
make fwrite full buffered - seems to improve sav imge perfomance
Update AppStream metadata to a newer version
changes committed to git master
added to git master