Audio issue and VLC crash

Hi,

I’ve had quite some time an issue with DTS audio. When using Gnome Subtitler and playing back DTS movie via it the sound is continuously distorted (or clipped). This does not happen with mplayer. To my understanding Gnome Subtitler uses gstreamer which is causing the trouble, I believe. Any idea where to start looking?

The other issue is that previously VLC was working fine but now when I try to open movie with it (same DTS movie open fine in Gnome Subtitler but distorted audio, mplayer plays fine so file is OK) whole KDE crashes (complete freeze). Reset is the only solution. Tried re-installing VLC but no difference. Don’t know exactly when this problem has appeared because I haven’t been using VLC for quite some time. Any idea what might cause this?

This is with Tumbleweed including latest updates.

TIA!

Anyone with any ideas?

more info is needed
what is your hardware cpu gpu and driver is it a desktop or laptop?
also tell us your repo’s

zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias               | Name                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                    | Service
--+---------------------+-----------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------+--------
1 | openSUSE-20160212-0 | openSUSE-20160212-0         | No      | ----      | ----    |   99     | yast2  | cd:///?devices=/dev/disk/by-id/usb-Slimtype_eNAU608_5_107050237116-0:0 |        
2 | packman             | packman                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/    |        
3 | repo-debug          | openSUSE-Tumbleweed-Debug   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                |        
4 | repo-non-oss        | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/                  |        
5 | repo-oss            | openSUSE-Tumbleweed-Oss     | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/                      |        
6 | repo-source         | openSUSE-Tumbleweed-Source  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/               |        
7 | repo-update         | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                        |

Desktop HW:
-Mboard: ASRock H77 Pro4/MVP
-CPU: Intel(R) Core™ i5-3470T
-GPU: integrated with CPU

you should do a full vendor change to packman as you’re on TW take note that every upgrade might switch multibedia to the OSS versionss

zypper dup --from 2

if you have vlc 2.2.x stable installed pull vlc-codecs it’s not installed by default and it’s not a dependancy

zypper in vlc-codecs

if using vlc 3.x beta you need to do the same plus pull libavcodec57 from packman manually
https://forums.opensuse.org/showthread.php/521622-Multimedia-package-uninstalling-vlc?p=2804253#post2804253

zypper in vlc-beda-codecs libavcodec57 --from 2

if having issues with gstreamer try deleting it’s cache

rm -rf ~/.cache/gstreamer-1.0

Thx for the tips. Took a long time before I was able to test this.

vlc-2.x version continued crashing - despite what I did. Beta version (3.x) however works fine so I’ll play with that.

Audio problem with DTS streams and gstreamer still continues and haven’t found any way to fix this. Any further tips to solve this one?

not much of a solution, but I’ve also found VLC to be somewhat unstable on tumbleweed, so I resorted to using smplayer as a main video player - unless you need something specific from the VLC swiss army knife tools, smplayer will probably do the job.

I can live with the VLC problem. Beta version is sufficient for those cases where I need VLC and those don’t come that often. Usually use gmplayer.

DTS problem with gnome subtitles is an issue that I’d like to get fixed but haven’t found any clue yet where to start to look for what is causing it.

ma., 30.01.2017 kl. 14.36 +0000, skrev paju2000:
>
> DTS problem with gnome subtitles is an issue that I’d like to get
> fixed
> but haven’t found any clue yet where to start to look for what is
> causing it.
>

Make sure you have gstreamer-plugins-ugly-orig-addon installed

Note the orig-addon part. - There is a way better DTS decoder packaged
in that one compared to whats in gstreamer-plugins-libav (ffmpeg).

//Zaitor

Didn’t solve the problem. I have quite many gstreamer packages installed - maybe too many?

gstreamer-0_10-0.10.36-20.3.x86_64
gstreamer-0_10-lang-0.10.36-20.3.noarch
gstreamer-0_10-plugin-gnomevfs-0.10.36-16.3.x86_64
gstreamer-0_10-plugins-bad-0.10.23-25.43.x86_64
gstreamer-0_10-plugins-bad-lang-0.10.23-25.43.noarch
gstreamer-0_10-plugins-base-0.10.36-16.3.x86_64
gstreamer-0_10-plugins-base-lang-0.10.36-16.3.noarch
gstreamer-0_10-plugins-ffmpeg-0.10.13-2000.48.x86_64
gstreamer-1.10.2-1.1.x86_64
gstreamer-fluendo-mp3-21-1.5.x86_64
gstreamer-lang-1.10.2-1.1.noarch
gstreamer-libnice-0.1.13-3.4.x86_64
gstreamer-plugins-bad-1.10.2-5.4.x86_64
gstreamer-plugins-base-1.10.2-1.1.x86_64
gstreamer-plugins-farstream-0.2.8-1.5.x86_64
gstreamer-plugins-good-1.10.2-1.1.x86_64
gstreamer-plugins-libav-1.10.2-3.1.x86_64
gstreamer-plugins-qt-1.2.0-6.9.x86_64
gstreamer-plugins-ugly-1.10.2-4.2.x86_64
gstreamer-plugins-ugly-orig-addon-1.10.2-4.2.x86_64
libgstreamer-0_10-0-0.10.36-20.3.x86_64
libgstreamer-1_0-0-1.10.2-1.1.x86_64
PackageKit-gstreamer-plugin-1.1.4-1.2.x86_64
phonon4qt5-backend-gstreamer-4.9.0-1.5.x86_64
phonon-backend-gstreamer-4.9.0-1.7.x86_64

VLC part (due to beta version) is fine but I’m still having the issue with cracking DTS sound. Any ideas which gstreamer packages are mandatory and which are not? Not sure if that could lead to solution but worth trying at least.

vlc does not use any version of gstreamer 0.10 or 1.0
it uses libdca for dts decoding
so check and see if the proper version is installed, it’s possible vlc 3.x didn’t install it as a dependency

zypper se -si libdca

if you don’t have libdca from packman (as using the vlc repo is not the best idea) install it

zypper in libdca libdcadec

Thx for the tip but as I wrote - VLC side is fine. That works fine since starting to use beta version. Previous one just crashed immediately.

Remaining problem is with gsteamer that is used by e.g. Gnome Subtitles. When playing back using Gnome Subtitles a movie with DTS sound it cracks a lot. It’s like the gain is way off i.e. sounds like it is clipping badly. This problem I’d like to get fixed.

according to this
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-dtsdec.html
gstreamer-plugins-bad has dts support so get it from here
http://packman.links2linux.org/package/gstreamer-plugins-bad/797351
I’m guessing it’s in libgstbadaudio

Played a bit more. Removed older version of the gstreamer (there was two versions for some reason) but no change. Reinstalled few of the packages - no change. Then 1-click installed from the latter link from packman repository and vóila, no cracking DTS sound anymore. Same version as before but apparently it fixed something.

Thx for the link - problem solved finally :slight_smile: