Now you got me running in all directions. I did a full pacman -Syu, which didn't work the last few time because of one file clash; this time I did the homework and renamed one WebKitSomething file to .old and reran the whole thing. Now I have yad, and the scripts do run, but video doesn't get saved.
I cd'd into the pinephone-gui-for-video-recording folder, ran ./video.sh and I got the gui as advertised on the screenshots, more or less (there weren't duplicate horizontal/vertical buttons, but other than that they were there). Since I didn't see what was going on when I ran it from the desktop icon, this time it seems to have been something banal.
One by one:
- when running sudo ./video.sh, I get
Gtk- **: 18:49:51.913: cannot open display:
- without sudo, it runs with
Now when I try to save a video, it complains that
bash: ред 1: /sys/class/leds/white:flash/brightness: Овлашћење је одбијено (row 1, authorization refused)
When trying to save a 2nd video, it complains that
/home/manjaro/Videos/.temp.понедељак-09-10-2023_18_45_28.mp4: No such file or directory
No .mp4 files found in the folder.
There really aren't no files there, but at least I know it composed the filename properly (понедељак is monday, and the date is in proper locale too).
This is as far as I got.
I cd'd into the pinephone-gui-for-video-recording folder, ran ./video.sh and I got the gui as advertised on the screenshots, more or less (there weren't duplicate horizontal/vertical buttons, but other than that they were there). Since I didn't see what was going on when I ran it from the desktop icon, this time it seems to have been something banal.
One by one:
- when running sudo ./video.sh, I get
Gtk- **: 18:49:51.913: cannot open display:
- without sudo, it runs with
Code:
/opt/VideoRec/capture.sh: ред 8: amixer: нема такве наредбе [row 8, no such command]
landscape clockwise
ffmpeg version n6.0 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.1.0 (GCC)
configuration: --prefix=/usr -... etc etc.
... libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Now when I try to save a video, it complains that
bash: ред 1: /sys/class/leds/white:flash/brightness: Овлашћење је одбијено (row 1, authorization refused)
When trying to save a 2nd video, it complains that
/home/manjaro/Videos/.temp.понедељак-09-10-2023_18_45_28.mp4: No such file or directory
No .mp4 files found in the folder.
There really aren't no files there, but at least I know it composed the filename properly (понедељак is monday, and the date is in proper locale too).
This is as far as I got.