mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
Fix for bug 245. Patch by Todd Schmuland (see AUTHORS). Explanation from Todd: I tried using mkvextract to get VobSub tracks out of a mkv to make sure I muxed in the correct subtitle stream. What I noticed is that programs like Subtitle Creator and VobSubStrip would error out on one particular sub file. After looking into it, the issue is in how mkvextract handles padding lengths of 1 to 7. There are two methods, the one mkvextract currently uses is to use the 00 00 01 BA packet where the 3 least significant bits of the last header byte indicate how many padding FF bytes follow. There's nothing wrong with this, however, many programs don't decode this properly and error out since they are expecting the next bytes to be 00 00 01. The other method is to pad the 00 00 01 BD packet header with FF bytes and simply increase the header length byte to include the pad count. For example where padding = 5: method 1 00 00 01 BA 44 32 4C 46 44 01 01 89 C3 FD FF FF FF FF FF 00 00 01 BD 07 E7 81 80 05 21 0C 93 11 91 <payload> becomes method 2 00 00 01 BA 44 32 4C 46 44 01 01 89 C3 F8 00 00 01 BD 07 EC 81 80 0A 21 0C 93 11 91 FF FF FF FF FF <payload> Notice the 00 00 01 BD total packet length increased from 07E7 to 07EC and the packet header length increased from 05 to 0A. The benefit of this is that the 00 00 01 BD header length includes the pad length with no additional work by a program's decoder, so the SUB file is always properly parsed while decoding. In fact the DVD this particular VobSub came from used method 2.
98 lines
3.1 KiB
Plaintext
98 lines
3.1 KiB
Plaintext
The authors for the main code in alphabetical order:
|
|
|
|
Bunkus, Moritz (Mosu) <moritz@bunkus.org>
|
|
* Almost everything
|
|
|
|
Cannon, John (spyder482) <spyder@matroska.org>
|
|
* MPEG ES parser code
|
|
|
|
Coalson, Josh <j_coalson@yahoo.com>
|
|
* support for libFLAC 1.1.3
|
|
|
|
Galassi, Damiano <damiog@gmail.com>
|
|
* Bugfix for timecodes in MP4 files with edit lists and B frames
|
|
|
|
Hakobyan, Sergey <sergey.hakobyan@viragelogic.com>
|
|
* Support for creating missing output directories
|
|
* Using the attachment names in Matroska files for extraction
|
|
|
|
Taniura, Hiroki <zuntakapokoten@gmail.com>
|
|
* Japanese translation
|
|
|
|
Jacobs, Aurelien <aurel@gnuage.org>
|
|
* Support for RealAudio v3 in RealMedia files
|
|
* Bugfixes (e.g. BZIP2 compression)
|
|
* Support for float PCM tracks
|
|
|
|
Le Guen, Nicolas (Goldenear) <nleguen@pepper-prod.com>
|
|
* Enhancements and updates to the "CUE sheet to tags & chapter
|
|
conversion" process
|
|
* Small updates to mmg and the MIME type list
|
|
|
|
Lee, Dean <xslidian@gmail.com>
|
|
* Chinese (simplified) translation
|
|
|
|
Lhomme, Steve (robux4) <steve.lhomee@free.fr>
|
|
* Fixes for compilation with MSVC
|
|
* Enhancements and fixes to the XML chapter parser
|
|
* The complete VobButton handling
|
|
* The complete WAVPACK handling
|
|
* Support for SimpleBlock usage
|
|
* The CorePicture XML reader
|
|
|
|
Matsnev, Mike (Haali) <mike@po.cs.msu.su>
|
|
* CreateFileUtf8() function
|
|
* Windows implementation for vsscanf
|
|
* The MPEG header generation for VobSub extraction
|
|
|
|
Mierzejewski, Dominik (Rathann) <dominik@greysector.net>
|
|
* Patch for proper Boost detection for cross compilation builds
|
|
|
|
Millan, Robert <rmh@aybabtu.com>
|
|
* MIME type recognition via libmagic
|
|
* Fix for a malloc bomb in the PCM handling
|
|
|
|
Mistry, Shailesh L <shailesh.mistry@milan.eclipse.co.uk>
|
|
* Fixes for compilation of avilib with cygwin
|
|
|
|
Niemayer, Peter <niemayer@isg.de>
|
|
* The DTS code (reader, packetizers, dts_common)
|
|
* The use of posix_fadvise in the mm_io_c class
|
|
|
|
Pettenò, Diego <flameeyes@gentoo.org>
|
|
* Support for liblzo2
|
|
|
|
Pettersen, Vegard <vegard_p@broadpark.no>
|
|
* Extended support for converting CUE sheets to tags & chapters
|
|
|
|
Rice, Matt <topquark@sluggy.net>
|
|
* Extraction of h.264 into proper h.264 ES streams
|
|
|
|
Schmuland, Todd <tschmula@gmail.com>
|
|
* Bugfix for VobSub extraction
|
|
* Bugfix for VobSub muxing
|
|
|
|
Stone, Jory (jcsston) <jcsston@toughguy.net>
|
|
* Fixes to mkvinfo's GUI
|
|
|
|
Zenkov, Mihail <mihail.zenkov@gmail.com>
|
|
* Support for reading MP2 audio tracks from OGM files
|
|
|
|
?, ? (Lefungus)
|
|
* Avoid several compiler warnings
|
|
|
|
?, ? <ogg.k.ogg.k@googlemail.com>
|
|
* Support for Ogg Kate in mkvmerge and mkvextract
|
|
|
|
-------------------------------------------------------
|
|
|
|
Stuff that was developped externally and only included/patched in mkvtoolnix:
|
|
|
|
avilib:
|
|
* Johanni, Rainer <Rainer@Johanni.de> (original source code)
|
|
* Östreich, Thomas <ostreich@theorie.physik.uni-goettingen.de>
|
|
(lots of modifications in transcode)
|
|
* Bunkus, Moritz <moritz@bunkus.org> (lots of modifications in
|
|
ogmtools and mkvtoolnix)
|
|
* probably others
|