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): ========================================