1、 G Y /T 168 2001 BWF Specification of the format for audio data files in broadcasting The broadcast wave format (BWF) 2001-03-09 2001-05-01 1 1 2 1 3 1 4 BWF 1 5 MPEG BWF 4 A )RIFF WAVE .WAV 7 B ( )MPEG-1 12 GY/T 168 2001 Rec.ITU-R BR.1352 1 2 MPEG EBU R85(1997) EBU R98(1999) BWF RIFF WAVE PCM MPEG-
2、1 A B GY/T 1682001 1 1 PCM MPEG-1 2 GB/T 17975.3-2001 3 GY/T 156-2000 3 3.1 RIFF RIFF resource interchange file format 3.2 WAVE WAVE waveform audio file format 3.3 PCM PCM pulse code modulation 3.4 MPEG MPEG moving picture experts group 3.5 BWF BWF broadcast wave format 4 BWF 4.1 BWF BWF RIFF RIFF W
3、AVE / RIFF WAVE / / PCM MPEG / MPEG BWF G Y /T 168 2001 Specification of the format for audio data files in broadcasting The broadcast wave format (BWF) 2001-03-09 2001-05-01 GY/T 168-2001 2 / MPEG MPEG / BWF BWF BWF 4.2 RIFF RIFF fmt_ck fact_ck A 4.3 struct DWORD chID; /* chID= bext */ DWORD chSize
4、; /* */ BROADCAST_EXT chData; /* */ BROADCAST_EXT typedef struct broadcast_audio_extension CHAR Description256; /*ASCII : */ CHAR Originator32; /*ASCII : */ CHAR OriginatorReference32; /*ASCII : */ CHAR OriginationDate10; /*ASCII : */ CHAR OriginationTime8; /*ASCII */ DWORD TimeReferenceLow; /* */ D
5、WORD TimeReferenceHigh; /* */ WORD Version; /* BWF */ CHAR Reserved254; /* Null( )*/ CHAR CodingHistory; /* ASCII */ BROADCAST_EXT Description: ASCII 256 64 192 256 (00)hex Originator: ASCII 32 32 (00)hex GY/T 168-2001 3 OriginatorReference: ASCII 32 32 (00)hex OriginationDate : 10 ASCII - - 4 0000
6、9999 2 01 12 2 01 28 29 30 31 (-) (_) ( ) ( ) (.) OriginationTime : 8 ASCII - - 00 24 00 59 00 59 (-) (_) ( ) ( ) (.) TimeReference: 64 Version: BWF 0 Reserved: 254 Version 0 254 Null CodingHistory: CR/LF ASCII 1 1 CodingHistory A= F= Hz B= kbit/s per channel MPEG W= bits MPEG MPEG PCM M= GY/T 168-2
7、001 4 1 CodingHistory ( ) T= ASCII 2Chex CR/LF ASCII 0Dhex0Ahex 5 MPEG BWF BWF MPEG fact MPEG MPEG WAVE MPEG WAVE B MPEG MPEG 5.1 MPEG MPEG struct DWORD ckID /* ckID = mext */ DWORD ckSize /* ckSize = 000C */ MPEG_EXT ckData /* */ MPEG MPEG_EXT typedef struct mpeg_audio_extension WORD SoundInformati
8、on /* */ WORD FrameSize /* */ WORD AncillaryDataLength /* */ WORD AncillaryDataDef /* */ CHAR Reserved4 /* Null( )*/ MPEG_EXT SoundInformation 16 MPEG 2 1 Bit0 1 0 Bit1 Bit2 Bit1 0 Padding bit 0 1 GY/T 168-2001 51 0 Bit2 1 1 22.05kHz 44.1kHz Bit3 0 1 Bit4 15 FrameSize 16 0 0 1 FrameSize+1 1 4 1 Fram
9、Size FrameSize+1 AncillaryDataLength 16 AncillaryDataDef 16 Bit0 1 Bit1 1 Bit2 1 Bit3 0 APR Bit4 0 DAB Bit5 0 J52 Bit6 15 0 AncillaryDataDef bit2 0 bit0 bit2 0 bit0 1 2 15 Big Endian Reserved 4 Null Null 5.2 (Homogeneous) MPEG 44.1kHz 22.05kHz 0000 0 1 M M= 00 M= 01 M= 10 M= 11 M= 01 Mx GY/T 168-200
10、1 6 Pr 44.1kHz 22.05kHz N N+P N 0 N+P 1 N 1 P= 4 2 P= 1 5.3 MPEG GY/T 168-2001 7 RIFF A1 WAVE A1.1 WAVE RIFF ( WAVE / RIFF WAVE / / / ) / WAVE RIFF WAVE PCM WAVE , RIFF A1.2 WAVE () fmt ( ) : struct WORD wFormatTag; WORD nChannels; DWORD nSamplePerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; A ( )
11、RIFF WAVE .WAV GY/T 168-2001 8 wFormatTag WAVE nChannels 1 2 nSamplesPerSec nAvgBytesPerSec nBlockAlign A1.3 WAVE WAVE WAVE wFormatTag WAVE_FORMAT_PCM 0x0001 (PCM) WAVE_FORMAT_MPEG (0x0050) MPEG-1 A2 PCM WAVE_FORMAT_PCM PCM PCM struct WORD nBitsPerSample /* */ PCM (nChannels nBitsPerSecond nBitsPerS
12、ample)/8 nChannels nBitsPerSample /8 GY/T 168-2001 9 A2.1 PCM WAVE WAVE WAVE 0 1 WAVE 8 WAVE 8 PCM Sample 1 Sample 2 Sample 3 Sample 4 Channel 0 Channel 0 Channel 0 Channel 0 8 PCM Sample 1 Sample 2 Channel 0 Channel 1 Channel 0 Channel 1 16 WAVE 16 PCM Sample 1 Sample 2 Channel 0 Channel 0 Channel
13、0 Channel 0 16 PCM Sample 1 Channel 0 Channel 0 Channel 1 Channel 1 A2.2 i i nBitsPerSample i 0 12 2 4 0 PCM 1-8 255 0xFF 0 9 9 i i PCM 8 16 8 PCM 255 0xFF 0 128 0x80 16 PCM 32767(0x7FFF) -32768(-0x8000) 0 GY/T 168-2001 10 A2.3 PCM WAVE PCM WAVE 48kHz 16 RIFF( WAVE fmt 1, 2, 48000, 96000, 2, 16) data( ) ) PCM WAVE 44.1kHz 20 RIFF( WAVE fmt 1, 2, 48000, 144000, 3, 20) data( ) ) A2.4 WAVE data A2.5 WAVE fact ( ) / PCM WAVE A2.6 WAVE WAVE WAVE 4.1 BWF A3 WAVE A3.1 WAVE
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1