Mohelm97 / screenrecorder

A simple screen recorder app designed for elementary OS.
GNU General Public License v3.0
59 stars 15 forks source link

No recording previews. #28

Open Blast-City opened 5 years ago

Blast-City commented 5 years ago

1- Open Screenrecorder and press the record button. 2- Press Ctrl+Shift+r to stop the recording.

Result: The save window with the preview appears, but the preview just show a black screen. I tried to record with mp4 and gif formats.

Playing the files outside of screenrecorder works normally.

I have checked all the dependencies and everything seems to be OK. Is this a known issue?

Elementary Juno fully updated with a new user profile. Screenrecorder Version: 0.2.1

Mohelm97 commented 5 years ago

Hi @Blast-City, Thanks for adding this issue, I couldn't reproduce even after creating a new account, could you try to record "mov", as gif temp file is an mp4 file, and could you try setting GDK_SCALE to 1,

export GDK_SCALE=1 com.github.mohelm97.screenrecorder

Thanks again ;)

Blast-City commented 5 years ago

Hi.

I tried to input export GDK_SCALE=1 && com.github.mohelm97.screenrecorder on terminal and select the mov format, but it didn't work either.

I remember trying this app on a live usb and everything worked as it should. I'm thinking that it could be a dependency issue since i usually uninstall some of the apps that comes with elementary.

Thanks.

Blast-City commented 5 years ago

I tried to install all the packages that I usually remove when I do a clean install, but unfortunately it didn't work.

I will try again on a live USB and after that I will check what it happens after a clean install.

Thanks for your help.

Blast-City commented 5 years ago

Hi.

When the following packages are not installed, the screenrecorder doesn't show previews: gstreamer1.0-plugins-good gstreamer1.0-libav

This two packages are not screenrecorder's dependecies, but they are needed in order for the previews to work.

Could you try to check if removing the above packages makes your screenrecorder continue to work, but the previews stops functioning?

Thanks.

Mohelm97 commented 5 years ago

@Blast-City Oh, Yeah you must have the GStreamer, as you know the original elementary music depends on GStreamer also so I didn't expect that anyone would remove them, I should add them to the dependencies anyway, Thanks a lot mate ;)

peteruithoven commented 5 years ago

Seeing these come with elementary (probably even Ubuntu) by default are we sure that adding them to dependencies makes sense? Because that would mean we'd need to add a lot of other dependencies as well?

Blast-City commented 5 years ago

@Blast-City Oh, Yeah you must have the GStreamer, as you know the original elementary music depends on GStreamer also so I didn't expect that anyone would remove them, I should add them to the dependencies anyway, Thanks a lot mate ;)

Hi.

Removing those two packages didn't remove Music (Noise) on my computer, so i guess, at least those two specific packages, are not Music dependencies.

What peteruithoven says makes sense. Especially since elementary is going to start including all apps in a flatpak format.