Cannot play videos with AC3 audio codec

Bug #1449984 reported by Michael Zanetti
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Canonical System Image
High
John McAleely
mediaplayer-app
Undecided
Unassigned
media-hub (Ubuntu)
High
Canonical Phone Foundations
media-hub (Ubuntu RTM)
High
Unassigned

Bug Description

Nowadays, most of the videos are encoded in .mkv format, but the media player fails to play them.

Revision history for this message
Jim Hodapp (jhodapp) wrote :

I just tested this and it is working just fine for my .mkv files. Can you attach one that doesn't work to this bug so that I can see if it's an issue with a specific file?

Changed in mediaplayer-app:
status: New → Incomplete
Revision history for this message
Michael Zanetti (mzanetti) wrote :
Changed in mediaplayer-app:
status: Incomplete → New
Revision history for this message
Jim Hodapp (jhodapp) wrote :

Confirmed that this example file plays sometimes but not reliably. It works better when running media-hub-server via gdb.

Changed in media-hub (Ubuntu):
status: New → Confirmed
Changed in mediaplayer-app:
status: New → Invalid
Changed in media-hub (Ubuntu):
assignee: nobody → Canonical Phone Foundations (canonical-phonedations-team)
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

The error is due to AC3 codec not being installed:

0:00:26.171799174 14659 0xb2f2c290 WARN uridecodebin gsturidecodebin.c:939:unknown_type_cb:<uridecodebin1> warning: No decoder available for type 'audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)6, alignment=(string)frame'.
** Encountered a GST_STREAM_ERROR_CODEC_NOT_FOUND

Installing gstreamer1.0-libav solves the issue.

summary: - Cannot play back .mkv
+ Cannot play videos with AC3 audio codec
Revision history for this message
Alexey Kulik (doctor-rover) wrote :

I confirm, the bug is still actual. I use bq M10, rc-proposed/r174.
Tablet is a multimedia device to a great extent. And significant part of video files comes with AC3 tracks. So I believe that fixing this bug is quite important.

Jim Hodapp (jhodapp)
Changed in media-hub (Ubuntu RTM):
status: New → Confirmed
Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
status: New → Triaged
Changed in media-hub (Ubuntu):
status: Confirmed → Triaged
Changed in media-hub (Ubuntu RTM):
status: Confirmed → Triaged
Changed in media-hub (Ubuntu):
importance: Undecided → High
Changed in media-hub (Ubuntu RTM):
importance: Undecided → High
Changed in canonical-devices-system-image:
importance: Undecided → High
Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

As suggested by Alfonso on IRC (thank you!), I separated out a52dec plugin from gstreamer1.0-plugins-bad into a new gstreamer1.0-a52dec package, the latter has liba52-0.7.4 as dependency. Tested on mako, video posted in comment #2 works fine.

Revision history for this message
Jim Hodapp (jhodapp) wrote :

Alfonso, would it make sense to you to add this to the same silo as OPUS support or do you want to create a new one for this landing?

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers