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.13k stars 92 forks source link

Recording limit space over 999 MB #230

Open viktor-zhuromskyy opened 2 years ago

viktor-zhuromskyy commented 2 years ago

First of all I would like to that developers of the vokoscreen-ng for amazing screen-casting recorder with outstanding set of features. I like everything in it, but three things are off.

1) Internal player does not start under Ubuntu 22.04 throwing "no codecs found" error.

2) I want to record screen-casts 2-3 hours long with mkv h.264 codec ZERO compression, but hard limit of 999 MB will let me record maximum of 40 minutes at best. I would like to ask you kindly to increase the limit to 10 GB per say. This will make many users of the vokoscreen-ng super happy.

3) Allow selecting compression bitrate for audio and video codec selected.

Another suggestion is to add webcam initial size limit to 720p.

vkohaupt commented 2 years ago

To Point 2. Hmm... no limit was built in. Can you please send me the log here. The logs are in ~/.config/vokoscreenNG/log

Webcam: The webcam module has to be rewritten with the switch to Qt6, the API has changed fundamentally in Qt6. Not only the webcam module is affected. A first compilation with Qt6 shows that a lot of changes have to be made. However, when the change to Qt6 will take place is still open.

viktor-zhuromskyy commented 2 years ago

To Point 2. Hmm... no limit was built in. Can you please send me the log here. The logs are in ~/.config/vokoscreenNG/log

Webcam: The webcam module has to be rewritten with the switch to Qt6, the API has changed fundamentally in Qt6. Not only the webcam module is affected. A first compilation with Qt6 shows that a lot of changes have to be made. However, when the change to Qt6 will take place is still open.

here is one of the logs:

17:42:49 [vokoscreenNG] Version: 3.3.0 17:42:49 [vokoscreenNG] Locale: ru_RU 17:42:49 [vokoscreenNG] Log from: 2022-07-28 17:42:49 17:42:49 [vokoscreenNG] Country: Russia 17:42:49 [vokoscreenNG] Qt: 5.15.3 17:42:49 [vokoscreenNG] GStreamer 1.20.3 17:42:49 [vokoscreenNG] PulseAudio library version: 15.99.0 17:42:49 [vokoscreenNG] Virtual Maschine: none 17:42:49 [vokoscreenNG] Operating system: Ubuntu 22.04 LTS 17:42:49 [vokoscreenNG] KernelVersion: 5.15.0-43-generic 17:42:49 [vokoscreenNG] CPU Architecture: x86_64 17:42:49 [vokoscreenNG] Count CPU: 12 17:42:49 [vokoscreenNG] vokoscreenNG running as: xcb client 17:42:49 [vokoscreenNG] vokoscreenNG running on: x11 17:42:49 [vokoscreenNG] Desktop: KDE 17:42:49 [vokoscreenNG] Icon-Theme: candy-icons 17:42:49 [vokoscreenNG] Styles: QFusionStyle 17:42:49 [vokoscreenNG] InstallPath: /usr/bin 17:42:49 [vokoscreenNG] Qt-PluginsPath: /usr/lib/x86_64-linux-gnu/qt5/plugins 17:42:49 [vokoscreenNG] Qt-TranslationsPath: /usr/share/qt5/translations 17:42:49 [vokoscreenNG] Qt-LibraryPath: /usr/lib/x86_64-linux-gnu 17:42:49 [vokoscreenNG] Settings: /home/victor/.config/vokoscreenNG/vokoscreenNG.ini 17:42:49 [vokoscreenNG] Log: /home/victor/.config/vokoscreenNG/log/2022-07-28_17-42-49.log 17:42:49 [vokoscreenNG] Default Videopath: /home/victor/Downloads/Videos 17:42:49 [vokoscreenNG] User Videopath: /home/victor/Temp 17:42:49 [vokoscreenNG] CompositingManager running: true

