Add ogv (video) and oga (audio) as recognized extension for Ogg Theora and Ogg Vorbis, respectively
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| amarok (Ubuntu) |
Medium
|
Daniel Hahler | ||
| audacity (Ubuntu) |
Undecided
|
Unassigned | ||
| cheese (Ubuntu) |
Undecided
|
Unassigned | ||
| example-content (Ubuntu) |
Low
|
Unassigned | ||
| ffmpeg2theora (Ubuntu) |
Undecided
|
Unassigned | ||
| mime-support (Ubuntu) |
High
|
James Westby | ||
| rhythmbox (Ubuntu) |
Low
|
Unassigned |
Bug Description
From wikipedia:
"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-
- http://
Original reference on xiph.org:
http://
Most importantly, see this page for different patches related to adding
http://
See IETF draft:
http://
Other bugs about support for these extensions in specific applications should be linked / referenced in this bug.
Ryan Prior (ryanprior) wrote : | #1 |
Fabián Rodríguez (magicfab) wrote : | #2 |
Ryan: care to be more specific ?
Fabián Rodríguez (magicfab) wrote : | #4 |
Nanley, posting a link without context of what you want / mean is not very helpful. What did you want to contribute to the bug by posting that ?
Daniel Hahler (blueyed) wrote : | #5 |
I'm setting milestone ubuntu-8.04, but I fear this may become difficult to achieve until then.
Which packages need to get changed to recognize those (new) extensions? I could imagine kubuntu-
Shirish Agarwal (shirishag75) wrote : | #6 |
Fabian,
From what I understand of the post/link that Nanley posted is that .ogg format confuses both people as well as computer & either doesn't have any idea if a given file is an audio file or an video file or an application file.
Hence to make it easier for users & computers Xiph came up with .oga (for audio) , .ogv for video & so on & so forth. So ubuntu should use the patches so all the apps. know when they come across those mime-types. Also would ensure take-up of the mime-types as well.
This is what u'r driving at as well, isn't it ?
Fabián Rodríguez (magicfab) wrote : | #7 |
@Shirish, indeed.
I blogged about this too, citing Corey' s blog:
http://
Steve Langasek (vorlon) wrote : | #8 |
Reassigning to the mime-support package, which contains /etc/mime.types and (I believe) is the common source for mapping extensions to mime types.
James Westby (james-w) wrote : | #9 |
Hi,
I have prepared two patches for this bug, but I'm not
really happy with either of them. The first I attach here
changes the mime types to be those specified by
Xiph here.
http://
My problem with this patch is that it changes
the mime type off .ogg, and adds a bunch of other
mime types, so I think that we also need to upload
changes so that audio/ogg etc. have the correct
applications run. It may also be that some applications
also have to be fixed.
James Westby (james-w) wrote : | #10 |
(sorry for the break, need to attach two things)
The second patch is the naive solution that just
associates the .oga etc. extensions with application/ogg,
which is what .ogg was associated with before.
However I think this makes it difficult to move forward
in such a way that we can set one application to
handle .oga and another for .ogv.
On balance I think the first is the correct thing to
do, but we will need some way of working out what
else needs to be fixed. Can anyone produce a list
of what needs to be fixed, or tell me a way to
produce one?
Thanks,
James
Changed in mime-support: | |
assignee: | nobody → james-w |
status: | Confirmed → In Progress |
Steve Langasek (vorlon) wrote : Re: [Bug 201291] Re: Add ogv (video) and oga (audio) as recognized extension for Ogg Theora and Ogg Vorbis, respectively | #11 |
On Fri, Mar 28, 2008 at 06:56:18PM -0000, James Westby wrote:
> I have prepared two patches for this bug, but I'm not
> really happy with either of them. The first I attach here
> changes the mime types to be those specified by
> Xiph here.
> http://
> My problem with this patch is that it changes
> the mime type off .ogg, and adds a bunch of other
> mime types, so I think that we also need to upload
> changes so that audio/ogg etc. have the correct
> applications run. It may also be that some applications
> also have to be fixed.
Why change the mime type associated with .ogg, instead of just adding the
new mappings for .ogv and .oga?
IMHO, redefining the associated mime type for .ogg is out of scope for this
bug (and an inappropriate change post-beta), and just adding MIME mappings
for the new extensions should be sufficient.
James Westby (james-w) wrote : Re: [Bug 201291] Re: Add ogv (video) and oga (audio) as recognized extension for Ogg Theora and Ogg Vorbis, respectively | #12 |
On Sat, 2008-03-29 at 00:58 +0000, Steve Langasek wrote:
> On Fri, Mar 28, 2008 at 06:56:18PM -0000, James Westby wrote:
>
> > I have prepared two patches for this bug, but I'm not
> > really happy with either of them. The first I attach here
> > changes the mime types to be those specified by
> > Xiph here.
>
> > http://
>
> > My problem with this patch is that it changes
> > the mime type off .ogg, and adds a bunch of other
> > mime types, so I think that we also need to upload
> > changes so that audio/ogg etc. have the correct
> > applications run. It may also be that some applications
> > also have to be fixed.
>
> Why change the mime type associated with .ogg, instead of just adding the
> new mappings for .ogv and .oga?
Well, that's what Xiph now says the mapping should be.
>
> IMHO, redefining the associated mime type for .ogg is out of scope for this
> bug (and an inappropriate change post-beta), and just adding MIME mappings
> for the new extensions should be sufficient.
>
I agree that's its not really a good idea.
Will keeping the original mapping lead to any headaches for us down the
line?
Thanks,
James
James Westby (james-w) wrote : | #13 |
Hi,
Attached is the diff that keeps .ogg as application/ogg and
just adds the other ones specified by Xiph.
Should we revisit this just after Hardy and transition fully,
to give applications a time to update?
I'll subscribe the sponsors once Steve has had a chance
to look at it.
Thanks,
James
Steve Langasek (vorlon) wrote : Re: [Bug 201291] Re: Add ogv (video) and oga (audio) as recognized extension for Ogg Theora and Ogg Vorbis, respectively | #14 |
Hi James,
On Mon, Mar 31, 2008 at 10:20:52AM -0000, James Westby wrote:
> Attached is the diff that keeps .ogg as application/ogg and
> just adds the other ones specified by Xiph.
> Should we revisit this just after Hardy and transition fully,
> to give applications a time to update?
I think we have the same problem here of changing the associated mime type
at a point where mime-aware apps may not have an opportunity to catch up?:
@@ -386,7 +386,6 @@
application/x-dvi dvi
application/
application/
-application/x-flac flac
application/x-font pfa pfb gsf pcf pcf.Z
application/
application/
@@ -467,6 +466,7 @@
audio/32kadpcm
audio/3gpp
audio/basic au snd
+audio/flac flac
audio/g.722.1
audio/l16
audio/midi mid midi kar
So I think it's better to omit this change as well and continue using
application/x-flac, rather than unsettle the mapping in the name of
standards.
> I'll subscribe the sponsors once Steve has had a chance
> to look at it.
I'd assumed that I would be sponsoring this directly once we reached a
conclusion, FWIW. :)
Steve Langasek (vorlon) wrote : | #15 |
BTW,
On Sat, Mar 29, 2008 at 01:12:20AM -0000, James Westby wrote:
> Will keeping the original mapping lead to any headaches for us down the
> line?
No, it won't; we can change the mapping at any point in the future once
we're comfortable that the applications involved recognize the new mime
type (or that they will before the next release), and leaving the mapping
for those extensions as they are now keeps us consistent with previous
releases (i.e.: the transition requirements are the same whenever we make
the change).
James Westby (james-w) wrote : | #16 |
Hi,
Thanks for catching flac, attached is a version that keeps this
the same.
Testing it shows that the new mimetypes are registered, but
I have no mailcap entries on my system for them, and soo "see"
doesn't do anything with them.
Should I add an entry to my todo list to update this package again
shortly after hardy, to give plenty of time for applications to catch up?
Thanks,
James
Launchpad Janitor (janitor) wrote : | #17 |
This bug was fixed in the package mime-support - 3.39-1ubuntu1
---------------
mime-support (3.39-1ubuntu1) hardy; urgency=low
* Change the mimetypes for Ogg and flac to those specified by
Xiph at
http://
(LP: #201291)
- The only difference is that we keep .ogg as application/ogg,
and .flac as application/x-flac rather than moving them to
audio/ogg and audio/flac respectively to not break current
applications. We may want to reconsider this once we are
past Hardy.
* Modify Maintainer value to match the DebianMaintaine
specification.
-- James Westby <email address hidden> Mon, 31 Mar 2008 11:17:27 +0100
Changed in mime-support: | |
status: | In Progress → Fix Released |
Daniel Hahler (blueyed) wrote : | #18 |
I'll add the relevant mime types to amaroks desktop files.
Changed in amarok: | |
assignee: | nobody → blueyed |
status: | New → In Progress |
Daniel Hahler (blueyed) wrote : | #19 |
The patch for amarok has been added to bug 103227:
* debian/
- Add mimetypes audio/flac and audio/ogg (LP: #201291)
Changed in amarok: | |
importance: | Undecided → Medium |
status: | In Progress → Triaged |
Launchpad Janitor (janitor) wrote : | #20 |
This bug was fixed in the package amarok - 2:1.4.9.1-0ubuntu2
---------------
amarok (2:1.4.
[ Daniel Hahler]
* debian/
Add lastfm recommended radio station (LP: #103227)
* debian/
- Add mimetypes audio/flac and audio/ogg (LP: #201291)
[ Harald Sitter ]
* Unbreak manual media device configuration by enhancing
kubuntu_
-- Harald Sitter <email address hidden> Sat, 12 Apr 2008 13:47:12 +0200
Changed in amarok: | |
status: | Triaged → Fix Released |
Fabián Rodríguez (magicfab) wrote : | #21 |
Reopening this as other affected packages still generate ogg files.
When adding ffmpeg2theora in "Also Affects" LP's own bug tracker is not recognized. I meant to link bug #201473 .
Fabián Rodríguez (magicfab) wrote : | #22 |
Rhythmbox is also affected by this. I've filed a new bug (# 241973).
Fabián Rodríguez (magicfab) wrote : | #23 |
Cheese is also affected by this, I've filed bug # 201291 .
Sebastien Bacher (seb128) wrote : | #24 |
no need to have a rhythmbox bug there since an another one has been opened
Changed in rhythmbox: | |
importance: | Undecided → Low |
status: | New → Invalid |
Fabián Rodríguez (magicfab) wrote : | #25 |
Correct, the Rhythmbox bug is Bug # 241973 . It auto-expired today, commented there to re-open it.
Oibaf (oibaf) wrote : | #26 |
This is fixed since ffmpeg2theora-
Changed in ffmpeg2theora: | |
status: | New → Fix Released |
Tested with cheese 2.24.0-0ubuntu1 and it's now producing .ogv files.
Changed in cheese: | |
status: | New → Fix Released |
Changed in example-content: | |
importance: | Undecided → Low |
status: | New → Triaged |
Daniel Holbach (dholbach) wrote : | #28 |
Fixed in bzr. Will be uploaded shortly.
Changed in example-content: | |
status: | Triaged → Fix Committed |
Launchpad Janitor (janitor) wrote : | #29 |
This bug was fixed in the package example-content - 33
---------------
example-content (33) intrepid; urgency=low
* case_ubuntu_
Hopkins". (LP: #243517)
* oo-about-
* oo-about-
(LP: #218842)
* ubunt Sax.ogg: dropped.
* UbuntuFreeCultu
UbuntuFreeC
file name format. (LP: #201291)
-- Daniel Holbach <email address hidden> Tue, 07 Oct 2008 08:41:53 +0200
Changed in example-content: | |
status: | Fix Committed → Fix Released |
khink (kees-fmf) wrote : | #30 |
Could it be that this fix has not made it into the current package 2:1.4.10-0ubuntu3 for Intrepid?
Please see https:/
Siegfried Gevatter (rainct) wrote : | #31 |
Adding a bug task for Audacity, as it complains if you save something as ".ogm", telling you that the correct extension is ".ogg".
Harald Sitter (apachelogger) wrote : | #32 |
Well. OGM != OGG OR OGA anyway ;-)
Siegfried Gevatter (rainct) wrote : Re: [Bug 201291] Re: Add ogv (video) and oga (audio) as recognized extension for Ogg Theora and Ogg Vorbis, respectively | #33 |
2008/11/2 Harald Sitter <email address hidden>:
> Well. OGM != OGG OR OGA anyway ;-)
Oops, sorry. But anyway, the same happens with .oga :).
Jeldert (jeldert) wrote : | #34 |
Audacity 1.3.5 gives a warning when opening an .oga file. It says:
"Audacity had to make a guess at the type of file. The Audio may be bogus.
If the audio is bogus, try renaming the file so that it has the correct extension before opening it."
Also, when saving Audacity complains that Ogg Vorbis files normally end in .ogg.
Please note that the first warning (bogus audio) does not occur with Audacity 1.3.6, but the second warning is still present.
Changed in audacity: | |
status: | New → Confirmed |
Javier Jardón (jjardon) wrote : | #35 |
Kubuntu 8.10 with KDE 4.2beta2 (4.1.85)
Not icon for ogv files in Dolphin. If I change the extension to ogg, the correct icon appear.
ricardisimo (ricardisimo) wrote : | #36 |
I also get this:
"Audacity had to make a guess at the type of file. The Audio may be bogus.
If the audio is bogus, try renaming the file so that it has the correct extension before opening it."
... but only with flac files that I generated from m4as with soundconverter. I believe I also tagged them all with EasyTag, so conceivably the flac tags are confusing Audacity. No problem with flac files ripped directly from my CDs, by the way.
Is there any test I can perform for you? Thanks for everything that you do.
Benjamin Drung (bdrung) wrote : | #37 |
The bug is fixed in audacity 1.3.9-3. It can open .oga files. It is correct, that Audacity complains that Ogg Vorbis files normally end in .ogg on saving. According to [1] it is recommend to use .ogg for Vorbis: "Vorbis and Speex may use .oga, but it is not the prefered method of distributing these files because of backwards-
[1] http://
Changed in audacity (Ubuntu): | |
status: | Confirmed → Fix Released |
Lars Noodén (larsnooden) wrote : | #38 |
This bug is still present in Karmic Koala.
$ apt-cache policy amarok
amarok:
Installed: 2:2.2.0-0ubuntu2
Candidate: 2:2.2.0-0ubuntu2
Version table:
*** 2:2.2.0-0ubuntu2 0
500 http://
100 /var/lib/
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Lars Noodén (larsnooden) wrote : | #39 |
Grabbing this video,
http://
it plays ok in vlc but not in amarok:
$ amarok bbb_theora_
Amarok is already running!
kmimetype filetype guessing failed for /home/foo/
Following the upstream conventions should be important for us.