|
2017-01-13
, 01:26
|
|
Posts: 394 |
Thanked: 1,341 times |
Joined on Dec 2009
|
#13
|
The Following User Says Thank You to velox For This Useful Post: | ||
|
2017-01-13
, 13:49
|
|
Posts: 394 |
Thanked: 1,341 times |
Joined on Dec 2009
|
#15
|
|
2017-01-13
, 17:17
|
Posts: 578 |
Thanked: 994 times |
Joined on Dec 2012
|
#16
|
The Following User Says Thank You to elros34 For This Useful Post: | ||
|
2017-01-13
, 22:45
|
|
Posts: 394 |
Thanked: 1,341 times |
Joined on Dec 2009
|
#17
|
Maybe root needs to be added to privileged group.
https://git.merproject.org/mer-core/...dacf15b4e15868
usermod -G privileged -a root doesn't work for me.
#!/bin/bash function runRecorder { newgrp privileged << END XDG_RUNTIME_DIR=/run/user/1000 lipstick-recorder END } function killRecorder { killall lipstick-recorder sleep 2 echo should be killed } trackeroutput=$(tracker control --miner=org.freedesktop.Tracker1.Miner.Files --pause="makingavideo") trackercookie=$(echo $trackeroutput| awk '{print $NF}') runRecorder & read -n1 -r -p 'Press any key to exit...' key echo killRecorder echo 'making video' #how many files are there? count=$(awk "BEGIN {print ($(ls -l frame*.bmp | wc -l) - 1)}") ints=${#count}; ffmpeg -f image2 -i frame%${ints}d.bmp -threads 3 -framerate 15 "/home/nemo/Videos/recorder-`date "+%Y%d%e-%H%M%S"`.mp4" echo 'deleting frame*.bmp' rm -f frame*.bmp tracker control --miner=org.freedesktop.Tracker1.Miner.Files --resume=$trackercookie
The Following 6 Users Say Thank You to velox For This Useful Post: | ||
|
2017-01-17
, 18:11
|
Posts: 217 |
Thanked: 142 times |
Joined on Dec 2011
|
#18
|
|
2017-01-23
, 13:50
|
|
Posts: 394 |
Thanked: 1,341 times |
Joined on Dec 2009
|
#19
|
Awesome, this is the closest we've got to a screen recorder on Jolla. No android app works so this is really the only way to do it. Please make a simple app of it. Would be über if it could save to SD and be descent in file size.
The Following 2 Users Say Thank You to velox For This Useful Post: | ||
|
2017-04-02
, 12:00
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, España
|
#20
|
[image2 @ 0x2733450] Could find no file with path 'frame%2d.bmp' and index in the range 0-4 frame%2d.bmp: No such file or directory
I have enclosed rpm because it can be related to photon q sailfish port. It's kimmoli test branch.