17:42:49 [vokoscreenNG] [Audio] Found: Monitor of Built-in Audio Analog Stereo Device: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor 17:42:49 [vokoscreenNG] [Audio] Found: Built-in Audio Analog Stereo Device: alsa_input.pci-0000_00_1f.3.analog-stereo 17:42:49 [vokoscreenNG] [Audio] Found: K10C Device: bluez_input.00_02_5B_00_FF_0B.headset-head-unit 17:42:49 [vokoscreenNG] [Audio] Found: Monitor of K10C Device: bluez_output.00_02_5B_00_FF_0B.headset-head-unit.monitor

17:42:49 [vokoscreenNG] Record symbols: + available, - not available 17:42:49 [vokoscreenNG] + matroskamux 17:42:49 [vokoscreenNG] + webmmux 17:42:49 [vokoscreenNG] + avimux 17:42:49 [vokoscreenNG] + mp4mux 17:42:49 [vokoscreenNG] + qtmux 17:42:49 [vokoscreenNG] + openh264enc 17:42:49 [vokoscreenNG] + x264enc 17:42:49 [vokoscreenNG] + vp8enc 17:42:49 [vokoscreenNG] + vorbisenc 17:42:49 [vokoscreenNG] + flacenc 17:42:49 [vokoscreenNG] + opusenc 17:42:49 [vokoscreenNG] + lamemp3enc

17:42:49 [vokoscreenNG] + ximagesrc 17:42:49 [vokoscreenNG] + pulsesrc 17:42:49 [vokoscreenNG] + queue 17:42:49 [vokoscreenNG] + capsfilter 17:42:49 [vokoscreenNG] + videoconvert 17:42:49 [vokoscreenNG] + videorate 17:42:49 [vokoscreenNG] + audioconvert 17:42:49 [vokoscreenNG] + audiorate 17:42:49 [vokoscreenNG] + filesink 17:42:49 [vokoscreenNG] + videoscale 17:42:49 [vokoscreenNG] + h264parse 17:42:49 [vokoscreenNG] + audiomixer

17:42:49 [vokoscreenNG] This screen is the primary screen: eDP-1-1 17:42:49 [vokoscreenNG] Name from screen: eDP-1-1 17:42:49 [vokoscreenNG] Screen available desktop width : 1920 17:42:49 [vokoscreenNG] Screen available desktop height: 1080 17:42:49 [vokoscreenNG] DevicePixelRatio: 1 (Normal displays is 1, Retina display is 2) 17:42:49 [vokoscreenNG] Vertical refresh rate of the screen in Hz: 60.128 17:42:49 [vokoscreenNG] Screen orientation Qt::LandscapeOrientation 17:42:49 [vokoscreenNG] Color depth of the screen: 24 17:42:49 [vokoscreenNG] Model from screen:
17:42:49 [vokoscreenNG] Manufactur from screen: AU Optronics 17:42:49 [vokoscreenNG] SerialNumber from screen:
17:42:49 [vokoscreenNG] ItemText in Combobox: eDP-1-1 : 1920 x 1080 17:42:49 [vokoscreenNG] ItemData in Combobox: x=0 y=0 with=1920 height=1080

17:42:49 [vokoscreenNG] [Camera] Found: Integrated_Webcam_HD: Integrate /dev/video0 17:42:49 [vokoscreenNG] QvkCameraResolution QCamera::LoadingStatus 17:42:50 [vokoscreenNG] QvkCameraResolution QCamera::LoadedState 17:42:50 [vokoscreenNG] [Camera] Found: Dummy video device (0x0000) /dev/video2 17:42:50 [vokoscreenNG] Set global shortcut for Start: CTRL+SHIFT+F10 17:42:50 [vokoscreenNG] Set global shortcut for Pause: CTRL+SHIFT+F12 17:42:50 [vokoscreenNG] Set global shortcut for Magnification: CTRL+SHIFT+F9 17:42:50 [vokoscreenNG] Set global shortcut for Camera: CTRL+SHIFT+F8 17:42:50 [vokoscreenNG] Set global shortcut for Showclick: CTRL+SHIFT+F7 17:42:50 [vokoscreenNG] Set global shortcut for Halo: CTRL+SHIFT+F6

