no sound in videos with ac-3 codec
I have some videos with ac-3 sound codec and the sound will not be played.
We have moved to a new Sailfish OS Forum. Please start new discussions there.
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.
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.
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 +0200 )editI 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.
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 +0200 )editYes, 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 +0200 )editThis thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2014-01-10 13:14:54 +0200
Seen: 857 times
Last updated: Sep 27 '15
Which audio/video codecs are supported by the Media app?
What video codec jolla uses when recording with its own camera? [closed]
Camera recordings: video out of sync, lagging compared to audio [not relevant]
Bad codec - video recording filesize, codec support
Bug: Audio/Video desync when watching videos locally
What codecs (audio or video) are hardware accelerated?