Open PowellDean opened 1 year ago
Please start vokoscreenNG. Click on the bottom icon on the left and copy the complete log and show it to us here. Thanks
Here is the log:
22:46:50 [vokoscreenNG] Version: 3.4.0-beta-04 22:46:50 [vokoscreenNG] Locale: en_CA 22:46:50 [vokoscreenNG] Log from: 2022-08-30 22:46:50 22:46:50 [vokoscreenNG] Country: Canada 22:46:50 [vokoscreenNG] Qt: 5.15.2 22:46:50 [vokoscreenNG] GStreamer 1.20.3 22:46:50 [vokoscreenNG] PulseAudio library version: 15.99.0 22:46:50 [vokoscreenNG] Virtual Maschine: none 22:46:50 [vokoscreenNG] Operating system: Ubuntu 22.04.1 LTS 22:46:50 [vokoscreenNG] KernelVersion: 5.15.0-46-generic 22:46:50 [vokoscreenNG] CPU Architecture: x86_64 22:46:50 [vokoscreenNG] Count CPU: 8 22:46:50 [vokoscreenNG] vokoscreenNG running as: xcb client 22:46:50 [vokoscreenNG] vokoscreenNG running on: x11 22:46:50 [vokoscreenNG] Desktop: ubuntu:GNOME 22:46:50 [vokoscreenNG] Icon-Theme: Yaru 22:46:50 [vokoscreenNG] Styles: QFusionStyle 22:46:50 [vokoscreenNG] ExecutablePath: /home/dean/vokoscreenNG 22:46:50 [vokoscreenNG] Qt-PluginsPath: /home/dean/vokoscreenNG/plugins 22:46:50 [vokoscreenNG] Qt-TranslationsPath: /home/dean/vokoscreenNG/translations 22:46:50 [vokoscreenNG] Qt-LibraryPath: /home/dean/vokoscreenNG/lib 22:46:50 [vokoscreenNG] Settings: /home/dean/.config/vokoscreenNG/vokoscreenNG.ini 22:46:50 [vokoscreenNG] Log: /home/dean/.config/vokoscreenNG/log/2022-08-30_22-46-49.log 22:46:50 [vokoscreenNG] Default Videopath: /home/dean/Videos 22:46:50 [vokoscreenNG] User Videopath: /home/dean/Videos 22:46:50 [vokoscreenNG] CompositingManager running: true
22:46:50 [vokoscreenNG] [Audio] Found: Monitor of Built-in Audio Analog Stereo Device: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
22:46:50 [vokoscreenNG] Permission: Can write in /home/dean/Pictures
22:46:50 [vokoscreenNG] Record symbols: + available, - not available 22:46:50 [vokoscreenNG] + matroskamux 22:46:50 [vokoscreenNG] + webmmux 22:46:50 [vokoscreenNG] + avimux 22:46:50 [vokoscreenNG] + mp4mux 22:46:50 [vokoscreenNG] + qtmux 22:46:50 [vokoscreenNG] - openh264enc 22:46:50 [vokoscreenNG] - x264enc 22:46:50 [vokoscreenNG] + vp8enc 22:46:50 [vokoscreenNG] + vorbisenc 22:46:50 [vokoscreenNG] + flacenc 22:46:50 [vokoscreenNG] + opusenc 22:46:50 [vokoscreenNG] + lamemp3enc
22:46:50 [vokoscreenNG] + ximagesrc 22:46:50 [vokoscreenNG] + pulsesrc 22:46:50 [vokoscreenNG] + queue 22:46:50 [vokoscreenNG] + capsfilter 22:46:50 [vokoscreenNG] + videoconvert 22:46:50 [vokoscreenNG] + videorate 22:46:50 [vokoscreenNG] + audioconvert 22:46:50 [vokoscreenNG] + audiorate 22:46:50 [vokoscreenNG] + filesink 22:46:50 [vokoscreenNG] + videoscale 22:46:50 [vokoscreenNG] + h264parse 22:46:50 [vokoscreenNG] + audiomixer
22:46:50 [vokoscreenNG] This screen is the primary screen: VGA-0 22:46:50 [vokoscreenNG] Name from screen: VGA-0 22:46:50 [vokoscreenNG] Screen available desktop width : 1680 22:46:50 [vokoscreenNG] Screen available desktop height: 1050 22:46:50 [vokoscreenNG] DevicePixelRatio: 1 (Normal displays is 1, Retina display is 2) 22:46:50 [vokoscreenNG] Vertical refresh rate of the screen in Hz: 59.8833 22:46:50 [vokoscreenNG] Screen orientation Qt::LandscapeOrientation 22:46:50 [vokoscreenNG] Color depth of the screen: 24 22:46:50 [vokoscreenNG] Model from screen: W2242- 22:46:50 [vokoscreenNG] Manufactur from screen: LG Electronics 22:46:50 [vokoscreenNG] SerialNumber from screen: 542986 22:46:50 [vokoscreenNG] ItemText in Combobox: VGA-0 : 1680 x 1050 22:46:50 [vokoscreenNG] ItemData in Combobox: x=0 y=0 with=1680 height=1050
22:46:50 [vokoscreenNG] - openh264enc 22:46:50 [vokoscreenNG] - x264enc 22:46:53 [vokoscreenNG] + lamemp3enc 22:46:53 [vokoscreenNG] + opusenc
22:46:53 [vokoscreenNG] Set global shortcut for Start: CTRL+SHIFT+F10 22:46:53 [vokoscreenNG] Set global shortcut for Pause: CTRL+SHIFT+F12 22:46:53 [vokoscreenNG] Set global shortcut for Magnification: CTRL+SHIFT+F9 22:46:53 [vokoscreenNG] Set global shortcut for Camera: CTRL+SHIFT+F8 22:46:53 [vokoscreenNG] Set global shortcut for Showclick: CTRL+SHIFT+F7 22:46:53 [vokoscreenNG] Set global shortcut for Halo: CTRL+SHIFT+F6 22:46:53 [vokoscreenNG] Set global shortcut for Snapshot: CTRL+SHIFT+F5 22:46:53 [vokoscreenNG] Permission: Can write in /home/dean/Videos
This and all other packages are already installed:
Two packages are missing. gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
sudo apt install gstreamer1.0-plugins-bad Reading package lists... Done Building dependency tree... Done Reading state information... Done gstreamer1.0-plugins-bad is already the newest version (1.20.3-0ubuntu1).
sudo apt install gstreamer1.0-plugins-ugly Reading package lists... Done Building dependency tree... Done Reading state information... Done gstreamer1.0-plugins-ugly is already the newest version (1.20.1-1).
I'm still getting the same error. It appears that both -bad and -ugly packages are already installed and at the latest version. These packages were installed in Ubuntu 20.04. A few weeks ago, I was upgraded to Ubuntu 22.04, but I'm not sure if the packages in question were upgraded as well at that time, or if they were left in place. Is it possible the versions are newer than Vokoscreen currently supports? Or perhaps the upgrade to 22.04 caused an issue. Would purging and reinstalling the packages in question be in order?
Thanks!
Dean
Please open a terminal and enter this. ldd /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopenh264.so
Please post the output here.
ldd /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopenh264.so linux-vdso.so.1 (0x00007fff3d9fd000) libgstvideo-1.0.so.0 => /lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 (0x00007f961fbfd000) libgstreamer-1.0.so.0 => /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 (0x00007f961faac000) libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f961fa4c000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f961f912000) libopenh264.so.6 => /lib/x86_64-linux-gnu/libopenh264.so.6 (0x00007f961f80e000) libgstpbutils-1.0.so.0 => /lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0 (0x00007f961f7c8000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f961f59c000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f961f374000) libgstbase-1.0.so.0 => /lib/x86_64-linux-gnu/libgstbase-1.0.so.0 (0x00007f961f2ef000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f961f208000) liborc-0.4.so.0 => /lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007f961f183000) libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f961f17a000) libunwind.so.8 => /lib/x86_64-linux-gnu/libunwind.so.8 (0x00007f961f15f000) libdw.so.1 => /lib/x86_64-linux-gnu/libdw.so.1 (0x00007f961f0b3000) libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007f961f0a6000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f961f034000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f961f014000) libgstaudio-1.0.so.0 => /lib/x86_64-linux-gnu/libgstaudio-1.0.so.0 (0x00007f961ef90000) libgsttag-1.0.so.0 => /lib/x86_64-linux-gnu/libgsttag-1.0.so.0 (0x00007f961ef4e000) /lib64/ld-linux-x86-64.so.2 (0x00007f961fcee000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f961ef23000) libelf.so.1 => /lib/x86_64-linux-gnu/libelf.so.1 (0x00007f961ef05000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f961eee9000) libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f961eed4000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f961eecf000)
The user-friendly debugging module is finally finished and can now be used by you for the first time. See image.
Beta 06, which contains this function, is available for Linux.
https://linuxecke.volkoh.de/vokoscreen/vokoscreen-download.html
Example:
Step 1: Start vokoscreen
Step 2: Switch to the fourth tab in the top bar
Step 3: Enable GStreamer DebugLevel
Step 4: Set the slider to value 2
Step 5: Close vokoscreen
Step 6: Start vokoscreen
Step 7: Switch to the fourth tab in the top bar
Step 8: Click on the Folders button
Step 9: Put the file GST-Debuglevel-2.txt here
There's nothing useful in there. Please create the same with level 1, 3 and 4.
GST-Debuglevel-4.txt GST-Debuglevel-3.txt GST-Debuglevel-2.txt GST-Debuglevel-1.txt
I recreated the -2, just in case
For the -4, I switched the codec to mkv, then closed vokoscreen. Then I opened it up again, switched logging to -4, then chose the mp4 codec so the error window discussed earlier would pop up. Hopefully that will give you something more to go on.
Thanks!
No abnormalities here either. Then we continue with level 5 and 6
GST-Debuglevel-6.txt GST-Debuglevel-5.txt GST-Debuglevel-7.txt
Including level 7 as well, just in case. Thank you!
GST-Debuglevel-6.txt Line 34006: gst_element_factory_find: no such element factory "openh264enc" and Line 34007: gst_element_factory_find: no such element factory "x264enc"
These two elements are included in packages gstreamer1.0-plugins-bad and gstreamer1.0-plugins-ugly
Install are both packages, but GStreamer can not find the elements openh264enc and x264enc. The element openh264enc is in the library libgstopenh264.so Line 2524: read strings for name='libgstopenh264.so' Line 2524: desc.description='Plugin for blacklisted file' and the element x264enc is in the library libgstx264.so Line 262: read strings for name='libgstx264.so' Line 263: desc.description='Plugin for blacklisted file'
In the further course of line 2524 and line 263 you can see that the plugin libgstopenh264.so and libgstx264.so are loaded, but are ignored by Gstreamer because they are on the blacklist.
Open a terminal and enter the following and you see all blacklisted files. gst-inspect-1.0 -b
We can now two things. First: Delete the file "registry.x86_64.bin" in the hidden folder ~/.cache/gstreamer-1.0 Start "gst-inspect-1.0 -b" in a terminal. If the files libgstopenh264.so and libgstx264.so further more in the blacklist then go to second.
Second: Purge gstreamer1.0-plugins-bad and gstreamer1.0-plugins-ugly completely from the system also from the cache of the package manager. Delete the file "registry.x86_64.bin" in the hidden folder ~/.cache/gstreamer-1.0 Start "gst-inspect-1.0 -b" in a terminal for control.
Thank you very much. Running the first step as listed above worked, and I can now choose mp4 as a target file format. This issue can be closed.
Best Regards, Dean Powell Edmonton, Canada
Thanks for your cooperation.
Just installed VokoscreenNG-3.4 beta. Attempting a screen capture session saving to .mp4. Vokoscreen will not allow MP4 capture, prompting to install missing codecs (example gstreamer-base). This and all other packages are already installed: sudo apt install gstreamer1.0-plugins-base [sudo] password for : Reading package lists... Done Building dependency tree... Done Reading state information... Done gstreamer1.0-plugins-base is already the newest version (1.20.1-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I recently upgraded from Ubuntu 20.04 (Vokoscreen capture to MP4 was working on this release) to Ubuntu 22.04 LTS (Jammy).
All codecs are installed and configured. I am easily able to play back .mp4 videos using VLC player.
Please advise.