17:42:50 [vokoscreenNG] Permission: Can write in /home/victor/Temp

17:42:50 [vokoscreenNG] QvkCameraResolution QCamera::LoadedStatus 17:42:50 [vokoscreenNG] Camera resolutions for: Integrated_Webcam_HD: Integrate /dev/video0 17:42:50 (QSize(160, 120), QSize(320, 180), QSize(320, 240), QSize(424, 240), QSize(640, 360), QSize(640, 480)) 17:42:50 [vokoscreenNG] QvkCameraResolution QCamera::UnloadingStatus 17:42:50 [vokoscreenNG] QvkCameraResolution QCamera::UnloadedStatus 17:42:50 [vokoscreenNG] QvkCameraResolution QCamera::UnloadedState 17:43:11 [vokoscreenNG] + vp8enc 17:43:11 [vokoscreenNG] + vorbisenc 17:43:11 [vokoscreenNG] + opusenc

17:43:18 [vokoscreenNG] Permission: Can write in /home/victor/Temp

17:43:24 [vokoscreenNG] radioButton_cisco_on = true 17:43:24 [vokoscreenNG] radioButton_cisco_off = false 17:43:24 [vokoscreenNG] radioButtonScreencastFullscreen = true 17:43:24 [vokoscreenNG] radioButtonScreencastWindow = false 17:43:24 [vokoscreenNG] radioButtonScreencastArea = false 17:43:24 [vokoscreenNG] checkBox_shortcut_pause_strg = true 17:43:24 [vokoscreenNG] checkBox_shortcut_start_strg = true 17:43:24 [vokoscreenNG] checkBox_shortcut_pause_alt = false 17:43:24 [vokoscreenNG] checkBox_shortcut_magnification_shift = true 17:43:24 [vokoscreenNG] checkBox_shortcut_showclick_meta = false 17:43:24 [vokoscreenNG] checkBox_shortcut_halo_strg = true 17:43:24 [vokoscreenNG] checkBox_shortcut_halo_shift = true 17:43:24 [vokoscreenNG] checkBox_shortcut_camera_meta = false 17:43:24 [vokoscreenNG] checkBox_shortcut_halo_alt = false 17:43:24 [vokoscreenNG] checkBox_shortcut_pause_meta = false 17:43:24 [vokoscreenNG] checkBox_shortcut_magnification_alt = false 17:43:24 [vokoscreenNG] checkBox_shortcut_showclick_alt = false 17:43:24 [vokoscreenNG] checkBox_shortcut_start_meta = false 17:43:24 [vokoscreenNG] checkBox_shortcut_showclick_strg = true 17:43:24 [vokoscreenNG] checkBox_shortcut_pause_shift = true 17:43:24 [vokoscreenNG] checkBox_shortcut_magnification_meta = false 17:43:24 [vokoscreenNG] checkBox_shortcut_showclick_shift = true 17:43:24 [vokoscreenNG] checkBox_shortcut_halo_meta = false 17:43:24 [vokoscreenNG] checkBox_shortcut_camera_alt = false 17:43:24 [vokoscreenNG] checkBox_shortcut_start_shift = true 17:43:24 [vokoscreenNG] checkBox_shortcut_camera_shift = true 17:43:24 [vokoscreenNG] checkBox_shortcut_magnification_strg = true 17:43:24 [vokoscreenNG] checkBox_shortcut_start_alt = false 17:43:24 [vokoscreenNG] checkBox_shortcut_camera_strg = true 17:43:24 [vokoscreenNG] checkBoxCameraInvert = false 17:43:24 [vokoscreenNG] checkBoxCameraGray = false 17:43:24 [vokoscreenNG] checkBoxCameraMono = false 17:43:24 [vokoscreenNG] checkBoxCameraMirrorVertical = false 17:43:24 [vokoscreenNG] checkBoxCameraMirrorHorizontal = false 17:43:24 [vokoscreenNG] checkBoxCameraWindowFrame = true 17:43:24 [vokoscreenNG] checkBoxCameraOnOff = false 17:43:24 [vokoscreenNG] checkBoxStartsMinimized = true 17:43:24 [vokoscreenNG] checkBoxShowInSystray = true 17:43:24 [vokoscreenNG] checkBoxShowInSystrayAlternative = true 17:43:24 [vokoscreenNG] checkBoxMinimizedWhenRecordingStarts = true 17:43:24 [vokoscreenNG] checkBoxLookForUpdates = true 17:43:24 [vokoscreenNG] checkBoxMagnifier = false 17:43:24 [vokoscreenNG] checkBoxResetAtNextStart = false 17:43:24 [vokoscreenNG] checkboxAudioDevice-0 = false 17:43:24 [vokoscreenNG] checkboxAudioDevice-1 = false 17:43:24 [vokoscreenNG] checkboxAudioDevice-2 = true 17:43:24 [vokoscreenNG] checkboxAudioDevice-3 = false 17:43:24 [vokoscreenNG] checkBoxMouseCursorOnOff = false 17:43:24 [vokoscreenNG] comboBox_shortcut_showclick = F7 17:43:24 [vokoscreenNG] comboBox_shortcut_camera = F8 17:43:24 [vokoscreenNG] comboBox_shortcut_start = F10 17:43:24 [vokoscreenNG] comboBox_shortcut_halo = F6 17:43:24 [vokoscreenNG] comboBox_shortcut_magnification = F9 17:43:24 [vokoscreenNG] comboBox_shortcut_pause = F12 17:43:24 [vokoscreenNG] comboBoxCameraResolution = 640x360 17:43:24 [vokoscreenNG] comboBoxCamera = Integrated_Webcam_HD: Integrate 17:43:24 [vokoscreenNG] comboBoxOnlineHelp = Автоматически 17:43:24 [vokoscreenNG] comboBoxScreencastScreen = eDP-1-1 : 1920 x 1080 17:43:24 [vokoscreenNG] comboBoxScreencastScreenArea = eDP-1-1 : 1920 x 1080 17:43:24 [vokoscreenNG] comboBoxAudioCodec = vorbis 17:43:24 [vokoscreenNG] comboBoxx264Preset = fast 17:43:24 [vokoscreenNG] comboBoxx264Profile = baseline 17:43:24 [vokoscreenNG] comboBoxVideoCodec = VP8 17:43:24 [vokoscreenNG] comboBoxFormat = webm 17:43:24 [vokoscreenNG] sliderVolume = 70 17:43:24 [vokoscreenNG] sliderVideo = 0 17:43:24 [vokoscreenNG] sliderShowClickCircle = 50 17:43:24 [vokoscreenNG] sliderShowClickOpacity = 70 17:43:24 [vokoscreenNG] sliderShowClickShowtime = 2 17:43:24 [vokoscreenNG] sliderhaloHole = 26 17:43:24 [vokoscreenNG] sliderhaloDiameter = 64 17:43:24 [vokoscreenNG] sliderhaloOpacity = 63 17:43:24 [vokoscreenNG] sliderCameraWindowSize = 220 17:43:24 [vokoscreenNG] sliderCameraWindowZoom = 0 17:43:24 [vokoscreenNG] sliderHour = 0 17:43:24 [vokoscreenNG] sliderMinute = 0 17:43:24 [vokoscreenNG] sliderStopRecordingAfterHouers = 0 17:43:24 [vokoscreenNG] sliderStopRecordingAfterMinutes = 0 17:43:24 [vokoscreenNG] sliderStopRecordingAfterSeconds = 15 17:43:24 [vokoscreenNG] sliderLimitOfFreeDiskSpace = 999 17:43:24 [vokoscreenNG] sliderShowInSystrayAlternative = 48 17:43:24 [vokoscreenNG] sliderSecondWaitBeforeRecording = 3 17:43:24 [vokoscreenNG] sliderScreencastCountDown = 3 17:43:24 [vokoscreenNG] sliderMagnification = 3 17:43:24 [vokoscreenNG] sliderX264 = 0 17:43:24 [vokoscreenNG] sliderOpenh264 = 1 17:43:24 [vokoscreenNG] sliderVp8 = 0 17:43:24 [vokoscreenNG] sliderFrames = 30 17:43:24 [vokoscreenNG] lineEditVideoPath = /home/victor/Temp

