Commit Graph

2003 Commits

Author SHA1 Message Date
Moritz Bunkus
1a099c68c2 Accept zero-sized frames. 2005-02-01 19:47:39 +00:00
Moritz Bunkus
71827b49ba More preparations for native MPEG-4 storage. Still not working. Split the single ::process() routine into one for each conversion case (native to non-native and the other way round). 2005-02-01 19:41:20 +00:00
Moritz Bunkus
0f774fa0fd Made the memory_c::grab() function more useful. 2005-02-01 09:00:39 +00:00
Moritz Bunkus
d458c26ff6 Added two test cases for WavPack with and without correction data. 2005-02-01 08:45:03 +00:00
Moritz Bunkus
d44cccabd8 Added a new function for finding the MPEG-4 part 2 configuration data. Some more preparations for native MPEG-4 part 2. 2005-01-31 20:15:05 +00:00
Moritz Bunkus
5ad46951bc Renamed the mpeg4_l* functions to mpeg4_p* because it is called "MPEG-4 part n" and not "MPEG-4 layer n". 2005-01-31 18:18:08 +00:00
Moritz Bunkus
cfafcbeb01 More grammar. 2005-01-31 15:29:26 +00:00
Moritz Bunkus
19f31a74eb Grammar! 2005-01-31 15:03:36 +00:00
Moritz Bunkus
c687069807 Added couple of checks for invalid or empty chapter language entries. 2005-01-30 19:19:03 +00:00
Moritz Bunkus
c10d088868 Proper use of MODE_WRITE (which should open a file for appending) and MODE_CREATE (which should truncate existing files). Fixes the "chapter files might contain garbage at the end if an older file was overwritten with a smaller one" problem. 2005-01-30 18:28:07 +00:00
Moritz Bunkus
be3a33848b ChapterLink has been renamed to ChapterTranslate. 2005-01-30 18:01:38 +00:00
Moritz Bunkus
d54a597c8c Added test cases for AVC in MP4 with pixel aspect ratio, both with and without B frames. 2005-01-25 21:47:19 +00:00
Moritz Bunkus
96fd42785b Fixed AR extraction for AVC. 2005-01-25 21:37:41 +00:00
Moritz Bunkus
5fe5480ba2 Avoid a compiler warning (and a potential segfault). 2005-01-22 16:07:10 +00:00
Moritz Bunkus
ac25506561 Upon selecting an entry in the chapter list the name input box and the text inside is selected. If the user presses enter in that input box then the next chapter entry is selected. 2005-01-22 15:58:34 +00:00
Moritz Bunkus
08047185b2 Implemented skipping of obsoleted elemenets -- e.g. after a Matroska element has been renamed. This is the case for EditionProcessed. Otherwise older XML files cannot be read with newer mkvtoolnix versions. 2005-01-22 15:34:42 +00:00
Moritz Bunkus
f168613236 File names are handled in UTF-8 internally. 2005-01-22 15:09:14 +00:00
Moritz Bunkus
39d6ee5406 Differentiate between the exceptions that can be thrown. Allows for better error messages reported back to the user (e.g. in mmg's chapter editor). 2005-01-22 14:59:51 +00:00
Moritz Bunkus
fb91d340f5 Allow hyphens and curly braces in hex input (e.g. in XML files and for UID like parameters on the command line). Makes copy & paste easier for Haali ;) 2005-01-22 14:39:29 +00:00
Moritz Bunkus
fb71799a55 That class is not inside a DLL. 2005-01-20 12:23:31 +00:00
Moritz Bunkus
bc07aae2fd More work on supporting chapter links. Patch by Steve Lhomme (steve ! lhomme () free ! fr) with modifications by myself. 2005-01-20 11:56:29 +00:00
Moritz Bunkus
923308ff45 Changed the tooltip for the "stretch" input box. Only append "/1" to the "stretch" argument if the user hasn't entered a fraction himself. 2005-01-20 11:18:41 +00:00
Moritz Bunkus
32f151a58e The arguments weren't separated properly if a stretch factor was given. Also the factor ignore the fact that mkvmerge is implicitely adding "/1000" unless a divisor is given, too. 2005-01-20 11:01:39 +00:00
Moritz Bunkus
317d2ea88b No entries in a timecode v1 style file are OK. Only the FPS will change then. Also added Steve Lhomme to the list of people having contributed to this file. 2005-01-20 10:56:25 +00:00
Moritz Bunkus
bbed6aaecc Fixes for compiler warnings, errors, and linker errors. 2005-01-19 20:58:04 +00:00
Moritz Bunkus
17e9eb182f First patch for supporting XML files with segment info elements in them. Patch by Steve Lhomme (steve ! lhomme () free ! fr) with modifications by myself. 2005-01-19 19:00:42 +00:00
Moritz Bunkus
485dfbbb03 Commit 2726 changed the duration for files whose first packet does not start at 0. Updated the test results accordingly. 2005-01-19 13:08:41 +00:00
Moritz Bunkus
6ef798f950 No need for the first_timecode variable because we have first_timecode_in_file. This changes the duration for files whose first packet does not start at 0. Updated the test results accordingly. 2005-01-19 13:08:09 +00:00
Moritz Bunkus
217cbd802f The Quicktime/MP4 demuxer converts MPEG4 into non-native format at the moment. 2005-01-19 13:07:08 +00:00
Moritz Bunkus
db94e93032 Take the actual first packet as the one for the first timecode in a file. Only consider packets that have actually been rendered for the max timecode. Should fix the duration. 2005-01-19 12:27:29 +00:00
Moritz Bunkus
61103d5f17 Use my own macro since isblank is not available everywhere. 2005-01-18 21:00:09 +00:00
Moritz Bunkus
245deae9eb Accept other formats for hex values. The format can now include white space, the prefix "0x" after each white space or right at the beginning. 2005-01-18 15:39:32 +00:00
Moritz Bunkus
3647498ecf Reversed 2701 and implemented it properly. The Duration of each file is always only the duration of its contents, even for linking (before: the duration was simply the highest timecode present in the file). 2005-01-18 12:51:29 +00:00
Moritz Bunkus
b6e18d655a Added "iw" as another ISO-639-1 code for Hebrew. 2005-01-17 13:58:24 +00:00
Moritz Bunkus
3e33089390 Moved the MPEG-4 handling from the video_packetizer_c into two new packetizers for MPEG-4 layer 2 and MPEG-4 layer 10. Added functions to the MPEG-1/-2 packetizer to extract the aspect ratio and to create the codec private data in case the reader does not supply those (like the Qt/MP4 reader). 2005-01-16 10:58:49 +00:00
Moritz Bunkus
8e10873a44 Handle TrackMinCache automatically. 2005-01-16 10:13:20 +00:00
Moritz Bunkus
1cb2d837b1 Account for automatic handling of TrackMinCache. 2005-01-16 10:12:03 +00:00
Moritz Bunkus
18f541b349 The offsets in the CTTS atom seem to be signed and not unsigned. 2005-01-15 16:05:58 +00:00
Moritz Bunkus
6b97556a0b One check is enough. 2005-01-15 15:31:39 +00:00
Moritz Bunkus
97803c2e6f Allow files without any tracks in it (e.g. for chapters only). Patch by Steve Lhomme (steve ! lhomme () free ! fr) with modifications by myself. 2005-01-15 15:26:11 +00:00
Moritz Bunkus
860c15c144 Do not use B frames but B frame like references for AVC as discussed on the matroska-devel mailing list. A new hack "avc_use_bframes" can mark those frames as B frames. 2005-01-15 15:06:08 +00:00
Moritz Bunkus
20d2438aec I don't like trailing whitespace either. 2005-01-12 15:03:47 +00:00
Moritz Bunkus
8807aad8b4 I do not like tab characters. 2005-01-12 14:25:08 +00:00
Moritz Bunkus
b992010b32 Fix for gap_following in v3 timecode files. Fix for the width & height for VobButton tracks. Patch by Steve Lhomme (steve ! lhomme () free ! fr) 2005-01-12 13:51:56 +00:00
Moritz Bunkus
d086bf4325 Compilation fixes for MSVC. Patch by Steve Lhomme <steve ! lhomme () free ! fr> 2005-01-12 13:51:02 +00:00
Moritz Bunkus
578fec2546 Print a warning for AVC tracks if not CTTS atom was found as it is needed for B frame support. 2005-01-12 09:24:56 +00:00
Moritz Bunkus
96ba68b2e9 Only delete a file if it actually exists. 2005-01-11 08:18:34 +00:00
Moritz Bunkus
c186560202 Do not use EbmlElement::ElementSize() but ::HeadSize() and ::GetSize(). 2005-01-10 22:30:10 +00:00
Moritz Bunkus
9ccac1e5b7 Implemented getting the number of FPS for an AVC video track from the MP4 file. 2005-01-10 21:29:55 +00:00
Moritz Bunkus
273a7db8cb Changed the picture for adding files to include the new "append" button. Added a few sentences about appending to the guide. Reformatted the guide so that pictures are enclosed by text. This should make it more readable with not that wide resolutions -- e.g. everything else than my 1200 pixels ;) 2005-01-10 20:35:11 +00:00