You are not logged in.

#1 2019-10-15 18:02:14

Radu212
Member
Registered: 2019-08-17
Posts: 29

Gstreamer ASF decoder missing

So i am trying to play dark souls and after i create my character it is supposed to play a cinematic but it is not playing it because i am missing the ASF decoder plug in from Gstreamer . i installed the plug in which is found in the gst-plugins-ugly package from what i have read from their page and it's not playing it back . here is also the log from the game

002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 29.34fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 30.01fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 30.01fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 29.99fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 30.01fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 30.01fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 29.99fps
004a:err:gstreamer:unknown_type Could not find a filter for caps: "video/x-ms-asf"
002a:err:gstreamer:GST_Connect GStreamer failed to play stream
0049:err:gstreamer:watch_bus decodebin4: Your GStreamer installation is missing a plug-in.
0049:err:gstreamer:watch_bus gstdecodebin2.c(4640): gst_decode_bin_expose (): /GstBin:bin4/GstDecodeBin:decodebin4:
no suitable plugins found:
Missing decoder: Advanced Streaming Format (ASF) (video/x-ms-asf)

0049:err:gstreamer:unknown_type Could not find a filter for caps: "video/x-ms-asf"
002a:err:gstreamer:GST_Connect GStreamer failed to play stream
004a:err:gstreamer:watch_bus decodebin5: Your GStreamer installation is missing a plug-in.
004a:err:gstreamer:watch_bus gstdecodebin2.c(4640): gst_decode_bin_expose (): /GstBin:bin5/GstDecodeBin:decodebin5:
no suitable plugins found:
Missing decoder: Advanced Streaming Format (ASF) (video/x-ms-asf)

004a:err:gstreamer:unknown_type Could not find a filter for caps: "video/x-ms-asf"
002a:err:gstreamer:GST_Connect GStreamer failed to play stream
0049:err:gstreamer:watch_bus decodebin6: Your GStreamer installation is missing a plug-in.
0049:err:gstreamer:watch_bus gstdecodebin2.c(4640): gst_decode_bin_expose (): /GstBin:bin6/GstDecodeBin:decodebin6:
no suitable plugins found:
Missing decoder: Advanced Streaming Format (ASF) (video/x-ms-asf)

004a:err:gstreamer:unknown_type Could not find a filter for caps: "video/x-ms-asf"
002a:err:gstreamer:GST_Connect GStreamer failed to play stream
0049:err:gstreamer:watch_bus decodebin7: Your GStreamer installation is missing a plug-in.
0049:err:gstreamer:watch_bus gstdecodebin2.c(4640): gst_decode_bin_expose (): /GstBin:bin7/GstDecodeBin:decodebin7:
no suitable plugins found:
Missing decoder: Advanced Streaming Format (ASF) (video/x-ms-asf)

002a:fixme:quartz:MPEGSplitter_query_accept {ffffffff-128f-4dd1-ad22-becfa66ce7aa}
002a:fixme:quartz:MPEGSplitter_query_accept {00000000-0000-0000-0000-000000000000}
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 27.04fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 29.99fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 30.01fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 30.01fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 29.98fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 30.01fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 30.01fps
002b:trace:fps:swapchain_gl_present 0x1ea958 @ approx 29.99fps
002a:fixme:quartz:MediaSeeking_SetPositions Adjust method 5 not handled yet!
0009:fixme:msvcrt:__clean_type_info_names_internal (0x374538) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x101ba938) stub
Waiting on children
All children gone
Exit with returncode 0

Offline

#2 2019-10-15 18:40:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,724

Re: Gstreamer ASF decoder missing

You usually need the lib32 variants for wine compat and there only exists an outdated AUR package for that, one could try and adapt that relevantly, but I haven't looked into that much.

Offline

#3 2019-10-15 20:04:48

loqs
Member
Registered: 2014-03-06
Posts: 17,369

Re: Gstreamer ASF decoder missing

https://aur.archlinux.org/packages/lib3 … gins-ugly/ PKGBUILD changed local git repository name to match _basename so build succeeds
1.16.1 can not be used https://www.archlinux.org/packages/?q=l … -base-libs is on 1.14.4

# Maintainer: orumin <dev@orum.in>
# Maintainer: Adam <adam900710@gmail.com>

