We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

How to install gst-libav ? [answered]

asked 2019-02-05 15:13:39 +0200

Cryx gravatar image

I still miss Support for some audio codecs (most needed: ALAC = Apple Lossless). So there is a plugin in Github (also to find in Storeman) that should include this codec and a lot of others:

https://git.merproject.org/r0kk3rz/gst-libav/tree/master

But how do I install this (on Xperia XA2, 3.0.1.14)? Every try ends with an error message telling me that nothing supports this plugin. If I look through the gstreamer plugins projects some of them are already on my phone (and I didn't install them myself so it must be part of the system software) and there is also no higher version than the installed one.

Any hints?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Cryx
close date 2019-02-05 23:43:43.317525

2 Answers

Sort by » oldest newest most voted
3

answered 2019-02-05 17:30:33 +0200

lpr gravatar image

updated 2019-02-05 19:12:52 +0200

gstreamer1.0 , gstreamer1.0-plugins-base , gstreamer1.0-plugins-good are preinstalled from SFOS.
gstreamer1.0-plugins-bad is also preinstalled but in a limited version missing a lot of plugins, you will find a full version (armv7hl for snapdragon greater or equal 400) at openrepos.net .
There, you will find a version of gstreamer1.0-plugins-ugly-1.14, too. If you install this version, you do not need gst-libav as a standalone-package anymore because it is already included... after the ugly plugin package is installed output should be:

[nemo@Sailfish ~]$  gst-inspect-1.0 | grep alac
libav:  avdec_alac: libav ALAC (Apple Lossless Audio Codec) decoder
libav:  avenc_alac: libav ALAC (Apple Lossless Audio Codec) encoder
edit flag offensive delete publish link more

Comments

@lpr that's your work from 14. Sep 2018 that is listed in Storeman or do I have to go over openrepos? Will I have to de-install older versions first?

Cryx ( 2019-02-05 17:51:13 +0200 )edit

should work smoothly, if you installed ancient 1.4.5 version, it will update to 1.14.2. If you have not installed the ugly package yet, it will be installed. If you already installed ugly-1.14, nothing will happen because it is there already.
In Installing-process eventually installed gst-libav will be removed because of file-conflicts, as it is included...
no aarch64 version of gst available yet at openrepos...

lpr ( 2019-02-05 18:06:27 +0200 )edit

@lpr sorry for asking again. But first I guess it's openrepos.net (not .org), second I successfully installed bad, but can't install ugly. The Alac codecs still don't work, I guess in fact if missing ugly.

Or is it a Problem with Xperia XA2?

Cryx ( 2019-02-05 19:15:58 +0200 )edit

hm, installing ugly should work... if you do not see a helpful error message you may download the package from website and install it as root (devel-su) with zypper in [package_name].rpm

lpr ( 2019-02-05 19:24:35 +0200 )edit

Or maybe I picked the wrong file? Perhaps you could post the links to correct files so that I could verify that I used the right ones, @lpr ?

(Ad up to now I know nothing about these zipper thing or this root devel su (yes, linux commands, but more...)

Cryx ( 2019-02-05 20:08:00 +0200 )edit
0

answered 2019-02-05 20:16:20 +0200

r0kk3rz gravatar image

Hi, yeah sorry I will have to fix the versioning on that package, i forgot that I built Gstreamer 1.14.4 and was testing on my devices.

Gstreamer 1.14.1 is the current officially included version, so I will build the appropriate gst-libav and put that on openrepos

edit flag offensive delete publish link more

Comments

there is no need, available 1.14.2 works fine with offical gst.

lpr ( 2019-02-05 20:20:18 +0200 )edit

fixed gst-libav is better than the ugly plugins, has more codecs available

r0kk3rz ( 2019-02-05 20:30:21 +0200 )edit

openrepos version of ugly has gst-libav included, already. And you should not change anything because gst-libav-1.14.4 works with jollas gst version, one does not have to downgrade gst-libav. 1.14.x is only bugfix-release and nothing changed since 1.14.2

lpr ( 2019-02-05 20:34:40 +0200 )edit

lately for bugfix releases the toolchain mandates the versions match precisely when building, no idea why they do that.

i should get the gstreamer updates accepted anyway

r0kk3rz ( 2019-02-05 20:59:21 +0200 )edit
1

for building versions have to match (I don't know, why, most likely for no reason) but users can install any version of 1.14.x in any possible order/flavour (core, base, good, bad, ugly, libav)

lpr ( 2019-02-05 21:38:27 +0200 )edit

Question tools

Follow
2 followers

Stats

Asked: 2019-02-05 15:13:39 +0200

Seen: 1,575 times

Last updated: Feb 05 '19