elementary / videos

Video player and library app designed for elementary OS
https://elementary.io
GNU General Public License v3.0
59 stars 18 forks source link

There is no audio for AC-3 and DTS #324

Open arch3rtemp opened 1 year ago

arch3rtemp commented 1 year ago

What Happened?

I run the preinstalled Videos app to play mkv video files. It plays the video but not the audio. There is no audio. I have installed ubuntu-restricted-extras but to no avail. If I install another video player, like SMPlayer or Celluloid via Flathub, there are no audio issues. I suppose they come with their audio/video codecs bundled.

Steps to Reproduce

Open preinstalled Videos Play some mkv file with AC-3 or DTS audio codec

Expected Behavior

It should play the audio as intended

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

archil@Archil-Laptop:~/Videos$ flatpak run io.elementary.videos 
Gtk-Message: 00:54:49.445: Failed to load module "canberra-gtk-module"
Gtk-Message: 00:54:49.447: Failed to load module "canberra-gtk-module"
../src/intel/isl/isl.c:2235: FINISHME: ../src/intel/isl/isl.c:isl_surf_supports_ccs: CCS for 3D textures is disabled, but a workaround is available.

(io.elementary.videos:2): Gtk-WARNING **: 00:54:52.201: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node actionbar, owner GtkActionBar)

Hardware Info

System Elementary 7 Elementary 7 Arch x86_64 Kernel 5.19.0-32-generic Vendor ASUSTek Computer Model VivoBook_ASUSLaptop X513EAN_K513EA Year 2021 Type notebook DE Pantheon (X11)

Quad-Core 11th Gen Intel® Core(TM) i7-1165G7 @ 2.80GHz Intel® TigerLake-LP GT2 [Iris Xe Graphics] 16 GB memory 512 GB storage

activey commented 9 months ago

I'm having the same issue. It plays audio nicely when you run non-flatpak version of Videos app.

activey commented 9 months ago

I have turned on some more logging in app runtime and this is what is printed out:

Warning received: No decoder available for type 'audio/x-dts, framed=(boolean)true, rate=(int)48000, channels=(int)6, endianness=(int)4321, depth=(int)16, block-size=(int)512, frame-size=(int)1006'.
arch3rtemp commented 9 months ago

After some random updates this issue resolved by itself