Commit Graph

2037 Commits

Author SHA1 Message Date
Moritz Bunkus
742b10d7c5 Do not use the output file name for the temporary file name because I am too lazy to write a cross-platform UTF-8 aware and Unicode using unlink. 2005-01-06 16:13:07 +00:00
Moritz Bunkus
9537e166e3 Use the new "get command line as UTF-8 strings" function. 2005-01-06 11:23:27 +00:00
Moritz Bunkus
f46e840375 Use the new "convert command line to UTF-8" function in mkvinfo. 2005-01-05 23:10:06 +00:00
Moritz Bunkus
b54da62d74 Moved the function for converting command line arguments to UTF-8 and reading more arguments from option files into the common part so that the other programs can profit from it as well. 2005-01-05 22:35:24 +00:00
Moritz Bunkus
597f587b60 Account for recent changes in the chapter specs. 2005-01-05 22:34:20 +00:00
Moritz Bunkus
21a59c60b9 Only use native B frames for AVC video at the moment because "normal" MPEG-4 layer 2 is used in AVI compatibility mode. 2005-01-05 22:32:00 +00:00
Moritz Bunkus
6dd43f653f Register the available track IDs for the MPEG PS reader so that no warning is printed for correct --xtracks arguments. 2005-01-05 20:34:38 +00:00
Moritz Bunkus
4573595412 Set the packetizer's ID. 2005-01-05 20:17:22 +00:00
Moritz Bunkus
468779b541 Copy the track selection when copying the track_info_c. Otherwise the --xtracks options don't have any effect. 2005-01-05 19:36:37 +00:00
Moritz Bunkus
a74195e88c Hours > 23 in timestamps are OK even though highly unlikely. 2005-01-05 19:09:08 +00:00
Moritz Bunkus
8e6eb39a13 Create temporary files in a temporary directory. 2005-01-05 19:04:28 +00:00
Moritz Bunkus
85db877ae7 Big reorganization of the whole Quicktime/MP4 reader. Split the big header reader into functions for each atom. Also added support for the "ctts" atom which maps the PTS to DTS. Added support for proper B frame handing (experimental). 2005-01-04 21:32:49 +00:00
Moritz Bunkus
f6ede2dea6 Avoid a couple of compiler warnings because the MSVC printf formats %I64d are unknown to mingw. 2005-01-04 21:27:56 +00:00
Moritz Bunkus
935ae1c8e2 Fixed compilation with wxWidgets 2.4.x. 2005-01-04 08:24:15 +00:00
Moritz Bunkus
a8f797767c Avoid ambiguous function calls (too much optimization can hurt!). 2005-01-03 23:10:24 +00:00
Moritz Bunkus
b158d8bdb6 Don't add a tag if it doesn't have any content. 2005-01-03 19:34:00 +00:00
Moritz Bunkus
6a488d0df3 More detailed debug output. 2005-01-03 19:29:47 +00:00
Moritz Bunkus
1bca324e4f Fixes for the renamed chapter elements. Patch by Steve Lhomme <steve ! lhomme () free ! fr> with modifications by myself. 2005-01-03 16:12:11 +00:00
Moritz Bunkus
e3d1661ee9 Let's support Unicode enabled wxWidgets on Windows. Also some small cleanups. 2005-01-03 15:56:27 +00:00
Moritz Bunkus
170338893e Implemented appending tracks in mmg. 2005-01-02 19:05:50 +00:00
Moritz Bunkus
4017deaf68 Create the file selection list from one array of file types and their extensions. No need to deal with two lists each containing each extension twice. 2005-01-02 12:19:20 +00:00
Moritz Bunkus
f45929baf3 Let the compiler do some of the memory housekeeping. 2005-01-02 10:14:44 +00:00
Moritz Bunkus
09346028de Changed the copyright for the Windows implementation of vsscanf: Steve Matsnev did it. Also: Check the Windows version instead of relying on CreateFileW not being present. It IS present on 98 but not working correctly. 2005-01-01 22:35:06 +00:00
Moritz Bunkus
8646040ff1 Added the CreateFileUtf8() function written by Steve Matsnev (frontent for CreateFileW() / CreateFileA()). 2005-01-01 19:51:20 +00:00
Moritz Bunkus
7b9392f0c7 Necessary changes for the previous API/UTF-8 changes. 2005-01-01 19:37:26 +00:00
Moritz Bunkus
6377a9c4ef Handle all text internally in UTF-8 and only convert it when it is output or handed over to system functions. This breaks file names with non-ASCII characters on Windows at the moment. Will be fixed by a later commit. 2005-01-01 18:31:00 +00:00
Moritz Bunkus
0c569bb6a7 Don't read the complete OGM file if a stream is only sparsely furnished with packets (e.g. subtitles). 2005-01-01 18:11:42 +00:00
Moritz Bunkus
d7f5bb0163 The beginning of supporting appending files in mmg. 2005-01-01 15:07:52 +00:00
Moritz Bunkus
cd98177dbe Get the command line in Unicode on Windows and convert that to UTF-8 strings. This is safer for non-ASCII characters. 2005-01-01 10:41:01 +00:00
Moritz Bunkus
60edf81584 Unneeded. 2004-12-31 16:34:17 +00:00
Moritz Bunkus
ef8828426c Don't convert the command line shown in the "command line" window to UTF-8 as it causes too many problems. mmg doesn't use that command line anyway because it puts its arguments into "option files". 2004-12-31 16:16:58 +00:00
Moritz Bunkus
af404ec9ae New WAVPACK4 storage method. Patch by Steve Lhomme (steve ! lhomme () free ! fr). Modifications by myself. 2004-12-31 16:02:15 +00:00
Moritz Bunkus
4c3045326b Updates 2004-12-31 14:22:41 +00:00
Moritz Bunkus
1a0e346644 Implemented getting the pixel aspect ratio from MPEG-4 layer 10 (AVC) header data. 2004-12-31 14:22:34 +00:00
Moritz Bunkus
f6702eca8e Split the ctors for the memory I/O class into one for read/write and one for read only access. 2004-12-31 14:21:38 +00:00
Moritz Bunkus
25890d1ac6 Changed the value type for reading stuff from a bit_cursor_c from unsigned long to int64_t. 2004-12-31 14:20:15 +00:00
Moritz Bunkus
1a07b5b044 Merged 2645:2646 from the 1.0 branch. 2004-12-30 17:19:24 +00:00
Moritz Bunkus
b7def7ed25 Cosmetics & more debug info. 2004-12-30 12:31:49 +00:00
Moritz Bunkus
37a9a6457d Support for parsing MPEG-2 PS streams. 2004-12-29 21:05:03 +00:00
Moritz Bunkus
dfc5132ac9 Weee! 2004-12-28 22:41:08 +00:00
Moritz Bunkus
14c804f541 Read bigger chunks for MPEG ES (the smaller value was for debugging purposes). 2004-12-28 22:37:31 +00:00
Moritz Bunkus
fd8de8c292 -pg has to be added to the linker command as well. 2004-12-28 22:11:50 +00:00
Moritz Bunkus
587d6ca5f4 Display the first "progress" line right at the beginning. 2004-12-28 21:51:00 +00:00
Moritz Bunkus
84ecc597e1 An aspect ratio of 1.0 is actually the pixel AR instead of the display AR. 2004-12-28 21:49:26 +00:00
Moritz Bunkus
4068f28871 Try to detect MPEG-PS before the more problematic ones. 2004-12-28 21:38:43 +00:00
Moritz Bunkus
4036c63a33 0x00 is not a valid flag for the aspect ratio. 2004-12-28 21:34:03 +00:00
Moritz Bunkus
0d2ae49255 Deal with an unknown/invalid aspect ratio part two. 2004-12-28 21:28:44 +00:00
Moritz Bunkus
1a97138ffe Deal with an unknown/invalid aspect ratio. And make gcc happy. 2004-12-28 21:27:57 +00:00
Moritz Bunkus
bb57d33d65 Added MPEG PS file types to the "add input file" box. 2004-12-28 21:16:57 +00:00
Moritz Bunkus
04c8fd8c88 Working MPEG-1 PS to Matroska transmuxing :) 2004-12-28 21:00:32 +00:00