Commit Graph

3262 Commits

Author SHA1 Message Date
Moritz Bunkus
fb43e5e43c Cosmetics. 2009-04-25 11:08:08 +02:00
Moritz Bunkus
64b6a5d329 Update to the Japanese translation. 2009-04-21 09:41:15 +02:00
Moritz Bunkus
1fec941ea9 Output the frame position for each frame in summary mode with verbosity level 1 and higher. 2009-04-21 00:14:39 +02:00
Moritz Bunkus
c1f2d2d6ba Do not subtract the timecode offset from the special value "-1" which means "no reference".
Fix for bug 371.
2009-04-16 22:36:09 +02:00
Moritz Bunkus
68a8b4c2a5 Fix for outputting timecodes in summary mode.
1. The formatted timecodes for SimpleBlock elements were too small by a factor of 1000000.
2. Output all timecodes with three decimal digits.
2009-04-16 22:27:25 +02:00
Moritz Bunkus
accc1d28c8 Do not overwrite the duration for some track types.
Subtitle and button tracks must preserve their duration even
if an external timecode file is used. Otherwise each subtitle
frame's duration is set to the difference between the next
frame's timecode and the current frame's timecode.

Fix for bug 286.
2009-04-15 16:40:07 +02:00
Moritz Bunkus
402a679f5c Removed the option "always use simple blocks" from the preferences dialog. 2009-04-15 13:10:25 +02:00
Moritz Bunkus
a938f662d1 Updates 2009-04-14 20:36:02 +02:00
Moritz Bunkus
c573ecea0e Set the version number, added the release message, set the release codename. 2009-04-14 19:51:32 +02:00
Moritz Bunkus
d4dca302d8 mkvtoolnix requires boost v1.32 or later for tribools. 2009-04-14 19:51:14 +02:00
Moritz Bunkus
842d23539d Refactoring.
Split one big function into several smaller ones.