17:43:24 [vokoscreenNG] Free disk space at the beginning of the recording: 340716 MB

17:43:24 [vokoscreenNG] Start record with: ximagesrc display-name=:0 use-damage=false show-pointer=true startx=0 starty=0 endx=1919 endy=1079 ! video/x-raw, framerate=30/1 ! videoconvert ! videorate ! queue max-size-bytes=1073741824 max-size-time=10000000000 max-size-buffers=1000 ! vp8enc min_quantizer=0 max_quantizer=0 cpu-used=12 deadline=1000000 threads=12 ! queue ! mux. pulsesrc device=bluez_input.00_02_5B_00_FF_0B.headset-head-unit client-name=[vokoscreenNG].K10C ! audio/x-raw, channels=2 ! audioconvert ! audiorate ! queue max-size-bytes=1000000 max-size-time=10000000000 max-size-buffers=1000 ! vorbisenc ! queue ! mux. webmmux name=mux ! filesink location="/home/victor/Temp/vokoscreenNG-2022-07-28_17-43-24.webm"

17:43:24 gst-launch-1.0 -e \ ximagesrc display-name=:0 use-damage=false show-pointer=true startx=0 starty=0 endx=1919 endy=1079 \ ! video/x-raw, framerate=30/1 \ ! videoconvert \ ! videorate \ ! queue max-size-bytes=1073741824 max-size-time=10000000000 max-size-buffers=1000 \ ! vp8enc min_quantizer=0 max_quantizer=0 cpu-used=12 deadline=1000000 threads=12 \ ! queue \ ! mux. \ pulsesrc device=bluez_input.00_02_5B_00_FF_0B.headset-head-unit client-name=[vokoscreenNG].K10C \ ! audio/x-raw, channels=2 \ ! audioconvert \ ! audiorate \ ! queue max-size-bytes=1000000 max-size-time=10000000000 max-size-buffers=1000 \ ! vorbisenc \ ! queue \ ! mux. \ webmmux name=mux \ ! filesink location="/home/victor/Temp/vokoscreenNG-2022-07-28_17-43-24.webm"