_basename=gst-plugins-ugly
pkgname="lib32-$_basename"
pkgver=1.14.4
pkgrel=2
pkgdesc="GStreamer Multimedia Framework Ugly Plugins (32-bit)"
arch=('x86_64')
license=('LGPL')
url="https://gstreamer.freedesktop.org/"
depends=('lib32-gst-plugins-base-libs' 'lib32-libdvdread'
	 'lib32-libmpeg2' 'lib32-a52dec' 'lib32-libsidplay'
         'lib32-libcdio' 'lib32-x264' 'lib32-opencore-amr' 'gst-plugins-ugly')
makedepends=('python' 'lib32-x264' 'autoconf-archive' 'git' 'valgrind-multilib')
_commit=e1bf2aa184f83ff9fd5b7850c460129100ac6d1a  # tags/1.14.4^0

#source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-plugins-ugly#commit=$_commit"
#        "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common")
# I'm not sure if I'm just unlucky or whatever, the git server from freedesktop is too slow
# So switch to github mirrors
source=("$_basename::git+https://github.com/freedesktop/gstreamer-gst-plugins-ugly.git#commit=$_commit"
        "gst-common::git+https://github.com/freedesktop/gstreamer-common.git")

sha256sums=('SKIP'
            'SKIP')
pkgver() {
  cd $_basename
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd $_basename

  git submodule init
  git config --local submodule.common.url "$srcdir/gst-common"
  git submodule update

  NOCONFIGURE=1 ./autogen.sh
}

build() {
  cd $_basename

  export CC='gcc -m32'
  export CXX='g++ -m32'
  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'

  ./configure \
	--prefix=/usr \
	--sysconfdir=/etc \
	--localstatedir=/var \
	--libexecdir=/usr/lib32 \
	--libdir=/usr/lib32 \
	--build=i686-pc-linux-gnu \
	--with-package-name="GStreamer Ugly Plugins (Arch Linux)" \
	--with-package-origin="http://www.archlinux.org/" \
	--with-x264-libraries="/usr/lib32/libx264.so" \
	--enable-experimental \
	--disable-gtk-doc \
	--disable-static

  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

  make
}

#check() {
#  cd $_basename
#  make check
#}

package() {
  cd $_basename
  make DESTDIR="${pkgdir}" install

  rm -r "$pkgdir"/usr/share
}

Reworked PKGBUILD using meson/ninja and gitlab repo.  Tests fail using both PKGBUILDs.

# Maintainer: orumin <dev@orum.in>
# Maintainer: Adam <adam900710@gmail.com>

_basename=gst-plugins-ugly
pkgname="lib32-$_basename"
pkgver=1.14.4
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Ugly Plugins (32-bit)"
arch=('x86_64')
license=('LGPL')
url="https://gstreamer.freedesktop.org/"
depends=('lib32-gst-plugins-base-libs' 'lib32-libdvdread'
         'lib32-libmpeg2' 'lib32-a52dec' 'lib32-libsidplay'
         'lib32-libcdio' 'lib32-x264' 'lib32-opencore-amr'
         'gst-plugins-ugly')
makedepends=('python' 'meson' 'git' 'valgrind-multilib')
_commit=e1bf2aa184f83ff9fd5b7850c460129100ac6d1a  # tags/1.14.4^0
#_commit=34c7d2b37b1ef73206e282e15d6382fae2182137  # tags/1.16.1^0

source=("git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly.git#commit=$_commit"
        "gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git")

sha256sums=('SKIP'
            'SKIP')
pkgver() {
  cd $_basename
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd $_basename

  git submodule init
  git config --local submodule.common.url "$srcdir/gst-common"
  git submodule update
}

build() {
  export CC='gcc -m32'
  export CXX='g++ -m32'
  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'

  arch-meson $_basename build \
    -D gobject-cast-checks=disabled \
    -D glib-asserts=disabled \
    -D glib-checks=disabled \
    -D package-name="GStreamer Ugly Plugins (Arch Linux)" \
    -D package-origin="https://www.archlinux.org/"
  ninja -C build
}

#check() {
#  meson test -C build --print-errorlogs
#}

package() {
  DESTDIR="$pkgdir" meson install -C build
}

Offline

Board footer

Powered by FluxBB