Do not use integer variables with fixed widths were it is not neccessary or indicated by the file format.
2009-04-13 20:51:17 +02:00
Moritz Bunkus
5e970251ed Update to the Japanese translation. 2009-04-13 17:58:57 +02:00
Moritz Bunkus
1e3c269f66 Enabled the use of SimpleBlock elements by default.
The old hack "use_simpleblock" has been renamed to "no_simpleblock"
which will prohibit the use of SimpleBlock elements.
2009-04-13 16:30:52 +02:00
Moritz Bunkus
302a8e1d68 Removed old "- 1" debug code that causes problems now. Added new debug code (informational only). 2009-04-12 11:49:14 +02:00
Moritz Bunkus
9f2e065c65 Use handle_common_cli_args() in mmg as well. Use debugging_requested() instead of arbitrary environment variables. 2009-04-12 11:33:34 +02:00
Moritz Bunkus
3c92ec468f Do not do anything if the new void element is supposed to be 0 bytes long. 2009-04-12 11:06:17 +02:00
Moritz Bunkus
9fb69fe9bf Updated the Japanese translation and fixed a spelling mistake. 2009-04-11 17:02:15 +02:00
Moritz Bunkus
a74e7e927d Updated the translations. 2009-04-11 15:40:32 +02:00
Moritz Bunkus
f8fbb07ff3 Added support for the "forced track" flag in mmg. 2009-04-11 15:37:24 +02:00
Moritz Bunkus
201c40e7b6 Added support for the "forced track" flag in mkvmerge. Fix for bug 128. 2009-04-11 14:04:51 +02:00
Moritz Bunkus
e1956f9d40 Use the boost::logic::tribool class for tri state logic. Removed unused code. 2009-04-11 13:30:04 +02:00
Moritz Bunkus
dee548cbb3 Updates 2009-04-11 11:01:16 +02:00
Moritz Bunkus
246578c389 kax_analyzer_c: Fix for the situation "not enough space for an EbmlVoid element" when overwriting elements
1. API change: kax_analyzer_c::read_element() does not need the EbmlCallbacks parameter anymore as it finds them itself via the EbmlId contained in the analyzer_data_c parameter.
2. When the analyzer is supposed to write an EbmlVoid element but has not enough space for it ( = only one byte available) then it will not write a zero byte because most parsers do not cope with that well. Instead it will rewrite the following element's ID and size headers one byte earlier and extend the size header by one byte. This should be compatible with most parsers.
2009-04-11 10:59:37 +02:00
Moritz Bunkus
04e5e18a2b An EbmlVoid element only needs two bytes, not five. 2009-04-10 22:24:48 +02:00
Moritz Bunkus
6a9390c586 Merge branch 'master' of file:///home/mosu/prog/video/mkvtoolnix 2009-04-10 22:06:01 +02:00
Moritz Bunkus
88e6a549c8 The EBML and Matroska libraries will be linked statically from now on. 2009-04-10 22:05:16 +02:00
Moritz Bunkus
8abbaad562 Fixed a spelling mistake.
Fix for bug 366.
2009-04-10 17:40:07 +02:00
Moritz Bunkus
cc9303c9a2 Update to the Japanese translation. 2009-04-08 18:13:39 +02:00
Moritz Bunkus
c9981c75e5 Changed the behaviour of removing the aspect ratio information from h.264 bitstreams to keeping it.
The new option "--engage remove_bitstream_ar_info" restores the previous behaviour.
2009-04-08 16:47:10 +02:00
Moritz Bunkus
fff0804b59 Fixed aspect ratio handling for AVC/h.264 video.
1. The list of predefined aspect ratios has been extended by three entries (sync with ffmpeg).
2. mkvmerge only tries to read free aspect ratio information if the aspect ratio type indicates it by being 0xff.
2009-04-08 11:50:41 +02:00
Moritz Bunkus
2eb44efd30 Fixed a segfault.
SetDropTarget() expects an object that it can delete. Therefore it must not be "this" but a separate object.
2009-04-05 18:32:08 +02:00
Moritz Bunkus
71090a649d Added support for opening files in the header editor by dragging & dropping a file onto its window. 2009-04-05 18:27:43 +02:00
Moritz Bunkus
2dec64c9e9 Added support for reading the track language form QuickTime/MP4 files. 2009-04-05 15:20:53 +02:00
Moritz Bunkus
62796a0962 Intentional update. 2009-04-05 14:54:11 +02:00
Moritz Bunkus
6de167dd9a Updates 2009-04-05 14:08:31 +02:00
Moritz Bunkus
1daa3a5d5e Fixes for shell parameter escaping and parsing
1. Rewrote the shell parsing on Windows to use GetCommandLineArgvW() instead of my own code for separating the arguments.
2. All parameters are shell escaped and quoted with "..." by mmg, even those without spaces in them. Fix for bug 364.
2009-04-05 14:01:35 +02:00
Moritz Bunkus
9e0731d7d0 Added some debugging options. 2009-03-31 13:44:21 +02:00
Moritz Bunkus
17925c1222 Switched parameters for sample rate and channels in function call. 2009-03-30 23:40:06 +02:00
Moritz Bunkus
69d5350167 Update to the Japanese translation. 2009-03-30 17:16:20 +02:00
Moritz Bunkus
e79841754d Update to the translations. 2009-03-30 16:47:37 +02:00
Moritz Bunkus
eac0e145fe Prevent the loss of the last MLP/TrueHD frame. 2009-03-30 16:46:43 +02:00
Moritz Bunkus
71c4926f5e Added support for MLP audio. 2009-03-30 16:45:18 +02:00
Moritz Bunkus
1a49d06d3b MPEG audio substream IDs 0xb0 .. 0xbf are TrueHD. 2009-03-30 14:39:50 +02:00
Moritz Bunkus
03fbe9dfd0 Unescape the letter "c" to a colon. 2009-03-30 10:11:06 +02:00
Moritz Bunkus
2731f2e56c Added the "merge_truehd_frames" hack in mmg's "command line options" dialog. 2009-03-29 20:31:27 +02:00
Moritz Bunkus
bee4a06630 Disable lacing only if the frames will be merged. 2009-03-29 20:28:02 +02:00
Moritz Bunkus
3ba0bc5ec2 Changed TrueHD storage: non-sync frames get their own Matroska block as well.
The merged behaviour is still available through "--engage merge_truehd_frames".
2009-03-29 20:04:52 +02:00
Moritz Bunkus
ce42d904aa Added the "keep_bitstream_ar_info" hack to mmg's "command line options" dialog. 2009-03-29 19:27:24 +02:00
Moritz Bunkus
c51cc353d0 Avoid a compiler warning. 2009-03-29 18:07:08 +02:00
Moritz Bunkus
55718c792e Translation update. 2009-03-29 18:04:17 +02:00