Gambas & VLC player
Posted
Guru

Umbridge said
unfortunately, this component is not available to me (for my version of astra linux 1.7 se maximum gambas 3.12. In the next post I asked about the repositories for astra linux 1.8 se, it is already based on debian 12, but I do not know where to get the repository addresses.
usually to update debian you just need to change the distro name in /etc/apt/sources.list
But for your Astra problems you should be in an Astra forum.
Astra is Russian and designed for the Russian military.
Most people in the world do not use it.
I am downloading again to see if i can update.
all i can find is astra 1.7
The latest version must be paid for.
I personally will never pay for a linux when there are so many free versions out there that probably have better security due to how modern and updated they are.
Code
deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
deb http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
Your sources.list file should say bullseye not bookworm.
so change the bullseye to bookworm and then update
sudo apt-get update
sudo apt-get full-upgrade
Posted
Guru

BruceSteers said
Umbridge said
Tell me, what type of project should I use for your last example? Graphical Aplication? Can you tell me which components to choose from the available ones?
your gambas is very old and outdated , 3.12 was a very long time ago and is what shipped with debian bullseye , are you sure you have debian 12 bookworm?
WebView is with current stable gambas
webkit for old versions.
(webkit is now depreciated)
or update to latest gambas stable version and use gb.gui.webview.
Sorry i just tried and the page does not work with gb.gui.webkit WebView
You will need to update gambas or Astra
Or maybe you could get the vlc library working as vuot suggests?
Posted
Regular

Posted
Guru

I don't want to download all 56gb
Posted
Regular

BruceSteers said
I do not speak Russian , am i downloading the correct one?
I don't want to download all 56gb
Yes, that's right! As far as I know, there are no gambas in the add-ons, you don't have to download them.
Posted
Regular

Posted
Regular

Posted
Guru

looks like we can compile and install the latest stable and master too
This is my Astra 1.8 with latest stable 3.19.5
Here is how i installed it…
<HIGHLIGHT highlight="shell">
sudo apt-get update && sudo apt-get install -y build-essential g++ automake autoconf libbz2-dev libzstd-dev default-libmysqlclient-dev unixodbc-dev libpq-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libpoppler-private-dev libpoppler-cpp-dev libasound2-dev libdirectfb-dev libxtst-dev libffi-dev libglew-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl-dev libncurses5-dev libgmime-3.0-dev libgmp-dev libgtk-3-dev libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-image-dev sane-utils libqt5opengl5-dev libqt5svg5-dev libqt5webkit5-dev libqt5x11extras5-dev qtbase5-dev qtwebengine5-dev libwebkit2gtk-4.0-dev git libssl-dev libmongoc-dev
cd ~
git clone Gambas / gambas · GitLab –depth=1 –branch=stable gambas-stable
cd gambas-stable
./reconf-all
./configure -C -q –disable-keyring –disable-sqlite2 –disable-qt4 –disable-qt6
make -j$()nproc
sudo apt-get remove gambas3* # remove apt gambas if installed
sudo make install
</HIGHLIGHT>
It cannot find one of the dependencies 'libalure-dev' so i removed it and now one component does not install (but i do not think it matters)
I tried a few of my gambas programs and they all seemed to work
Bruce Steers / Blockski+ · GitLab
Posted
Guru

Umbridge said
Now your source code is working, thank you! Now I will figure out how to rewind, stop and do it for the entire window.
Maybe this page will help…
ZoneMinder Wiki - Wiki - Canon
I had a bit of a go…
When it loads it gets the connection ID , the camera ID/Name and default camera
Then I try to zoom with a button click but it asks for user id and password to access the camera
So it does not work but it's some kind of start.
Code (gambas)
- ' Gambas class file
- $iMode = MODE_GetID
- WebView1.Url = "http://47.51.131.147/-wvhttp-01-/OpenCameraServer"
- Select $iMode
- Case MODE_GetID
- $iMode = MODE_GetCamera
- WebView1.Url = "http://47.51.131.147/-wvhttp-01-/GetCameraList"
- Case MODE_GetCamera
- sTxt = aTxt.Last
- WebView1.Url = "http://47.51.131.147/-wvhttp-01-/GetOneShot?image_size=1280x720&frame_count=1000000000"
- $iMode = -1
- Debug sUrl
- WebView1.Url = sUrl
Posted
Guru

VB Viewer -
Code (gambas)
- WebView1.Url = "http://47.51.131.147/viewer/live/index.html?lang=ru"
Posted
Guru

https://gambas.one/viewtopic.php?p=9279#p9279
1 guest and 0 members have just viewed this.






