Checking the basics first ...
-
Is there any chance that your internal wiring for the camera is loose or disconnected?
-
Have you checked your BIOS to ensure that the video function is correctly recognized and enabled?
-
Have you checked to see if there are any "Linux hardware quirk" applicable to your particular laptop or the particular model of hardware used for your Video camera, which need to be added to GRUB's "GRUB_CMDLINE_LINUX_DEFAULT" parameter?
It would be helpful if you provided the reports from each of the following commands, to help recognize any specific situations unique to your circumstances:
-
v4l2-ctl --list-devices -
inxi -Fxxx
I would like to point you to the (fully verified and functional) script I created a while back, which uses ffmpeg, the true workhorse of any video application that is available in Linux. You can find it here:
That was intended to provide the OP with a mechanism of recording with an embedded timestamp (with limited options for the date presentation).
I encourage you to review the entire discussion for additional insights, but I am sure you could adapt that to your circumstances.
As a quick test, you could try the following command, and hit CtlC to stop it after a few seconds, to see if you recorded anything:
ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0+0,0 -f pulse -ac 2 -i default -c:v libx264 -preset fast -crf 25 -c:a aac -b:a 128k output.mp4
If that doesn't work, you need to look an any error messages that you might be getting in your
- /var/log/syslog
for any hints as to the cause of the non-functional behaviour.
![]()