RecApp icon indicating copy to clipboard operation
RecApp copied to clipboard

Not responding in Wayland with mp4 format

Open SeaDve opened this issue 4 years ago • 11 comments

version: commit ff39c17

Whenever you use mp4 format in Wayland it will not respond and crash after clicking record button.

SeaDve avatar Jan 30 '21 10:01 SeaDve

This is happening for me regardless of format

lutoma avatar Feb 06 '21 12:02 lutoma

This is happening for me regardless of format

wayland?

SeaDve avatar Feb 06 '21 13:02 SeaDve

wayland?

Yes, on GNOME 3.38.3

lutoma avatar Feb 06 '21 15:02 lutoma

wayland?

Yes, on GNOME 3.38.3

I'll try to fix it, any specific steps/settings to reproduce?

SeaDve avatar Feb 07 '21 14:02 SeaDve

No specific steps to reproduce.

I can start the app, the GUI shows up and everything seems to work properly. When I click the record button on the top left, GNOME shows the orange dot in the application bar indicating an app is recording the screen, so something is happening. But the UI instantly freezes up and does not react to any input anymore.

This happens both when running the app using flatpak, and when running it 'natively' using the recapp-git pkgbuild from Arch Linux AUR.

lutoma avatar Feb 07 '21 16:02 lutoma

I'm still trying to find a solution. I cannot reproduce your issue, try running this with "python b.py" in the terminal. Replace the extension with .py If it outputs a perfectly recorded video in your Videos folded then we have the same fix.

b.txt I stripped the app to the bare basics to isolate the issue. On mine, removing the pipeline arguments, fix the issue.

So, I think the overall fix for issue #65 is to remove the pipeline arguments, but this would make the high quality option unusable.

Example of raw recorded video without the pipeline.

https://user-images.githubusercontent.com/64297935/107840912-65f47e80-6df1-11eb-9865-a45ac784375f.mp4

SeaDve avatar Feb 13 '21 03:02 SeaDve

Thanks for the debugging efforts! I tried the stripped down b.py version, but that had the exact same issue as the full app for me (i.e. the user interface froze up after clicking Start and the only way I could get the app to close was a SIGKILL).

I then went one step further and stripped out all the GUI components from the app, only leaving the lines to get a SessionBus and start the screencast, and it still froze up on the commandline. So I guess it's actually some issue with my GNOME/Mutter installation and not the app, though I'm not sure what that issue would be.

lutoma avatar Feb 15 '21 15:02 lutoma

Maybe it can be of help knowing that integrated recording facility of GNOME Shell is broken the same way.

tallero avatar Mar 26 '21 02:03 tallero

Was for me on Gnome 3.38 Now working on Gnome 40 with webm and mkv format, and freezes on mp4.

gmagic avatar Apr 14 '21 18:04 gmagic

Following the upgrade to Gnome 40, RecApp now also works for me (With all formats, i.e. including mp4).

lutoma avatar Apr 14 '21 22:04 lutoma

I figure it out that you have to also install gst-ugly because it is needed by the gnome-shell to avoid crashes. You still need to install it despite being packaged within the flatpak.

Following the upgrade to Gnome 40, RecApp now also works for me (With all formats, i.e. including mp4).

This might be you have those plugins installed.

Now working on Gnome 40 with webm and mkv format, and freezes on mp4.

To fix this you need to install gstreamer ugly plugins

SeaDve avatar Apr 14 '21 23:04 SeaDve