17:43:24 [vokoscreenNG] QCamera::LoadingStatus 17:43:25 [vokoscreenNG] QCamera::LoadedState 17:43:25 [vokoscreenNG] QCamera::LoadedStatus 17:43:25 [vokoscreenNG] QCamera::StartingStatus 17:43:25 [vokoscreenNG] QCamera::ActiveState 17:43:25 [vokoscreenNG] QCamera::ActiveStatus 17:44:30 [vokoscreenNG] Stop record 17:44:30 [vokoscreenNG] Free disk space at the end of the recording: 340505 MB

17:45:26 [vokoscreenNG] Permission: Can write in /home/victor/Temp

17:45:32 [vokoscreenNG] radioButton_cisco_on = true 17:45:32 [vokoscreenNG] radioButton_cisco_off = false 17:45:32 [vokoscreenNG] radioButtonScreencastFullscreen = true 17:45:32 [vokoscreenNG] radioButtonScreencastWindow = false 17:45:32 [vokoscreenNG] radioButtonScreencastArea = false 17:45:32 [vokoscreenNG] checkBox_shortcut_pause_strg = true 17:45:32 [vokoscreenNG] checkBox_shortcut_start_strg = true 17:45:32 [vokoscreenNG] checkBox_shortcut_pause_alt = false 17:45:32 [vokoscreenNG] checkBox_shortcut_magnification_shift = true 17:45:32 [vokoscreenNG] checkBox_shortcut_showclick_meta = false 17:45:32 [vokoscreenNG] checkBox_shortcut_halo_strg = true 17:45:32 [vokoscreenNG] checkBox_shortcut_halo_shift = true 17:45:32 [vokoscreenNG] checkBox_shortcut_camera_meta = false 17:45:32 [vokoscreenNG] checkBox_shortcut_halo_alt = false 17:45:32 [vokoscreenNG] checkBox_shortcut_pause_meta = false 17:45:32 [vokoscreenNG] checkBox_shortcut_magnification_alt = false 17:45:32 [vokoscreenNG] checkBox_shortcut_showclick_alt = false 17:45:32 [vokoscreenNG] checkBox_shortcut_start_meta = false 17:45:32 [vokoscreenNG] checkBox_shortcut_showclick_strg = true 17:45:32 [vokoscreenNG] checkBox_shortcut_pause_shift = true 17:45:32 [vokoscreenNG] checkBox_shortcut_magnification_meta = false 17:45:32 [vokoscreenNG] checkBox_shortcut_showclick_shift = true 17:45:32 [vokoscreenNG] checkBox_shortcut_halo_meta = false 17:45:32 [vokoscreenNG] checkBox_shortcut_camera_alt = false 17:45:32 [vokoscreenNG] checkBox_shortcut_start_shift = true 17:45:32 [vokoscreenNG] checkBox_shortcut_camera_shift = true 17:45:32 [vokoscreenNG] checkBox_shortcut_magnification_strg = true 17:45:32 [vokoscreenNG] checkBox_shortcut_start_alt = false 17:45:32 [vokoscreenNG] checkBox_shortcut_camera_strg = true 17:45:32 [vokoscreenNG] checkBoxCameraInvert = false 17:45:32 [vokoscreenNG] checkBoxCameraGray = false 17:45:32 [vokoscreenNG] checkBoxCameraMono = false 17:45:32 [vokoscreenNG] checkBoxCameraMirrorVertical = false 17:45:32 [vokoscreenNG] checkBoxCameraMirrorHorizontal = false 17:45:32 [vokoscreenNG] checkBoxCameraWindowFrame = true 17:45:32 [vokoscreenNG] checkBoxCameraOnOff = true 17:45:32 [vokoscreenNG] checkBoxStartsMinimized = true 17:45:32 [vokoscreenNG] checkBoxShowInSystray = true 17:45:32 [vokoscreenNG] checkBoxShowInSystrayAlternative = true 17:45:32 [vokoscreenNG] checkBoxMinimizedWhenRecordingStarts = true 17:45:32 [vokoscreenNG] checkBoxLookForUpdates = true 17:45:32 [vokoscreenNG] checkboxAudioDevice-0 = false 17:45:32 [vokoscreenNG] checkboxAudioDevice-1 = false 17:45:32 [vokoscreenNG] checkboxAudioDevice-2 = true 17:45:32 [vokoscreenNG] checkboxAudioDevice-3 = false 17:45:32 [vokoscreenNG] checkBoxMagnifier = false 17:45:32 [vokoscreenNG] checkBoxResetAtNextStart = false 17:45:32 [vokoscreenNG] checkBoxMouseCursorOnOff = false 17:45:32 [vokoscreenNG] comboBox_shortcut_showclick = F7 17:45:32 [vokoscreenNG] comboBox_shortcut_camera = F8 17:45:32 [vokoscreenNG] comboBox_shortcut_start = F10 17:45:32 [vokoscreenNG] comboBox_shortcut_halo = F6 17:45:32 [vokoscreenNG] comboBox_shortcut_magnification = F9 17:45:32 [vokoscreenNG] comboBox_shortcut_pause = F12 17:45:32 [vokoscreenNG] comboBoxCameraResolution = 640x360 17:45:32 [vokoscreenNG] comboBoxCamera = Integrated_Webcam_HD: Integrate 17:45:32 [vokoscreenNG] comboBoxOnlineHelp = Автоматически 17:45:32 [vokoscreenNG] comboBoxAudioCodec = vorbis 17:45:32 [vokoscreenNG] comboBoxScreencastScreen = eDP-1-1 : 1920 x 1080 17:45:32 [vokoscreenNG] comboBoxScreencastScreenArea = eDP-1-1 : 1920 x 1080 17:45:32 [vokoscreenNG] comboBoxx264Preset = fast 17:45:32 [vokoscreenNG] comboBoxx264Profile = baseline 17:45:32 [vokoscreenNG] comboBoxVideoCodec = VP8 17:45:32 [vokoscreenNG] comboBoxFormat = webm 17:45:32 [vokoscreenNG] sliderVolume = 70 17:45:32 [vokoscreenNG] sliderVideo = 0 17:45:32 [vokoscreenNG] sliderShowClickCircle = 50 17:45:32 [vokoscreenNG] sliderShowClickOpacity = 70 17:45:32 [vokoscreenNG] sliderShowClickShowtime = 2 17:45:32 [vokoscreenNG] sliderhaloHole = 26 17:45:32 [vokoscreenNG] sliderhaloDiameter = 64 17:45:32 [vokoscreenNG] sliderhaloOpacity = 63 17:45:32 [vokoscreenNG] sliderCameraWindowSize = 220 17:45:32 [vokoscreenNG] sliderCameraWindowZoom = 0 17:45:32 [vokoscreenNG] sliderHour = 0 17:45:32 [vokoscreenNG] sliderMinute = 0 17:45:32 [vokoscreenNG] sliderStopRecordingAfterHouers = 0 17:45:32 [vokoscreenNG] sliderStopRecordingAfterMinutes = 0 17:45:32 [vokoscreenNG] sliderStopRecordingAfterSeconds = 15 17:45:32 [vokoscreenNG] sliderLimitOfFreeDiskSpace = 999 17:45:32 [vokoscreenNG] sliderShowInSystrayAlternative = 48 17:45:32 [vokoscreenNG] sliderSecondWaitBeforeRecording = 3 17:45:32 [vokoscreenNG] sliderScreencastCountDown = 3 17:45:32 [vokoscreenNG] sliderMagnification = 3 17:45:32 [vokoscreenNG] sliderX264 = 0 17:45:32 [vokoscreenNG] sliderOpenh264 = 1 17:45:32 [vokoscreenNG] sliderVp8 = 20 17:45:32 [vokoscreenNG] sliderFrames = 30 17:45:32 [vokoscreenNG] lineEditVideoPath = /home/victor/Temp

