vlm | df9d0be | 2005-04-13 13:22:31 +0000 | [diff] [blame] | 1 | |
| 2 | GENERAL INFORMATION |
| 3 | =================== |
| 4 | |
| 5 | The ISO MHEG-5 (Multimedia Hypermedia Experts Group, |
| 6 | Multimedia Presentations) decoder. |
| 7 | |
| 8 | Invoking `make` will compile the ASN.1 specifications from the |
| 9 | ../ISO13522-MHEG-5.asn file. |
| 10 | |
| 11 | THERE IS NO ISO13522-MHEG-5.asn FILE THERE YET! |
| 12 | |
| 13 | OBTAINING THE MHEG-5 SPECIFICATION |
| 14 | ================================== |
| 15 | |
| 16 | To obtain the MHEG-5 ASN.1 specification, you should go to |
| 17 | http://www.itu.int/ITU-T/asn1/database/itu-t/t/t172 |
| 18 | and select the latest "Text" version of the corresponding ASN.1 module. |
| 19 | |
| 20 | After obtaining the ISO13522-MHEG-5.asn, type `make` in the directory |
| 21 | containing this README file. |
| 22 | |
| 23 | mheg5dump USAGE |
| 24 | =============== |
| 25 | |
| 26 | The mheg5dump utility may be used to dump the contents of the BER-encoded |
| 27 | MHEG-5 data record file: |
| 28 | |
| 29 | ./mheg5dump -x tapfile.der # Print as XML (BASIC-XER) |
| 30 | |
| 31 | If necessary, a straightforward modification of the |
| 32 | ../../skeletons/asn-decoder-template.c |
| 33 | will allow you to build a converter from the XML (XER) MHEG-5 format |
| 34 | back into binary (BER). |
| 35 | |
| 36 | The full list of recognized command line options may be obtained with |
| 37 | |
| 38 | > ./mheg5dump -h |
| 39 | Usage: ./mheg5dump [options] <data.ber> ... |
| 40 | Where options are: |
| 41 | -b <size> Set the i/o buffer size (default is 8192) |
| 42 | -c Check ASN.1 constraints after decoding |
| 43 | -d Enable debugging (-dd is even better) |
| 44 | -n <num> Process files <num> times |
| 45 | -s <size> Set the stack usage limit |
| 46 | -p Print out the decoded contents |
| 47 | -x Print out as XML |
| 48 | |