[NUT-devel] [PATCH] fourcc spec

Oded Shimon ods15 at ods15.dyndns.org
Sat May 6 12:53:22 CEST 2006


On Sat, May 06, 2006 at 12:54:17PM +0200, Luca Barbato wrote:
> Oded Shimon wrote:
> > On Tue, May 02, 2006 at 11:30:26PM -0400, Rich Felker wrote:
> >> On Fri, Apr 28, 2006 at 10:52:00PM +0200, Michael Niedermayer wrote:
> >>>>> video:
> >>>>> mp4v/mp4s/??? (pick one among those already in use)
> >>> iam in favor of m4v or mp4v or mpg4
> >> then let's use mp4v since it's the only one with established usage
> >> among these. mpg4 is unfortunately very bad because m$ stole it for
> >> use as msmpeg4v1... (or v0?)
> > 
> > Where can I commit this?
> > 
> 
> mplayer docs and a libnut docs and the wiki ^^

Multimedia wiki? There's no spec there, only demuxer tips.

Diego suggested adding it as an appendix to mpcf. No objections in 48 
hours, I'll commit.

- ods15
-------------- next part --------------
Index: DOCS/tech/mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.155
diff -u -r1.155 mpcf.txt
--- DOCS/tech/mpcf.txt	25 Mar 2006 13:39:47 -0000	1.155
+++ DOCS/tech/mpcf.txt	6 May 2006 10:51:25 -0000
@@ -439,10 +439,7 @@
           a demuxer MUST ignore streams with reserved classes
 
 fourcc
-    identification for the codec
-    example: "H264"
-    MUST contain 2 or 4 bytes, note, this might be increased in the future
-    if needed
+    identification for the codec, must comply to fourcc.txt
 
 time_base_nom / time_base_denom = time_base
     the length of a timer tick in seconds, this MUST be equal to the 1/fps
@@ -820,6 +817,23 @@
 mpegvideo+mpegaudio in mpeg-ps/ts in nut or dvvideo + dvaudio in dv in nut
 
 
+Appendix, Fourcc Spec
+=====================
+length,string
+
+Video
+4,"h263"	H.263
+4,"mp4v"	MPEG-4 Part 2
+4,"h264"	MPEG-4 Part 10/H.264
+
+Audio
+4,"vrbs"	Xiph.org Vorbis
+4,"mp2 "	MP3
+4,"mp3 "	MP2
+4,"ac3 "	AC3
+4,"aac "	AAC/MPEG-4 Part 3
+
+
 
 Sample code (Public Domain, & untested):
 ========================================


More information about the NUT-devel mailing list