Commit Graph

54 Commits

Author SHA1 Message Date
Moritz Bunkus
95a6f7f9d4 Made the SSA reader more spec compliant. Made the charset recoding in textsubs packetizer optional (only if the source is a SRT or OGM. Not if the source is a Matroska file (already UTF-8) nor for SSA/ASS files (reader will recode)). Renamed the long writeline_unix_newlines() to puts_unl(). 2003-06-21 23:24:07 +00:00
Moritz Bunkus
00d3ad6398 Unified a LOT of OS and compiler dependant stuff. Introduced support for mingw compilation. 2003-06-20 19:29:26 +00:00
Moritz Bunkus
351d79e953 Support for reading text subtitles from Matroska files. Support for handling other text subtitle types with the textsubs_packetizer_c. 2003-06-19 21:44:27 +00:00
Moritz Bunkus
844f1feeb1 Made the AAC reader automatically recognize if a MPEG4 AAC file contains the emphasis header (deprecated) or not (current standard). 2003-06-19 19:32:50 +00:00
Moritz Bunkus
c0391dad96 Id keyword stuff 2003-06-15 14:03:28 +00:00
Moritz Bunkus
b8691f5c3b The --sync option now needs a track ID along with the sync value. 2003-06-15 10:03:09 +00:00
Moritz Bunkus
d9329f351a Revamped the track selection meaning and handling: -a/-s/-d now use the track IDs reported by the readers or by --identify. Fixed a but in the Matroska reader which tried to set headers for tracks which were not requested for demuxing. 2003-06-15 08:40:43 +00:00
Moritz Bunkus
4d7c7c2b16 Added an option for identifying an input file and its track types. 2003-06-12 23:05:49 +00:00
Moritz Bunkus
6afd15df79 Fixes for file splitting: If linking is used, then the timecodes will not be reset for the output files. Introduced a new option --dont-link which will prohibit the creation of KaxPrevUID and KaxNextUID (and therefore file linking). For this mode timecodes will be reset to 0 for each output file. 2003-06-11 17:06:48 +00:00
Moritz Bunkus
840e6fd154 More VC6 compatibility fixes. More libmatroska 0.4.4 updates. 2003-06-07 14:30:10 +00:00
Moritz Bunkus
e7e4b6aa21 Changes to make VC6 happy. Changes for newer libmatroska 0.4.4. 2003-06-07 12:26:08 +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
9dbace5cd3 Fixed a segfault in the Matroska reader. 2003-05-29 19:39:46 +00:00
Moritz Bunkus
f936c2176a Even more and better debugging stuff. 2003-05-26 21:49:11 +00:00
Moritz Bunkus
690dd7de77 Added a lot of debugging thingies. 2003-05-25 15:35:39 +00:00
Moritz Bunkus
07e21ed65e Switching from fwrite/fread etc. to mm_io_c. 2003-05-23 06:34:58 +00:00
Moritz Bunkus
5b3bd34ce3 Replaced ftell with ftello and fseek with fseeko. 2003-05-22 16:14:29 +00:00
Moritz Bunkus
e182f0191d Support for reading AAC from Matroska files. 2003-05-22 11:11:30 +00:00
Moritz Bunkus
0efc5f877b gcc2 compatibility fixes. Removed a lot of unnecessary static_casts. 2003-05-21 22:17:33 +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
fe058f3638 Converted TABs to spaces. 2003-05-18 20:53:33 +00:00
Moritz Bunkus
81914ccbce Better support for DTS streams in general and for DTS-in-WAV in particular (patch by Peter Niemayer <niemayer AT isg.de>). 2003-05-18 20:40:11 +00:00
Moritz Bunkus
f9ef2139d2 Preliminary support for DTS files/tracks. 2003-05-15 08:58:52 +00:00
Moritz Bunkus
f48d093d3a Proper handling of KaxTrackFlagDefault, KaxTrackLanguage and EbmlVoid. 2003-05-11 09:24:02 +00:00
Moritz Bunkus
944319de57 Fixes that allow compilation with MS VC6. 2003-05-09 10:05:26 +00:00
Moritz Bunkus
43290d4758 Sync with the API changes in libmatroska 0.4.2 2003-05-07 17:40:09 +00:00
Moritz Bunkus
3a86be1dba Proper aspect ratio support for the Matroska reader. 2003-05-06 10:22:55 +00:00
Moritz Bunkus
a95897d03d The Matroska reader calculated wrong header lengths for Vorbis tracks. 2003-05-06 08:15:36 +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
4549cf0fb3 Removed malloc.h. 2003-05-05 20:18:32 +00:00
Moritz Bunkus
f53036d5d9 Introduced result checking memory handling functions (safe*). 2003-05-05 18:37:36 +00:00
Moritz Bunkus
e15c52404f Better/proper charset conversion. 2003-05-05 14:57:45 +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
1697ca7fb9 Support for keeping the TrackUID when reading a Matroska file. 2003-05-03 20:22:18 +00:00
Moritz Bunkus
daad8340df No more temporary storage of the frames read. The timecode_scale is initialized because of default values not being written to the file anymore. 2003-05-03 19:42:34 +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
36820f38c1 Fixes needed for compilation with gcc 3.2 2003-04-30 18:55:22 +00:00
Moritz Bunkus
b29c9d619f Support for moving the bits per sample from the CodecID to KaxAudioBitDepth. 2003-04-29 16:23:12 +00:00
Moritz Bunkus
3dae93ff97 Fixed progress output. 2003-04-28 07:27:27 +00:00
Moritz Bunkus
730cf7d127 Sync with libebml. 2003-04-28 07:20:46 +00:00
Moritz Bunkus
674050b116 Synced changes in libmatroska. 2003-04-26 11:07:19 +00:00
Moritz Bunkus
57769c1dba Fixes for incorrect lacing creation/reading for the Vorbis headers in CodecPrivate. 2003-04-22 20:25:21 +00:00
Moritz Bunkus
3b016fda19 Removed the now unnecessary extra function for handling text subtitles. 2003-04-21 10:06:48 +00:00
Moritz Bunkus
c18f2f97c2 Moved the #defines for the CodecIDs to matroska.h. Variables for the first working Matroska reader. 2003-04-20 20:08:02 +00:00
Moritz Bunkus
c697f5b032 First really working version. Pays attention to frame types and block durations by buffering the frames. Known issue with the subtitle format which is still subject to changes. 2003-04-20 19:58:35 +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
ccae3da569 Fixed CodecPrivate for A_VORBIS streams. The lacing byte is 1 less than the number of packets. 2003-04-18 08:47:01 +00:00