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 |
|
Moritz Bunkus
|
64f306d8eb
|
Updated the MSVC project files. Patch by Steve Lhomee (see AUTHORS).
|
2005-05-26 17:48:13 +00:00 |
|
Moritz Bunkus
|
26a3f6083e
|
Removed unneeded commented-out code.
|
2005-05-26 16:50:10 +00:00 |
|
Moritz Bunkus
|
a25e565d35
|
After add_packet() the function's packet_t argument belongs to the lower layers, and it must not be reused. It's a considerable speed gain.
|
2005-05-26 16:46:32 +00:00 |
|
Moritz Bunkus
|
8a2dfc771a
|
No double delete.
|
2005-05-26 11:25:27 +00:00 |
|
Moritz Bunkus
|
96c08ba235
|
Complete rewrite of the parameter passing between generic_packetizer_c::process() and generic_packetizer_c::add_packet(). Those functions use the packet_t structure. There are a couple of more or less small memory leaks left. Those will be addressed later.
|
2005-05-25 21:31:26 +00:00 |
|
Moritz Bunkus
|
8ef2a14e09
|
Make sure that a track has actually been selected before trying to modify its data. Fixes Anthill bug 133.
|
2005-05-23 20:52:45 +00:00 |
|
Moritz Bunkus
|
ab93eb7ce6
|
'yes' is not a boolean, of course.
|
2005-05-23 20:35:28 +00:00 |
|
Moritz Bunkus
|
3d91659766
|
Implemented the extraction of USF subtitles.
|
2005-05-23 20:24:08 +00:00 |
|
Moritz Bunkus
|
f50aef90ef
|
Added a XML pretty printer class.
|
2005-05-23 20:23:23 +00:00 |
|
Moritz Bunkus
|
d156b7e8cc
|
Parse the <language> node of the <metadata> node as well instead of simply copying <metadata>. This is used as the default language if the <subtitles> node doesn't contain a valid <language> node.
|
2005-05-23 20:22:24 +00:00 |
|
Moritz Bunkus
|
b034ec2188
|
Moved the XML node name creation function into common.cpp. Escape the contents the XML way before putting them into CodecPrivate or the data blocks.
|
2005-05-22 17:40:11 +00:00 |
|
Moritz Bunkus
|
cbe0a25c38
|
Set the default compression method in the packetizer. Otherwise it would have to be set in each reader.
|
2005-05-22 10:05:03 +00:00 |
|
Moritz Bunkus
|
dce6b8c2ea
|
The duration is not the end ;)
|
2005-05-22 08:30:32 +00:00 |
|
Moritz Bunkus
|
9a9029c27b
|
Strip the <subtitle> ... </subtitle> tags for the data blocks.
|
2005-05-22 08:26:35 +00:00 |
|
Moritz Bunkus
|
8684a2289e
|
Implemented the rest of the muxing process: creating the packetizers, handling the language, passing the data to the packetizer, sorting the entries. Removed all of the debug output, too.
|
2005-05-22 07:22:37 +00:00 |
|
Moritz Bunkus
|
77f39e7a2b
|
Added an entry for USF subtitles to the "add file" dialog.
|
2005-05-22 07:20:28 +00:00 |
|
Moritz Bunkus
|
b887cde4a2
|
Slightly improved error message if a demultiplexer does not initialize properly.
|
2005-05-21 21:24:03 +00:00 |
|
Moritz Bunkus
|
4263140f14
|
The beginning of an USF parser. Implemented basic file parsing so that the private data and each entry is already available. Start and end timecodes are already stripped from the entries but not parsed yet. A lot of debug output, and there is no packetizer yet -- so only identifying a file works for the moment. Language processing is not implemented yet either.
|
2005-05-21 18:09:39 +00:00 |
|