Commit Graph

2826 Commits

Author SHA1 Message Date
Moritz Bunkus
23bd4847b4 Write "EAC3" as intended. 2008-10-04 19:25:18 +00:00
Moritz Bunkus
8c1fd25fbe Stray %s. 2008-10-04 19:22:30 +00:00
Moritz Bunkus
0f86603685 Fine-tuned the MPEG1/2 ES detection. 2008-10-04 18:53:24 +00:00
Moritz Bunkus
1e02fb1c9b More compilation fixes regarding Boost::format, EbmlElement.h and the min() def. 2008-10-04 17:54:56 +00:00
Moritz Bunkus
97df24b722 Removed debugcode. Cosmetics. 2008-10-04 16:25:54 +00:00
Moritz Bunkus
dc1b015722 Cosmetics; renamed a lot of variables; replaced some code with standard libraries (e.g. Boost::Regex). 2008-09-30 22:35:14 +00:00
Moritz Bunkus
9b61b6e498 Hex dump in hex -- convert char to int before handing it over to boost::format. 2008-09-30 20:43:57 +00:00
Moritz Bunkus
3bbb8099e2 Such a stupid mistake... 2008-09-29 12:54:36 +00:00
Moritz Bunkus
304374dfd0 Fixes for compilation on mingw. 2008-09-29 08:42:26 +00:00
Moritz Bunkus
2426514f6b Replaced my mxinfo/mxerror/mxwarn/mxverb functions and all other printf-like functions with the use of the Boost format library. 2008-09-28 21:05:53 +00:00
Moritz Bunkus
4af3368ce9 Updated library dependency information. 2008-09-28 17:22:35 +00:00
Moritz Bunkus
a65edec28f ... 2008-09-28 17:10:58 +00:00
Moritz Bunkus
527619081d Scan the other directories, too. 2008-09-28 16:59:50 +00:00
Moritz Bunkus
235e19324f Scan src/info. 2008-09-28 14:55:31 +00:00
Moritz Bunkus
92fa9d15b4 Added a couple of my scripts used during development to the Subversion repository. 2008-09-27 11:24:57 +00:00
Moritz Bunkus
f87d6db709 Finetuning the progress display. 2008-09-26 14:58:46 +00:00
Moritz Bunkus
f83ca9a965 *** empty log message *** 2008-09-25 14:42:04 +00:00
Moritz Bunkus
c317f2ba2f I will use features introduced in Boost 1.29 soon. 2008-09-25 13:21:31 +00:00
Moritz Bunkus
a3a365ef49 Use the timecodes provided by the MPEG PS stream for the VC1 video packets. 2008-09-25 09:54:29 +00:00
Moritz Bunkus
5b8c29cd25 Updates 2008-09-25 09:53:31 +00:00
Moritz Bunkus
4e419fb6ae Cosmetics 2008-09-24 19:02:09 +00:00
Moritz Bunkus
6fefd9b57f Skipped frames in VC1 video should not have any other flags set. 2008-09-24 19:00:14 +00:00
Moritz Bunkus
5ba32985fb Avoid invalid memory access: Overwriting m_unparsed_buffer before copying data from the cursor is bad. The old m_unparsed_buffer is still used in the cursor. Therefore the copy might read from just freed memory. 2008-09-24 18:59:14 +00:00
Moritz Bunkus
5927a6c1f5 Print a textual description of the frame coding mode. 2008-09-24 18:56:15 +00:00
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