Commit Graph

2317 Commits

Author SHA1 Message Date
Moritz Bunkus
4ab272cbcc A lot of fixes for compiler warnings: size_t argument vs. %d/%u printf format; couple pointer assignments with different signes; couple of potentionally uninitialized variables. 2005-08-26 08:21:46 +00:00
Moritz Bunkus
c83f555557 Forgot to run the new test once more before the last commit. 2005-08-25 18:55:21 +00:00
Moritz Bunkus
1a378a21e7 Default display width/height to pixel width/height for video tracks read from Matroska files. Do not extract the AR from a MPEG-4 part 2 track if the display dimensions are given. 2005-08-25 09:17:25 +00:00
Moritz Bunkus
56703d4959 Always output native MPEG-4 ASP when reading native MPEP-4 ASP regardless of the --engage native_mpeg4 CL argument. 2005-08-25 09:06:33 +00:00
Moritz Bunkus
4e5c9ddc65 Updated the build instructions. 2005-08-25 08:05:07 +00:00
Moritz Bunkus
7a27f3bd9e Native MPEG-4 ASP: simplified and fixed the timecode/duration assignment -- hopefully! 2005-08-24 20:31:04 +00:00
Moritz Bunkus
23b476d8a1 Convert embedded fonts and pictures in SSA and ASS files into Matroska attachments. Keep other sections and non-"Dialogue:" lines from the "[Events]" section in the CodecPrivate in order to keep as much from the original file as possible. Renamed the member variables of the buffer_t structure in the process. 2005-08-24 11:18:24 +00:00
Moritz Bunkus
11b53ee089 Cosmetics: removed tab characters and trailing whitespaces. 2005-08-22 07:14:22 +00:00
Moritz Bunkus
a87386b8c8 Fixed --delay. 2005-08-21 20:04:09 +00:00
Moritz Bunkus
1aef04e7cb Updates 2005-08-21 18:09:21 +00:00
Moritz Bunkus
18d1ab995f Single-digit values followed by 's' were not recognized as a valid unit with number. 2005-08-21 18:07:59 +00:00
Moritz Bunkus
09551a3f94 Better error message. 2005-08-21 17:59:18 +00:00
Moritz Bunkus
f9bc92f86b Release message. 2005-08-21 13:08:29 +00:00
Moritz Bunkus
1f725520dd Bumped the version number to 1.5.5 and set the version code name. 2005-08-21 13:06:50 +00:00
Moritz Bunkus
2e57b08d67 More positive wording. 2005-08-21 13:05:24 +00:00
Moritz Bunkus
38dfa553a2 Disallow putting AVC/h.264 video in VfW compatibility mode. Can be forced with a new --engage option. 2005-08-21 13:04:48 +00:00
Moritz Bunkus
f86057e18d Fixed AVC extraction. Patch by Mike Matsnev <mike () po ! cs ! msu !su>. 2005-08-21 12:37:25 +00:00
Moritz Bunkus
5833f47656 Also write \r to stdout on Windows if it is the last character to be written. Flush stdout afterwards so that frontends (e.g. mmg) receive the output immediately. 2005-08-17 15:28:47 +00:00
Moritz Bunkus
0bdb3d83c2 Merged 3027 from https://svn.bunkus.org/mosu/trunk/prog/video/librmff 2005-08-17 13:13:02 +00:00
Moritz Bunkus
0a4e6d625c Cast size_t arguments to something whose size is known (or that matches the format specifier). 2005-08-17 11:46:09 +00:00
Moritz Bunkus
c6744290e7 Strip \r when outputting to stdout on Windows as Windows writes the \r on \n itself. 2005-08-16 17:14:54 +00:00
Moritz Bunkus
837a4bf7bb Simplified adding attachments both from the command line and from input files. A new function, add_attachment(), takes a flat attchment_t structure as its argument. Only render_attachment() deals with the relevant libmatroska classes while other readers do not have to anymore. The change in test/results.txt is intended. 2005-08-15 20:47:56 +00:00
Moritz Bunkus
7840cd800d Another version of the sound STSD atom: v2. Undocumented so far, but let's just skip 68 bytes ahead to the ESDS thingy. 2005-08-14 10:11:39 +00:00
Moritz Bunkus
cd661e5b2b Added 'pnot' to the list of atoms considered to be valid for Quicktime/MP4 files. 2005-08-13 10:58:44 +00:00
Moritz Bunkus
f896ed4685 Skip all unknown atoms, not only the "known" unknown ones. 2005-08-13 10:50:11 +00:00
Moritz Bunkus
6b29e4298f Renamed all member variables to m_* and the others accordingly. Changed v2 timecode files to require the timecodes to be sorted. Introduced timecode format v2 which is identical to v2 but allows non-sorted timecodes for those users that want to shoot themselves in their collective feet. 2005-08-12 10:56:07 +00:00
Moritz Bunkus
3880790696 Compilation fix for building on Solaris. 2005-08-12 09:42:33 +00:00
Moritz Bunkus
4105d505f6 Removed the lower limit of 1000 for --timecode-scale. 2005-08-07 10:10:57 +00:00
Moritz Bunkus
7a170eb98c Always recalculate the maximum number of ns per cluster, not only for sample precision mode. Otherwise low values for --timecode-scale would cause libmatroska to assert(). 2005-08-07 10:01:35 +00:00
Moritz Bunkus
15f47f2741 Reworked the packet queueing if timecode files are involved. First, do not queue anything if no timecode file has been specified and don't create a factory in that case either. Second, queue only as many frames as are needed. This depends on the track type and codec used. Subtitle tracks do not need any queueing. Neither do most audio tracks with the exception of RealAudio. Most normal B frame video codecs like MPEG-4 part 2, MPEG-1/-2, RealVideo etc only need short queueing while AVC and all unknown video codecs should be fully queued. 2005-08-06 11:52:14 +00:00
Moritz Bunkus
2f9f2801e7 Flush the packetizers! 2005-08-06 11:36:45 +00:00
Moritz Bunkus
ee0ffc1b87 Moved the handling of CL args common to all programs to a special function. That way mkvmerge and mkvextract gain --redirect-output and --output-charset (which they partially had before as well). 2005-08-03 17:21:31 +00:00
Moritz Bunkus
9a6055bb2d Added an extraction mode for v2 timecode files. 2005-08-03 13:58:48 +00:00
Moritz Bunkus
0e39483664 Output a warning if a v2 timecode file contains non-sorted timecodes. 2005-08-03 13:08:44 +00:00
Moritz Bunkus
fcb91df81c Fixed initialization. Also made sure that stdio is only redirected once as the CL args are passed multiple times. 2005-08-03 12:41:20 +00:00
Moritz Bunkus
141fa9974e Use mm_stdio->write() instead of mm_stdio->puts() so that carriage returns are not removed. 2005-08-03 11:13:41 +00:00
Moritz Bunkus
df5e9d869b Added --output-charst just like in mkvmerge to mkvinfo. 2005-08-03 11:12:35 +00:00
Moritz Bunkus
dae3bf21a1 Small correction to the help output. 2005-08-03 11:08:27 +00:00
Moritz Bunkus
0a00ee4cc9 Forgot some stdio class initializations. 2005-08-03 11:00:38 +00:00
Moritz Bunkus
fb3b7fd8b2 Made the mx* output routines write to an instance of mm_io_c and added an option for mkvinfo ("-o") for redirecting its output to a file. 2005-08-03 10:26:08 +00:00
Moritz Bunkus
934de763c7 Updates. 2005-08-03 09:28:34 +00:00
Moritz Bunkus
371c67727e A bit more space above the check box. 2005-08-03 09:18:15 +00:00
Moritz Bunkus
6c0425c922 Moved the application of the timecode factory to the packet's timecodes from get_packet() to add_packet2(). It is also called after flush(). It assigns as many packets as possible regarding the possible presence of B frames. If it is a subtitle track or if the packetizer has been flushed then all remaining packets are applied. Removed the timecode_factory_c::peek_next() function. 2005-08-02 19:26:57 +00:00
Moritz Bunkus
801e2b9ef5 Added support for extracting h.264 / AVC tracks into proper h.264 ES streams. Patch by Matt Rice <topquark () sluggy ! net>. 2005-08-02 08:20:01 +00:00
Moritz Bunkus
25d6ccee1a Added a regression test for the segfault fixed in r2996. 2005-07-28 06:35:04 +00:00
Moritz Bunkus
b1d7f1a40c Do the setup before trying to convert the command line to UTF-8. Otherwise arguments with non-ASCII characters are not converted correctly. 2005-07-25 18:23:36 +00:00
Moritz Bunkus
871d1b744b Timecode file handling for B frames. Patch by Steve Lhomme (see AUTHORS). Does not work yet as far as I can tell. 2005-07-25 15:58:07 +00:00
Moritz Bunkus
b08f7dd45f Do not try to access elements in a vector that are not present. 2005-07-20 08:14:23 +00:00
Moritz Bunkus
06948800ad Don't truncate large values. 2005-07-19 20:01:07 +00:00
Moritz Bunkus
6bd0b741a2 Do not truncate integers after reading them from Matroska files -- e.g. display width/height etc. 2005-07-19 19:53:12 +00:00