Talk:MIME Types and File Extensions: Difference between revisions

From XiphWiki
Jump to navigation Jump to search
Line 99: Line 99:
:: Fantastic, please make sure this is included into the libraries of Xiph.org since applications can easily include them.
:: Fantastic, please make sure this is included into the libraries of Xiph.org since applications can easily include them.


== ogg vorbis should never had a v as a first letter but now it's too late, or isn't it? ==
== ogg vorbis should never had a v as a first letter but now it's too late, Quick successor with a slightly changed name because of the new ogg framework and metadata system ==


Many people when they first hear the word vorbis think it's a video codec because of the v.
Many people when they first hear the word vorbis think it's a video codec because of the v.
Line 110: Line 110:
Here is a very radical idea but it would make some things more clearly and prevent mistakes in the future.
Here is a very radical idea but it would make some things more clearly and prevent mistakes in the future.
Make a NEW codec/file format that's actually vorbis but with another name like m/l/w-orbis. (You guys pick it out)
Make a NEW codec/file format that's actually vorbis but with another name like m/l/w-orbis. (You guys pick it out)
(But no norbis wrongly typed=nor can cause crash in the wrong place in wrongly constructed software same fo xor(bis) and not gorbis)
(But no norbis wrongly typed=nor can cause crash in the wrong place in wrongly constructed software same for xor(bis) and not gorbis)
There must still be an advantage of the new codec, format because otherwise users won't have a reason to update.
There must still be an advantage of the new codec, format because otherwise users won't have a reason to update.



Revision as of 10:12, 29 January 2008

.flac - application/flac

Why not audio/flac?

Presumedly to distinguish it from "unencapsulated" flac. I'm not sure this makes sense though. Native flac is a fairly light container, and I suspect the current application/x-flac usage is just an analogy with ogg. OTOH, I don't think anyone's done flac over rtp, where this would be needed, but that is something that's interesting.

Edit: I have changed my opinion in this subject. Regardless, Josh agrees with audio/flac in case someone is willing to register it. application/flac was never registered.--Ivo 14:57, 7 September 2007 (PDT)
In a way application/flac to describe a stream which uses FLAC encapsulation is the same as using application/ogg to describe a stream using Ogg encapsulation. I don't really know if this is academic thinking and it's more developer-facing than end-user-facing. The question is what is going to be most consistent (and therefore make sense to someone trying to work it out). Since FLAC in Ogg is natively FLAC encapsulated it may make sense to use the same mime-type for native FLAC as the codec mime type to be used for FLAC in Ogg. Imalone 07:26, 28 June 2007 (PDT)


.spx - audio/ogg

Why not audio/spx? To distinguish it from ogg vorbis.

audio/speex is only used for Speex RTP or in any other case of "Oggless" Speex. Speex in Ogg, which is a common sight, is audio/ogg just like every other audio-only Ogg file, be it Vorbis, FLAC, Ghost/CELT, MIDI, and even OggPCM.--Ivo 07:01, 26 January 2008 (PST)
Then we still need it for RTP and in native container seems to me.
Because of the RTP vorbis and speex should have a unique MIME type right?
And also for native container for making correct differences.
(One of the greatest mistakes of computer programming is identifying two different things as the same.)
Because you're goanna have to register it, best use it as well.

".ogg" should be "application/ogg"

I can't accept that ".ogg" becomes Vorbis I only extension. Ogg is not a codec. It is the container of codecs. That change will be missleading people.

".ogg" has been defined as "application/ogg" and already used as Theora+Vorbis. Redefining ".ogg" as Vorbis I only extension and changing MIME type to "audio/ogg" is not backward-compatible. Changing spec should be more carefully. If possible, should not change fixed spec. (I know becoming RFC does not mean fixed spec. But it is treated as fixed spec) --話切徒 07:31, 7 September 2007 (PDT)

We understand your concern, but application/ogg isn't about audio, and people out there have wrongly associated .ogg with Vorbis only, making it harder for other codecs like Theora to succeed because of the file extension. They do not understand that Ogg is a container; they think Ogg is Vorbis. Although this proposal is somewhat radical and some people aren't 100% happy with it, it's for the best. video/ogg and audio/ogg will also be much useful now with the <video> and <audio> elements of HTML 5.--Ivo 08:04, 7 September 2007 (PDT)
".ogv" and ".oga" may be useful. I can accept this. But changing the definition of ".ogg" is really needed? I can't find the necessity of this. It breaks backward-compatibility. No one will be happy with this change... --話切徒 13:56, 7 September 2007 (PDT)
We are not breaking backwards-comaptibility. That's why Vorbis and Speex will be allowed to use .ogg and .spx instead of .oga. The only thing that may break backwards-compatibility is deprecating application/ogg in favor od video/ogg and audio/ogg. That and Theora files, but since there are no Theora hardware players that we know of, existing Theora files may be renamed to .ogv easily, making compatibility with previous files a non-issue. Backwards-compatibility was seriously considered during the creation of this proposal. We are not breaking it.--Ivo 14:53, 7 September 2007 (PDT)
Ummmmm..... I think ".ogg" re-definition is not necessary. My best resolution is simply adding the new ext definitions to RFC:
  • ".ogg" is application/ogg (as RFC3534)
  • define new ext and MIME : ".ogx", ".oga", ".ogv", etc...
  • Use of new extensions is recommended.
  • Official tools are using new ext (except .ogg for Vorbis I?)