17:45:32 [vokoscreenNG] Free disk space at the beginning of the recording: 340504 MB

17:45:32 [vokoscreenNG] Start record with: ximagesrc display-name=:0 use-damage=false show-pointer=true startx=0 starty=0 endx=1919 endy=1079 ! video/x-raw, framerate=30/1 ! videoconvert ! videorate ! queue max-size-bytes=1073741824 max-size-time=10000000000 max-size-buffers=1000 ! vp8enc min_quantizer=20 max_quantizer=20 cpu-used=12 deadline=1000000 threads=12 ! queue ! mux. pulsesrc device=bluez_input.00_02_5B_00_FF_0B.headset-head-unit client-name=[vokoscreenNG].K10C ! audio/x-raw, channels=2 ! audioconvert ! audiorate ! queue max-size-bytes=1000000 max-size-time=10000000000 max-size-buffers=1000 ! vorbisenc ! queue ! mux. webmmux name=mux ! filesink location="/home/victor/Temp/vokoscreenNG-2022-07-28_17-45-32.webm"

17:45:32 gst-launch-1.0 -e \ ximagesrc display-name=:0 use-damage=false show-pointer=true startx=0 starty=0 endx=1919 endy=1079 \ ! video/x-raw, framerate=30/1 \ ! videoconvert \ ! videorate \ ! queue max-size-bytes=1073741824 max-size-time=10000000000 max-size-buffers=1000 \ ! vp8enc min_quantizer=20 max_quantizer=20 cpu-used=12 deadline=1000000 threads=12 \ ! queue \ ! mux. \ pulsesrc device=bluez_input.00_02_5B_00_FF_0B.headset-head-unit client-name=[vokoscreenNG].K10C \ ! audio/x-raw, channels=2 \ ! audioconvert \ ! audiorate \ ! queue max-size-bytes=1000000 max-size-time=10000000000 max-size-buffers=1000 \ ! vorbisenc \ ! queue \ ! mux. \ webmmux name=mux \ ! filesink location="/home/victor/Temp/vokoscreenNG-2022-07-28_17-45-32.webm"

