[datatype-dev] question about Codec FourCC and mime type

[datatype-dev] question about Codec FourCC and mime type

Eric Hyche ehyche at real.com
Thu Apr 3 07:34:43 PDT 2008


Weian:

For future reference, you can find this information by browsing the code
in datatype/avi/fileformat/avistrm.cpp. I've attached a text file with
a summary.

Eric

=============================================
Eric Hyche (ehyche at real.com)
Technical Lead
RealNetworks, Inc.  

> -----Original Message-----
> From: Chen, Weian [mailto:weian.chen at intel.com] 
> Sent: Monday, March 31, 2008 11:04 AM
> To: ehyche at real.com; datatype-dev at helixcommunity.org
> Subject: RE: [datatype-dev] question about Codec FourCC and mime type
> 
> 
> Exactly.
> 
> Thank you in advanced.
> 
> Weian
> 
> -----Original Message-----
> From: Eric Hyche [mailto:ehyche at real.com] 
> Sent: 2008年3月31日 22:59
> To: Chen, Weian; datatype-dev at helixcommunity.org
> Subject: RE: [datatype-dev] question about Codec FourCC and mime type
> 
> 
> So you are talking specifically about 4cc's within AVI files?
> 
> Eric
> 
> =============================================
> Eric Hyche (ehyche at real.com)
> Technical Lead
> RealNetworks, Inc.  
> 
> > -----Original Message-----
> > From: Chen, Weian [mailto:weian.chen at intel.com] 
> > Sent: Monday, March 31, 2008 10:48 AM
> > To: ehyche at real.com; datatype-dev at helixcommunity.org
> > Subject: RE: [datatype-dev] question about Codec FourCC and 
> mime type
> > 
> > 
> > The video codec in container is descripted with FourCC (such 
> > as DIVX/FMP4/etc for video codec), and after de-mux in order 
> > to decoder the video stream we should find a plug-in, but the 
> > plug-in is matched by the mime type, so we should define the 
> > mime type for every given codec FourCC, what I want here is 
> > the mapping table between codec FourCC and mime type. So we 
> > can find the decoder plug-in for current codec successfully. 
> > I am not sure whether I express myself clearly.
> > 
> > BTW: I want this mapping table is because I am working on the 
> > issue AVI files can not be played back.
> > 
> > Thanks!
> > Weian
> > -----Original Message-----
> > From: Eric Hyche [mailto:ehyche at real.com] 
> > Sent: 2008年3月31日 21:40
> > To: Chen, Weian; datatype-dev at helixcommunity.org
> > Subject: RE: [datatype-dev] question about Codec FourCC and 
> mime type
> > 
> > 
> > This would be a pretty big list, so before I
> > do that, let me make sure I understand what you
> > want.
> > 
> > What FourCC's are you referring to? Codec 4cc's
> > (like "cook", "atrc", etc.)? Which mime types
> > are you interested in?
> > 
> > Eric
> > 
> > =============================================
> > Eric Hyche (ehyche at real.com)
> > Technical Lead
> > RealNetworks, Inc.  
> > 
> > > -----Original Message-----
> > > From: datatype-dev-bounces at helixcommunity.org 
> > > [mailto:datatype-dev-bounces at helixcommunity.org] On Behalf Of 
> > > Chen, Weian
> > > Sent: Thursday, March 27, 2008 10:17 PM
> > > To: datatype-dev at helixcommunity.org
> > > Subject: [datatype-dev] question about Codec FourCC and mime type
> > > 
> > > Hi
> > > 
> > >  
> > > 
> > > Could anyone here provide me something like a map table which 
> > > describes the mapping relationship between codec (FourCC) and 
> > > mime type in helix?
> > > 
> > >  
> > > 
> > > Thank in advanced.
> > > 
> > >  
> > > 
> > > Weian
> > > 
> > >  
> > > 
> > > 
> > 
> 
-------------- next part --------------
Video Types

AVIH type   AVIH handler  biCompression   MimeType                    Renderer (binary)                                             Decoder (binary)
========================================================================================================================================================
vids        don't care    0x00000000      "video/x-pn-qtvideo-stream" datatype/rgb/renderer (rgbrender.so or vidplin.so)            none needed
vids        don't care    MJPG            "video/x-pn-jpeg-plugin"    datatype/mjpeg/renderer (mjpgrender.so)                       none needed - IJG library linked into renderer
vids        H263          don't care      "video/X-RN-3GPP-H263"      datatype/h263/renderer (h263render.so or vidplin.so)          dmp4.so
vids        divx          don't care      "video/X-HX-DIVX"           datatype/mp4/video/renderer (mp4vrender.so or vidplin.so)     none available
vids        don't care    don't care      "video/x-pn-icm-plugin"     ICM renderer (Windows-only and RN-internal)

Audio Types

AVIH type   WAVE formatTag WAVE bitsPerSample MimeType            Renderer (binary)                             Decoder (binary)
========================================================================================================================================================
auds        0x0001         8                  "audio/L8"          datatype/wav/renderer/pcm (pcmrendr.so)       none needed
auds        0x0001         16                 "audio/L16"         datatype/wav/renderer/pcm (pcmrendr.so)       none needed
auds        0x0006         8                  "audio/x-pn-alaw"   ACM renderer (Windows-only and RN-internal)   none needed
auds        0x0007         8                  "audio/x-pn-mulaw"  ACM renderer (Windows-only and RN-internal)   none needed
auds        0x0014         don't care         "audio/x-pn-g723"   ACM renderer (Windows-only and RN-internal)   none needed
auds        0x0040         don't care         "audio/x-pn-g721"   ACM renderer (Windows-only and RN-internal)   none needed
auds        0x0031         don't care         "audio/x-pn-gsm610" ACM renderer (Windows-only and RN-internal)   none needed
auds        0x0055         don't care         "audio/rn-mpeg"     datatype/mp3/renderer (mp3render.so)          none needed (linked into mp3render.so)







More information about the Datatype-dev mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.