Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SUpload
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Volkor Barbarian Warrior
SUpload
Commits
8d83f866
Unverified
Commit
8d83f866
authored
3 years ago
by
Volkor Barbarian Warrior
Browse files
Options
Downloads
Patches
Plain Diff
change maim to default, allow webp lossless
parent
e5561925
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+2
-2
2 additions, 2 deletions
README.md
supload.conf
+2
-1
2 additions, 1 deletion
supload.conf
supload.sh
+4
-4
4 additions, 4 deletions
supload.sh
with
8 additions
and
7 deletions
README.md
+
2
−
2
View file @
8d83f866
...
...
@@ -27,8 +27,8 @@ sudo make install
## Optional dependencies
-
maim,
scrot,
or gnome-screenshot (optional, needed for screenshots)
-
slop (optional, needed for video recording)
-
maim, or gnome-screenshot (optional, needed for screenshots)
(maim 5.7.4 needed for webp screenshots.)
-
ffmpeg,
slop (optional, needed for video recording)
-
xclip (optional, needed for clipboard)
-
libnotify (optional, needed for notifications)
...
...
This diff is collapsed.
Click to expand it.
supload.conf
+
2
−
1
View file @
8d83f866
...
...
@@ -3,7 +3,8 @@
## Uncomment the below settings to override the defaults!
## file naming scheme
#photo_format="date +%F-%T.png"
#photo_format="date +%F-%T.png" ## For PNG images
#photo_format="date +%F-%T.webp" ## For WebP images
#video_format="date +%F-%T.mp4"
## ffmpeg config for screen recording (1st line is CPU Encoding, 2nd is VAAPI)
...
...
This diff is collapsed.
Click to expand it.
supload.sh
+
4
−
4
View file @
8d83f866
#!/bin/bash
# SUpload (Screenshot-Upload)
version
=
"1.2.
1
"
version
=
"1.2.
2
"
## Colours
r
=
'\033[0;31m'
...
...
@@ -12,10 +12,10 @@ nc='\033[0m'
debug
=
false
domain
=
"https://volkor.me"
sshot
=
"
gnome-screenshot
"
sshot
=
"
maim
"
photo_format
=
"date +%F-%T.png"
video_format
=
"date +%F-%T.mp4"
ffmpeg_config
=
"-
pix_fmt yuv420p
-preset
ultra
fast -vcodec libx264 -tune zerolatency -
b:v 3M
"
ffmpeg_config
=
"-
framerate 60
-preset
very
fast -vcodec libx264
-pix_fmt yuv420p -vf crop=floor(iw/2)*2:floor(ih/2)*2 -movflags faststart
-tune zerolatency -
crf 25
"
file_dir
=
"
${
HOME
}
/Pictures/screenshots"
browser
=
false
clipboard
=
true
...
...
@@ -173,7 +173,7 @@ if [ "$screenshot" = "true" ] ; then
case
$sshot
in
maim
)
screen_prog
=
"maim -s -o"
;;
screen_prog
=
"maim -s
-m 10
-o"
;;
scrot
)
screen_prog
=
"scrot -s"
;;
gnome-screenshot
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment