1、 KSKSKSKSKSKSKSK KSKSKS KSKSK KSKS KSK KS KS X ISO/IEC 23001 5 MPEG 5: (BSDL)KS X ISO/IEC 23001 5:2008 2008 12 30 http:/www.kats.go.krKS X ISO/IEC 23001 5:2008 : e- ( ) ( ) () () ( ) : (JTC1/SC29) ( ) ( ) KBS LG ETRI ( ) KS X ISO/IEC 23001 5:2008 : (http:/www.standard.go.kr) : : 2008 12 30 2008-1009
2、 : e- : e- (JTC1/SC29) ( 02-509-7262) (http:/www.kats.go.kr). 10 5 , . KS X ISO/IEC 23001 5:2008 i ii .1 1 1 2 1 3 , .2 4 .2 4.1 .2 4.2 .3 4.3 XML, , XML 3 4.4 BS , BS , BSDL.4 4.5 BSDL 12 4.6 KS X ISO/IEC 21000 7 13 5 BSDL-1 BSDtoBin .13 5.1 BS .13 5.2 BSDL .14 5.3 BSDL-1 20 5.4 bs1:script .28 5.5
3、BSDL-1 .29 5.6 BSDtoBin .35 6 BSDL-2 BintoBSD .36 6.1 .36 6.2 BSDL-2 39 6.3 BSDL-2 (facets) 51 6.4 BSDL-2 .56 6.5 BSDL-2 .60 6.6 BintoBSD .64 A( ) ECMAScript 67 A.1 .67 A.2 BSDL ECMAScript .68 B( ) BSDL .70 B.1 .70 B.2 BSDL-1 70 B.3 BSDL-1 71 B.4 BSDL-2 71 B.5 BSDL-2 72 C( ) Exp-Golomb .73 75 KS X I
4、SO/IEC 23001 5:2008 .76 KS X ISO/IEC 23001 5:2008 ii KS X ISO/IEC 23001 MPEG . 1: XML MPEG 2: 3: XML (IPMP) 4: 5: (BSDL) KS X ISO/IEC 23001 5:2008 MPEG 5: (BSDL) Information technology MPEG systems technologies Part 5: Bitstream Syntax Description Language(BSDL) 2008 1 ISO/IEC 23001 5, Information t
5、echnology MPEG systems technologies Part 5: Bitstream Syntax Description Language(BSDL) . 1 (BSD: Bitstream Syntax Description) XML W3C XML (BSDL: Bitstream Syntax Description Language) . BSDL XML . XML . , . (: ). BS , . (DIA: Digital Item Adaptation, KS X ISO/IEC 21000 7) . , . KS X ISO/IEC 21000
6、7 BSDL . 2 . . ( ) . Namespaces in XML, World Wide Web Consortium 14 January 1999 Extensible Markup Language (XML) 1.0(Second Edition), W3C Recommendation 6 October 2000 XML Schema Part 1: Structures, W3C Recommendation 2 May 2001 KS X ISO/IEC 23001 5:2008 2 XML Schema Part 2: Datatypes, W3C Recomme
7、ndation 2 May 2001 XML Path Language (XPath), Version 1.0, W3C Recommendation 16 November 1999 3 , 3.1 . 3.1.1 (bitstream) 3.1.2 (Bitstream Syntax Description) XML 3.1.3 (Bitstream Syntax Description Language) 3.1.4 (Bitstream Syntax Schema) 3.1.5 (upstream) 3.1.6 (downstream) 3.2 BSDL (Bitstream Sy
8、ntax Description Language) BSD (Bitstream Syntax Description) BS Schema (Bitstream Syntax Schema) PSVI (Post Schema Validated Infoset) XML (Extensible Markup Language) 4 4.1 . “KS X ISO/IEC 23001 5“ . id . . KS X ISO/IEC 23001 5:2008 3 4.2 . “xsd:“ . XML (http:/www.w3.org/2001/XMLSchema) . “xsi:“ ht
9、tp:/www.w3.org/2001/XMLSchema-instance . “xml:“ “xmlns:“ 9 . “xml:“ “http:/www.w3.org/XML/1998/namespace“ . “xmlns:“ . (: “bs1:“ “bs2:“). XML XML . . 1 xsi http:/www.w3.org/2001/XMLSchema-instance xsd http:/www.w3.org/2001/XMLSchema bs1 urn:mpeg:mpeg21:2003:01-DIA-BSDL1-NS bs2 urn:mpeg:mpeg21:2003:0
10、1-DIA-BSDL2-NS bs1i urn:mpeg:mpeg21:2003:01-DIA-BSDL1-inf-NS bs2i urn:mpeg:mpeg21:2003:01-DIA-BSDL2-inf-NS 4.3 XML, , XML XML 34 XML W3C . XML . . el0 el1 el2 . el1 . el2 16 . KS X ISO/IEC 23001 5:2008 4 XML . XML XML . , . . XML (: el0 el1 el2 .) (el1 .) XML . 1: 2: XML 0 2 XML . (DTD: Document Typ
11、e Definition) RelaxNG XML . BSDL XML . 4.4 BS , BS , BSDL 4.4.1 BS , . . XML , XML (BS BSD) . , . (: ). BS , . BS , . AVC BS . . startCode 16 nal_unit_type 10 . payload . . , startCode nal_unit_type BSD BSD KS X ISO/IEC 23001 5:2008 5 . BSD . (startCode, forbidden_zero_bit.) BSD (payload ). BSDL . 4
12、.4.2 BS BS . BS . BS . KS X ISO/IEC 23001 5:2008 6 XML , . BSDL BS . BS . BS AVC BS . BSD . startCode 4 16 nal_unit_type 5 . KS X ISO/IEC 23001 5:2008 7 KS X ISO/IEC 23001 5:2008 8 4.4.3 BSDL XML XML . BSDL BSDL BS BS XML . , BSDL URN urn:mpeg:mpeg21:2003:01-DIA-BSDL1-NS BSDL-1 (Schema for BSDL-1 ex
13、tensions) . BS . BSDL . XML , URN urn:mpeg:mpeg21:2003:01-DIA-BSDL2-NS Schema for Schema for BSDL-2 extensions . BSDL-1 XML . BSDL XML KS X ISO/IEC 23001 5:2008 9 . BSDL-1 BS BSDL-2 , BSDL-1 BSDL-2 . BSDL . BSDL . BS . BSDL (BSDL-1) BS (BSDL-2) . BSDL BS . BSDL . XML BSDL . XML XML , . BSDL BS , BS
14、XML . BS XML , BSD XML . BSDL BSD . 1 XML BSDL 4.4.4 BSDL (parsers) : BSDtoBin BintoBSD BSDL (parser) (parsers) . BS BS BSDtoBin BS BS BintoBSD BSDL-1 BSDL-2 BintoBSD . BSDtoBin BintoBSD . XML BSDL BS XML BS KS X ISO/IEC 23001 5:2008 10 BSDtoBin BSD BS . BSD , . BintoBSD BSD BS . 2 BSDtoBin 3 BintoB
15、SD BSD BS , BSDtoBin BSD , . 16 0x00000001(startCode) 10 0(forbidden_zero_bit), 10 3(nal_ref_idc), 5 10 7(nal_unit_type) . payload 5 9 . bs1:bitstreamURI . BSD BSDtoBin BS BintoBSD BSDBS KS X ISO/IEC 23001 5:2008 11 4.4.5 BS BSD BSDL BS . BS . BSDL . BS . BSDL BSDL XML . BSD . BSDL BSDL BSD . BSDL .
16、 BSDL BSD BSDL . BSD BSD . . BSD . BSD myBitstream.bin 10 , 10 . BSD . KS X ISO/IEC 23001 5:2008 12 BSD myBitstream.bin . BSD , BSDtoBin myBitstream.bin 10 BSD . BSD BSDtoBin BSD . , KS X ISO/IEC 21000 7 . BSD BSDL bs1:byteRange bs1:bitstreamURI . BSD . BSDtoBin . myBitstream1.bin 10 , myBitstream2.
17、bin 20 . BSD BSDtoBin myBitstream1.bin 10 , myBitstream2.bin 20 , myBitstream1.bin 10 , myBitstream2.bin 20 . BSD BSDtoBin . 4.5 BSDL BSDL (KS X ISO/IEC 21000 7 ). XML BSDL XML . . . BSD BSD BSD KS X ISO/IEC 23001 5:2008 13 4.6 KS X ISO/IEC 21000 7 BSDL (KS X ISO/IEC 21000 7) , . KS X ISO/IEC 21000
18、7:2005/Amd.2 . ( 2 ) KS X ISO/IEC 21000 7 BSDL . . BSDL KS X ISO/IEC 21000 7:2004 1 2 . 5 BSDL-1 BSDtoBin 5.1 BS BSDL-1 BS . XML BSDL-1 . BSDL-1 BSDtoBin . BSDL-1 . XML XML 34. (PSVI: Post Schema Validated Infoset) 3 3 XML . BSDL-1 . (well-formed) XML . W3C XML , BSD (validate) , (PSVI: Post Schema Validated Infoset) . . PSVI BSDL-1 . BSDL-1 .