[gst-devel] mediatypes for AMR

Stefan Kost ensonic at hora-obscura.de
Tue May 8 12:09:55 CEST 2007


hi,
Quoting Thomas Vander Stichele <thomas at apestaart.org>:

> On Tue, 2007-05-08 at 08:50 +0200, Stefan Kost wrote:
>> hi,
>>
>> while updating the media type in PWG I discovered that imho the
>> mediatypes for AMR are "unusual".
>> 1.) Since when do we use uppercase ?
>> 2.) Why is there: "audio/amr","audio/AMR","audio/AMR-WB"
>
> http://www.iana.org/assignments/media-types/audio/
>
> mime types for amr and amr-wb have the second part in upper case.

thanks for the link. Its quite ugly given that they also have  
"amr-wb+" in lowercase and in gstreamer we have extra fields.

>
> There are some people that say that we try to stick to mime types when
> we can and some people that say we shouldn't interpret them as mime
> types.
>
> There are some people that say that GStreamer should be able to figure
> out mime types correctly from files.  Maybe gst-typefind does that, and
> maybe it gives the GStreamer type, which may or may not be the mime
> type.  Confused yet ?
>
> Speaking generically, I would love for GStreamer to be able to detect
> the mime type of a stream, and I would love for it to be possible to get
> the mime type of a stream so I can put it in an SDP file without special
> logic.  The latter currently is possible afaict because all of the caps
> names are close enough to mime types for the codecs affected - including
> amr.

one we should add a mime field to caps, so that we don't need to  
restrict ourselves to sometimes ugly mime-type names.

Stefan

>
> Thomas
>
>>
>> If there is "audio/amr-wb", then "audio/amr" should be "audio/amr-nb".
>> On the other hand imho we could stick to "audio/amr" and use:
>> * amrversion="{nb,wb}"
>> * use the rate=8000/16000
>> to differenciate.
>>
>> As amrwb is still in -bad I guess its okay to change it there. What
>> are you thinking about it? Should we also add the lowercase version to
>> amrnb and mark the uppercase as deprecated (the lowercase ne could get
>> the armversion attribute too).
>>
>> Stefan
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>






More information about the gstreamer-devel mailing list