Moritz Bunkus
c743eea7fa
Read the PES extension and get the substream ID from it. This is needed for VC1 video tracks.
2008-09-24 18:50:34 +00:00
Moritz Bunkus
4ebd5d60ad
Cosmetics
2008-09-24 16:02:38 +00:00
Moritz Bunkus
2424e9caa6
Use a struct for storing the ID and sub ID for MPEG PS packets instead of keeping it in a single integer.
2008-09-24 15:58:35 +00:00
Moritz Bunkus
981e9245a1
Better wording ;)
2008-09-22 17:27:47 +00:00
Moritz Bunkus
c2e680ba3f
Added support for SimpleBlocks for timecode extraction mode.
2008-09-22 17:22:37 +00:00
Moritz Bunkus
c79e4235de
Allow access units for AVC detection and probe the first 10 MB.
2008-09-21 17:08:05 +00:00
Moritz Bunkus
fe0524a11b
Allocate memory with proper length and deallocate the memory afterwards.
2008-09-21 16:11:22 +00:00
Moritz Bunkus
1f9efc5959
Fixed reading AC3 files bigger than 2 GB.
2008-09-21 15:17:42 +00:00
Moritz Bunkus
c864440f17
Added support for Dirac video tracks.
2008-09-21 14:31:14 +00:00
Moritz Bunkus
8692102a0e
This is the VC1 packetizer.
2008-09-21 13:21:23 +00:00
Moritz Bunkus
e47daf196b
Avoid memory duplication.
2008-09-21 08:02:45 +00:00
Moritz Bunkus
be79f31908
Code in the wrong function.
2008-09-21 08:01:08 +00:00
Moritz Bunkus
b5b15511f0
Intentional change due to the fix in revision 3917.
2008-09-20 18:03:11 +00:00
Moritz Bunkus
650986eb30
Both AVC and MPEG-1/-2 video tracks use the same packet ID in MPEG program streams. The detection for them should not rely on the very first packet encountered being the start of an AVC NALU/MPEG video packet. The detection has been changed to search through enough bytes until several required start codes are found for either type.
2008-09-20 17:53:50 +00:00
Moritz Bunkus
4c97668948
The DTS header finding function requires that enough data is available to determine whether or not it is DTS-HD. This means that the MPEG PS reader has to read enough MPEG PS packets for the DTS header finder to work with.
2008-09-20 15:18:26 +00:00
Moritz Bunkus
ef430c2887
VC1: Implemented madshi's comments:
...
1. The frame markers are kept.
2. Non-frame packets are kept together with the frame packet in a single Matroska block (sequence headers and entrypoints first, then a single frame, then slices, fields and other packets that may be present).
3. Key frame decision: Also true for the first frame after a sequence header.
4. Timecode calculation modified; still flaky.
2008-09-20 14:27:37 +00:00
Moritz Bunkus
08f67da26c
Moved the base64tool into the src/tools directory so that it will not be built by default anymore.
2008-09-20 14:21:49 +00:00
Moritz Bunkus
fee1a2772b
Show end-of-sequence packets in VC1 streams.
2008-09-20 14:21:36 +00:00
Moritz Bunkus
2df43637cb
Moved the base64tool into the src/tools directory so that it will not be built by default anymore.
2008-09-20 14:21:05 +00:00
Moritz Bunkus
a9f9486466
Split the three MPEG readers (ES/PS/TS) into separate files.
2008-09-20 14:00:11 +00:00
Moritz Bunkus
929b530629
Split the three MPEG readers (ES/PS/TS) into separate files.
2008-09-20 13:51:34 +00:00
Moritz Bunkus
205e71c144
Don't output "unknown" for field and slice packets.
2008-09-19 21:28:17 +00:00
Moritz Bunkus
2d49a444a5
Added the extensions "evo", "evob" and "vob" to mmg's "add file" dialog.
2008-09-19 20:52:27 +00:00
Moritz Bunkus
8bd36ae0af
Set container type for VC1.
2008-09-19 20:47:34 +00:00
Moritz Bunkus
6396596fb1
Moved code into a separate function.
2008-09-19 09:17:39 +00:00
Moritz Bunkus
b767595157
Output a warning if a non-square aspect ratio is found in a VC1 stream.
2008-09-19 08:25:21 +00:00
Moritz Bunkus
14781255e4
Added VC1 to the list of mmg's supported input files.
2008-09-19 07:50:20 +00:00
Moritz Bunkus
49d3296a6e
Hmm...
2008-09-19 07:49:05 +00:00
Moritz Bunkus
fe6aae0947
Library dependencies for vc1parser
2008-09-18 21:29:54 +00:00
Moritz Bunkus
e1e63d4c1d
Fixed VC1 timecode calculation by taking the "frame count" and "repeat first field" header fields into account.
2008-09-18 21:09:56 +00:00
Moritz Bunkus
c84b401784
Debugoutput
2008-09-18 13:56:40 +00:00
Moritz Bunkus
cd64533695
Added support for reading VC1 video tracks from MPEG program streams (EVOBs).
2008-09-18 12:13:30 +00:00
Moritz Bunkus
99a489e2ef
Added modules for reading VC1 elementary streams and putting them into Matroska.
2008-09-17 22:23:36 +00:00
Moritz Bunkus
ed431e6f88
More frequent updates of the progress indicator. Otherwise for some readers there will only be a handful during the whole muxing process.
2008-09-17 22:23:10 +00:00
Moritz Bunkus
d9facb5272
Set a couple of SVN properties.
2008-09-17 17:17:40 +00:00
Moritz Bunkus
c8076d9ffe
First steps towards support for VC1 video tracks: the parser for elementary streams.
2008-09-17 15:26:02 +00:00
Moritz Bunkus
1fe0e40ab0
Added support for 7.1 EAC3 files.
2008-09-17 07:49:39 +00:00
Moritz Bunkus
d4c21db436
Cosmetics.
2008-09-14 17:41:33 +00:00
Moritz Bunkus
015299f67f
A method for re-using a bit_cursor_c object.
2008-09-14 12:03:05 +00:00
Moritz Bunkus
48cdb42fcb
Adjusted the length calculation for the HD part of DTS-HD with new information from madshi.
2008-09-14 12:02:33 +00:00
Moritz Bunkus
09ccdefada
Revision 3831 (the change to the "--delay" and "--sync" options) caused mkvmerge to no longer respect the delay caused by garbage at the beginning of MP3 and AC3 audio tracks in AVI files. The timecodes of such tracks are now delayed appropriately again. Fix for bug 300.
2008-09-13 16:55:10 +00:00
Moritz Bunkus
48486bdfcd
Code refactoring, cosmetics.
2008-09-13 12:26:13 +00:00
Moritz Bunkus
0422ccb974
Turn on the end of stream flag on the last Ogg packet during Theora extraction.
2008-09-12 20:37:06 +00:00
Moritz Bunkus
524cee0ddc
Ignore unknown stream types in Ogg files (the function "demuxing_requested()" doesn't like being called with unknown track types). Fix for bug 299.
2008-09-12 18:16:33 +00:00
Moritz Bunkus
2e02c96599
Added support for extracting Theora video tracks into Ogg files. Fix for bug 298.
2008-09-12 17:04:11 +00:00
Moritz Bunkus
8a4cd7fc44
Theora is fixed for Ogg and Matroska files.
2008-09-12 16:09:07 +00:00
Moritz Bunkus
5160ebaaaf
Added a Theora video packetizer that gets the key frame flags from the video frames. That way old files created by mkvmerge which could contain wrong key frame information will be fixed.
2008-09-12 16:08:40 +00:00
Moritz Bunkus
c9b03bcb3c
Cosmetics.
2008-09-12 15:57:16 +00:00
Moritz Bunkus
7b3cda1d92
Theora video: Get the frame type directly from the frames, and do not rely on the granulepos values.
2008-09-12 14:53:19 +00:00
Moritz Bunkus
8897672a70
Fixed the frame type (key or non-key frame) detection for Theora tracks in Ogg files.
2008-09-12 11:01:09 +00:00