[libav-bugs] [Bug 334] libavformat. add dss demuxer

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Mon Jul 16 09:55:13 CEST 2012


http://bugzilla.libav.org/show_bug.cgi?id=334

--- Comment #4 from Oleksij Rempel <bug-track at fisher-privat.net> 2012-07-16 09:55:13 CEST ---
Here a made some description of metadata part and data stream.

0xc - 0x1b Author ID

0x26 - 0x43 Time ( word / dec )
    0x26 - 0x31 start time ( x26 J; x28 M; x2A D; x2c h; x2e m; x30 s )
    0x32 - 0x3D end time ( x32 J; x34 M; x36 D; x38 h; x3a m; x3c s )
    0x3E - 0x43 lenth ( x3e h; x40 m; x42 s; )

0X45 - Priority level 

0x2a4 - Recording mode smaple rate? (     0x00 - standart play (mono);
                0x02 - long play (mono);
                0x04 - SP(mono)/LP(mono), 11kbps(mono); ????

0x2b4 - 0x2c1 Work type ID

0x31e - 0x381 Comment ( ascii )

0x400 - 405 start of stream (     0f03 0dff 00ff - start of sp stream; 
                0f03 16ff 02ff - start of lp stream; )
0x406 - streem

----- - end of strem ( end of file ) 0x0a

this format uses 512byte blocks. first two blocks is header.
then audio blocks each starting with block number and
record mode.
for example "0f0e 15ff 02ff" - 0f=?; 0e=block number(starting with 0e, ending
with 04); 15=probably block type(16 is key block?); 02=record mode(sample
rate); ff=reserved?

LP stream explanation:
Beginn of stream is 0f03 16ff 02ff at 0x400

every 512 byte we have magick "ff 02 ff" example:
LP stream 40 seconds
dd if=test0310.dss | xxd | grep "ff 02ff"
66+0 Datensätze ein
66+0 Datensätze aus
33792 Bytes (34 kB) kopiert, 0,000163818 s, 206 MB/s
00002a0: ffff ffff 02ff ffff ffff ffff ffff ffff  ................
0000400: 0f03 16ff 02ff 6886 da1e 8409 00d2 3f41  ......h.......?A
0000600: 0f0e 15ff 02ff d67e 6da8 c68a 3741 b140  .......~m...7A.@
0000800: 0f0d 15ff 02ff 7725 e00b b309 1341 52dd  ......w%.....AR.
0000a00: 0f0c 15ff 02ff 176d 50e0 0d73 0e6e 46d7  .......mP..s.nF.
0000c00: 0f0b 15ff 02ff 303e 14f1 9865 0701 ae00  ......0>...e....
0000e00: 0f0a 15ff 02ff f332 8e57 1067 1ce2 d81e  .......2.W.g....
0001000: 0f09 15ff 02ff 20e5 5b7e 658f 6a22 ab77  ...... .[~e.j".w
0001200: 0f08 15ff 02ff 2f44 312a 238e 3938 40f4  ....../D1*#.98 at .
0001400: 0f07 15ff 02ff 29f6 a32e 36ba c9dc 6473  ......)...6...ds


SP stream use "ff 00 ff" magick
00002a0: ffff ffff 00ff ffff ffff ffff ffff ffff  ................
0000400: 0f03 0dff 00ff 908e d6e9 8bb2 3750 d40a  ............7P..
0000600: 8f10 0cff 00ff 3f07 0fce 4609 2dd8 c1d2  ......?...F.-...
0000800: 8f09 0dff 00ff 3e55 af98 d68a 2a0d 9795  ......>U....*...
0000a00: 0f17 0cff 00ff d2a5 6352 3432 3d86 0b74  ........cR42=..t
0000c00: 0f10 0cff 00ff 5d60 71f4 e04d 8ee5 534b  ......]`q..M..SK
0000e00: 0f09 0dff 00ff 99b7 117f 44f9 6c87 744f  ..........D.l.tO
0001000: 8f16 0cff 00ff 8a21 b2eb ca65 5e91 b35b  .......!...e^..[
0001200: 8f0f 0cff 00ff 71cb e836 a13f f848 5690  ......q..6.?.HV.
0001400: 8f08 0dff 00ff 4d92 b1ad 17f6 6fa0 bfcf  ......M.....o...
0001600: 0f16 0cff 00ff 649a d279 7fa1 777b a5c6  ......d..y..w{..
0001800: 0f0f 00ff 00ff b5c5 6a82 c6a9 a360 7a64  ........j....`zd

----- - end of strem ( end of file ) instade magick will be 0x0a

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list