Commit Graph

44 Commits

Author SHA1 Message Date
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
alex 7aacfcc5e5 replaygain
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11976 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-18 13:33:57 +00:00
alex 26794353ff codec_specific_data_size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10986 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-02 22:16:20 +00:00
alex 3ddcf7ba1e moved file_size and len_in_msec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10874 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-15 20:22:27 +00:00
alex 312149424d moved packet header after startcodes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10832 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-07 01:15:01 +00:00
michael 05ddfeb26e 10
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10828 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-06 14:32:26 +00:00
michael 04b4ce875b reserved_bytes & byte order stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10825 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-06 13:21:08 +00:00
alex a9283667a5 some updates
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10818 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-05 18:45:12 +00:00
michael 49fc9d99b4 colorspace_type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10167 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-23 14:38:59 +00:00
alex 022c06105f some changes (michael: is the colorspace_type field needed?)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10159 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-23 12:17:36 +00:00
alex 24ae1cde4f corrected the sample code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10062 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-04 18:57:39 +00:00
michael 1de0afc6a9 index per stream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9581 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-13 15:50:41 +00:00
michael 60866034a2 *signed int vlc (needs only 5 lines of code so its no increase of complexity)
*moving subpacket shuffle type to the header
*encoding packet timestamps as signed difference from the msb_timestamp this is more flexible & cleaner
*optionally storing the keyframe flag for subpackets (in RLE)
*storing the timestamps differences for subpackets (in RLE)
*storing the signed differences of subpacket sizes instead of unsigned diff from some base size
*more compact encoding of common name/type for info packets
*removing fixed entries at the start of info packets (simpler)
*removing stuffing packet (uneeded, vlc itself allows padding)
*fixing sample code


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9580 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-13 15:32:48 +00:00
michael 46877e4e7a disallow multiple subpackets per packet for video streams idea by (me & Moritz Bunkus <moritz at bunkus dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9423 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-14 11:48:13 +00:00
michael 25f3778518 subpacket_base_size isnt needed for fixed sized subpackets
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9422 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-14 11:37:38 +00:00
michael 7efba7825e variable subpacket size support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9421 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-14 11:11:11 +00:00
alex 767d9cb775 dvds have covers too - Andreas Hess <jaska@gmx.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9374 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 19:01:00 +00:00
michael 33da455d5e index should be otional (idea by alex)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9373 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 18:56:51 +00:00
alex bbe16b15e9 added (PAL),(NTSC),..
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9370 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 16:45:08 +00:00
michael 4fa5b22cdc encoding the whole name doesnt make sense
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9362 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 10:58:23 +00:00
michael 07dbef2a31 "X-" prefix for nonstd fields & "keywords" idea by (Andreas Hess <jaska at gmx dot net>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9361 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 10:54:35 +00:00
michael 2492b94fc2 supprting various codec specific/private headers for different APIs (ideas by arpi/alex/fabian)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9358 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 01:29:21 +00:00
michael c00e8e8fd8 simplification
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9357 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 00:11:18 +00:00
michael 3001dbec6a -typo, +time, -ntsc/pal (idea by alex)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9351 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-08 21:10:58 +00:00
michael 0ea31b3cb0 changing name to "nut" for now, we can change it again if we agree on something else
index_flag so the demuxer knows if the index is missing and doesnt need to search for it
adding start/end_stream_id to the info packet so it can cover individual streams too


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9348 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-08 18:50:18 +00:00
michael d5153410a8 lang & country codes from ISO & utf8 requirement (ideas from Tobias Diedrich <td at sim dot uni-hannover dot de>
btw, sorry that i didn mention the names of the ppl from whom all the past ideas came from ...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9336 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-08 09:07:13 +00:00
michael 0e881c82cc hex editor friendly language_code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9326 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-07 22:13:54 +00:00
michael 0d6abd0310 some more info (copy & pasted from ML)
replacing zero terminated strings with length + string so it can allso contain binary data
adding a type to every entry in the info_packet
changing the fourcc storage type from v to b, that way it can be read with a hex editor


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9324 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-07 21:35:39 +00:00
michael 9739ef6753 typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9313 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-07 13:47:49 +00:00
michael 35a5e9fdb5 zero_bit for normal frames, so we can distinguish them from other packets
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9312 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-07 11:20:35 +00:00
michael 1de44c5cde some typos
info_header -> info_packet
adding variable sized reserved_bytes where i forgot it
start/end time in the info_packet
stuffing_packet


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9311 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-07 09:48:06 +00:00
michael 791ef0eec2 10l (copy & pasting the generator poly for crc32 from ogg was a bad idea...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9308 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-07 00:18:09 +00:00
michael af78689681 remove non byte sized stuff
remove more useless startcode emulation prevention stuff


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9300 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-06 20:18:59 +00:00
michael 38aba7699a use fraction for time_base
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9298 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-06 18:03:11 +00:00
michael 1c95f2711f removing startcode emulation prevention, its nonsense ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9297 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-06 17:46:23 +00:00
michael e5586230ee update
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9296 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-06 17:19:09 +00:00
michael 1c35f67763 nonsense (MPlayer container format draft 0.01)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9295 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-06 15:33:02 +00:00