Home » Archimedes archive » Archimedes World » AW-1995-10 Disc 2.adf » AW1095_2 » Freeware/MPEGTools/MPEGstat/Manual
Freeware/MPEGTools/MPEGstat/Manual
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Archimedes World » AW-1995-10 Disc 2.adf » AW1095_2 |
Filename: | Freeware/MPEGTools/MPEGstat/Manual |
Read OK: | ✔ |
File size: | 1A9C bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
mpegstat - analyzes MPEG-1 encoded bitstreams SYNOPSIS -------- mpegstat [ -all basename ] [ -block_info filename ] [ -dct ] [ -end N ] [ -histogram filename ] [ -offsets filename ] [ -qscale filename ] [ -quiet ] [ -rate filename ] [ -ratelength N ] [ -time ] [ -size filename ] [ -start N ] [ -syslog filename ] [-verify ] [ file_name ] DESCRIPTION ----------- mpegstat decodes mpeg-1 encoded bitstreams collecting varying amounts of statistics. Errors are sent to stderr, basic statistics to stdout. The basic information is the pattern of frames used, number of bytes for each frame type, the specified parameters, and lengths of vectors. For each frame type, the average size, compression rate, Q-factor, and time to decode are given. Wherever a filename is requested - can be used to denote stdin/out. OPTIONS ------- -all basename Records information from all options (qscale, block_info, etc.) into files with basenames of basename (For wizards, -all foo -block_info bar will record all options BUT -block_info into files of the form foo.*). -block_info filename Records information about every block into file filename. The format is: frame frame# IPB-type slice slice# q-scale block block# IPB-type Q-scale bits block-type <vectors-if-any> <cbp> <dct decode> -dct Enables the decoded dct values to be output into the block file. -end N Causes mpeg_stat to finish collecting statistics at frame N. -histogram filename Summaries the overall statisitcs for each frame type into the file. -offsets filename Record the offset of every picture, GOP, and slice into file filename. -quiet Roggles the display of the frame-types as they are parsed (and custom quantization matrices) [default: on]. -qscale filename Writes Q factor and custom quantization matrix information into file filename. The Q-factor and number of blocks of that quality (ignoring skipped blocks) for each type of frame is recorded. -rate filename Record the bit rate at every picture (after the first second) into the file filename. Also collect minimum and maximum bit rate encountered in the summary information. (Rate is the number of bits used per second, at every frame). -ratelength N Change the measurement period for rate to N, so it will measure the total rate required over any N frame period (after the first N, of course). -size filename Stores information about the type (I,P,B) and size of each frame in file filename (one frame per line). -start N Causes mpeg_stat to begin collecting statistics at frame N. Preceding frames will be parsed, but few statistics are collected (the system layer counters will sill be running). -syslog filename Describes the parsing of the system layer into the file filename. Note this option is not turned on by -all. -time Prints the amount of time total and per-frame type averages to decode. This will give an estimate of time in a software player, but is not generally useful, so it is off by default. -verify Does more work to check the validity of the sequence. Slows down the statistics, so it is optional. EXAMPLE ------- Decoding the flowergarden sequence (mpegstat -quiet flower.mpg) should produce the following statistics: mpegstat -- MPEG Analyzer for MPEG I video streams (version 2.0) Reading flower.mpg Frame sequence as to be displayed: BBPBBPBBPBBPBBIBBPBBPBBPBBPBBIBBPBBPBBPBBPBBIBBPBBPBBPBBPBBIBBPBBPBBPBBPBBI BBPBBPBBPBBPBBIBBPBBPBBPBBPBBIBBPBBPBBPBBPBBIBBPBBPBBPBBPBBIBBPBBPBBPBBPBB Searching for constant frame type sequence...pattern detected: IBBPBBPBBPBBPBB SUMMARY: Total Bytes read: 0. Total number of frames: 150. Length is 5.01 sec Width: 352 Height: 240 Avg. Frame Size: 4786 bytes + 6 bits (average rate 1147692.76 bits/sec) Total Compression Rate: 1.89 % of uncompressed 24 bit images = 0.45 bits per pixel Number of Macroblocks [width * height = sum]: 22 x 15 = 330 per frame Skipped Macroblocks = 4389 (9.46%), Coded Macroblocks = 41992 (90.54%) Total Time Decoding: 8.611 secs. 0.05721 sec/frame or 17.11 frames/sec. MPEG-Viewer requirements: Pixel aspect ratio of 0.6735 Required display speed: 29.97 frames/sec Specified bit rate is 1.00 MBits/sec (2500 * 400bits/sec) Requested buffer size is 8K ints (16 bits). And the constrained parameter flag is on. The stream meets the constrained parameter requirements. Length of vectors in pixels: Horizontal forward vectors, maximum : 39 average: 6 Vertical forward vectors, maximum : 22 average: 1 Horizontal backward vectors, maximum: 29 average: 5 Vertical backward vectors, maximum : 16 average: 1 Frame specific information: 10 I FRAMES, average is: Size: 17323 bytes + 1 bits (24.13%) Compression Rate: 6.84% Q Factor [scales quantization matrix]: 11.15 Time to Decode: 0.114039 secs. 40 P FRAMES, average is: Size: 8031 bytes + 0 bits (44.74%) Compression Rate: 3.17% Q Factor [scales quantization matrix]: 10.85 Time to Decode: 0.075342 secs. 100 B FRAMES, average is: Size: 2235 bytes + 4 bits (31.13%) Compression Rate: 0.88% Q Factor [scales quantization matrix]: 15.01 50.59% interpolated Macro Blocks Time to Decode: 0.044516 secs. NOTES ----- The analyzer expects MPEG-1 video streams only. It can handle multiplexed MPEG streams (video+audio streams), but mostly analyzes the video portion. Some streams do not end with the proper sequence end code and will probably generate an "Improper sequence end code." error when done. In general mpegstat attempts to catch and alert its user to errors in the stream. Such errors are glossed over in mpeg_play. Be aware that errors can disturb statistics gathering, generating odd results. This player can handle XING data files. Be aware that XING makes no use of temporal redundancy or motion vector information. In other words, they do not use any P or B frames in their streams. Instead, XING data is simply a sequence of I frames. HISTORY ------- The analyzer is based on the UC Berkeley mpeg_play player by Ketan Patel, Brian Smith, Henry Chi-To Ma, and Kim Man Liu. It was modified at the Technical University of Berlin, Germany, Dept. of Computer Science by Tom Pfeifer, Jens Brettin, Harald Masche, Alexander Schulze, and Dirk Schubert. It has been further modified to collect much more information by Steve Smoot (UC Berkeley). BUGS ---- No statistics should be collected before the start frame. Sometimes system layer streams will indicate that they lack proper end codes, when they have them. VBV size conformance is not checked. Verification is not complete.
00000000 0a 6d 70 65 67 73 74 61 74 20 2d 20 61 6e 61 6c |.mpegstat - anal| 00000010 79 7a 65 73 20 4d 50 45 47 2d 31 20 65 6e 63 6f |yzes MPEG-1 enco| 00000020 64 65 64 20 62 69 74 73 74 72 65 61 6d 73 0a 0a |ded bitstreams..| 00000030 53 59 4e 4f 50 53 49 53 0a 2d 2d 2d 2d 2d 2d 2d |SYNOPSIS.-------| 00000040 2d 0a 0a 6d 70 65 67 73 74 61 74 20 5b 20 2d 61 |-..mpegstat [ -a| 00000050 6c 6c 20 62 61 73 65 6e 61 6d 65 20 5d 20 5b 20 |ll basename ] [ | 00000060 2d 62 6c 6f 63 6b 5f 69 6e 66 6f 20 66 69 6c 65 |-block_info file| 00000070 6e 61 6d 65 20 5d 20 5b 20 2d 64 63 74 20 5d 20 |name ] [ -dct ] | 00000080 5b 20 2d 65 6e 64 20 4e 20 5d 0a 20 20 20 20 20 |[ -end N ]. | 00000090 20 20 20 20 5b 20 2d 68 69 73 74 6f 67 72 61 6d | [ -histogram| 000000a0 20 66 69 6c 65 6e 61 6d 65 20 5d 20 5b 20 2d 6f | filename ] [ -o| 000000b0 66 66 73 65 74 73 20 66 69 6c 65 6e 61 6d 65 20 |ffsets filename | 000000c0 5d 20 5b 20 2d 71 73 63 61 6c 65 20 66 69 6c 65 |] [ -qscale file| 000000d0 6e 61 6d 65 20 5d 0a 20 20 20 20 20 20 20 20 20 |name ]. | 000000e0 5b 20 2d 71 75 69 65 74 20 5d 20 5b 20 2d 72 61 |[ -quiet ] [ -ra| 000000f0 74 65 20 66 69 6c 65 6e 61 6d 65 20 5d 20 5b 20 |te filename ] [ | 00000100 2d 72 61 74 65 6c 65 6e 67 74 68 20 4e 20 5d 20 |-ratelength N ] | 00000110 5b 20 2d 74 69 6d 65 20 5d 0a 20 20 20 20 20 20 |[ -time ]. | 00000120 20 20 20 5b 20 2d 73 69 7a 65 20 66 69 6c 65 6e | [ -size filen| 00000130 61 6d 65 20 5d 20 5b 20 2d 73 74 61 72 74 20 4e |ame ] [ -start N| 00000140 20 5d 20 5b 20 2d 73 79 73 6c 6f 67 20 66 69 6c | ] [ -syslog fil| 00000150 65 6e 61 6d 65 20 5d 20 5b 2d 76 65 72 69 66 79 |ename ] [-verify| 00000160 20 5d 0a 20 20 20 20 20 20 20 20 20 5b 20 66 69 | ]. [ fi| 00000170 6c 65 5f 6e 61 6d 65 20 5d 0a 0a 44 45 53 43 52 |le_name ]..DESCR| 00000180 49 50 54 49 4f 4e 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d |IPTION.---------| 00000190 2d 2d 0a 0a 6d 70 65 67 73 74 61 74 20 64 65 63 |--..mpegstat dec| 000001a0 6f 64 65 73 20 6d 70 65 67 2d 31 20 65 6e 63 6f |odes mpeg-1 enco| 000001b0 64 65 64 20 62 69 74 73 74 72 65 61 6d 73 20 63 |ded bitstreams c| 000001c0 6f 6c 6c 65 63 74 69 6e 67 20 76 61 72 79 69 6e |ollecting varyin| 000001d0 67 20 61 6d 6f 75 6e 74 73 20 6f 66 0a 73 74 61 |g amounts of.sta| 000001e0 74 69 73 74 69 63 73 2e 20 45 72 72 6f 72 73 20 |tistics. Errors | 000001f0 61 72 65 20 73 65 6e 74 20 74 6f 20 73 74 64 65 |are sent to stde| 00000200 72 72 2c 20 62 61 73 69 63 20 73 74 61 74 69 73 |rr, basic statis| 00000210 74 69 63 73 20 74 6f 20 73 74 64 6f 75 74 2e 0a |tics to stdout..| 00000220 0a 54 68 65 20 62 61 73 69 63 20 69 6e 66 6f 72 |.The basic infor| 00000230 6d 61 74 69 6f 6e 20 69 73 20 74 68 65 20 70 61 |mation is the pa| 00000240 74 74 65 72 6e 20 6f 66 20 66 72 61 6d 65 73 20 |ttern of frames | 00000250 75 73 65 64 2c 20 6e 75 6d 62 65 72 20 6f 66 20 |used, number of | 00000260 62 79 74 65 73 20 66 6f 72 0a 65 61 63 68 20 66 |bytes for.each f| 00000270 72 61 6d 65 20 74 79 70 65 2c 20 74 68 65 20 73 |rame type, the s| 00000280 70 65 63 69 66 69 65 64 20 70 61 72 61 6d 65 74 |pecified paramet| 00000290 65 72 73 2c 20 61 6e 64 20 6c 65 6e 67 74 68 73 |ers, and lengths| 000002a0 20 6f 66 20 76 65 63 74 6f 72 73 2e 20 46 6f 72 | of vectors. For| 000002b0 20 65 61 63 68 0a 66 72 61 6d 65 20 74 79 70 65 | each.frame type| 000002c0 2c 20 74 68 65 20 61 76 65 72 61 67 65 20 73 69 |, the average si| 000002d0 7a 65 2c 20 63 6f 6d 70 72 65 73 73 69 6f 6e 20 |ze, compression | 000002e0 72 61 74 65 2c 20 51 2d 66 61 63 74 6f 72 2c 20 |rate, Q-factor, | 000002f0 61 6e 64 20 74 69 6d 65 20 74 6f 20 64 65 63 6f |and time to deco| 00000300 64 65 0a 61 72 65 20 67 69 76 65 6e 2e 0a 0a 57 |de.are given...W| 00000310 68 65 72 65 76 65 72 20 61 20 66 69 6c 65 6e 61 |herever a filena| 00000320 6d 65 20 69 73 20 72 65 71 75 65 73 74 65 64 20 |me is requested | 00000330 2d 20 63 61 6e 20 62 65 20 75 73 65 64 20 74 6f |- can be used to| 00000340 20 64 65 6e 6f 74 65 20 73 74 64 69 6e 2f 6f 75 | denote stdin/ou| 00000350 74 2e 0a 0a 4f 50 54 49 4f 4e 53 0a 2d 2d 2d 2d |t...OPTIONS.----| 00000360 2d 2d 2d 0a 0a 2d 61 6c 6c 20 62 61 73 65 6e 61 |---..-all basena| 00000370 6d 65 0a 0a 52 65 63 6f 72 64 73 20 69 6e 66 6f |me..Records info| 00000380 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 61 6c 6c |rmation from all| 00000390 20 6f 70 74 69 6f 6e 73 20 28 71 73 63 61 6c 65 | options (qscale| 000003a0 2c 20 62 6c 6f 63 6b 5f 69 6e 66 6f 2c 20 65 74 |, block_info, et| 000003b0 63 2e 29 20 69 6e 74 6f 0a 66 69 6c 65 73 20 77 |c.) into.files w| 000003c0 69 74 68 20 62 61 73 65 6e 61 6d 65 73 20 6f 66 |ith basenames of| 000003d0 20 62 61 73 65 6e 61 6d 65 20 28 46 6f 72 20 77 | basename (For w| 000003e0 69 7a 61 72 64 73 2c 20 2d 61 6c 6c 20 66 6f 6f |izards, -all foo| 000003f0 20 2d 62 6c 6f 63 6b 5f 69 6e 66 6f 20 62 61 72 | -block_info bar| 00000400 0a 77 69 6c 6c 20 72 65 63 6f 72 64 20 61 6c 6c |.will record all| 00000410 20 6f 70 74 69 6f 6e 73 20 42 55 54 20 2d 62 6c | options BUT -bl| 00000420 6f 63 6b 5f 69 6e 66 6f 20 69 6e 74 6f 20 66 69 |ock_info into fi| 00000430 6c 65 73 20 6f 66 20 74 68 65 20 66 6f 72 6d 20 |les of the form | 00000440 66 6f 6f 2e 2a 29 2e 0a 0a 2d 62 6c 6f 63 6b 5f |foo.*)...-block_| 00000450 69 6e 66 6f 20 66 69 6c 65 6e 61 6d 65 0a 0a 52 |info filename..R| 00000460 65 63 6f 72 64 73 20 69 6e 66 6f 72 6d 61 74 69 |ecords informati| 00000470 6f 6e 20 61 62 6f 75 74 20 65 76 65 72 79 20 62 |on about every b| 00000480 6c 6f 63 6b 20 69 6e 74 6f 20 66 69 6c 65 20 66 |lock into file f| 00000490 69 6c 65 6e 61 6d 65 2e 20 54 68 65 20 66 6f 72 |ilename. The for| 000004a0 6d 61 74 20 69 73 3a 0a 0a 66 72 61 6d 65 20 66 |mat is:..frame f| 000004b0 72 61 6d 65 23 20 49 50 42 2d 74 79 70 65 0a 0a |rame# IPB-type..| 000004c0 73 6c 69 63 65 20 73 6c 69 63 65 23 20 71 2d 73 |slice slice# q-s| 000004d0 63 61 6c 65 0a 0a 62 6c 6f 63 6b 20 62 6c 6f 63 |cale..block bloc| 000004e0 6b 23 20 49 50 42 2d 74 79 70 65 20 51 2d 73 63 |k# IPB-type Q-sc| 000004f0 61 6c 65 20 62 69 74 73 20 62 6c 6f 63 6b 2d 74 |ale bits block-t| 00000500 79 70 65 20 3c 76 65 63 74 6f 72 73 2d 69 66 2d |ype <vectors-if-| 00000510 61 6e 79 3e 20 3c 63 62 70 3e 0a 20 20 20 20 20 |any> <cbp>. | 00000520 20 20 20 20 20 20 20 20 3c 64 63 74 20 64 65 63 | <dct dec| 00000530 6f 64 65 3e 0a 0a 2d 64 63 74 0a 0a 45 6e 61 62 |ode>..-dct..Enab| 00000540 6c 65 73 20 74 68 65 20 64 65 63 6f 64 65 64 20 |les the decoded | 00000550 64 63 74 20 76 61 6c 75 65 73 20 74 6f 20 62 65 |dct values to be| 00000560 20 6f 75 74 70 75 74 20 69 6e 74 6f 20 74 68 65 | output into the| 00000570 20 62 6c 6f 63 6b 20 66 69 6c 65 2e 0a 0a 2d 65 | block file...-e| 00000580 6e 64 20 4e 0a 0a 43 61 75 73 65 73 20 6d 70 65 |nd N..Causes mpe| 00000590 67 5f 73 74 61 74 20 74 6f 20 66 69 6e 69 73 68 |g_stat to finish| 000005a0 20 63 6f 6c 6c 65 63 74 69 6e 67 20 73 74 61 74 | collecting stat| 000005b0 69 73 74 69 63 73 20 61 74 20 66 72 61 6d 65 20 |istics at frame | 000005c0 4e 2e 0a 0a 2d 68 69 73 74 6f 67 72 61 6d 20 66 |N...-histogram f| 000005d0 69 6c 65 6e 61 6d 65 0a 0a 53 75 6d 6d 61 72 69 |ilename..Summari| 000005e0 65 73 20 74 68 65 20 6f 76 65 72 61 6c 6c 20 73 |es the overall s| 000005f0 74 61 74 69 73 69 74 63 73 20 66 6f 72 20 65 61 |tatisitcs for ea| 00000600 63 68 20 66 72 61 6d 65 20 74 79 70 65 20 69 6e |ch frame type in| 00000610 74 6f 20 74 68 65 20 66 69 6c 65 2e 0a 0a 2d 6f |to the file...-o| 00000620 66 66 73 65 74 73 20 66 69 6c 65 6e 61 6d 65 0a |ffsets filename.| 00000630 0a 52 65 63 6f 72 64 20 74 68 65 20 6f 66 66 73 |.Record the offs| 00000640 65 74 20 6f 66 20 65 76 65 72 79 20 70 69 63 74 |et of every pict| 00000650 75 72 65 2c 20 47 4f 50 2c 20 61 6e 64 20 73 6c |ure, GOP, and sl| 00000660 69 63 65 20 69 6e 74 6f 20 66 69 6c 65 20 66 69 |ice into file fi| 00000670 6c 65 6e 61 6d 65 2e 0a 0a 2d 71 75 69 65 74 0a |lename...-quiet.| 00000680 0a 52 6f 67 67 6c 65 73 20 74 68 65 20 64 69 73 |.Roggles the dis| 00000690 70 6c 61 79 20 6f 66 20 74 68 65 20 66 72 61 6d |play of the fram| 000006a0 65 2d 74 79 70 65 73 20 61 73 20 74 68 65 79 20 |e-types as they | 000006b0 61 72 65 20 70 61 72 73 65 64 20 28 61 6e 64 20 |are parsed (and | 000006c0 63 75 73 74 6f 6d 0a 71 75 61 6e 74 69 7a 61 74 |custom.quantizat| 000006d0 69 6f 6e 20 6d 61 74 72 69 63 65 73 29 20 5b 64 |ion matrices) [d| 000006e0 65 66 61 75 6c 74 3a 20 6f 6e 5d 2e 0a 0a 2d 71 |efault: on]...-q| 000006f0 73 63 61 6c 65 20 66 69 6c 65 6e 61 6d 65 0a 0a |scale filename..| 00000700 57 72 69 74 65 73 20 51 20 66 61 63 74 6f 72 20 |Writes Q factor | 00000710 61 6e 64 20 63 75 73 74 6f 6d 20 71 75 61 6e 74 |and custom quant| 00000720 69 7a 61 74 69 6f 6e 20 6d 61 74 72 69 78 20 69 |ization matrix i| 00000730 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 6e 74 6f 20 |nformation into | 00000740 66 69 6c 65 0a 66 69 6c 65 6e 61 6d 65 2e 20 54 |file.filename. T| 00000750 68 65 20 51 2d 66 61 63 74 6f 72 20 61 6e 64 20 |he Q-factor and | 00000760 6e 75 6d 62 65 72 20 6f 66 20 62 6c 6f 63 6b 73 |number of blocks| 00000770 20 6f 66 20 74 68 61 74 20 71 75 61 6c 69 74 79 | of that quality| 00000780 20 28 69 67 6e 6f 72 69 6e 67 0a 73 6b 69 70 70 | (ignoring.skipp| 00000790 65 64 20 62 6c 6f 63 6b 73 29 20 66 6f 72 20 65 |ed blocks) for e| 000007a0 61 63 68 20 74 79 70 65 20 6f 66 20 66 72 61 6d |ach type of fram| 000007b0 65 20 69 73 20 72 65 63 6f 72 64 65 64 2e 0a 0a |e is recorded...| 000007c0 2d 72 61 74 65 20 66 69 6c 65 6e 61 6d 65 0a 0a |-rate filename..| 000007d0 52 65 63 6f 72 64 20 74 68 65 20 62 69 74 20 72 |Record the bit r| 000007e0 61 74 65 20 61 74 20 65 76 65 72 79 20 70 69 63 |ate at every pic| 000007f0 74 75 72 65 20 28 61 66 74 65 72 20 74 68 65 20 |ture (after the | 00000800 66 69 72 73 74 20 73 65 63 6f 6e 64 29 20 69 6e |first second) in| 00000810 74 6f 20 74 68 65 0a 66 69 6c 65 20 66 69 6c 65 |to the.file file| 00000820 6e 61 6d 65 2e 20 41 6c 73 6f 20 63 6f 6c 6c 65 |name. Also colle| 00000830 63 74 20 6d 69 6e 69 6d 75 6d 20 61 6e 64 20 6d |ct minimum and m| 00000840 61 78 69 6d 75 6d 20 62 69 74 20 72 61 74 65 20 |aximum bit rate | 00000850 65 6e 63 6f 75 6e 74 65 72 65 64 20 69 6e 0a 74 |encountered in.t| 00000860 68 65 20 73 75 6d 6d 61 72 79 20 69 6e 66 6f 72 |he summary infor| 00000870 6d 61 74 69 6f 6e 2e 20 28 52 61 74 65 20 69 73 |mation. (Rate is| 00000880 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 | the number of b| 00000890 69 74 73 20 75 73 65 64 20 70 65 72 20 73 65 63 |its used per sec| 000008a0 6f 6e 64 2c 20 61 74 0a 65 76 65 72 79 20 66 72 |ond, at.every fr| 000008b0 61 6d 65 29 2e 0a 0a 2d 72 61 74 65 6c 65 6e 67 |ame)...-rateleng| 000008c0 74 68 20 4e 0a 0a 43 68 61 6e 67 65 20 74 68 65 |th N..Change the| 000008d0 20 6d 65 61 73 75 72 65 6d 65 6e 74 20 70 65 72 | measurement per| 000008e0 69 6f 64 20 66 6f 72 20 72 61 74 65 20 74 6f 20 |iod for rate to | 000008f0 4e 2c 20 73 6f 20 69 74 20 77 69 6c 6c 20 6d 65 |N, so it will me| 00000900 61 73 75 72 65 20 74 68 65 20 74 6f 74 61 6c 0a |asure the total.| 00000910 72 61 74 65 20 72 65 71 75 69 72 65 64 20 6f 76 |rate required ov| 00000920 65 72 20 61 6e 79 20 4e 20 66 72 61 6d 65 20 70 |er any N frame p| 00000930 65 72 69 6f 64 20 28 61 66 74 65 72 20 74 68 65 |eriod (after the| 00000940 20 66 69 72 73 74 20 4e 2c 20 6f 66 20 63 6f 75 | first N, of cou| 00000950 72 73 65 29 2e 0a 0a 2d 73 69 7a 65 20 66 69 6c |rse)...-size fil| 00000960 65 6e 61 6d 65 0a 0a 53 74 6f 72 65 73 20 69 6e |ename..Stores in| 00000970 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 75 74 20 |formation about | 00000980 74 68 65 20 74 79 70 65 20 28 49 2c 50 2c 42 29 |the type (I,P,B)| 00000990 20 61 6e 64 20 73 69 7a 65 20 6f 66 20 65 61 63 | and size of eac| 000009a0 68 20 66 72 61 6d 65 20 69 6e 20 66 69 6c 65 0a |h frame in file.| 000009b0 66 69 6c 65 6e 61 6d 65 20 28 6f 6e 65 20 66 72 |filename (one fr| 000009c0 61 6d 65 20 70 65 72 20 6c 69 6e 65 29 2e 0a 0a |ame per line)...| 000009d0 2d 73 74 61 72 74 20 4e 0a 0a 43 61 75 73 65 73 |-start N..Causes| 000009e0 20 6d 70 65 67 5f 73 74 61 74 20 74 6f 20 62 65 | mpeg_stat to be| 000009f0 67 69 6e 20 63 6f 6c 6c 65 63 74 69 6e 67 20 73 |gin collecting s| 00000a00 74 61 74 69 73 74 69 63 73 20 61 74 20 66 72 61 |tatistics at fra| 00000a10 6d 65 20 4e 2e 20 50 72 65 63 65 64 69 6e 67 0a |me N. Preceding.| 00000a20 66 72 61 6d 65 73 20 77 69 6c 6c 20 62 65 20 70 |frames will be p| 00000a30 61 72 73 65 64 2c 20 62 75 74 20 66 65 77 20 73 |arsed, but few s| 00000a40 74 61 74 69 73 74 69 63 73 20 61 72 65 20 63 6f |tatistics are co| 00000a50 6c 6c 65 63 74 65 64 20 28 74 68 65 20 73 79 73 |llected (the sys| 00000a60 74 65 6d 20 6c 61 79 65 72 0a 63 6f 75 6e 74 65 |tem layer.counte| 00000a70 72 73 20 77 69 6c 6c 20 73 69 6c 6c 20 62 65 20 |rs will sill be | 00000a80 72 75 6e 6e 69 6e 67 29 2e 0a 0a 2d 73 79 73 6c |running)...-sysl| 00000a90 6f 67 20 66 69 6c 65 6e 61 6d 65 0a 0a 44 65 73 |og filename..Des| 00000aa0 63 72 69 62 65 73 20 74 68 65 20 70 61 72 73 69 |cribes the parsi| 00000ab0 6e 67 20 6f 66 20 74 68 65 20 73 79 73 74 65 6d |ng of the system| 00000ac0 20 6c 61 79 65 72 20 69 6e 74 6f 20 74 68 65 20 | layer into the | 00000ad0 66 69 6c 65 20 66 69 6c 65 6e 61 6d 65 2e 20 4e |file filename. N| 00000ae0 6f 74 65 0a 74 68 69 73 20 6f 70 74 69 6f 6e 20 |ote.this option | 00000af0 69 73 20 6e 6f 74 20 74 75 72 6e 65 64 20 6f 6e |is not turned on| 00000b00 20 62 79 20 2d 61 6c 6c 2e 0a 0a 2d 74 69 6d 65 | by -all...-time| 00000b10 20 0a 0a 50 72 69 6e 74 73 20 74 68 65 20 61 6d | ..Prints the am| 00000b20 6f 75 6e 74 20 6f 66 20 74 69 6d 65 20 74 6f 74 |ount of time tot| 00000b30 61 6c 20 61 6e 64 20 70 65 72 2d 66 72 61 6d 65 |al and per-frame| 00000b40 20 74 79 70 65 20 61 76 65 72 61 67 65 73 20 74 | type averages t| 00000b50 6f 20 64 65 63 6f 64 65 2e 20 54 68 69 73 0a 77 |o decode. This.w| 00000b60 69 6c 6c 20 67 69 76 65 20 61 6e 20 65 73 74 69 |ill give an esti| 00000b70 6d 61 74 65 20 6f 66 20 74 69 6d 65 20 69 6e 20 |mate of time in | 00000b80 61 20 73 6f 66 74 77 61 72 65 20 70 6c 61 79 65 |a software playe| 00000b90 72 2c 20 62 75 74 20 69 73 20 6e 6f 74 20 67 65 |r, but is not ge| 00000ba0 6e 65 72 61 6c 6c 79 0a 75 73 65 66 75 6c 2c 20 |nerally.useful, | 00000bb0 73 6f 20 69 74 20 69 73 20 6f 66 66 20 62 79 20 |so it is off by | 00000bc0 64 65 66 61 75 6c 74 2e 0a 0a 2d 76 65 72 69 66 |default...-verif| 00000bd0 79 0a 0a 44 6f 65 73 20 6d 6f 72 65 20 77 6f 72 |y..Does more wor| 00000be0 6b 20 74 6f 20 63 68 65 63 6b 20 74 68 65 20 76 |k to check the v| 00000bf0 61 6c 69 64 69 74 79 20 6f 66 20 74 68 65 20 73 |alidity of the s| 00000c00 65 71 75 65 6e 63 65 2e 20 53 6c 6f 77 73 20 64 |equence. Slows d| 00000c10 6f 77 6e 20 74 68 65 0a 73 74 61 74 69 73 74 69 |own the.statisti| 00000c20 63 73 2c 20 73 6f 20 69 74 20 69 73 20 6f 70 74 |cs, so it is opt| 00000c30 69 6f 6e 61 6c 2e 0a 0a 45 58 41 4d 50 4c 45 0a |ional...EXAMPLE.| 00000c40 2d 2d 2d 2d 2d 2d 2d 0a 0a 44 65 63 6f 64 69 6e |-------..Decodin| 00000c50 67 20 74 68 65 20 66 6c 6f 77 65 72 67 61 72 64 |g the flowergard| 00000c60 65 6e 20 73 65 71 75 65 6e 63 65 20 28 6d 70 65 |en sequence (mpe| 00000c70 67 73 74 61 74 20 2d 71 75 69 65 74 20 66 6c 6f |gstat -quiet flo| 00000c80 77 65 72 2e 6d 70 67 29 20 73 68 6f 75 6c 64 0a |wer.mpg) should.| 00000c90 70 72 6f 64 75 63 65 20 74 68 65 20 66 6f 6c 6c |produce the foll| 00000ca0 6f 77 69 6e 67 20 73 74 61 74 69 73 74 69 63 73 |owing statistics| 00000cb0 3a 20 0a 0a 6d 70 65 67 73 74 61 74 20 2d 2d 20 |: ..mpegstat -- | 00000cc0 4d 50 45 47 20 41 6e 61 6c 79 7a 65 72 20 66 6f |MPEG Analyzer fo| 00000cd0 72 20 4d 50 45 47 20 49 20 76 69 64 65 6f 20 73 |r MPEG I video s| 00000ce0 74 72 65 61 6d 73 20 28 76 65 72 73 69 6f 6e 20 |treams (version | 00000cf0 32 2e 30 29 0a 0a 52 65 61 64 69 6e 67 20 66 6c |2.0)..Reading fl| 00000d00 6f 77 65 72 2e 6d 70 67 0a 0a 46 72 61 6d 65 20 |ower.mpg..Frame | 00000d10 73 65 71 75 65 6e 63 65 20 61 73 20 74 6f 20 62 |sequence as to b| 00000d20 65 20 64 69 73 70 6c 61 79 65 64 3a 0a 0a 42 42 |e displayed:..BB| 00000d30 50 42 42 50 42 42 50 42 42 50 42 42 49 42 42 50 |PBBPBBPBBPBBIBBP| 00000d40 42 42 50 42 42 50 42 42 50 42 42 49 42 42 50 42 |BBPBBPBBPBBIBBPB| 00000d50 42 50 42 42 50 42 42 50 42 42 49 42 42 50 42 42 |BPBBPBBPBBIBBPBB| 00000d60 50 42 42 50 42 42 50 42 42 49 42 42 50 42 42 50 |PBBPBBPBBIBBPBBP| 00000d70 42 42 50 42 42 50 42 42 49 0a 42 42 50 42 42 50 |BBPBBPBBI.BBPBBP| 00000d80 42 42 50 42 42 50 42 42 49 42 42 50 42 42 50 42 |BBPBBPBBIBBPBBPB| 00000d90 42 50 42 42 50 42 42 49 42 42 50 42 42 50 42 42 |BPBBPBBIBBPBBPBB| 00000da0 50 42 42 50 42 42 49 42 42 50 42 42 50 42 42 50 |PBBPBBIBBPBBPBBP| 00000db0 42 42 50 42 42 49 42 42 50 42 42 50 42 42 50 42 |BBPBBIBBPBBPBBPB| 00000dc0 42 50 42 42 0a 0a 53 65 61 72 63 68 69 6e 67 20 |BPBB..Searching | 00000dd0 66 6f 72 20 63 6f 6e 73 74 61 6e 74 20 66 72 61 |for constant fra| 00000de0 6d 65 20 74 79 70 65 20 73 65 71 75 65 6e 63 65 |me type sequence| 00000df0 2e 2e 2e 70 61 74 74 65 72 6e 20 64 65 74 65 63 |...pattern detec| 00000e00 74 65 64 3a 0a 0a 49 42 42 50 42 42 50 42 42 50 |ted:..IBBPBBPBBP| 00000e10 42 42 50 42 42 0a 0a 53 55 4d 4d 41 52 59 3a 0a |BBPBB..SUMMARY:.| 00000e20 0a 54 6f 74 61 6c 20 42 79 74 65 73 20 72 65 61 |.Total Bytes rea| 00000e30 64 3a 20 30 2e 20 54 6f 74 61 6c 20 6e 75 6d 62 |d: 0. Total numb| 00000e40 65 72 20 6f 66 20 66 72 61 6d 65 73 3a 20 31 35 |er of frames: 15| 00000e50 30 2e 20 4c 65 6e 67 74 68 20 69 73 20 35 2e 30 |0. Length is 5.0| 00000e60 31 20 73 65 63 0a 0a 57 69 64 74 68 3a 20 33 35 |1 sec..Width: 35| 00000e70 32 20 20 48 65 69 67 68 74 3a 20 32 34 30 0a 41 |2 Height: 240.A| 00000e80 76 67 2e 20 46 72 61 6d 65 20 53 69 7a 65 3a 20 |vg. Frame Size: | 00000e90 34 37 38 36 20 62 79 74 65 73 20 2b 20 36 20 62 |4786 bytes + 6 b| 00000ea0 69 74 73 20 20 28 61 76 65 72 61 67 65 20 72 61 |its (average ra| 00000eb0 74 65 20 31 31 34 37 36 39 32 2e 37 36 20 62 69 |te 1147692.76 bi| 00000ec0 74 73 2f 73 65 63 29 0a 0a 54 6f 74 61 6c 20 43 |ts/sec)..Total C| 00000ed0 6f 6d 70 72 65 73 73 69 6f 6e 20 52 61 74 65 3a |ompression Rate:| 00000ee0 20 31 2e 38 39 20 25 20 6f 66 20 75 6e 63 6f 6d | 1.89 % of uncom| 00000ef0 70 72 65 73 73 65 64 20 32 34 20 62 69 74 20 69 |pressed 24 bit i| 00000f00 6d 61 67 65 73 0a 20 20 20 20 20 20 20 20 20 20 |mages. | 00000f10 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 | = | 00000f20 20 30 2e 34 35 20 62 69 74 73 20 70 65 72 20 70 | 0.45 bits per p| 00000f30 69 78 65 6c 0a 0a 4e 75 6d 62 65 72 20 6f 66 20 |ixel..Number of | 00000f40 4d 61 63 72 6f 62 6c 6f 63 6b 73 20 5b 77 69 64 |Macroblocks [wid| 00000f50 74 68 20 2a 20 68 65 69 67 68 74 20 3d 20 73 75 |th * height = su| 00000f60 6d 5d 3a 20 32 32 20 78 20 31 35 20 3d 20 33 33 |m]: 22 x 15 = 33| 00000f70 30 20 70 65 72 20 66 72 61 6d 65 0a 53 6b 69 70 |0 per frame.Skip| 00000f80 70 65 64 20 4d 61 63 72 6f 62 6c 6f 63 6b 73 20 |ped Macroblocks | 00000f90 3d 20 34 33 38 39 20 28 39 2e 34 36 25 29 2c 20 |= 4389 (9.46%), | 00000fa0 43 6f 64 65 64 20 4d 61 63 72 6f 62 6c 6f 63 6b |Coded Macroblock| 00000fb0 73 20 3d 20 34 31 39 39 32 20 28 39 30 2e 35 34 |s = 41992 (90.54| 00000fc0 25 29 0a 0a 54 6f 74 61 6c 20 54 69 6d 65 20 44 |%)..Total Time D| 00000fd0 65 63 6f 64 69 6e 67 3a 20 38 2e 36 31 31 20 73 |ecoding: 8.611 s| 00000fe0 65 63 73 2e 20 30 2e 30 35 37 32 31 20 73 65 63 |ecs. 0.05721 sec| 00000ff0 2f 66 72 61 6d 65 20 6f 72 20 31 37 2e 31 31 20 |/frame or 17.11 | 00001000 66 72 61 6d 65 73 2f 73 65 63 2e 0a 0a 4d 50 45 |frames/sec...MPE| 00001010 47 2d 56 69 65 77 65 72 20 72 65 71 75 69 72 65 |G-Viewer require| 00001020 6d 65 6e 74 73 3a 0a 20 20 20 20 20 20 20 20 50 |ments:. P| 00001030 69 78 65 6c 20 61 73 70 65 63 74 20 72 61 74 69 |ixel aspect rati| 00001040 6f 20 6f 66 20 30 2e 36 37 33 35 0a 20 20 20 20 |o of 0.6735. | 00001050 20 20 20 20 52 65 71 75 69 72 65 64 20 64 69 73 | Required dis| 00001060 70 6c 61 79 20 73 70 65 65 64 3a 20 32 39 2e 39 |play speed: 29.9| 00001070 37 20 66 72 61 6d 65 73 2f 73 65 63 0a 20 20 20 |7 frames/sec. | 00001080 20 20 20 20 20 53 70 65 63 69 66 69 65 64 20 62 | Specified b| 00001090 69 74 20 72 61 74 65 20 69 73 20 31 2e 30 30 20 |it rate is 1.00 | 000010a0 4d 42 69 74 73 2f 73 65 63 20 28 32 35 30 30 20 |MBits/sec (2500 | 000010b0 2a 20 34 30 30 62 69 74 73 2f 73 65 63 29 0a 20 |* 400bits/sec). | 000010c0 20 20 20 20 20 20 20 52 65 71 75 65 73 74 65 64 | Requested| 000010d0 20 62 75 66 66 65 72 20 73 69 7a 65 20 69 73 20 | buffer size is | 000010e0 38 4b 20 69 6e 74 73 20 28 31 36 20 62 69 74 73 |8K ints (16 bits| 000010f0 29 2e 0a 20 20 20 20 20 20 20 20 41 6e 64 20 74 |).. And t| 00001100 68 65 20 63 6f 6e 73 74 72 61 69 6e 65 64 20 70 |he constrained p| 00001110 61 72 61 6d 65 74 65 72 20 66 6c 61 67 20 69 73 |arameter flag is| 00001120 20 6f 6e 2e 0a 54 68 65 20 73 74 72 65 61 6d 20 | on..The stream | 00001130 6d 65 65 74 73 20 74 68 65 20 63 6f 6e 73 74 72 |meets the constr| 00001140 61 69 6e 65 64 20 70 61 72 61 6d 65 74 65 72 20 |ained parameter | 00001150 72 65 71 75 69 72 65 6d 65 6e 74 73 2e 0a 0a 4c |requirements...L| 00001160 65 6e 67 74 68 20 6f 66 20 76 65 63 74 6f 72 73 |ength of vectors| 00001170 20 69 6e 20 70 69 78 65 6c 73 3a 0a 20 20 20 20 | in pixels:. | 00001180 20 20 20 20 48 6f 72 69 7a 6f 6e 74 61 6c 20 66 | Horizontal f| 00001190 6f 72 77 61 72 64 20 76 65 63 74 6f 72 73 2c 20 |orward vectors, | 000011a0 6d 61 78 69 6d 75 6d 20 3a 20 20 33 39 20 20 20 |maximum : 39 | 000011b0 20 20 20 20 61 76 65 72 61 67 65 3a 20 20 20 36 | average: 6| 000011c0 0a 20 20 20 20 20 20 20 20 56 65 72 74 69 63 61 |. Vertica| 000011d0 6c 20 66 6f 72 77 61 72 64 20 76 65 63 74 6f 72 |l forward vector| 000011e0 73 2c 20 6d 61 78 69 6d 75 6d 20 20 20 3a 20 20 |s, maximum : | 000011f0 32 32 20 20 20 20 20 20 20 61 76 65 72 61 67 65 |22 average| 00001200 3a 20 20 20 31 0a 0a 20 20 20 20 20 20 20 20 48 |: 1.. H| 00001210 6f 72 69 7a 6f 6e 74 61 6c 20 62 61 63 6b 77 61 |orizontal backwa| 00001220 72 64 20 76 65 63 74 6f 72 73 2c 20 6d 61 78 69 |rd vectors, maxi| 00001230 6d 75 6d 3a 20 20 32 39 20 20 20 20 20 20 20 61 |mum: 29 a| 00001240 76 65 72 61 67 65 3a 20 20 20 35 0a 20 20 20 20 |verage: 5. | 00001250 20 20 20 20 56 65 72 74 69 63 61 6c 20 62 61 63 | Vertical bac| 00001260 6b 77 61 72 64 20 76 65 63 74 6f 72 73 2c 20 6d |kward vectors, m| 00001270 61 78 69 6d 75 6d 20 20 3a 20 20 31 36 20 20 20 |aximum : 16 | 00001280 20 20 20 20 61 76 65 72 61 67 65 3a 20 20 20 31 | average: 1| 00001290 0a 0a 46 72 61 6d 65 20 73 70 65 63 69 66 69 63 |..Frame specific| 000012a0 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 3a 0a 0a 20 | information:.. | 000012b0 20 20 20 31 30 20 20 49 20 46 52 41 4d 45 53 2c | 10 I FRAMES,| 000012c0 20 61 76 65 72 61 67 65 20 69 73 3a 0a 20 20 20 | average is:. | 000012d0 20 20 20 20 20 53 69 7a 65 3a 20 31 37 33 32 33 | Size: 17323| 000012e0 20 62 79 74 65 73 20 2b 20 31 20 62 69 74 73 20 | bytes + 1 bits | 000012f0 28 32 34 2e 31 33 25 29 0a 20 20 20 20 20 20 20 |(24.13%). | 00001300 20 43 6f 6d 70 72 65 73 73 69 6f 6e 20 52 61 74 | Compression Rat| 00001310 65 3a 20 20 36 2e 38 34 25 0a 20 20 20 20 20 20 |e: 6.84%. | 00001320 20 20 51 20 46 61 63 74 6f 72 20 5b 73 63 61 6c | Q Factor [scal| 00001330 65 73 20 71 75 61 6e 74 69 7a 61 74 69 6f 6e 20 |es quantization | 00001340 6d 61 74 72 69 78 5d 3a 20 31 31 2e 31 35 0a 20 |matrix]: 11.15. | 00001350 20 20 20 20 20 20 20 54 69 6d 65 20 74 6f 20 44 | Time to D| 00001360 65 63 6f 64 65 3a 20 30 2e 31 31 34 30 33 39 20 |ecode: 0.114039 | 00001370 73 65 63 73 2e 0a 0a 20 20 20 20 34 30 20 20 50 |secs... 40 P| 00001380 20 46 52 41 4d 45 53 2c 20 61 76 65 72 61 67 65 | FRAMES, average| 00001390 20 69 73 3a 0a 20 20 20 20 20 20 20 20 53 69 7a | is:. Siz| 000013a0 65 3a 20 38 30 33 31 20 62 79 74 65 73 20 2b 20 |e: 8031 bytes + | 000013b0 30 20 62 69 74 73 20 28 34 34 2e 37 34 25 29 0a |0 bits (44.74%).| 000013c0 20 20 20 20 20 20 20 20 43 6f 6d 70 72 65 73 73 | Compress| 000013d0 69 6f 6e 20 52 61 74 65 3a 20 20 33 2e 31 37 25 |ion Rate: 3.17%| 000013e0 0a 20 20 20 20 20 20 20 20 51 20 46 61 63 74 6f |. Q Facto| 000013f0 72 20 5b 73 63 61 6c 65 73 20 71 75 61 6e 74 69 |r [scales quanti| 00001400 7a 61 74 69 6f 6e 20 6d 61 74 72 69 78 5d 3a 20 |zation matrix]: | 00001410 31 30 2e 38 35 0a 20 20 20 20 20 20 20 20 54 69 |10.85. Ti| 00001420 6d 65 20 74 6f 20 44 65 63 6f 64 65 3a 20 30 2e |me to Decode: 0.| 00001430 30 37 35 33 34 32 20 73 65 63 73 2e 0a 0a 20 20 |075342 secs... | 00001440 20 20 31 30 30 20 42 20 46 52 41 4d 45 53 2c 20 | 100 B FRAMES, | 00001450 61 76 65 72 61 67 65 20 69 73 3a 0a 20 20 20 20 |average is:. | 00001460 20 20 20 20 53 69 7a 65 3a 20 32 32 33 35 20 62 | Size: 2235 b| 00001470 79 74 65 73 20 2b 20 34 20 62 69 74 73 20 28 33 |ytes + 4 bits (3| 00001480 31 2e 31 33 25 29 0a 20 20 20 20 20 20 20 20 43 |1.13%). C| 00001490 6f 6d 70 72 65 73 73 69 6f 6e 20 52 61 74 65 3a |ompression Rate:| 000014a0 20 20 30 2e 38 38 25 0a 20 20 20 20 20 20 20 20 | 0.88%. | 000014b0 51 20 46 61 63 74 6f 72 20 5b 73 63 61 6c 65 73 |Q Factor [scales| 000014c0 20 71 75 61 6e 74 69 7a 61 74 69 6f 6e 20 6d 61 | quantization ma| 000014d0 74 72 69 78 5d 3a 20 31 35 2e 30 31 0a 20 20 20 |trix]: 15.01. | 000014e0 20 20 20 20 20 35 30 2e 35 39 25 20 69 6e 74 65 | 50.59% inte| 000014f0 72 70 6f 6c 61 74 65 64 20 4d 61 63 72 6f 20 42 |rpolated Macro B| 00001500 6c 6f 63 6b 73 0a 20 20 20 20 20 20 20 20 54 69 |locks. Ti| 00001510 6d 65 20 74 6f 20 44 65 63 6f 64 65 3a 20 30 2e |me to Decode: 0.| 00001520 30 34 34 35 31 36 20 73 65 63 73 2e 0a 0a 0a 4e |044516 secs....N| 00001530 4f 54 45 53 0a 2d 2d 2d 2d 2d 0a 0a 54 68 65 20 |OTES.-----..The | 00001540 61 6e 61 6c 79 7a 65 72 20 65 78 70 65 63 74 73 |analyzer expects| 00001550 20 4d 50 45 47 2d 31 20 76 69 64 65 6f 20 73 74 | MPEG-1 video st| 00001560 72 65 61 6d 73 20 6f 6e 6c 79 2e 20 49 74 20 63 |reams only. It c| 00001570 61 6e 20 68 61 6e 64 6c 65 20 6d 75 6c 74 69 70 |an handle multip| 00001580 6c 65 78 65 64 0a 4d 50 45 47 20 73 74 72 65 61 |lexed.MPEG strea| 00001590 6d 73 20 28 76 69 64 65 6f 2b 61 75 64 69 6f 20 |ms (video+audio | 000015a0 73 74 72 65 61 6d 73 29 2c 20 62 75 74 20 6d 6f |streams), but mo| 000015b0 73 74 6c 79 20 61 6e 61 6c 79 7a 65 73 20 74 68 |stly analyzes th| 000015c0 65 20 76 69 64 65 6f 20 70 6f 72 74 69 6f 6e 2e |e video portion.| 000015d0 0a 0a 53 6f 6d 65 20 73 74 72 65 61 6d 73 20 64 |..Some streams d| 000015e0 6f 20 6e 6f 74 20 65 6e 64 20 77 69 74 68 20 74 |o not end with t| 000015f0 68 65 20 70 72 6f 70 65 72 20 73 65 71 75 65 6e |he proper sequen| 00001600 63 65 20 65 6e 64 20 63 6f 64 65 20 61 6e 64 20 |ce end code and | 00001610 77 69 6c 6c 20 70 72 6f 62 61 62 6c 79 0a 67 65 |will probably.ge| 00001620 6e 65 72 61 74 65 20 61 6e 20 22 49 6d 70 72 6f |nerate an "Impro| 00001630 70 65 72 20 73 65 71 75 65 6e 63 65 20 65 6e 64 |per sequence end| 00001640 20 63 6f 64 65 2e 22 20 65 72 72 6f 72 20 77 68 | code." error wh| 00001650 65 6e 20 64 6f 6e 65 2e 20 49 6e 20 67 65 6e 65 |en done. In gene| 00001660 72 61 6c 0a 6d 70 65 67 73 74 61 74 20 61 74 74 |ral.mpegstat att| 00001670 65 6d 70 74 73 20 74 6f 20 63 61 74 63 68 20 61 |empts to catch a| 00001680 6e 64 20 61 6c 65 72 74 20 69 74 73 20 75 73 65 |nd alert its use| 00001690 72 20 74 6f 20 65 72 72 6f 72 73 20 69 6e 20 74 |r to errors in t| 000016a0 68 65 20 73 74 72 65 61 6d 2e 20 53 75 63 68 0a |he stream. Such.| 000016b0 65 72 72 6f 72 73 20 61 72 65 20 67 6c 6f 73 73 |errors are gloss| 000016c0 65 64 20 6f 76 65 72 20 69 6e 20 6d 70 65 67 5f |ed over in mpeg_| 000016d0 70 6c 61 79 2e 20 42 65 20 61 77 61 72 65 20 74 |play. Be aware t| 000016e0 68 61 74 20 65 72 72 6f 72 73 20 63 61 6e 20 64 |hat errors can d| 000016f0 69 73 74 75 72 62 0a 73 74 61 74 69 73 74 69 63 |isturb.statistic| 00001700 73 20 67 61 74 68 65 72 69 6e 67 2c 20 67 65 6e |s gathering, gen| 00001710 65 72 61 74 69 6e 67 20 6f 64 64 20 72 65 73 75 |erating odd resu| 00001720 6c 74 73 2e 0a 0a 54 68 69 73 20 70 6c 61 79 65 |lts...This playe| 00001730 72 20 63 61 6e 20 68 61 6e 64 6c 65 20 58 49 4e |r can handle XIN| 00001740 47 20 64 61 74 61 20 66 69 6c 65 73 2e 20 42 65 |G data files. Be| 00001750 20 61 77 61 72 65 20 74 68 61 74 20 58 49 4e 47 | aware that XING| 00001760 20 6d 61 6b 65 73 20 6e 6f 20 75 73 65 20 6f 66 | makes no use of| 00001770 0a 74 65 6d 70 6f 72 61 6c 20 72 65 64 75 6e 64 |.temporal redund| 00001780 61 6e 63 79 20 6f 72 20 6d 6f 74 69 6f 6e 20 76 |ancy or motion v| 00001790 65 63 74 6f 72 20 69 6e 66 6f 72 6d 61 74 69 6f |ector informatio| 000017a0 6e 2e 20 49 6e 20 6f 74 68 65 72 20 77 6f 72 64 |n. In other word| 000017b0 73 2c 20 74 68 65 79 20 64 6f 0a 6e 6f 74 20 75 |s, they do.not u| 000017c0 73 65 20 61 6e 79 20 50 20 6f 72 20 42 20 66 72 |se any P or B fr| 000017d0 61 6d 65 73 20 69 6e 20 74 68 65 69 72 20 73 74 |ames in their st| 000017e0 72 65 61 6d 73 2e 20 49 6e 73 74 65 61 64 2c 20 |reams. Instead, | 000017f0 58 49 4e 47 20 64 61 74 61 20 69 73 20 73 69 6d |XING data is sim| 00001800 70 6c 79 20 61 0a 73 65 71 75 65 6e 63 65 20 6f |ply a.sequence o| 00001810 66 20 49 20 66 72 61 6d 65 73 2e 0a 0a 48 49 53 |f I frames...HIS| 00001820 54 4f 52 59 0a 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 |TORY.-------..Th| 00001830 65 20 61 6e 61 6c 79 7a 65 72 20 69 73 20 62 61 |e analyzer is ba| 00001840 73 65 64 20 6f 6e 20 74 68 65 20 55 43 20 42 65 |sed on the UC Be| 00001850 72 6b 65 6c 65 79 20 6d 70 65 67 5f 70 6c 61 79 |rkeley mpeg_play| 00001860 20 70 6c 61 79 65 72 20 62 79 20 4b 65 74 61 6e | player by Ketan| 00001870 20 50 61 74 65 6c 2c 0a 42 72 69 61 6e 20 53 6d | Patel,.Brian Sm| 00001880 69 74 68 2c 20 48 65 6e 72 79 20 43 68 69 2d 54 |ith, Henry Chi-T| 00001890 6f 20 4d 61 2c 20 61 6e 64 20 4b 69 6d 20 4d 61 |o Ma, and Kim Ma| 000018a0 6e 20 4c 69 75 2e 20 49 74 20 77 61 73 20 6d 6f |n Liu. It was mo| 000018b0 64 69 66 69 65 64 20 61 74 20 74 68 65 0a 54 65 |dified at the.Te| 000018c0 63 68 6e 69 63 61 6c 20 55 6e 69 76 65 72 73 69 |chnical Universi| 000018d0 74 79 20 6f 66 20 42 65 72 6c 69 6e 2c 20 47 65 |ty of Berlin, Ge| 000018e0 72 6d 61 6e 79 2c 20 44 65 70 74 2e 20 6f 66 20 |rmany, Dept. of | 000018f0 43 6f 6d 70 75 74 65 72 20 53 63 69 65 6e 63 65 |Computer Science| 00001900 20 62 79 20 54 6f 6d 0a 50 66 65 69 66 65 72 2c | by Tom.Pfeifer,| 00001910 20 4a 65 6e 73 20 42 72 65 74 74 69 6e 2c 20 48 | Jens Brettin, H| 00001920 61 72 61 6c 64 20 4d 61 73 63 68 65 2c 20 41 6c |arald Masche, Al| 00001930 65 78 61 6e 64 65 72 20 53 63 68 75 6c 7a 65 2c |exander Schulze,| 00001940 20 61 6e 64 20 44 69 72 6b 20 53 63 68 75 62 65 | and Dirk Schube| 00001950 72 74 2e 0a 49 74 20 68 61 73 20 62 65 65 6e 20 |rt..It has been | 00001960 66 75 72 74 68 65 72 20 6d 6f 64 69 66 69 65 64 |further modified| 00001970 20 74 6f 20 63 6f 6c 6c 65 63 74 20 6d 75 63 68 | to collect much| 00001980 20 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f | more informatio| 00001990 6e 20 62 79 20 53 74 65 76 65 20 53 6d 6f 6f 74 |n by Steve Smoot| 000019a0 0a 28 55 43 20 42 65 72 6b 65 6c 65 79 29 2e 0a |.(UC Berkeley)..| 000019b0 0a 42 55 47 53 0a 2d 2d 2d 2d 0a 0a 4e 6f 20 73 |.BUGS.----..No s| 000019c0 74 61 74 69 73 74 69 63 73 20 73 68 6f 75 6c 64 |tatistics should| 000019d0 20 62 65 20 63 6f 6c 6c 65 63 74 65 64 20 62 65 | be collected be| 000019e0 66 6f 72 65 20 74 68 65 20 73 74 61 72 74 20 66 |fore the start f| 000019f0 72 61 6d 65 2e 20 53 6f 6d 65 74 69 6d 65 73 20 |rame. Sometimes | 00001a00 73 79 73 74 65 6d 0a 6c 61 79 65 72 20 73 74 72 |system.layer str| 00001a10 65 61 6d 73 20 77 69 6c 6c 20 69 6e 64 69 63 61 |eams will indica| 00001a20 74 65 20 74 68 61 74 20 74 68 65 79 20 6c 61 63 |te that they lac| 00001a30 6b 20 70 72 6f 70 65 72 20 65 6e 64 20 63 6f 64 |k proper end cod| 00001a40 65 73 2c 20 77 68 65 6e 20 74 68 65 79 20 68 61 |es, when they ha| 00001a50 76 65 0a 74 68 65 6d 2e 20 56 42 56 20 73 69 7a |ve.them. VBV siz| 00001a60 65 20 63 6f 6e 66 6f 72 6d 61 6e 63 65 20 69 73 |e conformance is| 00001a70 20 6e 6f 74 20 63 68 65 63 6b 65 64 2e 20 56 65 | not checked. Ve| 00001a80 72 69 66 69 63 61 74 69 6f 6e 20 69 73 20 6e 6f |rification is no| 00001a90 74 20 63 6f 6d 70 6c 65 74 65 2e 0a |t complete..| 00001a9c