Commit Graph

660 Commits

Author SHA1 Message Date
Moritz Bunkus
aad9455d00 MPEG TS: ignore timestamp outliers of at least five minutes
Fixes #998.
2014-03-05 21:25:04 +01:00
Moritz Bunkus
cca3f1696c tests/resuls.txt: fix accidental »failed« from 0bc5175 2014-03-05 19:03:59 +01:00
Moritz Bunkus
49a46d21f2 AVC/h.264 common: remove trailing zero bytes in NALUs
Implements #997.
2014-03-05 19:03:07 +01:00
Moritz Bunkus
0bc5175a28 AVC/h.264 common: don't flush before second field, even if recovery point is valid 2014-03-04 19:05:16 +01:00
Moritz Bunkus
99f96246d9 tests: update result for Polish translation 2014-03-02 19:57:53 +01:00
Moritz Bunkus
dc59dad564 Merge branch 'hevc' 2014-02-28 08:58:56 +01:00
Moritz Bunkus
916450e3a7 iso639: recognize deprecated ISO 639-1 code iw for Hebrew 2014-02-22 18:55:17 +01:00
Moritz Bunkus
0f0b894e73 tests: intentional update due to 67bba78 (forgot to update the expected checksum) 2014-02-22 17:25:11 +01:00
Moritz Bunkus
67bba78d14 AC3 packetizer: set changed track headers after reading the first AC3 packet
This causes the channel and sampling frequency information to be
updated from the bitstream as well, e.g. if the source container
provided invalid values.

The default duration has to be re-calculated as well.
2014-02-15 16:24:16 +01:00
Moritz Bunkus
6fbbd882d2 QT/MP4 reader: mux SVQ3 as V_QUICKTIME, not V_MS/VFW/FOURCC 2014-01-12 12:51:23 +01:00
Moritz Bunkus
559b2759e8 mkvpropedit: assume UID 0 if attachment's FileUID is missing 2014-01-11 20:30:22 +01:00
Moritz Bunkus
88a12dd245 mkvextract: ignore missing FileUID in an attachment 2014-01-11 20:16:43 +01:00
Moritz Bunkus
beebd4e8fe Matroska reader: ignore missing FileUID in an attachment 2014-01-11 20:09:52 +01:00
Moritz Bunkus
0a47af6a62 tests: intentional update due to 4a32569 2014-01-11 11:01:08 +01:00
Moritz Bunkus
4a32569f1a codec_c: add RealAudio codec types 2014-01-11 09:43:21 +01:00
Moritz Bunkus
aab4bb4b63 codec_c: add 'dnet' as known FourCC for AC3
Used in RealAudio.
2014-01-11 09:30:29 +01:00
Moritz Bunkus
c19e39a33c Test results: intentional update due to 0f944a4
Updating the tables also causes the global PTS offset to be
calculated. However, tracks that won't be muxed should not be taken
into account during said calculating.
2014-01-02 12:24:50 +01:00
Moritz Bunkus
ec2142bde6 QT/MP4 reader: don't special-case sample_size == 1 and empty sample_table
Fixes #950.
2014-01-01 22:15:59 +01:00
Moritz Bunkus
d01c13fa78 tests: add case for AC3 frame size 0, f658ca7 2013-12-30 23:31:31 +01:00
Moritz Bunkus
db1b5e1de3 codec_c: add CodecID and codec type for MPEG-H P2/HEVC/h.265 2013-12-30 17:54:54 +01:00
Moritz Bunkus
6eebc3697c Merge branch 'common-codec-names'
Conflicts:
	ChangeLog
