Commit Graph

2671 Commits

Author SHA1 Message Date
Moritz Bunkus
8ba834b720 AVC/h.264: Signal "key frame" if a recovery point has been found (a SEI NALU of type 6). Is necessary for streams without IDR slices. 2007-04-26 08:32:49 +00:00
Moritz Bunkus
4c84e14b9e Allow negative timecodes in "delay:" lines in VobSub subtitles. Fix for bug 241. 2007-04-19 07:50:15 +00:00
Moritz Bunkus
6bbfae08fc Improved the file type detection code for MPEG transport streams. If such a file is detected then an error message is output. 2007-04-18 17:20:18 +00:00
Moritz Bunkus
1fc84c8b31 Do not skip the first three bytes for normal AC3 tracks in MPEG program streams. 2007-03-23 11:53:18 +00:00
Moritz Bunkus
f3a01efbe4 When splitting video and linking is not active then don't use the first I frame\s timecode as the offset for the next file but the highest timecode + duration written to the previous file. Reason: For AVC/h.264 the timecode of the following P frames may be smaller than the first I frame's timecode. 2007-03-22 09:06:14 +00:00
Moritz Bunkus
4070ad45ee Allow "." as the decimal separator in SRT files as well as ",". 2007-03-16 07:28:40 +00:00
Moritz Bunkus
d810313cd2 Removed all the cluster and block group caching and access code and replaced it with a single instance of a cluster and packet list. 2007-03-15 22:23:04 +00:00
Moritz Bunkus
5c1c738ae1 Extended the "AddFrame" functions provided by libmatroska so that the calling application only supplies the reference timecodes for each frame, not the BlockGroup itself. This allows for much easier code in the application because BlockGroups don't have to be cached. The caching code will be removed in a separate commit. 2007-03-15 20:33:34 +00:00
Moritz Bunkus
9459522873 Allow disabling wxWidgets while enabling Qt. 2007-03-15 10:40:52 +00:00
Moritz Bunkus
1ca3824964 Updates 2007-03-12 15:09:58 +00:00
Moritz Bunkus
1c8ce40360 File concatenation: Files with deferred packetizers (e.g. subtitles) have to be marked as "done" once all packetizers in the current file are done. Otherwise the next file will not be read. Patch by Issa. 2007-03-12 15:04:28 +00:00
Moritz Bunkus
083b23e8a6 Sort the tracks in MPEG PS files first by their category (video, audio, subs) and then by their stream IDs. 2007-03-08 15:52:59 +00:00
Moritz Bunkus
4051b80e44 The MPEG PS reader will now buffer data up to a specific size for some track types before sending it to the packetizer. This is especially important for the MPEG-1/2 and h.264 packetizers which parse each packet once it is received. For MPEG PS files each packet is usually very small ( < 2048 bytes) resulting in a lot of data being parsed multiple times by the packetizers because they did not have full frames to work with. Result is a major speed-up. 2007-03-08 15:17:08 +00:00
Moritz Bunkus
05b4c842a5 Some more debug info. 2007-03-05 19:19:48 +00:00
Moritz Bunkus
93a5083066 Re-added the "timecode" warning, but only if it is turned on via --engage enable_timecode_warning. 2007-03-05 19:18:24 +00:00
Moritz Bunkus
4a6674e730 If a packet header cannot be parsed then try skipping this packet. Additionally try to resync to the next start code in the case of errors. 2007-03-05 12:45:06 +00:00
Moritz Bunkus
989ac0aad8 Added support for handling AVC/h.264 tracks in MPEG program streams. 2007-03-05 10:08:49 +00:00
Moritz Bunkus
95433a92d0 Cosmetics: Moved code to separate functions. 2007-03-04 18:09:10 +00:00
Moritz Bunkus
2357f7cc99 MPEG PS reader: Added code for parsing the program stream map if present. Changed the MPEG-1/-2 detection code so that it will not read a file forever, especially if it is not MPEG-1/-2 but e.g. AVC. 2007-03-04 17:32:29 +00:00
Moritz Bunkus
95b6a98f6c Deactivated the "timecode < last_timecode" warning message. 2007-03-02 16:33:33 +00:00
Moritz Bunkus
79d11917b4 Removed an unused function. 2007-03-02 16:29:04 +00:00
Moritz Bunkus
87b7a111ef Added support for EAC3 tracks in MPEG program streams. 2007-03-02 15:06:32 +00:00
Moritz Bunkus
95238e68a8 Added support for EAC3/DD+ (Dolby Digital Plus) files and tracks (raw EAC3 files or inside Matroska with CodecID A_EAC3). 2007-03-02 11:17:25 +00:00
Moritz Bunkus
e103238ed4 AVC/h.264 probe mechanism: Abort if the first byte in the file is 0x47 which indicates a transport stream. 2007-02-22 14:32:36 +00:00
Moritz Bunkus
d610c1e173 Updated the dependency information for libmatroska in the two SPEC files. 2007-02-21 10:44:27 +00:00
Moritz Bunkus
c09590f2ac Added the release message. 2007-02-21 10:30:55 +00:00
Moritz Bunkus
24fb1b46f4 Bumped the version number to 2.0.2 and set the release code name. 2007-02-21 10:29:30 +00:00
Moritz Bunkus
c15c693f65 Portability fix for non-bash-shells. 2007-02-20 09:33:04 +00:00
Moritz Bunkus
5937790c70 Portability fix for non-bash-shells. 2007-02-20 09:20:38 +00:00
Moritz Bunkus
9a522c9a2f Reintroduced the 'allow_avc_in_vfw_mode' hack due to user requests. 2007-02-19 08:52:27 +00:00
Moritz Bunkus
ef79aae98c Added two test files for raw h.264 muxing. 2007-02-08 10:15:48 +00:00
Moritz Bunkus
3debdee6f9 Added two regression tests for DTS files. 2007-02-06 16:50:46 +00:00
Moritz Bunkus
131ef6ae8d Fixed suppoert for DTS-in-WAV files which are encoded with 14 bits per word. 2007-02-06 15:52:01 +00:00
Moritz Bunkus
ecea81562d Proper casts for the function prototype of swab(). 2007-02-03 15:53:12 +00:00
Moritz Bunkus
369e88bcc0 Only print DTS headers in verbose mode. 2007-02-03 15:47:25 +00:00
Moritz Bunkus
0c834be27e Added support for DTS files which use only 14 out of every 16 bits and which are not stored inside a WAV file. 2007-02-03 15:22:16 +00:00
Moritz Bunkus
152a0fe714 Use another way for converting the track ID into a string. Fixes wrong track IDs on OpenBSD. 2007-01-31 19:34:37 +00:00
Moritz Bunkus
309a1c52df Changed the default for the "NALU size length" to "4" and added a warning if "3" is used. 2007-01-30 20:02:53 +00:00
Moritz Bunkus
46fb91d1fa Skip "wide" atoms during file type detection. 2007-01-30 12:34:10 +00:00
Moritz Bunkus
d6aa8fc874 Base the decision whether or not to enable the NALU size length drop down box on mkvmerge's "uses_avc_es_packetizer" identification flag. 2007-01-30 09:24:59 +00:00
Moritz Bunkus
e917ca4169 New flag in verbose identification mode if the AVC ES packetizer is used. 2007-01-30 09:12:56 +00:00
Moritz Bunkus
52433f1b7a Set the proper child element. 2007-01-29 14:57:58 +00:00
Moritz Bunkus
3484733c9b Extended the option "--default-track" so that it can be forced to "off" allowing the user to create a file for which no track has its "default" flag set. Fix for bug #224. 2007-01-28 21:57:32 +00:00
Moritz Bunkus
0556783a27 Cosmetics. 2007-01-19 17:31:41 +00:00
Moritz Bunkus
fe54ad47d2 Wrong value! 2007-01-17 09:42:54 +00:00
Moritz Bunkus
1efc33227b Updates. 2007-01-16 20:04:47 +00:00
Moritz Bunkus
8e76f25968 Always flush the packetizer at the end of the stream. 2007-01-16 20:03:07 +00:00
Moritz Bunkus
6e21d6789f Fixed a bug in parse_sps for the case "do not keep the AR info && AR info not present" which would produce invalid SPS records. 2007-01-16 19:37:34 +00:00
Moritz Bunkus
9ff0f0e5e6 Look for the --nalu-size-length parameter in the AVC reader, too, because the parser the AVC reader creates is used for the track's CodecPrivate. And the CodecPrivate contains the NALU size length. 2007-01-16 19:33:44 +00:00
Moritz Bunkus
0481b5265e Full hexdump mode. 2007-01-16 17:10:58 +00:00