Changing of ".ogg"'s MIME type is really necessary? --話切徒 16:35, 7 September 2007 (PDT)
Want also to see more consistent behaviour like changing name of vorbis into something like n/m/l/w-orbis.
And mime type is then audio/ n/m/l/w-orbis and ogg would be better instead of ogx
because people refer to ogg as ogg not ogx
Because of RTP and native containers codecs better have unique MIME-types:
Changes: vorbis: still .vorbis would be better(change name to something that doesn't starts with a v, nor, xor or g),
MIME: audio/ogg => audio/vorbis, speex: MIME: audio/ogg => audio/spx
(audio/ogg is being used for .oga and that is stands for ogg audio is very consistent and easy ::::: to see)
It has to be registered anyway for RTP !!!!
(It wouldn't be such a big assigment now to do that, but over a year or two,
you can't go back anymore because of compatability!!!)
And people think that vorbis is a video format because it starts with a v.
So they look around if their player supports vorbis video but they find out only audio is supported.
Mad about getting wrong information and quit ogg for an alternative mostly.
Please change the name or create a new format that is essentially vorbis with another name.
(And also something extra to have a reason for people to update.)
(You're goanna have to because of the new ogg framework hahaha!!!!!!)
Or else you get conflict issues and broken compatability !!!

text/cmml

text/cmml for CMML without container: the Codec mime types are to be used in Skeleton, can this mime type be applied to the CMML Ogg mapping? (It's not plain text in the way that Vorbis mapped into Ogg is exactly audio/vorbis.)

.oga - able to rip cd's with all of it's contents also metadata like picture of the album (also separate pictures for each song)? Yes? Oh Boy, this is fantastic

Can multiple audio streams/files be packed to one oga? (I mean that there are seperatable flac/speex/vorbis files that can be played separately). If this is the case then oga is a very good candidate for ripping a cd with all of it's contents and metadata without loss.

On a cd there is usually a picture. If you rip the cd to one of Xiph.org's free formats, it's lost because nothing supports this. Mayby oga could support this with some extra metadata and pictures in jpeg: a picture for the .oga and a picture for each number via metadata-system or something like that. This way someone can easily rip cd's and keep them in a consistent way on his or her computer. (One oga per cd, with the same picture as one the cd box, with all the numbers of one cd in oga file that can be played separatelly)

Yes, Ogg can carry multiple streams of audio, so you could backup an entire album in Ogg as FLAC or Vorbis and use the .oga extension. In this case alone, it is recommended to use .oga instead of .ogg because .ogg is for a single Vorbis stream file, while .oga requires a Skeleton stream which helps players recognize all the different songs in the file. Confused? One song, .ogg. Multiple songs in one file, .oga. Just make sure that the .oga file has a Skeleton stream. You can verify that with the ogginfo command line tool. And yes, you can also add a JPEG or PNG inside Ogg. I just don't know of any program that supports it, but theoretically it is possible. Just a heads up again, a song and an image are two streams of data, not just one, so again it would use .oga instead of .ogg. This also prevents breaking existing players that don't support embeded images.--Ivo 08:48, 25 January 2008 (PST)
This sounds great and about streams of audio:

Can I think of those streams also as separate audio files inside a multistream file? Because flac for example can also do up to eight streams.


Have also a few other questions: - Is it possible to have an oga with an album in with a mix of songs in flac, vorbis and speexs? - Is it possible in oga to have a different picture for each song, stream ? (For when people make their own albums out of different albums and they want the picture of that album for each song.)

Again, yes. Theoretically, there is no limitation in what you can put in Ogg and the order you want it in, but while the format has no such limitations, this is not the case with the software out there. So, the short answer is, for the general public it will look as if Ogg cannot do that which you ask even though it can.--Ivo 06:58, 26 January 2008 (PST)
Fantastic, please make sure this is included into the libraries of Xiph.org since applications can easily include them.

ogg vorbis should never had a v as a first letter but now it's too late, Quick successor with a slightly changed name because of the new ogg framework and metadata system

Many people when they first hear the word vorbis think it's a video codec because of the v. (My brother thought also and he's like already 15 years old.)

Mayby people don't store music in vorbis because they think it's for video. Then they look for software to do the job and can't find anything. They get mad and look for something else.

Here is a very radical idea but it would make some things more clearly and prevent mistakes in the future. Make a NEW codec/file format that's actually vorbis but with another name like m/l/w-orbis. (You guys pick it out) (But no norbis wrongly typed=nor can cause crash in the wrong place in wrongly constructed software same for xor(bis) and not gorbis) There must still be an advantage of the new codec, format because otherwise users won't have a reason to update.

(The name of course has to sound like vorbis.) (And mayby make ogg and vorbis and ?orbis more popular in the future.)

And mime type is then audio/ m/l/w-orbis. (I'll assume MIME-type is needed because of RTP and native container.)