2013-12-29 21:21:36 +01:00
Moritz Bunkus
ff591dafc5 VobSub, WAVPACK readers: use codec_c for common codec names 2013-12-29 21:19:01 +01:00
Moritz Bunkus
3e0f0b31ff SSA/ASS reader: use codec_c for common codec names 2013-12-29 21:19:00 +01:00
Moritz Bunkus
86c997ac61 SRT reader: use codec_c for common codec names 2013-12-29 21:19:00 +01:00
Moritz Bunkus
a991ba90d0 RealMedia reader: use codec_c for common codec names 2013-12-29 21:19:00 +01:00
Moritz Bunkus
8bd5a42230 OGM reader: use codec_c for common codec names 2013-12-29 21:19:00 +01:00
Moritz Bunkus
dc9da0fadd MPEG TS reader: use codec_c for common codec names 2013-12-29 21:19:00 +01:00
Moritz Bunkus
f56a0d0459 MPEG PS reader: use codec_c for common codec names 2013-12-29 21:19:00 +01:00
Moritz Bunkus
ceafc2f53e MP3 reader: use codec_c for common codec names 2013-12-29 21:19:00 +01:00
Moritz Bunkus
0ca566ebcc Matroska reader: use codec_c for common codec names 2013-12-29 21:19:00 +01:00
Moritz Bunkus
749c467de2 AVC/h.263 & AVI readers: use codec_c for common codec names 2013-12-29 21:18:59 +01:00
Moritz Bunkus
c810f64b9c AAC & AC3 readers: use codec_c for common codec names 2013-12-29 21:18:59 +01:00
Moritz Bunkus
cd4a9b6600 QT/MP4 reader: use codec_c for common codec names 2013-12-29 21:18:58 +01:00
Moritz Bunkus
467c84afac common: new codec_c class for codec identification 2013-12-29 21:18:17 +01:00
Moritz Bunkus
c43882dec5 mkvextract: look for track header with kax_analyzer_c before processing the clusters
That way the track headers will be found even if they're located at
the end of the file.
2013-12-29 12:32:14 +01:00
Moritz Bunkus
c890540042 MP4 reader: add support for DTS 2013-12-18 23:14:58 +01:00
Moritz Bunkus
636c53b35c tests: add test case for muxing various formats into WebM 2013-12-18 22:22:27 +01:00
Moritz Bunkus
a0e01bd962 test framework: sys returns both the output and the exit code 2013-12-18 22:22:27 +01:00
Moritz Bunkus
e59cecf141 tests: update due to e852ab4 Fix seek pre-roll and codec delay mapping. 2013-12-18 22:22:27 +01:00
Moritz Bunkus
8dc4d4c6de VC1: improve frame type detection, even if no entry point is available 2013-11-24 21:22:16 +01:00
Moritz Bunkus
e37ef5f2ca VC1: determine frame type from frame header as well, not only from sequence header presence 2013-11-15 16:48:24 +01:00
Moritz Bunkus
92daebd2b5 mkvinfo: don't cut track IDs/UIDs short to 32bits
Fixes #935.
2013-11-14 08:47:05 +01:00
Moritz Bunkus
3716e532ee memory_c::resize(): fix write to behind allocated block
If resizing down a non-free instance then we must copy at most as many
bytes as the new size allows for. Fixes #931.
2013-11-02 12:13:20 +01:00
Moritz Bunkus
14651c092e Tests: add test case for Polish locale 2013-10-26 16:04:32 +02:00
Moritz Bunkus
661ca07a1b Tests: fail if mkvmerge doesn't support specific locale 2013-10-26 16:04:32 +02:00
Moritz Bunkus
2ce5a4c320 Translations: enable use of Portuguese translation 2013-10-26 16:04:31 +02:00
Moritz Bunkus
92812907f7 Tests: unify and simplify UI locale test scripts 2013-10-26 14:06:04 +02:00
Moritz Bunkus
4d36b117f2 Tests: intentional update due to 58cc4da 2013-10-26 13:57:57 +02:00
Moritz Bunkus
73dc17d0c1 mkvextract: implement support for extracting VP9
See #899.
2013-10-19 20:06:57 +02:00
Moritz Bunkus
04714ed7b0 mkvmerge: implement support for muxing VP9
Can be read from IVF and Matroska/WebM files. Implements #899.
2013-10-19 20:02:46 +02:00
Moritz Bunkus
3fcd06d728 tests: add test case for all five supported UTF encodings 2013-10-19 15:52:40 +02:00
Moritz Bunkus
925fb5379d tests: move "srt" sub-dir 2013-10-19 13:08:26 +02:00
Moritz Bunkus
8e4e9ceeed tests: intentional update due to f540dfa 2013-10-18 21:34:40 +02:00
Moritz Bunkus
f540dfa19d mkvmerge: check result of tag parser file before using it
The result is a null smartptr if there are no tags inside the file. So
don't dereference it.

