Wrongly reported "video not supported"

Bug #1417950 reported by Alfonso Sanchez-Beato
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Triaged
Medium
Bill Filler
Media Hub
Invalid
Undecided
Unassigned
mediaplayer-app (Ubuntu)
Triaged
Medium
Arthur Mello

Bug Description

For some videos a window showing a "Video format not supported" message is shown. However, after pressing "Close" the video is shown normally, so the message is wrong.

A couple of videos where this has been noticed:

http://trailers.divx.com/divx_prod/divx_plus_hd_showcase/BigBuckBunny_DivX_HD720p_ASP.divx
(video and audio are played here)

http://samplemedia.linaro.org/Mmtest/media_api/video/H263_56_AMRNB_6.3gp
(video is supported, but AMR audio not yet, that might be related to the bug)

$ system-image-cli -i
current build number: 80
device name: mako
channel: ubuntu-touch/vivid-proposed
last update: 2015-01-28 13:36:03
version version: 80
version ubuntu: 20150128
version device: 20150126
version custom: 20150128

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

I added support for the GStreamer errors messages to bubble up to mediaplayer-app now, so that's why you're getting this. It's curious why you're getting an error if playback is possible. I'd have to see on the media-hub-server side with GST_DEBUG=*:3 what other messages GStreamer is reporting and why it thinks it can't play these videos.

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

The error is reported because not all streams in the container are supported. For BigBuckBunny_DivX_HD720p_ASP.divx, there are two audio streams of different types, ac3 and mp3, and I think the first one is not supported. For H263_56_AMRNB_6.3gp, the AMR audio track is not supported. For both cases, intalling more codecs removes the errors.

There is clearly a problem with the video with 2 audio tracks, as no error should be displayed when there is at least one stream available for video and another one for audio. For the second video I would say that the bug is displaying "Video format not supported" as it should be instead "Audio format not supported".

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

Yes, the error reporting that is in place right now doesn't take into account whether the video, audio or text streams are supported by a decoder or not - it handles these in a generic sense. Additional code to make it smarter and more specific would be appropriate. The error messages in mediaplayer-app will need changing as well.

Changed in media-hub:
status: New → Triaged
Changed in mediaplayer-app:
status: New → Triaged
Changed in ubuntu-rtm:
status: New → Confirmed
Jim Hodapp (jhodapp)
Changed in media-hub:
status: Triaged → Invalid
affects: mediaplayer-app → mediaplayer-app (Ubuntu)
Changed in mediaplayer-app (Ubuntu):
importance: Undecided → High
Bill Filler (bfiller)
no longer affects: ubuntu-rtm
Changed in mediaplayer-app (Ubuntu):
importance: High → Medium
assignee: nobody → Arthur Mello (artmello)
Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
milestone: none → backlog
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.