missing ogg vorbis audio file in moblin-media music player

Bug #198638 reported by Axel Lin
14
Affects Status Importance Assigned to Milestone
Moblin Multimedia
Invalid
High
John L. Villalovos

Bug Description

I installed moblin-media-sample-content and copy /usr/share/moblin-media/sample-media/audio/ubuntu Sax.ogg to ~/media/audio
Then launch the music player
The UI only list mp3 files but no ogg file.
Test on moblin-media version 0.38.

Tags: intel
Revision history for this message
May Xie (may-xie) wrote :

Assign it to moblin-multimedia project

Revision history for this message
Jessica Ji (jessica-ji) wrote :

double check this issue. ogg file only can show out in video. but in audio seem that exclude. but of course , currently we support ogg file. think this is media management issue.

Changed in moblin-multimedia:
assignee: nobody → rusty-lynch
importance: Undecided → High
Changed in moblin-multimedia:
assignee: rusty-lynch → bob-spencer
status: New → Triaged
Changed in moblin-multimedia:
milestone: none → fix-later
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

It appears that constant.py assumes .ogg files are video and therefore sometimes wrongly imports audio files from usb to ~/media/video:

MediaType = {
    'audio': ['mp3', 'wav', 'wma', 'aac', 'ac3', 'm4a', 'ram'],
    'photo': ['jpg', 'bmp', 'jpeg', 'png','gif','wbmp', 'svg' ],
    'video': ['mpg', 'mpeg', 'mp4', '3gp', 'ogg','rm', 'rmvb', 'wmv', 'mov', 'avi', 'gif', 'asf', 'rm', 'ogm'],
}

However, .ogg files may be audio with no video stream. Perhaps further type checking can be done before determining the import destination folder. Maybe gstreamer-tools package can assist. (gst-typefind tool?)

There are other ogg file extensions that probably should be imported. Here's discussion of the recommended file extensions for various ogg types from http://en.wikipedia.org/wiki/Ogg:

"The term ‘Ogg’ is commonly used to refer to audio file format Ogg Vorbis, that is, Vorbis-encoded audio in the Ogg container. Previously, the .ogg file extension was used for any content distributed within Ogg, but as of 2007, the Xiph.Org Foundation requests that .ogg be used only for Vorbis due to backwards-compatibility concerns. The Xiph.Org Foundation decided to create a new set of file extensions and media types to describe different types of content such as .oga for audio, .ogv for video (including Theora), and .ogx for application"

description: updated
Changed in acton:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Mauri Whalen (mauri-whalen) wrote :

John - you can talk to Rusty about this one.

Changed in moblin-multimedia:
assignee: bob-spencer → happycamp
Revision history for this message
Tony Espy (awe) wrote :

Marking this as Invalid for Acton; moblin-media will be replaced with the realplayer for MIDs.

Changed in acton:
status: Confirmed → Invalid
Changed in moblin-multimedia:
status: Triaged → Incomplete
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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