Fixes #921.
2013-10-18 20:24:17 +02:00
Moritz Bunkus
71ab9d599d mkvmerge: OGM reader: fix handling chapters encoded in non-system charset
OGM comments might be written in a charset other than UTF-8. During
identification we simply want to know how many chapter entries there
are. As mmg's users have no way to specify the chapter charset when
adding a file such charset issues may cause mkvmerge to abort or not
to show any chapters at all (if "parse_chapters()" fails). So just
remove all chars > 127.

Fixes #919.
2013-10-02 23:33:32 +02:00
Moritz Bunkus
41b485d54b mkvmerge: calculate segment duration with min timestamp in file, not first one 2013-09-17 21:07:45 +02:00
Moritz Bunkus
15ee1b8ac4 timecode_c: add min()/max()/value_or_min()/value_or_max() 2013-09-17 20:50:46 +02:00
Moritz Bunkus
1e74fe7547 Opus extraction: don't write version number with --engage no_variable_data 2013-09-16 21:59:51 +02:00
Moritz Bunkus
4e2cd32c31 Opus extraction test result update 2013-09-16 21:20:41 +02:00
Moritz Bunkus
d1cd65d988 mkvmerge: calculate output timecode after the assigned timecode has 100% been calculated 2013-09-16 21:20:14 +02:00
Moritz Bunkus
79e2bda369 mkvextract: implement support for Opus 2013-09-15 20:20:14 +02:00
Moritz Bunkus
0d395f9d15 clusters: write correct CueRelativePosition values for BlockGroups
Fixes #903.
2013-07-19 16:25:13 +02:00
Moritz Bunkus
6de77e9423 Opus: drop /EXPERIMENTAL codec ID suffix 2013-07-05 13:59:14 +02:00
Moritz Bunkus
086ec83973 Opus: output packets taking codec delay/seek pre-roll into account 2013-07-05 12:13:05 +02:00
Moritz Bunkus
d99c9529fb Tests: More Opus tests 2013-07-05 11:59:10 +02:00
Moritz Bunkus
eb63797b7c Opus: write codec delay header element 2013-07-05 11:40:13 +02:00
Moritz Bunkus
ea6009c50a Opus: write seek-pre-roll header element 2013-07-05 10:46:21 +02:00
Moritz Bunkus
89fea5a1ef timecode_c: add samples()/to_samples() conversion 2013-07-04 23:11:44 +02:00
Moritz Bunkus
5ee51ef6f5 Opus: write DiscardPadding for last packet; read it when muxing from Matroska 2013-07-04 23:11:44 +02:00
Moritz Bunkus
a27128d528 tests: add cases for Opus in experimental mode 2013-07-04 23:11:43 +02:00
Moritz Bunkus
305bcabe60 Update test results for new libMatroska 2013-07-02 22:35:05 +02:00
Moritz Bunkus
a44d552483 AVC/h.264 packetizer: set parser default duration when appending to field rate
Fixes #889.
2013-06-27 20:03:12 +02:00
Moritz Bunkus
4abd58a7b0 mkvmerge: FLV reader: get video dimensions from bitstream for FLV1 if not given in script tag
Fixes #880.
2013-06-24 23:00:35 +02:00
Moritz Bunkus
8cbdf77fb7 mkvmerge: drop broken PES packets
Fixes #887.
2013-06-24 22:10:28 +02:00
Moritz Bunkus
ef273a74af mkvextract: fix WAV block_align field for mono audio
Fixes #883.
2013-06-24 20:04:34 +02:00
Moritz Bunkus
e7dc5e2b9a common: template class for options with source 2013-05-05 10:17:14 +02:00
Moritz Bunkus
7061447b0a Tests: Intentional update due to c0dcbce 2013-05-02 16:17:58 +02:00
Moritz Bunkus
a44d8364c8 AVC/h.264 output: use modified AVCC in packetized code path
Fixes #868.
2013-04-27 17:45:27 +02:00
Moritz Bunkus
cf56641708 mkvmerge: sort cue entries 2013-04-16 12:23:14 +02:00
Moritz Bunkus
3cb1ed9e65 Cues rendering: reset num of processed cue entries when creating a new file 2013-04-15 22:41:53 +02:00
Moritz Bunkus
d98aaaae4f Don't sort cues in a bogus way 2013-04-15 21:58:41 +02:00
Moritz Bunkus
c8faa01dc1 FLV reader: read CTS offset as a signed integer
See specs, chapter 1, description of the AVCVIDEOPACKET structure.
2013-04-14 11:55:40 +02:00
Moritz Bunkus
7f83fd84ad Tests: add case for e2a5843 2013-04-13 21:42:08 +02:00
Moritz Bunkus
9fec9c36e7 tests: Intentional update due to b5c5961 2013-03-31 15:20:57 +02:00
Moritz Bunkus
b5c5961125 AVI reader: fix skipping of 0-sized audio chunks
Fixes #843.
2013-03-31 14:37:07 +02:00
Moritz Bunkus
2e486f4d88 Add test case for 44e822e 2013-03-29 12:08:35 +01:00
Moritz Bunkus
6bbb962eab mkvmerge: warn about AVC/h.264 tracks with VFR but without provided timecodes
Implements #851.
2013-03-18 22:41:01 +01:00
Moritz Bunkus
917af3f92c mkvmerge: include is_providing_timecodes in verbose identification 2013-03-18 21:52:24 +01:00
Moritz Bunkus
20da5633ea Intentional update after accidental change in 8830fcc 2013-03-18 19:51:59 +01:00
Moritz Bunkus
719253bc89 mkvmerge: output timecodes right before/after resync 2013-03-18 18:58:19 +01:00
Moritz Bunkus
8830fcc8e6 Intentional update due to 61aed59 2013-03-09 17:13:56 +01:00
Moritz Bunkus
2daf658edc All: remove support for BZ2 and LZO compression 2013-03-03 21:04:19 +01:00
Moritz Bunkus
14d7db97ed PS input: improve video type detection for MPEG-1/2 vs. AVC/h.264
Fixes #845.
2013-02-24 13:33:16 +01:00
Moritz Bunkus
db53e91cc1 mmg: implement playlist scan/selection 2013-02-24 11:03:16 +01:00
Moritz Bunkus
4225ab389c Chapters: merge editions when splitting by parts
See #831: part of the bug fix.
2013-02-17 10:56:36 +01:00
Moritz Bunkus
d81a850690 Fix FourCC human readable test for (C) sign 2013-02-16 22:07:48 +01:00
Moritz Bunkus
fee358e33b mkvmerge: fix chapter selection/timecodes when splitting by parts
Fixes #831.
2013-02-16 20:49:30 +01:00
Moritz Bunkus
8a6533dbcd Tests: output commands if $DEBUG is set 2013-02-16 15:28:19 +01:00
Moritz Bunkus
3b56ac1f15 MP4 reader: resync at top level if size is invalid 2013-02-16 00:34:40 +01:00
Moritz Bunkus
de66a66e8b fourcc_c: new functions shift_read(); equiv() for std::vector<std::string>; human_readable() 2013-02-16 00:00:29 +01:00