5555555
Silver Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Usage: mkvextract tracks <inname> [options] [TID1:out1 [TID2:out2 ...]] or mkvextract tags <inname> [options] or mkvextract attachments <inname> [options] [AID1:out1 [AID2:out2 ...]] or mkvextract chapters <inname> [options] or mkvextract cuesheet <inname> [options] or mkvextract timecodes_v2 <inname> [TID1:out1 [TID2:out2 ...]] or mkvextract <-h|-V> The first word tells mkvextract what to extract. The second must be the source file. The only 'global' option that can be used with all modes is '-v' or '--verbose' to increase the verbosity. All other options depend on the mode. The first mode extracts some tracks to external files. -c charset Convert text subtitles to this charset (default: UTF-8). --no-ogg Write raw FLAC files (default: write OggFLAC files). --cuesheet Also try to extract the CUE sheet from the chapter information and tags for this track. --blockadd level Keep only the BlockAdditions up to this level (default: keep all levels) --raw Extract the data to a raw file. --fullraw Extract the data to a raw file including the CodecPrivate as a header. TID:out Write track with the ID TID to the file 'out'. Example: mkvextract tracks "a movie.mkv" 2:audio.ogg -c ISO8859-1 3:subs.srt The second mode extracts the tags and converts them to XML. The output is written to the standard output. The output can be used as a source for mkvmerge. Example: mkvextract tags "a movie.mkv" > movie_tags.xml The third mode extracts attachments from the source file. AID:outname Write the attachment with the ID 'AID' to 'outname'. Example: mkvextract attachments "a movie.mkv" 4:cover.jpg The fourth mode extracts the chapters and converts them to XML. The output is written to the standard output. The output can be used as a source for mkvmerge. -s, --simple Exports the chapter infomartion in the simple format used in OGM tools (CHAPTER01=... CHAPTER01NAME=...). Example: mkvextract chapters "a movie.mkv" > movie_chapters.xml The fifth mode tries to extract chapter information and tags and outputs them as a CUE sheet. This is the reverse of using a CUE sheet with mkvmerge's '--chapters' option. Example: mkvextract cuesheet "audiofile.mka" > audiofile.cue The sixth mode finds the timecodes of all blocks for a track and outpus a timecode v2 file with these timecodes. Example: mkvextract timecodes_v2 "a movie.mkv" 1:timecodes_track1.txt These options can be used instead of the mode keyword to obtain further information: -v, --verbose Increase verbosity. -h, --help Show this help. -V, --version Show version information. |