vkohaupt / vokoscreenNG

vokoscreenNG is a powerful screencast creator in many languages to record the screen, an area or a window (Linux only). Recording of audio from multiple sources is supported. With the built-in camera support, you can make your video more personal. Other tools such as systray, magnifying glass, countdown, timer, Showclick and Halo support will help
https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
GNU General Public License v2.0
1.14k stars 92 forks source link

vokoscreen freezes - build from source - GST_MESSAGE_ERROR #330

Open claudio4j opened 2 months ago

claudio4j commented 2 months ago

Bug report checklist

Cloned the git repo as of today to get access to the recently audio support. Build successful. My system: Fedora 40, kernel 6.10.6-200.fc40.x86_64, KDE, wayland 2 monitors - main monitor from laptop, secondary monitor 4k via hdmi

Describe the bug Trying to record a window open in the secondary monitor, click the "start" button, the countdown is displayed and the recording icon is displayed in the taskbar, then when I want to end the recording, I click the stop button, vokoscreenNG freezes, nothing happens, try clicking the close button from the vokoscreen window (top right corner) gives nothing, then kde window system asks to force kill vokoscreen.

Log messages See attached. vokoscreenNG-error.log

Additional context If I set the target window to record in the monitor 1 (the monitor from the laptop) then it works, recording either the desktop or a selected window. I suspect the freeze is related to the 4k monitor, it has a different resolution compared to the monitor 1.

Using the monitor from the laptop is just ok. Reporting here in case someone else has the same problem.

Thanks for providing such a great recording tool.

vkohaupt commented 2 months ago

To make sure that the high resolution is the cause, please make a recording without audio and without countdown and report here.

claudio4j commented 2 months ago

All tentatives are in the secondary 4K monitor.

. mic + countdown + window: QT apps (krusader, konsole app) = works . no mic + countdown + window: QT apps (krusader, konsole app) = works . no mic + no countdown + window: QT apps (krusader, konsole app) = works

I did more testing with these combinations . mic + countdown + full screen . mic + no countdown + full screen . mic + no countdown + full screen + 17 frames/s stops button works, video records is ok / audio is breaking up, no intelligible sound. Other tentatives, the audio is correctly recorded for ~30s, then mute, then recorded for a couple of seconds and then no audio. The video is ok. ~ 2 min recording time. Switched to mkv/VP8, same results.

. no mic + countdown + full screen = works . no mic + no countdown + full screen = works

. mic + countdown + firefox window = as reported, click stop button, freezes and kill the process. The video file is zero bytes. . no mic + countdown + firefox window = stops button works, no freeze. The video file is zero bytes. . no mic + no countdown + firefox window = stops button works, no freeze. The video file is zero bytes.

The following logs are printed, even when it works:

(vokoscreenNG:2985146): GStreamer-CRITICAL **: 10:38:22.609: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed
(vokoscreenNG:2985146): GStreamer-CRITICAL **: 10:38:22.609: range start is not smaller than end for `GstIntRange'
claudio4j commented 2 months ago

I did some recording, with the full screen to the primary laptop screen + mic + countdown and have experienced mic audio not recorded for a random time, ranging from10s to 40s then it either resumed mic recording or finished recording with no audio, see attached voko-nomic.log. Is there any additional debugging flags I can add to the build or running process to help diagnose this issue ?