Opened 7 years ago

Last modified 5 years ago

#8702 new bug

Audio Ogg files are mistakenly marked as Video Ogg files

Reported by: Giova84 Owned by: axeld
Priority: normal Milestone: R1
Component: Preferences/FileTypes Version: R1/Development
Keywords: audio ogg files mistakenly marked as video ogg files Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

Go here: http://www.01audio-video.com/telecharger_ogg_pop.htm and downloads one audio/ogg files listed in the page. Once the file is on the disk, inside Tracker, this file will be marked as video/ogg instead of audio/ogg. The same occurs with this app: http://haikuware.com/remository/view-details/multimedia/audio/mp3-endoding-utilities/cd-to-ogg-ripper : to solve i have used "settype -t audio/ogg foo.ogg"

hrev44295

Change History (2)

comment:1 Changed 7 years ago by korli

I believe there is no way to easily detect if an ogg file is audio or video. That could be a reason.

comment:2 Changed 5 years ago by pulkomandy

The rule could be changed to 0.50 ("OggS") [28:64]("\x01vorbis") for audio files, and the priority raised above the video one. However this would only handle Vorbis.The RFC for Ogg mime types define a few other formats and the strings to look for (section 4): http://tools.ietf.org/html/rfc5334

Note: See TracTickets for help on using tickets.