Commit Graph

2166 Commits

Author SHA1 Message Date
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
Moritz Bunkus
16bb7e252a Check the saved window coordinates. If the window is minimized when mmg is closed then the coordinates are negative. Moving the window to that position upon restart will make it invisible. 2005-06-07 14:40:26 +00:00
Moritz Bunkus
f4d1a9d351 If a OGM style chapter file contains empty chapter names ("CHAPTER01NAME=" without something after the "=") then this chapter's timecode is used as the name instead of aborting. 2005-06-07 09:05:44 +00:00
Moritz Bunkus
1d3db66b7d Link all programs against Expat even if they do not use any of its functions. Fixes a link problem a user had on his AMD64 Ubuntu system. 2005-06-07 08:57:59 +00:00
Moritz Bunkus
abcb6ed05e Do not list the extensions of all supported media files in the "open file" dialog. It gets way too wide that way. 2005-06-05 17:07:21 +00:00
Moritz Bunkus
989f6a6c80 Added splitting after specific timecodes. 2005-06-05 14:39:57 +00:00
Moritz Bunkus
45ace4b5ea Split the --split parser function into separate onces for duration and size type arguments. Another preparation for splitting by other criteria. 2005-06-05 11:51:29 +00:00
Moritz Bunkus
62f78d92fb Implemented a more flexible system for splitting as a basis for split point and splitting-by-chapters support. 2005-06-05 11:28:19 +00:00
Moritz Bunkus
5d5aeaf3ce Ups... Forgot to change this back before committing. Now the segment was only found if its size was 0. 2005-06-05 11:01:39 +00:00
Moritz Bunkus
66ddac74d5 Handle infinite sized segments correctly. 2005-06-04 09:33:53 +00:00
Moritz Bunkus
9b8d9f1f0b Respect infinite sized elements. Use STL's sort algorithm and not my own bubble sort. 2005-06-04 09:32:33 +00:00
Moritz Bunkus
03adf4296b Added a new hack (--engage write_headers_twice) for writing the SegmentInfo and Tracks headers a second time directly after the clusters. Those will be indexed as well. 2005-05-29 09:53:37 +00:00
Moritz Bunkus
1ec08e1c28 Put <USFSubtitles> ... </USFSubtitles> into CodecPrivate, too. Otherwise the USF version number is lost. 2005-05-29 09:31:26 +00:00
Moritz Bunkus
ac9c14b265 Cleanups & speed improvements for the MPEG video parser. Patch by Steve Lhomme (see AUTHORS). 2005-05-26 17:59:10 +00:00