

Is it just a permissions issue? On a rooted phone, could I not simply add termux user to the camera group
Is it just a permissions issue? On a rooted phone, could I not simply add termux user to the camera group
Yeah I have a bash script that does similar, using the notification API for interactivity
FOLD_CAMERA=CameraShots
TEMP_PID=~/.record_pid
APP_ID=record
mkdir -p $FOLD_CAMERA
function main {
termux-notification \
--id $APP_ID --group RECORD \
--priority max \
--button1 "Front" \
--button1-action "termux-notification-remove $APP_ID;bash $0 record 1" \
--button2 "Back" \
--button2-action "termux-notification-remove $APP_ID;bash $0 record 0" \
--button3 "Quit" \
--button3-action "termux-notification-remove $APP_ID;exit" \
--title "Record"
}
function record {
local cam=${1:-0}
termux-notification \
--id $APP_ID --group RECORD \
--priority max \
--button1 "Stop" \
--button1-action "termux-notification-remove $APP_ID; bash $0 killproc" \
--title "Rec. $cam"
(while :; do
termux-camera-photo \
-c $cam \
$FOLD_CAMERA/$(date "+%Y%m%d-%H%M_${cam}_record.jpg")
done) &
local pid=$!
echo -n $pid > $TEMP_PID
}
function killproc {
local last_pid=$(cat $TEMP_PID)
if [ "$last_pid" == "" ]; then
termux-toast "Could not kill process. Restart the phone."
else
kill $last_pid &&
bash $0 main
fi
}
[ "$*" = "" ] && main || eval "$*"
It just needs ffmpeg tied to the exit function
your buffer size must exceed several floppies!
oh, it literally pipes into another tool! I thought that vertical bar was a config option for less lmao
is that an alias or a sys env?
I ain’t got no time for no config! I’m a busy man!
Yes, back in days of yore when the cyberbunnies had to run their lines through the bare wastes of the great Dave’s router, there existed a tool so coveted by the eunuchs that they named it twice, and would beg for degrees of release depending on how gimped up they were. “More” some would scream, “less” others would whisper.
I use less always, and am genuinely puzzled by people who use more
I use bat sometimes, but how do you stop it from wrapping lines?
ah no worries, I was just surprised by it. Yeah it’s a hardware list for NAS/MiniPC/selfhosting as vetted by other Lemmy users
I know right, fuck that guy
I collected this data from another thread that might be useful: https://lemmy.ml/post/30234916
| Type | Name | Extra | User |
|--------+------------------------+-----------------+--------------------------------|
| MiniPC | ASUS 4-Bay | | Zikeji@programming.dev |
| MiniPC | HP Microserver | | wingsfortheirsmiles@feddit.uk |
| MiniPC | HP microserver | Homelab | JoeKrogan@lemmy.world |
| MiniPC | HTPC | Nobara | BananaTrifleViolin@lemmy.world |
| MiniPC | ITX NAS | Unraid | Skunk@jlai.lu |
| MiniPC | Jonsbo N4 Case | | stoy@lemmy.zip |
| MiniPC | Minisforum X1 pro | OpenSuSe | Skunk@jlai.lu |
| MiniPC | ODROID H4+ mini pc | | Ek-Hou-Van-Braai@piefed.social |
| MiniPC | RaspberryPi 1B | Photoframe | JoeKrogan@lemmy.world |
| MiniPC | RaspberryPi 3 | PiHole | gigachad@sh.itjust.works |
| MiniPC | RaspberryPi 3A | | stoy@lemmy.zip |
| MiniPC | RaspberryPi 3B | | stoy@lemmy.zip |
| MiniPC | RaspberryPi 3B | | stoy@lemmy.zip |
| MiniPC | RaspberryPi 3B | Kodi | JoeKrogan@lemmy.world |
| MiniPC | RaspberryPi 3B | Kodi | JoeKrogan@lemmy.world |
| MiniPC | RaspberryPi 4 | OpenSuSe/Docker | Skunk@jlai.lu |
| MiniPC | RaspberryPi 5 | RpiOS | BananaTrifleViolin@lemmy.world |
| Server | HP ProLiant DL360 Gen9 | | Lucy@feddit.org |
| Server | HP Z440 Workstation | | Lucy@feddit.org |
Edit: well fuck me for trying to help…
I have to admit I find his opinion on every single common thing like it’s some profound thought really jarring
My body contains several warring factions, each with their own agendas, each conspiring to undermine the other.
Why just last night my hand kept forcing my mouth and liver to process lethal amounts of alcohol, and all the other factions just stood by and did nothing. I believe the brain even cheered, and I wept for I was at their complete mercy.
huh. What about -b add,fullscreen
, and keep spamming it in a for loop
I get this a lot when playing Sims4 in Awesome. The window just ups and vanishes if you tab to desktop.
Solution:
wmctrl -a sims -b toggle fullscreen
Oh, I’m thinking folders aren’t I. Doy…
I’m not a fan of Plex and switched to Jellyfin very early on, but I’m a bit confused by the outrage here. He used his real name to report on a UX he built. I see FOSS developers do this all the time, and it seems pretty innocuous.
I can imagine if he generated thousands of anonymous accounts and did the same it’d be very bad, but an author commenting on his own work using his full real name doesn’t seem like a conspiracy plot
each file is minimum 4kb
(base64.length/max_character) * min_filesize < actual_file_size
For this to pay off
Yeah, I mean it’s not like they’re calling native Android functions there (in
proceedWithOpenCamera
), it looks like the CameraDevice object might offer a lot more capture modes that just aren’t being tapped into. Is it just a programming issue, or does Android only offer Photo contexts but not Video ones, or…?