17:46:33 [vokoscreenNG] Stop record 17:46:33 [vokoscreenNG] Free disk space at the end of the recording: 340469 MB 17:46:42 [vokoscreenNG] play video with vokoplayer vokoscreenNG-2022-07-28_17-45-32.webm 17:46:42 [vokoscreenNG] [Player] QMediaPlayer::PlayingState 17:46:42 [vokoscreenNG] [Player] QMediaPlayer::StoppedState 17:46:42 [vokoscreenNG] [Player] To play this video a codec is needed. Please install a codec pack. 17:46:44 Error: "Internal data stream error."

viktor-zhuromskyy commented 2 years ago

To Point 2. Hmm... no limit was built in. Can you please send me the log here. The logs are in ~/.config/vokoscreenNG/log

Webcam: The webcam module has to be rewritten with the switch to Qt6, the API has changed fundamentally in Qt6. Not only the webcam module is affected. A first compilation with Qt6 shows that a lot of changes have to be made. However, when the change to Qt6 will take place is still open.

I see the 999 on limit bar. Screenshot_20220729_114125

vkohaupt commented 2 years ago

This is a security setting to protect your disk from overflowing. I can't tell what is written there. Possibly it is a wrong translation. Please read the English info text.

kk1694 commented 2 months ago

Re: file size limit - the English text also says file size are limited

