Coder Social home page Coder Social logo

pb_cli's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pb_cli's Issues

Function pb_clipboard missing

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.

Cannot upload neither videos nor gifs

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.