Skip to content

Releases: BBC-Esq/Pyside6_PyQt6_video_audio_player

v1.1 - fix for linux

21 Sep 13:50
559d3e2

Choose a tag to compare

Release Notes - Cross-Platform Video Output Fix

What's Fixed

Fixed critical video output issues affecting Linux users, particularly on Ubuntu 22.04 and other distributions using Wayland display server.

Key Changes:

  • Platform-specific video embedding: Corrected video output handling by implementing proper platform detection:

    • Linux: Uses set_xwindow() for X11 window embedding
    • Windows: Uses set_hwnd() for Windows handle
    • macOS: Uses set_nsobject() for Cocoa/NSView objects
  • Wayland compatibility: Added automatic X11 (XCB) backend fallback for Linux systems to ensure compatibility with modern Wayland-based desktops

  • Improved error handling: Enhanced metadata retrieval and title handling to prevent crashes

Troubleshooting

If you still experience video output issues on Linux (blank video window or video playing in separate window), run the application with X11 explicitly:

QT_QPA_PLATFORM=xcb python media_player_pyqt6.py
# or
QT_QPA_PLATFORM=xcb python media_player_pyside6.py

Requirements

  • VLC media player must be installed on your system
  • Linux users: Install VLC via your package manager (apt, dnf, etc.), not Snap
  • python-vlc package: pip install python-vlc
  • PyQt6 or PySide6: pip install PyQt6 or pip install PySide6

v1.0

26 Sep 17:42
8e9e859

Choose a tag to compare

Update README.md