November 9, 2024
Notice
The update from Mint 21 to Mint 22, which is based on Ubuntu 24.4, has resulted in several instances
of library problems. These include changes in PulseAudio callback buffering and errors in processing
Matroska (mkv) videos. The current code attempts to correct these problems.
Please contact me if you have issues.
License and Acknowledgements:
This code is licensed under the GPL 2+ & MIT licenses. The code uses VLC library APIs which themselves have various open source licences.
Note: In the Windows-11 WSL2 apps, only sound that is played within WSL2 (i.e., PulseAudio)
is accessible to the metering graphics. Sound played by
Windows apps on the Windows desktop are not forwarded to WSL2/PulseAudio. Thus, if you start VLC in Windows, the meters will not see the audio. If you start VLC in WSL2 (Ubuntu), they will.
Spark Gap Radio Player
Free Open-Source
Internet Radio Automation & Media Player System
for Linux and Windows 11 with WSL2
player-9-nov-2024.tgz
README.txt
which contains important information for Windows 11 users.
Installation and usage videos are listed below.
Examples:
Installion and Usage Videos
Windows 11
- Installation on Windows 11 with WSL2
Linux and General Program Information
- SGR Player installation
- Create an SGR program list
- How to play a file in SGR
- SGR Player settings
- Building SGR albums
- SGR Player web browsers
- Builtin SGR Player slide show
- Drag and drop (recursively)
- Player Glade layout file
- Locating widgets in the code part 1
- Locating widgets in the code part 2
- Locating widgets in the code part 3
- Locating widgets in the code part 4
- Program tile widgets
- Scrolling the tiles and entry boxes
- Audio data
- Converting audio data to visual metering
- Creating and executing an instance of a VLC player.
- Main Timer.
The Linux version was developed on Linux Mint with Mate (20.2). It assumes library names and locations
consistent with a Debian/Ubuntu based system. The installation script uses apt.
It has been tested and works with the following, subject to the notes stated:
-
Ubuntu (with Wayland disabled)
Ubuntu 21.04 uses Wayland by default. Wayland breaks many Xorg apps including
this one. If you want to use the player with Ubuntu 21.04, you need, as root,
to modify the file:
/etc/gdm3/custom.conf
and uncomment (remove #) from the line:
#WaylandEnable=false
and re-boot.
The issue involves libvlc video embedding. This feature is not currently supported
in Wayland by VLC. A version of the player without video embedding will be posted.
If you are using Nvidia drivers, as of this writing, they are not compatible with
Wayland and your system may already be in Xorg mode.
-
Linux Mint LMDE
No problems.
-
Linux Mint Cinnamon
No problems.
-
Linux Mint Mate
No problems.
-
Linux Mint Xfce
Use cut/paste to add file references to the Edit panel (rather than drag/drop).
-
MX Linux
Change GTK3 from Breeze to Default Theme.
The MX default GTK3 theme is called 'Breeze'. This theme generates errors when
used with the Player and WebKit. These result in misalignment of widgets on the screen.
To compensate, change the setting from Breeze to Default. To do so, go to:
Settings ->
System Settings ->
Application Style ->
Gnome Application Style (GTK)
and change 'Select GTK3 Theme' from Breeze to Default.
This error appears to be a Breeze issue and may be fixed in future releases. Attempts
to create a workaround will also be tried in future releases of SGR Player.
-
Debian (with Wayland disabled)
See notes above for Ubuntu. As above, Wayland needs to be disabled. Edit the file:
/etc/gdm3/daemon.conf
and uncomment (remove #) from the line:
#WaylandEnable=false
For Linux, please run GeneralInstall.script as root. It will install (apt install) any
standard system packages you may be missing. Compile scripts are provided. There is a
'Makefile' but it requires the system libraries which GeneralInstall.script installs.
All code is either GPL2 or MIT license.
Old Windows Native Version - Requires GTK3
Player-Win-5.03.1.zip
Videos on the Windows project (development suspended due to MS removal of GTK3+) are at:
- Large Scale Native Windows 10 GTK Application - Part 1
https://youtu.be/AtUi7pJFRjs
- Windows GTK App Part 2 Analysis of Glade file
https://youtu.be/H96922tU_GQ
-
Windows GTK App Part3 - C/C++ Code Overview
https://youtu.be/NJfO8PQ75_o
Spark Gap Radio Casting Encoder
The following is a GTK frontend GUI for ffmpeg casting applications. Most of the documentation is in the tool tips which
are shown if you mouse-over an object.
sgr-encoder-src-1.05.tgz
|