ptpb / pb_cli Goto Github PK
View Code? Open in Web Editor NEWno bullshit pb client
License: Other
no bullshit pb client
License: Other
In the switch case inside pb.sh, the function pb_clipboard is referenced but is nowhere to be defined. I doubt this is intentional, but the documentation and the dependencies suggest that this option shouldn't exist.
Could you please add a license to your software?
I have all the requirements installed. Capture works just good when I run it via command line.
But when I try "pb webm" or "pb gif", I select the region I want to capture, and once done, pressing "q" stops the capture, but the URL returned by pb doesn't works.
Two of them, just for test, are
https://ptpb.pw/F2p3.gif
https://ptpb.pw/-JVs.webm
The ouput for the webm was
$ pb webm
Input #0, x11grab, from ':0+4,687':
Duration: N/A, start: 1518879615.039287, bitrate: N/A
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 883x338, 29.97 fps, 29.97 tbr, 1000k tbn, 1000k tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> utvideo (native))
Press [q] to stop, [?] for help
Output #0, nut, to '/var/tmp/tmp.3drvefh3OA':
Metadata:
encoder : Lavf57.83.100
Stream #0:0: Video: utvideo (ULRG / 0x47524C55), rgb24, 883x338, q=2-31, 200 kb/s, 15 fps, 61440 tbn, 15 tbc
Metadata:
encoder : Lavc57.107.100 utvideo
frame= 124 fps= 15 q=-0.0 Lsize= 23460kB time=00:00:08.20 bitrate=23437.2kbits/s speed=1.01x
video:23456kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.018107%
Unrecognized option 'crf'.
Error splitting the argument list: Option not found
https://ptpb.pw/-JVs.webm
The output for the gif was
$ pb gif
Input #0, x11grab, from ':0+0,786':
Duration: N/A, start: 1518879751.435187, bitrate: N/A
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 893x243, 29.97 fps, 29.97 tbr, 1000k tbn, 1000k tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> utvideo (native))
Press [q] to stop, [?] for help
Output #0, nut, to '/var/tmp/tmp.xdxLq0PGMc':
Metadata:
encoder : Lavf57.83.100
Stream #0:0: Video: utvideo (ULRG / 0x47524C55), rgb24, 893x243, q=2-31, 200 kb/s, 15 fps, 61440 tbn, 15 tbc
Metadata:
encoder : Lavc57.107.100 utvideo
frame= 71 fps= 16 q=-0.0 Lsize= 9452kB time=00:00:04.66 bitrate=16591.8kbits/s speed=1.03x
video:9449kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.027005%
[Parsed_palettegen_2 @ 0x55f3928c5340] Dupped color: FF030406
[Parsed_palettegen_2 @ 0x55f3928c5340] Dupped color: FF05080B
[Parsed_palettegen_2 @ 0x55f3928c5340] Dupped color: FFA6A6A6
Input #0, nut, from '/var/tmp/tmp.xdxLq0PGMc':
Metadata:
encoder : Lavf57.83.100
Duration: 00:00:04.67, start: 0.000000, bitrate: 16591 kb/s
Stream #0:0: Video: utvideo (ULRG / 0x47524C55), gbrp, 893x243, 15 fps, 15 tbr, 61440 tbn, 61440 tbc
Metadata:
encoder : Lavc57.107.100 utvideo
Input #1, png_pipe, from '/tmp/tmp.jAxWQaE8gr.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, rgba(pc), 16x16 [SAR 1:1 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 (utvideo) -> fps
Stream #1:0 (png) -> paletteuse:palette
paletteuse -> Stream #0:0 (gif)
Press [q] to stop, [?] for help
Output #0, gif, to 'pipe:':
Metadata:
encoder : Lavf57.83.100
Stream #0:0: Video: gif, pal8, 893x243, q=2-31, 200 kb/s, 15 fps, 100 tbn, 15 tbc (default)
Metadata:
encoder : Lavc57.107.100 gif
frame= 13 fps=0.0 q=-0.0 Lsize= 66kB time=00:00:00.81 bitrate= 672.5kbits/s speed=7.28x
video:66kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.347007%
https://ptpb.pw/M441.gif
For those of us in the BSD world, #!/usr/bin/env bash would be much appreciated
Hey, why jq
isn't used? Why is it listed?
I get
install: illegal option -- D
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.