Commit Graph

81 Commits

Author SHA1 Message Date
Moritz Bunkus
be157d9fd3 MP4 files may contain other atoms than "avcC" in the video track headers; so look for "avcC" and don't rely on it being the first one. Added limited support for edit lists in MP4/QuickTime files. 2005-11-18 18:18:10 +00:00
Moritz Bunkus
a54cce80c3 Made the old AAC codec IDs the default again and renamed the hack to enable the new one. 2005-11-12 18:11:49 +00:00
Moritz Bunkus
0591a72ca1 Intended update due to the A_AAC change. 2005-10-23 16:52:17 +00:00
Moritz Bunkus
a3b0ee0816 Built against libmatroska 0.8.0. The mandatory elements have been changed. Intended update of results.txt. 2005-10-19 15:12:57 +00:00
Moritz Bunkus
8b41e3f949 Write codec extradata to the AVI if it is present which it is for e.g. HuffYuv. Fixes bug 157. 2005-10-04 17:49:36 +00:00
Moritz Bunkus
dc1f002065 Rewrote the reading function of the AVI reader to be much cleaner. It also allows one frame AVIs to be processed correctly. Fixes bug 156. 2005-10-04 17:30:09 +00:00
Moritz Bunkus
eebddbda7f Changed how frames are referenced in h.264/AVC video. References are kept intact when reading from Matroska. If no references are provided then the previous frame is referenced for non-I frames. Should fix bug 154. 2005-09-30 18:12:38 +00:00
Moritz Bunkus
d338c5dd12 Also fix the BITMAPINFOHEADER with the new pixel dimenions after getting them from the bitstream. Added a test case for this feature. 2005-09-19 07:49:22 +00:00
Moritz Bunkus
b1e6f2bd55 Intended change due to commits 3088:3090. 2005-09-18 10:57:55 +00:00
Moritz Bunkus
e14bcb1b24 Updated the results for AVC muxing: the AR info is removed from the bitstream. 2005-09-06 09:49:50 +00:00
Moritz Bunkus
0f82880d15 Doh! 2005-09-03 12:08:10 +00:00
Moritz Bunkus
3cdfb8b3fe Only try to delete a file that actually exists. 2005-09-03 12:03:31 +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
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
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
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
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
25d6ccee1a Added a regression test for the segfault fixed in r2996. 2005-07-28 06:35:04 +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
3e0da0ff84 AVC frames are referenced differently. Updated the test results. 2005-07-19 19:52:15 +00:00
Moritz Bunkus
447db3e04a VobSub extraction has been purposefully changed by commit 2915. 2005-05-20 14:24:15 +00:00
Moritz Bunkus
00c0cb47cb The default value for "MaxBlockAdditions" has been changed from 1 to 0 in order to match the specs. 2005-05-05 14:58:14 +00:00
Moritz Bunkus
95f5ae4b59 Updated the results due to commit 2876. 2005-04-07 17:11:38 +00:00
Moritz Bunkus
223e1a2613 Added a test for the chapter handling during splitting (see commit 2869 and Anthill bug 122). 2005-04-06 14:52:15 +00:00
Moritz Bunkus
3a2fb8538a Added a test for a formerly mis-detected AC3 file. 2005-03-15 08:30:03 +00:00
Moritz Bunkus
b6f574ab55 Updated status 2005-03-14 13:14:34 +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
b76004ecd3 Replaced all exception() classes with error_c() classes. Added support for reading SegmentUID, NextSegmentUID and PreviousSegmentUID from a --segmentinfo XML file. Added a test for such a XML file. 2005-02-11 23:29:39 +00:00
Moritz Bunkus
579270a9b8 Added a test for VobSub extraction. 2005-02-11 22:20:18 +00:00
Moritz Bunkus
e3b2d4ecc5 Renamed a couple of variables ("tracks" -> "tspecs"). Fixed CUE sheet extraction in "tracks" mode. Added a test for the two CUE sheet extraction modes. 2005-02-10 20:20:47 +00:00
Moritz Bunkus
0bbba45e19 Changed the behaviour of --link-to-next and --link-to-previous to match the man page. Now both parameters can be used whether or not --split is used as well. 2005-02-02 15:16:45 +00:00
Moritz Bunkus
1c493df414 Easier removal of temporary files for test classes. Added a new exception for handling inside the test classes themselves so that they do not have to use RuntimeError which is used extensively by the Test class itself. 2005-02-02 15:15:17 +00:00
Moritz Bunkus
d458c26ff6 Added two test cases for WavPack with and without correction data. 2005-02-01 08:45:03 +00:00
Moritz Bunkus
d54a597c8c Added test cases for AVC in MP4 with pixel aspect ratio, both with and without B frames. 2005-01-25 21:47:19 +00:00
Moritz Bunkus
485dfbbb03 Commit 2726 changed the duration for files whose first packet does not start at 0. Updated the test results accordingly. 2005-01-19 13:08:41 +00:00
Moritz Bunkus
1cb2d837b1 Account for automatic handling of TrackMinCache. 2005-01-16 10:12:03 +00:00
Moritz Bunkus
96ba68b2e9 Only delete a file if it actually exists. 2005-01-11 08:18:34 +00:00
Moritz Bunkus
597f587b60 Account for recent changes in the chapter specs. 2005-01-05 22:34:20 +00:00
Moritz Bunkus
8e8d875f24 New checksums because of the new mandatory element "MaxBlockAdditionID". 2004-12-20 18:09:54 +00:00
Moritz Bunkus
21d4f10d47 New chapter handling due to file concatenation. 2004-11-22 09:54:49 +00:00
Moritz Bunkus
855bc2bd09 Big API change from "char *" to "string". 2004-11-21 22:26:09 +00:00
Moritz Bunkus
e4c0a53e6f Account for the new Forced flag. 2004-11-18 21:19:36 +00:00
Moritz Bunkus
bbced0c45c Updates for the new timecode adjustment policy for splitting. 2004-11-13 18:59:19 +00:00
Moritz Bunkus
92eb6cad48 Imlpemented appending chapters. 2004-11-13 17:49:50 +00:00
Moritz Bunkus
03184bb462 Changed the chapter handling to a per-reader basis. This will allow for chapter concatenation when concatenating files. This also means that chapters cannot be written before the output file is closed. Reserving enough space at the beginning is therefore necessary. 2004-11-13 12:59:02 +00:00
Moritz Bunkus
ef188b301f Test result update 2004-11-12 12:04:32 +00:00
Moritz Bunkus
d088d6de07 The OGM reader uses a memory file as temporary storage for the chapters and not a file on disc. 2004-11-12 11:39:32 +00:00
Moritz Bunkus
57fa9f31bd Merged 2383 2004-10-24 18:01:19 +00:00
Moritz Bunkus
71edb3d50f Merged 2367 2004-10-16 21:49:17 +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