no sound in videos with ac-3 codec
I have some videos with ac-3 sound codec and the sound will not be played.
I have some videos with ac-3 sound codec and the sound will not be played.
From past experiences with media players I know that AC-3 needs to be licensed separately (e.g. together with MPEG2) and is fairly expensive. I suspect it was not licensed by Jolla and thus is not supported on the device as shipped.
That notwithstanding it should be possible to just compile the right additional Gstreamer modules to add this support by the community. This could be then hosted in the community repository, which can be added as an additional repo to the device and then used transparently.
Only one package in the community repo? No-one was aware of this repo or what?
Larswad ( 2015-09-27 01:10:02 +0300 )You can add support for AC3 (a52) audio by installing the decoding library from OpenRepos:
https://openrepos.net/content/sailfishlib/a52dec
Edit: Doesnt work with Sailfish 1.1.9.28: Error: Cannot play stream of type: <unknown></unknown>
This evening I managed to build the gstreamer 1.4.5 ugly plugins from source right on the Jolla itself. Was some small trouble before succeeding with some build dependencies and settings like the build prefix correctly to /usr/ instead or /usr/local.
Tested it with LLsVplayer and it works just fine. I have sound again in my movies and tv series.
BUT, I'd like to produce a binary rpm on openrepos, I do have an account there but haven't yet applied for a publisher role, I just might do that.
So, if anyone is interested I'd be glad to upload it to openrepos.
I just got the publisher righs.on openrepos. I'll upload tomorrow.
Larswad ( 2015-09-29 00:05:42 +0300 )Uploaded to openrepos:
https://openrepos.net/content/larswad/gstreamer-1x-ugly-codecs
Please check that it is ok installing and works.
Larswad ( 2015-09-29 12:07:25 +0300 )Installing fails with dependency issue. Nothing provides a52dec dependency needed.
vasavr ( 2015-11-11 18:12:20 +0300 )I don't know which release of SailfishOS you are running but AC3 is unfortunately not supported. If you are on 1.7.x then you can try searching openrepos for gst-ffmpeg (I know neither the name nor the link to it). If you are on 1.9.x then I am not aware of extra decoders available. I might try packaging something and pushing it to openrepos if I get time.
that would be helpful. Is there any specific reason why the decoders from openrepos dont work with 1.1.9? like the one i linked to in the above answer, major bummer
vasavr ( 2015-09-10 11:14:00 +0300 )I don't see how they worked with previous releases. This is the decoding library. You still need the GStreamer decoding plugin.
MSameer ( 2015-09-10 12:23:55 +0300 )Installing that from Warehouse also installed gst-plugins-ugly I think (as a dependency?), anyway I was able to play back AC3 just fine.
I dont know how gstreamer works, I'd just like to be able to play AC3 audio as before, or my life just got a lot harder.
I see we now have gstreamer1 with HLS support (nice!) and everything. Does this mean the issue is just that the libraries/plugins/whatever on openrepos need to be updated to be compatible with the new gstreamer version?
vasavr ( 2015-09-10 16:03:28 +0300 )Yes, the GStreamer 1.x corresponding plugins should be packaged instead of the old ones.
I apologize for making your life harder but we unfortunately cannot support AC3 at this stage. I am not the one who maintains the warehouse plugins so I cannot do much here :/
MSameer ( 2015-09-11 16:18:19 +0300 )Asked: 2014-01-10 13:14:54 +0300
Seen: 891 times
Last updated: Sep 27 '15