You are not logged in.
Please stop full-post quoting every person that responds to you. It's lazy, unnecessary, & needlessly weighs the forum down.
Spend a few moments to edit down any quote to the essentials that you want to draw attention to. Or just reply.
The following will show you all the Linux images available for you at the current time:
$ apt search linux-image
Sorting... Done
Full Text Search... Done
linux-image-5.10.0-8-amd64/now 5.10.46-5 amd64 [residual-config]
(none)
linux-image-5.10.0-9-amd64/now 5.10.70-1 amd64 [residual-config]
(none)
linux-image-5.14.0-0.bpo.2-amd64/now 5.14.9-2~bpo11+1 amd64 [residual-config]
(none)
linux-image-5.15.0-0.bpo.2-amd64/now 5.15.5-2~bpo11+1 amd64 [residual-config]
(none)
linux-image-5.15.0-0.bpo.3-amd64/now 5.15.15-2~bpo11+1 amd64 [residual-config]
(none)
linux-image-5.16.0-0.bpo.3-amd64/now 5.16.11-1~bpo11+1 amd64 [residual-config]
(none)
# (and very much more)
linux-image-6.1.0-0.deb11.5-amd64/now 6.1.12-1~bpo11+1 amd64 [residual-config]
(none)
linux-image-6.1.0-0.deb11.6-amd64/now 6.1.15-1~bpo11+1 amd64 [residual-config]
(none)
linux-image-6.1.0-0.deb11.7-amd64/now 6.1.20-2~bpo11+1 amd64 [residual-config]
(none)
linux-image-6.1.0-10-amd64/stable-proposed-updates 6.1.38-2 amd64
Linux 6.1 for 64-bit PCs (signed)
# (and yet more than this))
Maybe investigate the following (I have zero info on it other than below):
$ apt show kup-client
Package: kup-client
Version: 0.3.6-2.1
Priority: optional
Section: net
Source: kup
Maintainer: Ben Hutchings <ben@decadent.org.uk>
Installed-Size: 33.8 kB
Depends: libconfig-simple-perl, perl:any
Recommends: gnupg-agent
Homepage: https://git.kernel.org/cgit/utils/kup/kup.git/
Tag: implemented-in::perl, role::program, scope::utility
Download-Size: 11.6 kB
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
Description: kernel.org upload tool
the package `kde-plasma-desktop`.
At initiating installing the package I am somewhat alarmed, because I see in "Recommended packages: systemd-coredump and systemd".
Afternoon.
In my version of Daedalus it does not:
$ apt show kde-plasma-desktop
Package: kde-plasma-desktop
Version: 5:142
Priority: optional
Section: metapackages
Source: meta-kde
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Installed-Size: 11.3 kB
Depends: kde-baseapps (>= 4:22.12.3), plasma-desktop (>= 4:5.27.2), plasma-workspace (>= 4:5.27.2), udisks2, upower
Recommends: kwin-x11 (>= 4:5.27.2), sddm (>= 0.11), xserver-xorg
Suggests: kdeconnect
Homepage: https://www.kde.org
Tag: role::metapackage, suite::kde
Download-Size: 4,116 B
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
Description: KDE Plasma Desktop and minimal set of applications
You will see on the "Recommends" line that there is zero mention of systemD. I think that you need to post your sources.list. Here is mine for reference:
$ grep ^[^#] /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://deb.devuan.org/merged daedalus main non-free-firmware non-free contrib
/etc/apt/sources.list:deb http://deb.devuan.org/merged daedalus-updates main non-free-firmware non-free contrib
/etc/apt/sources.list:deb http://deb.devuan.org/merged daedalus-security main non-free-firmware non-free contrib
/etc/apt/sources.list:deb http://deb.devuan.org/merged daedalus-proposed-updates main non-free-firmware non-free contrib
/etc/apt/sources.list:deb http://deb.devuan.org/merged daedalus-backports main non-free-firmware non-free contrib
/etc/apt/sources.list.d/josm.list:deb https://josm.openstreetmap.de/apt/ alldist universe
Splendid. Thankyou.
As I said before, I've never used (nor want to use) Bluetooth. However, you now know that your hardware is accessible & ready.
I'm sure that there are guides on the 'net for howto use Bluetooth under Devuan/Debian (or write one yourself).
$ apt search rfkill
Sorting... Done
Full Text Search... Done
gir1.2-urfkill-0.5/stable 0.5.0-7+b1 amd64
GObject introspection data for the urfkill library
liburfkill-glib-dev/stable 0.5.0-7+b1 amd64
wireless killswitch management library (development files)
liburfkill-glib0/stable 0.5.0-7+b1 amd64
wireless killswitch management library
liburfkill-glib0-dbg/stable 0.5.0-7+b1 amd64
wireless killswitch management library (debug symbols)
>>> rfkill/stable 2.38.1-5devuan1+b1 amd64 <<<
>>> tool for enabling and disabling wireless devices <<<
rfkill-dbgsym/stable 2.38.1-5devuan1+b1 amd64
debug symbols for rfkill
urfkill/stable 0.5.0-7+b1 amd64
wireless killswitch management daemon for laptops
Did it occur to you to search/locate/install this?
The world that you have been born into causes most folks to become mindless slaves. It is up to you to drag yourself up into becoming a self-starter. Why not start now?
$ sudo apt install rfkill
[sudo] password for alexk:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
rfkill
# …
$ sudo rfkill list
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
You appear to believe that I have the metaphysical ability to remotely view & operate your desktop & computer contents & setup. Allow me to reassure you that I have not (yet) achieved that level of being. You will, therefore, need to laboriously inform me on your system setup & configuration.
This is your menu (I never actually use it, but the bluetooth/stable metapackage appears to be the one to install):
$ apt search bluetooth
Sorting... Done
Full Text Search... Done
anyremote/stable 6.7.3-3 amd64
Remote control daemon for applications using Bluetooth, IrDA or Wi-Fi
ayatana-indicator-bluetooth/stable 22.9.1-1 amd64
Ayatana Indicator for managing Bluetooth devices
bluedevil/stable 4:5.27.5-2 amd64
KDE Bluetooth stack
blueman/stable,now 2.3.5-2+b1 amd64 [installed]
Graphical bluetooth manager
bluemon/stable 1.4-8 amd64
Activate or deactivate programs based on Bluetooth link quality
bluetooth/stable,now 5.66-1 all [installed]
Bluetooth support (metapackage)
bluez/stable,now 5.66-1 amd64 [installed,automatic]
Bluetooth tools and daemons
bluez-alsa-utils/stable 4.0.0-2 amd64
Bluetooth Audio ALSA Backend (utils)
bluez-cups/stable 5.66-1 amd64
Bluetooth printer driver for CUPS
bluez-firmware/stable 1.2-9 all
Firmware for Bluetooth devices
bluez-hcidump/stable 5.66-1 amd64
Analyses Bluetooth HCI packets
bluez-meshd/stable 5.66-1 amd64
bluetooth mesh daemon
bluez-source/stable 5.66-1 all
Source code for the BlueZ Linux Bluetooth stack
bluez-tools/stable 2.0~20170911.0.7cb788c-4 amd64
Set of tools to manage Bluetooth devices for linux
btscanner/stable 2.1-9 amd64
ncurses-based scanner for Bluetooth devices
firmware-realtek-rtl8723cs-bt/stable 20181104-2 all
Bluetooth firmware for Realtek RTL8723CS
gir1.2-gnomebluetooth-3.0/stable 42.5-3 amd64
Introspection data for GnomeBluetooth
gnome-bluetooth/stable 42~3.34.5-10 all
GNOME Bluetooth Send To app - transitional package
gnome-bluetooth-3-common/stable 42.5-3 all
GNOME Bluetooth 3 common files
gnome-bluetooth-common/stable 3.34.5-10 all
GNOME Bluetooth common files
gnome-bluetooth-sendto/stable 42.5-3 amd64
GNOME Bluetooth Send To app
gnome-shell-extension-bluetooth-quick-connect/stable 33-1 all
GNOME Shell extension to connect paired Bluetooth devices
go-bluetooth/stable 5.60-3+b4 amd64
Golang bluetooth client based on bluez DBus interfaces (program)
golang-github-muka-go-bluetooth-dev/stable 5.60-3 all
Golang bluetooth client based on bluez DBus interfaces (library)
golang-github-paypal-gatt-dev/stable 0.0~git20151011.4ae819d-3 all
building Bluetooth Low Energy peripherals
libasound2-plugin-bluez/stable 4.0.0-2 amd64
Bluetooth Audio ALSA Backend (plugins)
libbluetooth-dev/stable 5.66-1 amd64
Development files for using the BlueZ Linux Bluetooth library
libbluetooth3/stable,now 5.66-1 amd64 [installed,automatic]
Library to use the BlueZ Linux Bluetooth stack
libbtbb-dev/stable 2018.12.R1-1 amd64
Bluetooth baseband decoding library - development files
libbtbb1/stable 2018.12.R1-1 amd64
Bluetooth baseband decoding library
libgnome-bluetooth-3.0-13/stable 42.5-3 amd64
GNOME Bluetooth 3 support library
libgnome-bluetooth-3.0-dev/stable 42.5-3 amd64
GNOME Bluetooth 3 library - development files
libgnome-bluetooth-dev/stable 3.34.5-10 amd64
GNOME Bluetooth tools - support library development files
libgnome-bluetooth-doc/stable 42.5-3 all
GNOME Bluetooth 3 support library - reference docs
libgnome-bluetooth-ui-3.0-13/stable 42.5-3 amd64
GNOME Bluetooth 3 UI support library
libgnome-bluetooth-ui-3.0-dev/stable 42.5-3 amd64
GNOME Bluetooth UI 3 library - development files
libgnome-bluetooth13/stable 3.34.5-10 amd64
GNOME Bluetooth tools - support library
libldacbt-abr-dev/stable 2.0.2.3+git20200429+ed310a0-4 amd64
LDAC Bluetooth ABR library (development)
libldacbt-abr2/stable 2.0.2.3+git20200429+ed310a0-4 amd64
LDAC Bluetooth ABR library (shared library)
libldacbt-enc-dev/stable 2.0.2.3+git20200429+ed310a0-4 amd64
LDAC Bluetooth encoder library (development)
libldacbt-enc2/stable,now 2.0.2.3+git20200429+ed310a0-4 amd64 [installed,automatic]
LDAC Bluetooth encoder library (shared library)
libnet-bluetooth-perl/stable 0.41-4 amd64
Perl interface to Bluetooth libraries
libqt5bluetooth5/stable 5.15.8-2 amd64
Qt Connectivity Bluetooth module
libqt5bluetooth5-bin/stable 5.15.8-2 amd64
Qt Connectivity Bluetooth module helper binaries
libqt6bluetooth6/stable 6.4.2-1 amd64
Qt 6 Connectivity Bluetooth library
libqt6bluetooth6-bin/stable 6.4.2-1 amd64
Qt 6 Connectivity Bluetooth module helper binaries
libspa-0.2-bluetooth/stable 0.3.65-3 amd64
libraries for the PipeWire multimedia server - bluetooth plugins
libubertooth-dev/stable 2018.12.R1-5.1 amd64
Shared library for Bluetooth experimentation - development files
libubertooth1/stable 2018.12.R1-5.1 amd64
Shared library for Bluetooth experimentation
nuntius/stable 0.2.0-5+b2 amd64
share notifications from Android phone or tablet via Bluetooth or LAN
pulseaudio-module-bluetooth/stable,now 16.1+dfsg1-2+b1 amd64 [installed,automatic]
Bluetooth module for PulseAudio sound server
python-bleak-doc/stable 0.20.2-1 all
Bluetooth Low Energy platform agnostic client (Documentation)
python3-bleak/stable 0.20.2-1 all
Bluetooth Low Energy platform agnostic client
python3-bluez/stable 0.23-5.1+b1 amd64
Python 3 wrappers around BlueZ for rapid bluetooth development
python3-gattlib/stable 0~20210616-1+b1 amd64
Bluetooth LE GATT library for Python 3
python3-home-assistant-bluetooth/stable 1.10.0-1 amd64
Home Assistant Bluetooth Models and Helpers
python3-pyqt5.qtbluetooth/stable 5.15.9+dfsg-1 amd64
Python bindings for Qt Bluetooth module
python3-pyqt6.qtbluetooth/stable 6.4.2-1 amd64
Python bindings for Qt 6 Bluetooth module
qml-module-qtbluetooth/stable 5.15.8-2 amd64
Qt Connectivity module - Bluetooth QML module
rfkill/stable 2.38.1-5devuan1+b1 amd64
tool for enabling and disabling wireless devices
ubertooth/stable 2018.12.R1-5.1 amd64
2.4 GHz wireless development platform for Bluetooth experimentation
ukui-bluetooth/stable 1.0.2.1-1+b1 amd64
Bluetooth manager for UKUI desktop environment
@hunter0one:
Have you tried Ralph's advice?
(in a terminal):
Switch to the root user (which means su -; enter the root password, not sudo)
lsusb will show all connected usb devices
enable write access for the other user on the EasyCap device: chmod o+w /dev/bus/usb/001/015
Without rebooting, try qv4l2 & see if now it will allow you to see your vhs screen in the window.
I very much want to work with you to get my script to work with other devices (such as yours) & get a good result to allow folks to stream it to disc.
For devices you get c==character (bytes) or b==block (hdd, etc).
That is a root.root user.group & you will need to use sudo if you wish it to be changed.
It seems that there's only a few bits of capture hardware that are capable of doing the job. Sorry that yours is not one of them.
For some reason the capture image format and image size can't be changed in QV4L2
That is academic. ffmpeg is near miraculous; it will change a video from any format to any other format. My script has the wrong fps AND pixel dimensions for your supply (the script is using "-s 720x576 -r 25" which was correct for my VHS signal, but not yours) but ffmpeg would happily make that change.
The issue for you is hardware & region (as best as I can tell).
v4l2-ctl --all is giving a full, error-free readout of the input video device.
arecord -l is accurately recording the audio hardware as 'hw:2,0' ("card: 2, subdevice: 0")
Only region remains (for me, the picture only appeared in the V4L2 screen when I changed the region from the default NTSC to PAL; ymmv).
If you cannot find a combo that works then the answer may be that zero signal is arriving at the input. Do you have a broken wire?
You seem to have the correct hardware devices. In your position I would change to the root user & try again. If you cannot get the picture to appear in the V4L2 screen then it is bad.
Try all the various options with the V4L2 utility. It took me a while to find the correct mix before I got the video to appear. However, if you cannot get it to appear then throw the hardware in the bin & try something else.
Good luck.
PS
From the v4l2-ctl --all output, the fps in the script should be switched from 25 to 30. However, do not touch anything until you get V4L2 to work. Only if it will work there will the script work (using the same setup options).
13 Sep update: made clear re: fps I was referring to the script, not V4L2.
I've made the ffmpeg-recommended fix (search for "vsync is deprecated") to the bash-file & uploaded it. No checks, but the change is most modest & should work.
It is telling you there are errors on both the VIDEO_DEVICE=/dev/video0 + AUDIO_DEVICE=hw:2,0. It seems that the hardware that you are specifying (which happen to also be the defaults embedded in the script) are wrong. No point in going any further until those are checked. Either the precise devices are wrong or your user is wrong.
What are the results of v4l2-ctl --all + arecord -l or arecord -L or cat /proc/asound/cards?
I see that you were using the qv4l2 tool (QT v4l2 test utility). Very sensible - I used that as well (mostly to check REGION). However, if you cannot get the screen to appear in that utility then the bash-file will never work. The idea is to try different setup options until a picture appears. You can then supply the different options appropriately. Whatever options allow the V4L screen to show your VHS/Camera/whatever are the precise options to use with the bash-script.
Pay attention to your user. Your ls -l results show that you will have permission errors unless you go root. Or try the advice in the Wiki link: sudo chmod a+r /dev/video0. I'm pretty sure that that is why you are getting the 'input/output error'.
I'll also try to fix that -vsync error in the script.
I was hoping to find options that you used, results of tests, error messages, ...
Only OUTPUT_NAME is required.
Defaults for other options are:
VIDEO_DEVICE = '/dev/video0'
AUDIO_DEVICE = 'hw:2,0'
REGION = 'PAL'
PIX_FMT = 'yuv420p'
If those defaults do not match your system, and particularly video or audio hardware, then do not be surprised if it throws an error.
But ok I can tell that you are not bothered, so let's forget it.
alexkemp wrote:encode_stream
Thanks. I tried your script but some of the options like AUDIO_DEVICE and REGION did not work, and I got an input/output error when given just the device and output file.
Did you bother to use the help option (-h)?
usage: $0 OUTPUT_NAME [AUDIO_DEVICE] [VIDEO_DEVICE] [REGION] [PIX_FMT]
Encodes input from a VHS / Camera / Cassette stream to a mp4 video.
OUTPUT_NAME filename of mp4 video (DEFAULT; no need for mp4 suffix )
or, filename of m4a sound file (needs m4a suffix )
or, filename of mp3 sound file (needs mp3 suffix )
VIDEO_DEVICE eg 'dev/video0' (try "v4l2-ctl --all" )
AUDIO_DEVICE eg 'hw:2,0' (try "arecord -l" or "arecord -L" or "cat /proc/asound/cards" )
REGION eg 'PAL'
PIX_FMT eg 'yuv420p' (v4l2 default is yuyv422, but that prevents display on some devices)
Note:
Only use "q" to quit from the running process in the terminal
See:
V4L-Capture (Mirror of the v4l Utilities Written by Andrew Sayers)
Encode-Stream (BASH Script to encode VHS / Camera / Cassette Streams)
My copy on desktop machine of encode_stream script is dated Dec 21 2021, and I have not used it recently, but I know of zero reason why it should not work today.
Wow! I am sorry if I came across as being offended.
...and I'm sorry if I over-reacted.
I wrongly expected the digikam package to trigger installations required to meet dependencies or notify me of those that were not available.
…and that is why I used the words 'skew-whiff'. It was NOT intended as a comment on you personally, the comment was aimed at your situation.
I've personally been in the classic Linux situation of dependency-hell. I was running an internet server at the time (CentOS, which was derived from RHEL). My guts therefore squirm in sympathy with anyone finding themselves in a similar situation.
Anyone that has been in that state will also know the classic response from the Distribution maintainers / long-term users to such a problem (the image is of a set of people all placing their arms in front of their chests into the sign of the cross & mumbling the words "all your own fault, nothing to do with me, guv").
Credit to Debian for attempting to escape from Dependency Hell with a well-maintained & documented Repository system that, by majority, keeps everyone's system clean & responsive.
Credit to Devuan for attempting to escape from the brand-new SystemD Hell, a process of escape that echoes many of the characteristics of ridding a forest of Japanese Knotweed, and a virus that promises a level of software Hell lower & more pernicious than any previously known in human experience.
In the face of your situation I tried to help by reporting on my system's (also Daedalus) response to searches on your problematic binaries.
My system is also Daedalus. Recently upgraded to kernel 6.1.0-12. Something must be skew-whiff in your system. In the following, I do not have DigiKam installed.
$ apt show libtiff.so.5
N: Unable to locate package libtiff.so.5
N: Couldn't find any package by glob 'libtiff.so.5'
N: Unable to locate package libtiff.so.5
N: Couldn't find any package by glob 'libtiff.so.5'
E: No packages found
$ locate libtiff.so
/usr/lib/x86_64-linux-gnu/libtiff.so.6
/usr/lib/x86_64-linux-gnu/libtiff.so.6.0.0
$ apt search tiff
# …
libtiff-tools/stable,now 4.5.0-6 amd64 [installed,automatic]
TIFF manipulation and conversion tools
libtiff6/stable,now 4.5.0-6 amd64 [installed,automatic]
Tag Image File Format (TIFF) library
Please stop full-post quoting almost *every* reply, that is just childish nonsense. If you wish to indicate what you are replying to, then edit the text down to the minimum. These forums are noisy enough as they are without scores & scores of full-text quotes.
I can't copy information from the terminal. I press ctrl+c but nothing
If you are using the "xfce4-terminal" (see menu:Help | About) then the command to copy highlighted-text is shown at menu:Edit | Copy (key-command is Shift+Ctrl+C).
firexox: speling
$ apt search firexox
Sorting... Done
Full Text Search... Done
# (nothing)
Could be the source of your problems.
There are a number of what seems from my desktop to be useful answers to your specific use-case here (stackoverflow).
First signs of the wall breaking.
Thanks for that, swanson (I was so close yet so far away!).
A very good link for the whole process:
Using UUID to Update FSTAB
I'm *very* surprised that, after all this time, there isn't a programmable way to do the whole thing. That manual step puts a big block in uptake.
Here is blkid on my system. sda1 is a usb-connected hdd and one of the main reasons for the modern use of UUIDs:
$ sudo blkid
[sudo] password for alexk:
/dev/sdc1: LABEL="SG-2TB" BLOCK_SIZE="512" UUID="5DB88E2B4D416357" TYPE="ntfs" PARTUUID="82de246a-01"
/dev/sda2: UUID="689f9e16-2d78-4635-b9c1-d68a8994e668" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="924dc2aa-fbd2-4747-b356-3cf070a966df"
/dev/sda3: UUID="f10d59d3-426b-499e-afa1-8715920318c3" TYPE="swap" PARTUUID="54a5a38e-ae7f-41e7-8c88-f0014e7cefe0"
/dev/sda1: UUID="4CD1-6816" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="75179c70-b3b4-4c5e-9684-21cf493e8438"