Ubuntu won't play video files without extension

Bug #1420728 reported by Michał Karnicki
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
John McAleely
media-hub (Ubuntu)
Fix Released
High
Lorn Potter
media-hub (Ubuntu RTM)
Fix Released
High
Lorn Potter

Bug Description

It seems that Ubuntu won't play a video file named "foobar", but will play "foobar.mp4". Is this a mediascanner bug, media-hub thing, or something else?

VLC on the desktop:
http://paste.ubuntu.com/10074568/

Gallery on the phone:
http://paste.ubuntu.com/10074553/

Same video file plays as soon as I add .mp4 extension.

It seems the gallery is using embedded MediaPlayer component, it's not launching mediaplayer-app externally.
The preview goes black, and nothing happens (no video, no audio).

Revision history for this message
Tiago Salem Herrmann (tiagosh) wrote :

Michael Sheldon recently fixed a similar bug in libthumbnailer, so he pointed that media-hub has potentially the same issue.

Media-hub need a fix like this: http://bazaar.launchpad.net/~michael-sheldon/thumbnailer/fix-1499341/revision/128

The following file needs to be changed to use G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE if G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE fails, which does the lookup only based on the extension of the file: src/core/media/gstreamer/playbin.cpp.

This is a blocker to play files stored in history-service as well (ie: video or audio received via MMS)

Bill Filler (bfiller)
no longer affects: media-hub
Changed in media-hub (Ubuntu):
assignee: nobody → Jim Hodapp (jhodapp)
importance: Undecided → High
Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
milestone: none → ww02-2016
importance: Undecided → High
Jim Hodapp (jhodapp)
Changed in media-hub (Ubuntu RTM):
importance: Undecided → High
Changed in media-hub (Ubuntu):
status: New → Triaged
Changed in media-hub (Ubuntu RTM):
status: New → Triaged
Changed in media-hub (Ubuntu):
assignee: Jim Hodapp (jhodapp) → nobody
Changed in canonical-devices-system-image:
status: New → Confirmed
Changed in canonical-devices-system-image:
milestone: ww02-2016 → ww08-2016
Changed in canonical-devices-system-image:
milestone: ww08-2016 → backlog
Revision history for this message
Lorn Potter (lorn-potter) wrote :
Changed in canonical-devices-system-image:
assignee: John McAleely (john.mcaleely) → Lorn Potter (lorn-potter)
status: Confirmed → In Progress
Jim Hodapp (jhodapp)
Changed in media-hub (Ubuntu):
status: Triaged → In Progress
Changed in media-hub (Ubuntu RTM):
status: Triaged → In Progress
Changed in canonical-devices-system-image:
assignee: Lorn Potter (lorn-potter) → John McAleely (john.mcaleely)
Changed in media-hub (Ubuntu):
assignee: nobody → Lorn Potter (lorn-potter)
Changed in media-hub (Ubuntu RTM):
assignee: nobody → Lorn Potter (lorn-potter)
Changed in canonical-devices-system-image:
milestone: backlog → 12
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Jim Hodapp (jhodapp)
Changed in media-hub (Ubuntu):
status: In Progress → Fix Committed
Changed in media-hub (Ubuntu RTM):
status: In Progress → Fix Committed
Jim Hodapp (jhodapp)
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Changed in media-hub (Ubuntu):
status: Fix Committed → Fix Released
Changed in media-hub (Ubuntu RTM):
status: Fix Committed → Fix Released
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.