GithubHelp home page GithubHelp logo

it-is-wednesday / cute-sway-recorder Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 4.0 693 KB

SwayWM screen recorder; a GUI for wf-recorder

Python 98.25% Just 1.75%
linux screen-capture sway swaywm wayland wlroots

cute-sway-recorder's Introduction

hey

cute-sway-recorder's People

Contributors

ayhon avatar flowln avatar it-is-wednesday avatar kohane27 avatar

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

Watchers

 avatar  avatar

cute-sway-recorder's Issues

BROKE UNBUILDABLE/FreeBSD14-Current

pipx install cute-sway-recorder
Fatal error from pip prevented installation. Full pip output in file:
   /usr/home/xxxxxxxxxp/.local/pipx/logs/cmd_2021-11-19_18.11.50_pip_errors.log

pip seemed to fail to build package:
   cute-sway-recorder

Some possibly relevant errors from pip install:
   ERROR: Cannot install cute-sway-recorder==0.1.1, cute-sway-recorder==0.1.2, cute-sway-recorder==0.1.3, cute-sway-recorder==0.1.4, cute-sway-recorder==0.1.5, cute-sway-recorder==0.1.6 and cute-sway-recorder==0.1.7 because these package versions have conflicting dependencies.
   ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Error installing cute-sway-recorder.
 

thats from pipx this is the error log

PIP STDOUT
----------
Collecting cute-sway-recorder
 Downloading cute_sway_recorder-0.1.7-py3-none-any.whl (6.1 kB)
 Downloading cute_sway_recorder-0.1.6-py3-none-any.whl (5.8 kB)
 Downloading cute_sway_recorder-0.1.5-py3-none-any.whl (5.7 kB)
 Downloading cute_sway_recorder-0.1.4-py3-none-any.whl (4.5 kB)
 Downloading cute_sway_recorder-0.1.3-py3-none-any.whl (4.5 kB)
 Downloading cute_sway_recorder-0.1.2-py3-none-any.whl (4.5 kB)
 Downloading cute_sway_recorder-0.1.1-py3-none-any.whl (4.2 kB)

The conflict is caused by:
   cute-sway-recorder 0.1.7 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.6 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.5 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.4 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.3 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.2 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.1 depends on PySide6<7.0.0 and >=6.0.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

PIP STDERR
----------
ERROR: Cannot install cute-sway-recorder==0.1.1, cute-sway-recorder==0.1.2, cute-sway-recorder==0.1.3, cute-sway-recorde$
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

and this is the output from pip 

❯ python3.8 -m pip install cute-sway-recorder
Defaulting to user installation because normal site-packages is not writeable
Collecting cute-sway-recorder
 Using cached cute_sway_recorder-0.1.7-py3-none-any.whl (6.1 kB)
 Using cached cute_sway_recorder-0.1.6-py3-none-any.whl (5.8 kB)
 Using cached cute_sway_recorder-0.1.5-py3-none-any.whl (5.7 kB)
 Using cached cute_sway_recorder-0.1.4-py3-none-any.whl (4.5 kB)
 Using cached cute_sway_recorder-0.1.3-py3-none-any.whl (4.5 kB)
 Using cached cute_sway_recorder-0.1.2-py3-none-any.whl (4.5 kB)
 Using cached cute_sway_recorder-0.1.1-py3-none-any.whl (4.2 kB)
ERROR: Cannot install cute-sway-recorder==0.1.1, cute-sway-recorder==0.1.2, cute-sway-recorder==0.1.3, cute-sway-recorder==0.1.4, cute-sway-recorder==0.1.5, cute-sway-recorder==0.1.6 and cute-sway-recorder==0.1.7 because these package versions have conflicting dependencies.

The conflict is caused by:
   cute-sway-recorder 0.1.7 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.6 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.5 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.4 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.3 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.2 depends on PySide6<7.0.0 and >=6.0.0
   cute-sway-recorder 0.1.1 depends on PySide6<7.0.0 and >=6.0.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

╭─    ~/git-way ▓▒░────────────────────────────────────────────────────────────░▒▓ 1 ✘  took 7s   at 18:17:02  
╰─

I just cloned your repo im going to attempt to fix it these failures are on FreeBSD-14.0-Current im gonna try and loosen the dependencies up a bit a try installing with pip from local copy if that feels ill try building with setuptools . figured id make you aware of this ccause at the moment it is 100% unbuildable on freebsd current

Need flag `--force-yuv` or else all recorded videos not playable

Hello @it-is-wednesday. Hope you're doing well. Thank you for creating this graphical wrapper. It makes using wf-recorder a lot easier.

Description

I had the exact same issue mentioned in #152. All the videos recorded with cute-sway-recorder aren't playable when shared on uploaded. They are playable locally with mpv.

Solution

The solution is adding the flag --force-yuv:

-t, --force-yuv
Use the -t or --force-yuv option to force conversion of the data to yuv format, before sending it to the gpu.

Problem

Given cute-sway-recorder uses wf-recorder under the hood, it's solvable by adding the flag --force-yuv. But there's no easy way to add flags. Currently, I have to modify the src code:

  1. cd ~/.local/pipx/venvs/cute-sway-recorder/lib/python3.10/site-packages/cute_sway_recorder/main.py

  2. add --force-yuv to params like below:

params = ["wf-recorder", "-f", file_dst, "--force-yuv"]

Suggestion

Add an input box under Record audio so that users can pass flags.

Thank you!

Doesn't start on fedora

I'm getting the following error on starting this app

cute-sway-recorder 
Traceback (most recent call last):
  File "/home/madeupuser/.local/bin/cute-sway-recorder", line 5, in <module>
    from cute_sway_recorder.main import main
  File "/home/madeupuser/.local/pipx/venvs/cute-sway-recorder/lib64/python3.10/site-packages/cute_sway_recorder/main.py", line 24, in <module>
    from config_area import ConfigArea

Fedora 36 with latest sway

Selecting default audio service

I use pipewire (and pipewire-pulse for compatibility), but whenever I try to record anything with audio, the only thing recorded is a slight buzzing. I don't know if it would help or not, but is there a way to try selecting pipewire as the default audio service instead of pipewire?

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.