Commit Graph

43 Commits

Author SHA1 Message Date
Moritz Bunkus
2bf73b19d8 Fixed video reference handling and enabled keeping the codecid for video tracks read from Matroska files. 2003-07-05 09:59:58 +00:00
Moritz Bunkus
cadd488d7a Support for handling native video tracks (e.g. B frames) when reading Matroska files. 2003-06-29 21:35:19 +00:00
Moritz Bunkus
c0391dad96 Id keyword stuff 2003-06-15 14:03:28 +00:00
Moritz Bunkus
408debba92 Set eol-style native on all files. 2003-06-15 13:58:25 +00:00
Moritz Bunkus
e8fccebd83 Proper handling of the default duration element. 2003-06-13 15:44:22 +00:00
Moritz Bunkus
979707f373 A lot of changes to comply with libmatroska/libebml v0.4.4. 2003-06-06 20:56:28 +00:00
Moritz Bunkus
690dd7de77 Added a lot of debugging thingies. 2003-05-25 15:35:39 +00:00
Moritz Bunkus
766d97f3b7 A bit C++itiazation. Better estimation for the EbmlVoid placeholder for audio only tracks. 2003-05-22 11:10:40 +00:00
Moritz Bunkus
c1f3e862f5 Removed whitespaces at the end of the line. 2003-05-20 06:30:25 +00:00
Moritz Bunkus
b930030e06 Beautified the author tag. 2003-05-18 20:57:08 +00:00
Moritz Bunkus
ab33d952ab Proper handling of the "default track" flag. 2003-05-11 09:05:55 +00:00
Moritz Bunkus
fe968c400a Implemented durations for each packet, but only those packets that really need them (forced by the packetizer) or that are the last packet for a track (forced by mkvmerge itself) get a KaxBlockDuration element. 2003-05-06 07:51:24 +00:00
Moritz Bunkus
cf590910fb Reversed the direction of the data requests. Each packetizer is asked to fill itself. The packetizer calls its reader which reads data and makes sure that every packetizer has at least one packet. 2003-05-05 21:55:02 +00:00
Moritz Bunkus
bebc4e3a2d Removed all traces of dmalloc as I use valgrind for debugging purposes now. 2003-05-04 10:05:41 +00:00
Moritz Bunkus
f78758f3d3 Moved the header rendering (including the header settings of the packetizers) to after the argument parsing. 2003-05-02 21:49:42 +00:00
Moritz Bunkus
49833a0b3d Removed a lot of indenting whitespace. 2003-05-02 20:11:34 +00:00
Moritz Bunkus
35cc418a12 Support for the "default" flag via a switch "--default-track". 2003-04-21 08:29:50 +00:00
Moritz Bunkus
72eb77ee54 Changed the way frame types are propagated to the video packetizer: now the bref is evaluated. If it is set to != -1 then it is a P frame, otherwise it is an I frame. 2003-04-20 19:32:11 +00:00
Moritz Bunkus
1f2f6dfe8f Options for cue entry creation for each individual file. 2003-04-20 14:59:33 +00:00
Moritz Bunkus
b6d1cf30da Cue data is only generated for I-frames of video tracks. Fixes for the switch from IDs for packets to their timecodes: 0 is a valid timecode/reference, so -1 must be used for "not set". 2003-04-18 14:27:07 +00:00
Moritz Bunkus
de66f03964 Extended the general process function to include both a backward and a forward reference. 2003-04-18 13:21:11 +00:00
Moritz Bunkus
8cecf75dfe Removed the IDs associated with the packet_ts and used the timecodes for bref and fref instead. 2003-04-18 13:08:04 +00:00
Moritz Bunkus
21f55336de Introduced common header helper functions that simplify header settings for the packetizers. 2003-04-18 12:00:46 +00:00
Moritz Bunkus
08efd315f9 Reversed the relationship between q_c and generic_packetizer_c: q_c is now the father of generic_packetizer_c. 2003-04-18 10:28:14 +00:00
Moritz Bunkus
12c4954fc7 Moved the cluster helper to its own files. Moved a lot of other stuff into the appropriate header files. 2003-04-18 10:08:24 +00:00
Moritz Bunkus
83d00611fa Preliminary support for KaxTrackMinCache and *MaxCache - fixed to 1 at the moment. 2003-04-17 16:19:38 +00:00
Moritz Bunkus
36a29fd086 Changed all u_int64_t to int64_t. Some crappy MS compilers obviously cannot convert u_int64_t to double. And I do not need them that badly. 2003-04-13 15:23:03 +00:00
Moritz Bunkus
8f3bbc4a9d New style "process" function support. New frame type flags (I, P, B) introduced, although only I and P frames are handled at the moment. 2003-04-11 11:27:14 +00:00
Moritz Bunkus
841b50e3ac Renamed the variables track_video and track_audio to simply video/audio as track_video and track_audio are already used as track type enumerations by libmatroska. 2003-03-06 23:38:37 +00:00
Moritz Bunkus
955f6262d2 Moved fourcc into track_info_t. Remapped some error messages from Fatal to Error - Fatal should be reserved for stuff that will definitely stop mkvmerge afterwards. 2003-03-05 17:44:32 +00:00
Moritz Bunkus
6b1feb6015 Put all track relevant variables into a struct that is passed down from mkvmerge to the readers and from them to the packetizers. 2003-03-05 13:51:20 +00:00
Moritz Bunkus
a6488d0cb0 Changed all pointers to general data to unsigned char * 2003-03-04 10:16:28 +00:00
Moritz Bunkus
6f0cba6a2f Removed range processing. This is a left-over from the days when there was no ogmsplit. 2003-03-04 09:27:05 +00:00
Moritz Bunkus
2de297e537 Changed "calculate timecode" from 0 to -1 for the packetizers. 2003-03-03 17:08:16 +00:00
Moritz Bunkus
c2811893b3 Added suggested timecode to process. 2003-03-01 16:59:59 +00:00
Moritz Bunkus
527579427b P frames now reference the previous frame (still no B frame support ;)). 2003-02-28 18:54:14 +00:00
Moritz Bunkus
c5e4e6c698 Finally fixed the cluster cashing. No more needs for callback functions for the packetizers. References implemented. 2003-02-28 14:50:04 +00:00
Moritz Bunkus
70502c11bb Even more improved cluster caching/freeing system. 2003-02-28 13:01:29 +00:00
Moritz Bunkus
97a8decce1 New cluster caching system. 2003-02-27 19:51:53 +00:00
Moritz Bunkus
244b5bfd2d Implementing references. First step. Not working. 2003-02-27 09:35:55 +00:00
Moritz Bunkus
8b19d0cc0b Fixed some memory leaks and ifs that depended on uninitialized variables. 2003-02-25 14:24:43 +00:00
Moritz Bunkus
d50b2de695 support for retrieving BITMAPINFOHEADER and WAVEFORMATEX from the AVI and storing it in KaxCodecPrivate 2003-02-19 09:31:24 +00:00
Moritz Bunkus
0869e30b3e first working version. yay! 2003-02-16 17:04:39 +00:00