marlam / bino

3D video player with support for 180°/360° video and Virtual Reality
https://bino3d.org
GNU General Public License v3.0
45 stars 14 forks source link

Bino3D fails - Ubuntu Studio 22.10 #19

Closed CoolGames closed 1 year ago

CoolGames commented 1 year ago

The VR file Singer 3D Mp4 plays (failing as if no 3D ) in VLC visually incorrect but then only plays the audio in Bino3D

The installed OS is a Ubuntu multimedia variation called Ubuntu Studio and is version 22.10

$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.10"
NAME="Ubuntu"
VERSION_ID="22.10"
VERSION="22.10 (Kinetic Kudu)"
VERSION_CODENAME=kinetic
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=kinetic
LOGO=ubuntu-logo

The system is an HP Sprout version 1

$ uname -a
Linux sprout 5.19.0-1018-lowlatency #19-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 7 18:03:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ flatpak run org.bino3d.bino -v
Gtk-Message: 09:56:39.365: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:56:39.365: Failed to load module "canberra-gtk-module"
Bino 2.1

I assume the canberra module is here

$ ls -al /usr/lib/x86_64-linux-gnu/gtk-3.0/modules
total 104
drwxr-xr-x 2 root root  4096 Oct 25 18:54 .
drwxr-xr-x 4 root root  4096 Apr 19  2022 ..
-rw-r--r-- 1 root root 30792 Apr  8  2022 libcanberra-gtk3-module.so
lrwxrwxrwx 1 root root    26 Apr 29  2022 libcanberra-gtk-module.so -> libcanberra-gtk3-module.so
-rw-r--r-- 1 root root 14336 Sep  6  2022 libcolorreload-gtk-module.so
-rw-r--r-- 1 root root 31552 Mar  9  2022 libunity-gtk-module.so
-rw-r--r-- 1 root root 14496 Sep  6  2022 libwindow-decorations-gtk-module.so

Also I have an error about the missing codec even though VLC can view the contents incorrectly

$ flatpak run org.bino3d.bino --list-tracks Singer\ 3D.mp4
Gtk-Message: 09:53:28.109: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:53:28.109: Failed to load module "canberra-gtk-module"

(bino:2): GStreamer-CRITICAL **: 09:53:28.349: gst_caps_append: assertion 'GST_IS_CAPS (caps2)' failed
MESA-INTEL: warning: Haswell Vulkan support is incomplete
Bino: Qt warning: Warning: "No decoder available for type 'video/x-h265, stream-format=(string)hvc1, alignment=(string)au, level=(string)5, tier=(string)main, profile=(string)main, codec_data=(buffer)01016000000090000000000096f000fcfdf8f800000f03200001001840010c01ffff016000000300900000030000030096959809210001002e420101016000000300900000030000030096a001e020021c596566924cafff00ba00af0100000303e9000075300822000100074401c172b46240, width=(int)3840, height=(int)2160, framerate=(fraction)30000/1001, pixel-aspect-ratio=(fraction)186/175, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true'."
Bino: file:///.../3D_Videos/Singer 3D.mp4
Bino:     Duration: 00:00:00
Bino:     Container Format: MPEG-4
Bino:     Audio codec: AAC
Bino:     Url: file:///.../3D_Videos/Singer 3D.mp4
Bino:     Resolution: 3840 x 2160
Bino:     Video frame rate: 29.970029830932617
Bino:     Video codec: H265
Bino:   no video tracks
Bino:   audio track 0
Bino:     Audio bit rate: 247660
Bino:     Audio codec: MP3
Bino:     Language: Default
Bino:   no subtitle tracks
marlam commented 1 year ago

The Qt version shipping with the Flathub Qt environment uses GStreamer to decode video, and there is no decoder plugin for this particular codec ("No decoder available for type 'video/x-h265, ...').

There's not much that Bino can do about that. But:

So while I cannot fix this for Bino 2.1 within the current Qt/Flathub constraints, it is likely that a future version will support playing this file.

The messages about the canberra library are unrelated; see this description.