Commit Graph

2279 Commits

Author SHA1 Message Date
Moritz Bunkus
0a00ee4cc9 Forgot some stdio class initializations. 2005-08-03 11:00:38 +00:00
Moritz Bunkus
fb3b7fd8b2 Made the mx* output routines write to an instance of mm_io_c and added an option for mkvinfo ("-o") for redirecting its output to a file. 2005-08-03 10:26:08 +00:00
Moritz Bunkus
934de763c7 Updates. 2005-08-03 09:28:34 +00:00
Moritz Bunkus
371c67727e A bit more space above the check box. 2005-08-03 09:18:15 +00:00
Moritz Bunkus
6c0425c922 Moved the application of the timecode factory to the packet's timecodes from get_packet() to add_packet2(). It is also called after flush(). It assigns as many packets as possible regarding the possible presence of B frames. If it is a subtitle track or if the packetizer has been flushed then all remaining packets are applied. Removed the timecode_factory_c::peek_next() function. 2005-08-02 19:26:57 +00:00
Moritz Bunkus
801e2b9ef5 Added support for extracting h.264 / AVC tracks into proper h.264 ES streams. Patch by Matt Rice <topquark () sluggy ! net>. 2005-08-02 08:20:01 +00:00
Moritz Bunkus
25d6ccee1a Added a regression test for the segfault fixed in r2996. 2005-07-28 06:35:04 +00:00
Moritz Bunkus
b1d7f1a40c Do the setup before trying to convert the command line to UTF-8. Otherwise arguments with non-ASCII characters are not converted correctly. 2005-07-25 18:23:36 +00:00
Moritz Bunkus
871d1b744b Timecode file handling for B frames. Patch by Steve Lhomme (see AUTHORS). Does not work yet as far as I can tell. 2005-07-25 15:58:07 +00:00
Moritz Bunkus
b08f7dd45f Do not try to access elements in a vector that are not present. 2005-07-20 08:14:23 +00:00
Moritz Bunkus
06948800ad Don't truncate large values. 2005-07-19 20:01:07 +00:00
Moritz Bunkus
6bd0b741a2 Do not truncate integers after reading them from Matroska files -- e.g. display width/height etc. 2005-07-19 19:53:12 +00:00
Moritz Bunkus
3e0da0ff84 AVC frames are referenced differently. Updated the test results. 2005-07-19 19:52:15 +00:00
Moritz Bunkus
3b090fbb34 Do not truncate integers read from Matroska files. 2005-07-19 19:34:36 +00:00
Moritz Bunkus
c11c95126b Frames with forward-only references are more or less P frames. 2005-07-19 18:35:26 +00:00
Moritz Bunkus
54b6f712fa Updates. 2005-07-19 18:34:13 +00:00
Moritz Bunkus
218425a0f8 Don't pass objects through ... 2005-07-19 18:19:28 +00:00
Moritz Bunkus
052b45ab52 AVC/H.264: Non-I frames reference the previous "P" frame just as if "B" frames were referenced as well and not the previous I frame. 2005-07-19 17:31:43 +00:00
Moritz Bunkus
688ea33885 That Printf was producing wrong results on x86_64 for some reason. 2005-07-19 08:39:00 +00:00
Moritz Bunkus
f3bfcd091d Spelling. 2005-07-19 07:43:19 +00:00
Moritz Bunkus
8d72574b9f Changed the timecode parsers to be more flexible in what formats they accept. Removed all other timecode parsers except the one in common.cpp and made the other parts of the programs use this one. Updated the documentation. 2005-07-16 14:51:18 +00:00
Moritz Bunkus
5e5005e16d Do not reformat the <text> ... </text> entries during USF extraction. 2005-07-08 13:14:54 +00:00
Moritz Bunkus
ec3f6f4b33 Use the xml_parser_c class in the xml_formatter_c class instead of calling expat directly. 2005-07-08 12:55:12 +00:00
Moritz Bunkus
e502fc7c05 Older versions of expat don't know XML_ERROR_FINISHED yet. 2005-07-08 12:22:37 +00:00
Moritz Bunkus
c8426104bc Fixed support for USF subtitles stored in UTF-16 and UTF-32. Added support for USF subtitles stored in UTF-8 without a BOM. Both work by parsing the "<?xml ... encoding="..." ...?>" line and adjusting the "encoding" attribute if necessary. 2005-07-08 12:12:51 +00:00
Moritz Bunkus
84f7683e07 Wrote a small wrapper class around expat and converted the USF reader to using it. This is a pre-step for supporting XML files with encoding="UTF-16". 2005-07-07 14:09:27 +00:00
Moritz Bunkus
311e1837d4 Missing a newline. 2005-07-06 12:54:11 +00:00
Moritz Bunkus
b8296e4d0b Updated the version number & the release code name. 2005-07-01 08:11:31 +00:00
Moritz Bunkus
3202c2e4f9 Wrong variable in the loop (robux' fault ;) He wrote the patch ;)). 2005-06-26 12:32:36 +00:00
Moritz Bunkus
4765ff450a ChangeLog updates. 2005-06-26 11:08:42 +00:00
Moritz Bunkus
705524491f The default value for track languages is "eng". 2005-06-26 11:08:14 +00:00
Moritz Bunkus
16cf402352 Don't strip white spaces inside <text> ... </text>, but strip the outer white spaces around a complete entry. 2005-06-26 10:37:38 +00:00
Moritz Bunkus
b3605794c9 Moved the MPEG-4 part 2 FourCC detection into mpeg4_common.cpp. Let the OGM reader use the MPEG-4 part 2 video packetizer so that native MPEG-4 can be used. 2005-06-26 10:04:02 +00:00
Moritz Bunkus
9b3b24fbca If two consecutive calls to "end tag" for the same tag name were done then mkvmerge would wrongly only output one "<tag/>". 2005-06-26 09:03:23 +00:00
Moritz Bunkus
79b433d494 Reordered the "splitting" section and added an input box for the new "split after timecodes" feature. 2005-06-24 14:58:13 +00:00
Moritz Bunkus
2d22769e06 Make libebml happy so that it will write elements which still have their default value. 2005-06-24 10:36:55 +00:00
Moritz Bunkus
019faeced2 Indentation cosmetics. 2005-06-24 10:36:00 +00:00
Moritz Bunkus
8b5d160c70 The MPEG-1/-2 video packetizer has to create a new packet_t structure for each packet it passes downstream because it may produce more than one output packet from each input packet, and packet_t structures must only be used once. 2005-06-24 07:52:23 +00:00
Moritz Bunkus
f76cf0353e Upper chars are OK in --split, too. 2005-06-22 16:56:34 +00:00
Moritz Bunkus
0c356f0350 Non-native to native MPEG-4 part 2: If the frame queue contains more frames than the timecode queue timecodes then use the FPS and create new ones. If a FPS is not known then issue a warning and drop the frames which do not have a timecode available (at most one frame should have to be dropped anyway). 2005-06-17 09:37:52 +00:00
Moritz Bunkus
d809e013f7 Fix the codec version string for MPEG-4 codecs: if it indicates "DivX packed bitstream" then change it to not say "packed bitstream" anymore. 2005-06-16 14:01:14 +00:00
Moritz Bunkus
6a8e29fd18 Accidentally committed a lot of debug code. 2005-06-16 08:48:18 +00:00
Moritz Bunkus
056abda15b Changed the timecode_factory_c interface. The get_next() function receives the complete packet and not only a couple of its parameters. 2005-06-16 08:34:54 +00:00
Moritz Bunkus
70ac090c65 Output information about the assigned timecodes for Haali. 2005-06-16 08:09:34 +00:00
Moritz Bunkus
29f9905e5c Only define NULL if it is needed. 2005-06-12 09:31:11 +00:00
Moritz Bunkus
41f5e7af68 The queue for native MPEG4 must also be flushed if it contains two I/P frames and the next frame is an I or P frame. 2005-06-12 08:07:30 +00:00
Moritz Bunkus
3513341664 Assign consecutive numbers to all created packet_t objects. 2005-06-12 08:03:58 +00:00
Moritz Bunkus
e64f94534a Added a field for specifying a factor that the timecode factory might need, e.g. in MPEG2 field-vs-frame situations. 2005-06-10 12:31:57 +00:00
Moritz Bunkus
309b6e2cdf Make sure that all readers call their packetizers' flush() function when they run out of data. Make sure that all packetizers' flush() functions call generic_packetizer_c::flush() as well so that this one can save the fact that flush() has been called already. 2005-06-10 07:12:50 +00:00
Moritz Bunkus
0ead02b226 Removed some debug code. 2005-06-09 09:44:16 +00:00