Commit Graph

86 Commits

Author SHA1 Message Date
ods15 5e91c2a9e9 typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17231 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-22 05:48:04 +00:00
al 54aacf3e9a Change MUST to SHOULD have disposition and if applicable language tags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17019 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 16:28:26 +00:00
diego e0229253f0 author list prettyprinting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16844 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-23 16:50:27 +00:00
diego 4343951335 Reformat section titles so that it becomes easier to tell sections and
subsections apart.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16843 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-23 16:49:56 +00:00
diego f9ba1d8575 cosmetic reformatting: tabs --> spaces, prettyprinting, trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16687 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-06 11:08:43 +00:00
diego 4fe19377b1 typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16686 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-06 11:07:12 +00:00
ods15 3ea94f1a21 wrap around 80...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16575 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-24 04:44:22 +00:00
ods15 41d8ea3533 compress back_ptr better by multiplying by 8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16574 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-24 04:43:02 +00:00
ods15 7b1e971498 Some very weird people are apperantely scared of reading GPL code. :/
Michael agreed to licence change on this blurb.. is there anyone else who
wrote it and objects?..


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16544 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-22 07:17:57 +00:00
michael a241f2dbfc remove info frame repeating its problematic and controversical
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16512 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-17 22:32:35 +00:00
michael 7b685381df add back_ptr
add info_frames
require sync_point after headers
require info packets to be between headers and frames (or you could say they are headers now)
add userdata stream type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16507 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-17 19:27:39 +00:00
ods15 e41e46ea1f typo, probably..
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16504 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-17 05:46:20 +00:00
ods15 a93326ef44 Updates to NUT spec:
1. remove average_bitrate
2. add other_stream_header, for subtitles and metadata
3. add max_pts to index
4. index_ptr - a 64 bit integer to say the total length of all index packets
5. specify how to write "multiple" indexes
6. change forward_ptr behavior, starts right after forward_ptr, ends after
   checksum
7. remove stream_id <-> stream_class limitation.
8. time_base_nom must also be non zero.
9. rename time_base_nom and time_base_denom, now timebase means the length
   of a tick, not amounts of ticks
10. remove (old?) sample_rate_mul stuff.
11. specify what exactly the checksum covers.
12. specify that stream classes which have multiple streams must have an
    info packet.. (in new Semantic requirements section)