Screenshot from 2024-09-03 14-52-51

And the info button says

To prevent your hard disk from filling up, this security mechanism has been created. If, for example, the free space of 250 megabytes is reached during a recording, recording is stopped. The area that needs to be kept free can be set between 100 Megabytes and 999 Megabytes. The default is 250 Megabytes.

I understand the reason, and I think this is a good function, but as OP said, it's a pretty low max setting if you want to record hours of video (my case as well). And modern hard drives are pretty big, I think we can safely increase the max to 10+GB.

My understanding is that it' is controlled in mainWindow.cpp, with setMaximum:

    ui->horizontalLayout_27->insertWidget( 2, sliderLimitOfFreeDiskSpace );
    sliderLimitOfFreeDiskSpace->setObjectName( "sliderLimitOfFreeDiskSpace" );
    sliderLimitOfFreeDiskSpace->setMinimum( 100 );
    sliderLimitOfFreeDiskSpace->setMaximum( 999 );
    sliderLimitOfFreeDiskSpace->setValue( 250 );
    sliderLimitOfFreeDiskSpace->show();
vkohaupt commented 2 months ago

Re: file size limit - the English text also says file size are limited

There is nothing about file size or file size limit! Please read the text slowly and carefully. And understand what the function is good for.

kk1694 commented 2 months ago

Damn I'm an idiot 😃 completely misinterpreted that