10-09-2023, 11:22 AM
(10-09-2023, 11:06 AM)Eugo Wrote: - 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.
Yes this does not work with sudo privileges so run without sudo all the time .
Can you delete the current installation:
sudo rm -rf /opt/VideoRec && echo /opt/VideoRec folder removed && rm ${HOME}/.local/share/applications/videorec.desktop && echo desktop file removed && cd ${HOME} && rm -rf pinephone-gui-for-video-recording && echo git folder deleted
And then re-install:
git clone https://gitlab.com/Alaraajavamma/pinepho...-recording && cd pinephone-gui-for-video-recording && sudo chmod +x install.sh && ./install.sh
luigi311 did make front camera working and invented smarter way to rotate video output so screenshots in gitlab are bit outdated. I try to refresh them today.
btw this error indicates that manjaro has some issues to turn torch off:
bash: ред 1: /sys/class/leds/white:flash/brightness: Овлашћење је одбијено (row 1, authorization refused)
Can you try what happens if you run these commands as regular user:
Code:
echo 1 > /sys/class/leds/white:flash/brightness
Code:
echo 0 > /sys/class/leds/white:flash/brightness