Commit Graph

546 Commits

Author SHA1 Message Date
Moritz Bunkus
66ddac74d5 Handle infinite sized segments correctly. 2005-06-04 09:33:53 +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
3d91659766 Implemented the extraction of USF subtitles. 2005-05-23 20:24:08 +00:00
Moritz Bunkus
0a3f88b6d7 Pad MPEG packets up to 2048 bytes for VobSub extraction because some programs depend on it. Patch by Mike Matsnev <mike () po !cs ! msu ! su> 2005-05-17 17:39:00 +00:00
Moritz Bunkus
ece399a299 Removed the restriction of having a maximum of ten levels of nesting for Matroska elements. 2005-05-07 15:32:50 +00:00
Moritz Bunkus
3a975f4798 Properly set the state of all radio buttons when a project file is loaded. This also affects what happens when "File -> new" is selected. On Windows "split by time" was not selectable anymore after "File -> new" if it had been selected before. Fixes Anthill bug 131. 2005-05-07 15:11:51 +00:00
Moritz Bunkus
e8cdd29702 Output text lines with new lines according to the OS (\r\n on Windows, \n on all other systems). 2005-05-05 14:51:30 +00:00
Moritz Bunkus
8cca15fa07 Strip newlines at the end of the "Format=" line. Otherwise the fields wanted might not be found and would be missing in the output. 2005-05-05 14:38:08 +00:00
Moritz Bunkus
3f8deaba4a Added the ChapterSegmentUID element to the chapter XML files. 2005-05-03 11:22:14 +00:00
Moritz Bunkus
37910a3c8f Support WAV files that use other RIFF chunks than the usual "fmt " followed by "data" by simply skipping those. 2005-04-29 08:56:01 +00:00
Moritz Bunkus
1097c66ae8 In case of remuxing MPEG-1/-2 video tracks from Matroska files simply hand the frames over as they are without sending them through the MPEG frame detection code. 2005-04-18 08:11:40 +00:00
Moritz Bunkus
f28bf0bafe Included the release message. 2005-04-16 11:33:59 +00:00
Moritz Bunkus
9012ba609b I/P frames were freed to early after a cluster has been rendered resulting in unresolvable brefs. 2005-04-16 10:53:18 +00:00
Moritz Bunkus
78f13d2bc1 A va_list is undefined after a call to a consumer function like vsprintf. Therefore it has to be copied if it will be used multiple times. This was working on most 32bit systems but not on AMD64 anymore. Fixes Anthill bug 120. 2005-04-09 17:11:50 +00:00
Moritz Bunkus
608b681baa Added the extraction of raw data to mvkextract. Patch by Steve Lhomme (steve ! lhomme () free ! fr) with additions by myself. 2005-04-07 17:31:52 +00:00
Moritz Bunkus
dd697e5a49 Update the "number of samples in this file" header field upon extraction of WAVPACK data. Patch by Steve Lhomme (steve ! lhomme () free ! fr). 2005-04-07 17:15:31 +00:00
Moritz Bunkus
e393c5e3e8 Forgot the Anthill bug this fixes. 2005-04-07 15:17:51 +00:00
Moritz Bunkus
08e457eaaf Do not use the FPS field of RealMedia files for the default duration of RealVideo tracks. It may contain the maximum number of frames per second that the encoder should output or has output. Fixes Anthill bug 113. 2005-04-07 15:17:17 +00:00
Moritz Bunkus
35153c7a2b Added a couple of links to various Anthill bugs that were fixed. 2005-04-07 15:09:00 +00:00
Moritz Bunkus
4f08216474 If a Matroska file is appended to another one then the timecodes it reports downstream must be zero-based. This was not the case for "linked" files (files created with "--split ... --link"). Fixes Anthill bugs 115 and 116. 2005-04-07 15:00:22 +00:00
Moritz Bunkus
05f1b20cb3 Uppon concatenation of files including chapters all chapter atoms that share the same UID have to be merged into a single chapter atom with appropriate start and end timecodes. Addresses Anthill bug 122. 2005-04-07 08:46:58 +00:00
Moritz Bunkus
31bd52a95b Chapters that span multiple segments during splitting have to be kept in all files, not just in the first one. Their start timecodes have to be adjusted, of course. 2005-04-06 14:32:43 +00:00
Moritz Bunkus
ce70df4732 Do not link mkvinfo with -mwindows as it will not allocate a console then on Windows. 2005-03-28 09:36:59 +00:00
Moritz Bunkus
16e140149e Tell the compiler exactly when to convert types. Otherwise at least my cross mingw gcc did some BS and produced bogus values resulting in mkvextract being locked in very long loops. 2005-03-23 18:24:10 +00:00
Moritz Bunkus
32fcbbc829 In some situations some tracks of appended VobSubs were not included in the output file. The problematic situation was when one VobSub track was finished then the corresponding "video" file was sucked dry. The deferred connection of that one VobSub track was established OK but all following VobSub tracks were wrongfully deferred and never connected because the corresponding "video" file was already done. The solution is to remember that the corresponding "video" file was done and its maximum time code needed for the other VobSub tracks. 2005-03-20 17:40:05 +00:00
Moritz Bunkus
fc3aee714d Assign consecutive track numbers. 2005-03-19 19:25:31 +00:00
Moritz Bunkus
6423c4e3b7 Fix the split-decision for audio-only files. Also set the timecode scale factor on all output files. 2005-03-19 11:54:26 +00:00
Moritz Bunkus
07826c5550 After modifying ti.private_data it has to be copied into the CodecPrivate again. 2005-03-19 10:55:12 +00:00
Moritz Bunkus
7ff4216a9a Only select tracks if they were selected before. 2005-03-16 14:01:11 +00:00
Moritz Bunkus
7efb5c81d5 Bumped the version number to 1.4.1, set the new release code name and included the release message in the ChangeLog. 2005-03-15 08:32:08 +00:00
Moritz Bunkus
9958ee9e51 Do not skip one byte to many after each AC3 header. Otherwise detection of consecutive headers fails, and the file might be mis-detected as something else. 2005-03-14 13:16:25 +00:00
Moritz Bunkus
d5388dfb95 Handle temp paths with spaces. 2005-03-13 17:47:27 +00:00
Moritz Bunkus
f4365020f0 Modified getting the FPS from MP4 files. More cases (CTTS present or not, durmap table with more than one entry) are handled now. 2005-03-06 19:07:17 +00:00
Moritz Bunkus
a5f837fb44 Concatenating + splitting at the same time is now possible. Track entries are only created once and not for each new file. 2005-03-06 14:28:26 +00:00
Moritz Bunkus
c2fe84204f Added more descriptive error messages to the connection checks. 2005-03-02 15:53:34 +00:00
Moritz Bunkus
9139ced877 Only disable the usage of posix_fadvise for that one file if a call fails and don't abort mkvmerge itself. 2005-02-28 19:26:04 +00:00
Moritz Bunkus
afd8960844 Insert new tracks from "appended" files right behind the corresponding tracks from the file the new file is appended to. 2005-02-28 18:50:14 +00:00
Moritz Bunkus
c220f55792 Fixed the removal of appended files if there is no track from another file between two tracks from the file that is to be removed. 2005-02-27 21:54:26 +00:00
Moritz Bunkus
958c1d5883 If splitting is active then the output directory should be scanned for file names that start with "name-" and have the same extention as the output file. Also the directory itself should be checked for existence. 2005-02-27 21:31:24 +00:00
Moritz Bunkus
a35af06d0b For Windows you have to insert exactly one newline in a tooltip. All other tooltips for that frame (?) will be word wrapped at that newline's position automatically. 2005-02-27 21:00:42 +00:00
Moritz Bunkus
acb5a61918 Disable the "append" button before loading a setting file. Otherwise "File -> new" might leave it enabled. 2005-02-27 19:35:41 +00:00
Moritz Bunkus
77e119a01f Disable timecode warnings for AVC read from Matroska files. 2005-02-27 11:31:18 +00:00
Moritz Bunkus
512c4ef2d2 wxConfigBase::HasGroup() does not seem to deal with absolute paths on 2.5.x on Windows. 2005-02-26 23:22:02 +00:00
Moritz Bunkus
d582ecc89e Strings must be wide in Unicode mode. 2005-02-26 22:59:18 +00:00
Moritz Bunkus
0e0a43d708 wxWidgets 2.5.3 compatibility fix: "split by time" was not selectable. 2005-02-26 22:44:59 +00:00
Moritz Bunkus
d4c93c07c4 mkvmerge's output is already UTF-8 and must be converted accordingly. 2005-02-26 22:27:54 +00:00
Moritz Bunkus
720a38f3f8 Forgot the version number. 2005-02-26 13:43:15 +00:00
Moritz Bunkus
cbb245d66f Get the default_track flag from Matroska files added to mmg. 2005-02-19 16:26:01 +00:00
Moritz Bunkus
c7ae617c17 Added a warning right before muxing starts if the chapter editor is not empty but no chapter file has been selected. Did some cleanup, too. 2005-02-19 15:42:31 +00:00
Moritz Bunkus
bd20dccdc3 Added an option to configure for disabling the use of posix_fadvise completely. Also check the OS and kernel version. Use posix_fadvise only if we're running on Linux and a kernel from the 2.6.x series or newer. 2005-02-17 18:36:15 +00:00
Moritz Bunkus
dd3abddd7b Moved the reversal of content encodings from the Matroska reader into a new class called "content_decoder_c". Moved a lot of track entry accessibility functions from xtr_base.cpp into commonebml.cpp. Implemented VobSub extraction based on Mike Matsnev's code. This should make all those suckers happy! (Don't feel offended ;)) 2005-02-11 20:38:00 +00:00
Moritz Bunkus
cb77d9eff4 ChangeLog update. Less duplicate code. 2005-02-08 21:43:38 +00:00
Moritz Bunkus
b9ec81a4ce Added the 1.0.2 release message. 2005-02-06 20:52:40 +00:00
Moritz Bunkus
51bcc0e993 Added a couple of entries for the commits during the past month. 2005-02-06 19:37:18 +00:00
Moritz Bunkus
af3eee55e5 Use posix_fadvise if it is present. With newer libc and kernel 2.6.x this results in a speed up for the whole muxing process. Patch by Peter Niemayer (niemayer () isg ! de) with modifications by myself. 2005-02-02 09:16:52 +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
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
8592bbf459 Added files for making the mkvmerge-gui.html file into a HTML help book. Added code for showing that help file when the user presses F1 or selects "Help" from the "Help" menu. Updates for the build process which generates the .hhk index file from the .hhc contents file. 2005-01-08 15:26:12 +00:00
Moritz Bunkus
61bf6edc3e Updates 2005-01-07 19:13:59 +00:00
Moritz Bunkus
170338893e Implemented appending tracks in mmg. 2005-01-02 19:05:50 +00:00
Moritz Bunkus
4c3045326b Updates 2004-12-31 14:22:41 +00:00
Moritz Bunkus
dfc5132ac9 Weee! 2004-12-28 22:41:08 +00:00
Moritz Bunkus
ddaf26635e Support for "silent tracks" elements. Added project file for mkvinfo for MSVC. Patch by Steve Lhomme <steve ! lhomme () free ! fr> 2004-12-28 18:50:54 +00:00
Moritz Bunkus
844c32ec67 Added WAVPACK4 extraction. Patch by Steve Lhomme (see AUTHORS). Fixes for compiling mkvextract with MS VisualC++. Patch by Steve Lhomme as well. 2004-12-27 17:17:16 +00:00
Moritz Bunkus
81613055c3 Small ChangeLog update. 2004-12-27 17:04:25 +00:00
Moritz Bunkus
8505f6e401 Added WAVPACK4 muxing. Patch by Steve Lhomme (see AUTHORS). 2004-12-18 17:10:54 +00:00
Moritz Bunkus
9ec376abc4 Merged 2589 from the 1.0 branch. 2004-12-18 16:29:20 +00:00
Moritz Bunkus
504232b7a3 Merged 2576:2577 from the 1.0 branch. 2004-12-15 18:38:54 +00:00
Moritz Bunkus
01a716f3f5 Merged 2575 from the 1.0 branch. 2004-12-15 18:23:46 +00:00
Moritz Bunkus
5d01bda627 Merged 2559:2561 from the 1.0 branch. 2004-12-11 17:13:34 +00:00
Moritz Bunkus
9697bce053 Merged 2545:2547 from the 1.0 branch. 2004-12-09 12:38:09 +00:00
Moritz Bunkus
274750de27 Merged 2522 from the 1.0 branch. 2004-11-26 17:59:42 +00:00
Moritz Bunkus
1615eb84a4 Merged 2505 from the 1.0 branch. 2004-11-22 20:15:05 +00:00
Moritz Bunkus
e9a04ea4a5 Merged 2499 from the 1.0 branch. 2004-11-20 17:11:37 +00:00
Moritz Bunkus
31ab4eae04 Added a note about appending files :) 2004-11-10 21:36:48 +00:00
Moritz Bunkus
40c77b3ca4 Do not insist on having a default duration/fps for AVI compat mode video tracks. Video tracks muxed from MP4 don't have that and couldn't be remuxed otherwise. 2004-11-10 21:31:56 +00:00
Moritz Bunkus
986d1b6470 Merged 2414 2004-11-05 15:17:52 +00:00
Moritz Bunkus
1ee83112f4 Merged 2411 2004-11-04 22:24:19 +00:00
Moritz Bunkus
ce7a756a41 Merged 2385 2004-10-24 18:15:29 +00:00
Moritz Bunkus
f5a51f891f Merged 2370 2004-10-17 08:43:23 +00:00
Moritz Bunkus
84a99509bd Merged 2362 2004-10-16 18:31:13 +00:00
Moritz Bunkus
cbd9c7bf01 Always regenerate Vorbis timecodes. This is necessary because Vorbis is laced, and when reading it from Matroska the timestamps might come out wrong if the output has different lacing, e.g. when splitting is active. 2004-10-16 13:46:34 +00:00
Moritz Bunkus
14c21e6ae8 Defer the initialization of the XML mapping tables and link the entries to the libmatroska classes with their DebugName. This gets rid of the problems with different compilers/optimization settings causing the EbmlIds to be initialized too late. 2004-10-11 11:19:33 +00:00
Moritz Bunkus
d7375f9c4b Merged 2344 2004-10-10 11:15:31 +00:00
Moritz Bunkus
ade3c7b68b Merged 2342 2004-10-10 08:51:10 +00:00
Moritz Bunkus
6897f8825f Merged 2335 2004-10-09 17:31:17 +00:00
Moritz Bunkus
d5ca84ac0d Moved the external timecode stuff into their own classes. Enabled proper durations for tracks with external timecodes. 2004-10-09 14:28:58 +00:00
Moritz Bunkus
0b5a723a5f Merged 2327 2004-10-08 20:07:38 +00:00
Moritz Bunkus
7f2da5eb94 Merged 2324 2004-10-08 19:51:49 +00:00
Moritz Bunkus
079a666f0a Merged 2315 2004-10-07 21:02:10 +00:00
Moritz Bunkus
915d0b067c Merged 2313 2004-10-07 19:20:54 +00:00
Moritz Bunkus
0cf20e1d3c Merged 2309 2004-10-07 18:08:26 +00:00
Moritz Bunkus
87ce579c97 Merged 2291 2004-10-05 21:43:41 +00:00
Moritz Bunkus
469b69f5c0 Added a new warning if there is no corresponding track in a source file for a track UID used on the command line. 2004-10-04 19:18:25 +00:00
Moritz Bunkus
ad223a1369 Merged 2262 2004-10-03 09:49:18 +00:00
Moritz Bunkus
81a82d9477 Merged 2260 2004-10-03 09:34:32 +00:00
Moritz Bunkus
ac2ecf55df Added a vector to hold the indices over INDEX 01. Previously matroska didn't allow for more than INDEX 00 and INDEX 01 for a track, now it allows for [INDEX 00 - INDEX 99], inclusive, bringing it in compliance with the Red Book specification for audio CDs. Patch by Vegard Pettersen <vegard_p at broadpark adot no>. 2004-09-30 18:34:27 +00:00
Moritz Bunkus
d29a4552fa Merged 2233 2004-09-28 18:25:43 +00:00
Moritz Bunkus
b9c47da897 Merged 2229 2004-09-28 12:58:51 +00:00