13. Rename 'timestamp' to pts.
14. Change date of draft...
15. Add myself to authors...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16430 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-09 10:26:21 +00:00
diego e548b29dd0 spelling/grammar/wording
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16429 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-09 09:25:07 +00:00
ranma bad644cced Fix email address
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15756 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 09:17:44 +00:00
michael 5a0109448e less amateurish-looking mpcf.txt patch by (Jeff >snacky ikaruga co uk<)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15009 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-25 12:37:18 +00:00
michael db4b3802ea returning to the old index at the end system, alternatives are too complex with questionable advantages
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14920 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-04 23:12:41 +00:00
michael d3685fdbeb store local keyframes too so faster seeking is possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14912 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-04 03:16:40 +00:00
michael 3f8fa0bea0 partial indexes
comments (with alternative suggestions and advantages) welcome


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14907 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 17:16:49 +00:00
michael f4462dccd7 some comments and whitespace changes by (Luca Barbato <lu_zero gentoo org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14855 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 00:16:44 +00:00
michael 1afb6bc118 Here is an updated draft with the bits discussed previously merged:
- short startcode removed

- QT/Microsoft codec_specific_data removed, reverted to a neutral format

- meta packet removed, merged in the info packet.

- stream class simplified, added metadata stream

patch by (Luca Barbato <lu_zero gentoo org>)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14472 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-12 11:54:30 +00:00
alex 4434fc4f05 info packet is now file global, while meta pakcet is stream specific, as discussed with Rich
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13309 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-11 09:18:07 +00:00
diego d25a85f17b spelling: big-endian and little-endian
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13048 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-18 19:00:05 +00:00
michael a079cc3526 disposition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12504 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-25 21:46:20 +00:00
michael b3d4771310 index fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12503 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-25 20:59:23 +00:00
michael 8d4d64c985 remove index flag
max_short_distance
reserved_v -> reserved_count
header repeation rules

some of this is from rich


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12502 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-25 20:42:22 +00:00
michael e2a6612057 extendible frame_code table
maybe more compact too


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12429 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-05 17:26:24 +00:00
michael 57ba4435de proposals by rich:
remove predicted delta timestamps
  delta timestamp in the frame_code table
  reserved vlc count in the frame_code table
  global timestamp after frame_startcode


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12414 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-04 01:29:17 +00:00
michael 63bce7ea7f nicer startcode before keyframe rule
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12393 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-02 01:37:49 +00:00
michael a24323c65f limits too small, my CBR mp3 samples have 2x overhead after removial of size prediction
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12380 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-01 18:48:42 +00:00
michael 478a03c5e7 cosmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12369 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-01 11:28:34 +00:00
michael b916b37fad additional start_code rule (implemenattion does this since a long time already)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12366 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-30 22:53:59 +00:00
michael 370a21f1d0 remove frame types
add decode_delay and dts calculation/description
monotonicity requirement
samplerate_nom/denom


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12334 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-28 03:19:35 +00:00
rfelker f533cac836 imo i'm one of the nut spec authors :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12298 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 12:45:47 +00:00
michael 50f875027b remove data_size prediction
merge lsb and full timestamp
maybe clarify flags


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12262 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-23 15:48:17 +00:00
michael a3577a75f8 new time_base_nom limit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12255 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-22 15:00:30 +00:00
rfelker 48fee4685f remove bad requirement
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12248 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-21 18:43:01 +00:00
michael a70a1c3a37 file_id_string (idea by ivan)
remove 0byte skiped frames (idea by rich)
file structure


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12243 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-20 23:00:28 +00:00
michael 76028a8b6b removing backward pointers
removing frames with type 1
forward pointers point to the next packet (=size of the packet) instead of pointing over several type 0 frames
removing forward pointers from type 2 frames (they are after the above changes equal to the data_size and would thus be redundant)
simplify frame_code flags 7->5 bit
remove zero_bit definition (was unused)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12239 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-20 17:58:24 +00:00
michael a54647c14f moving f() and u()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12210 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-14 23:11:45 +00:00
michael 5efa43de2d type 1/2 packets must have MSB timestamps (this is already mentioned at some other places but i forgot this one)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12209 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-14 21:43:28 +00:00
michael 617218a4e5 (de)coder -> (de)muxer
some clarifications


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12185 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-13 00:49:47 +00:00
michael 35fe7137c4 remove old example stream
add startcode values
remove nonsense redownloading goal


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12163 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-09 18:40:48 +00:00
michael 50f0378605 removing checksum_threshold & keyframe prediction
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12162 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-09 17:05:00 +00:00
michael 3905f57aaf language_code & fourcc vb->v reversal
version 0->1, 0 was NUT with subpackets :)
stream_id < stream_count rule (otherwise stream[stream_id] would be problematic ...)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12151 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-07 13:00:33 +00:00
michael 0f62f5847c switching from crc32 to adler32 checksums, cuz they are faster and simpler
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12119 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-05 12:06:30 +00:00
michael e486339264 minor changes
rename b -> vb, so 'v' is the vlc, 'b' is simply a series of bytes and 'vb' is the length as vlc + the bytes
 encode the fourcc & language code as v instead of vb, this is much simpler in practice, at least in lavf as the fourcc is an int there


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12118 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-04 22:40:48 +00:00
michael 0b7f6c6b3c restrictions to ensure that O(log n) seeking and error recovery is possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12111 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-03 13:23:44 +00:00
michael 18ebe6ca92 reversing the change to the forw/backw pointers, its somewhat simpler to update it if the forward pointer is first
much more efficient encoding of the frame_code table
stream_id -> stream_id_plus1, that way 0 is the special case instead of stream_count and we can be sure the table needs only 8bit per entry
replace timestamp_msb by timestamp (and obviously dont code the lsb if the whole is coded) thats simpler and more compact
add a msb_timestamp flag to the frame_code[].flags


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12085 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-31 01:44:57 +00:00
michael 886751550e removing subpackets (everyone hates them ...)
removing shuffle_type (meaningless without subpackets)
making timestamp_lsb a simple unsigned value (someone proposed that a long time ago, dunno dont remember who, IIRC it was rejected as it more often required the timestamp_msb to be coded but by defining lsb relative to the last lsb we need very few msbs in the error free case and for damaged files its also pretty difficult to trash the timestamp, for example for a fixed fps stream with 7bit lsb_timestamps we need to loose >64 frames in a row to end up with a wrong timestamp)
cleanup (filesize and such where only partially removed)
frame_code byte, with the meaning of each value stored in the main header
the frame_code contains the keyframe_flag, packet_type and can contain the timestamp_delta, stream_id and the data_size or part if it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12083 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-30 01:05:51 +00:00