Commit Graph

2069 Commits

Author SHA1 Message Date
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
Moritz Bunkus
a8768a28e0 Set the CodecID properly if native MPEG4 is wanted. 2005-01-10 09:18:23 +00:00
Moritz Bunkus
f4351b2213 The duration for each file should be reset even when linking files. 2005-01-10 09:06:20 +00:00
Moritz Bunkus
2dde26104b Allow new lines and carriage returns for ASCII format output, but do not allow char 127. 2005-01-09 15:04:18 +00:00
Moritz Bunkus
d155287638 If a the contents of a binary XML element only contain ASCII chars then write them in ASCII format instead of hex. 2005-01-09 13:31:35 +00:00
Moritz Bunkus
3bb0591e5c Unified the chapter and tag XML output code just like the parser code for both was unified a long time ago. Also output binary content of XML elements in hex format. 2005-01-08 22:16:56 +00:00
Moritz Bunkus
5d91d53bd9 Ignore CR/LF inside hex formatted binary XML content. 2005-01-08 22:16:09 +00:00
Moritz Bunkus
cffe066d70 Implemented ASCII and hex input schemes for XML elements containing binary data. 2005-01-08 21:36:02 +00:00
Moritz Bunkus
dc1a58845c Added a resource file for Windows. This is needed because wxWidgets's HTML help needs the wxSTD_BITMAP_COLOURS resource. 2005-01-08 18:32:52 +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
1bf5390617 Use GIF images instead of PNG because wxWidgets' HTML help viewer does not support PNG. Also added a couple of helper anchors because with the present ones the HTML help viewer scrolled to below the heading. 2005-01-08 14:37:33 +00:00
Moritz Bunkus
0ddd79e881 Use the biggest file available for progress reports. 2005-01-08 13:03:11 +00:00
Moritz Bunkus
849ec0a865 Flush the MPEG parser on end of stream so that all frames will be output. 2005-01-08 09:24:56 +00:00
Moritz Bunkus
61bf6edc3e Updates 2005-01-07 19:13:59 +00:00
Moritz Bunkus
4c1b2f7ba5 Honour the SSA/ASS "Format:" line in the CodecPrivate when extracting those subtitle formats. 2005-01-07 14:23:19 +00:00
Moritz Bunkus
c87d22c33e Small updates to the documentation. 2005-01-07 13:02:07 +00:00
Moritz Bunkus
b7b0f694d0 A couple spelling fixes. 2005-01-06 19:23:36 +00:00
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