diff --git a/ChangeLog b/ChangeLog index dd1cb9d99..2e39e1301 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-06-22 Moritz Bunkus + * Removed "(mkvinfo) " from mkvinfo's output in order to improve + readability and save space. + * --sub-charset now also needs a track ID. * Modified the verbosity levels for mkvinfo: The seek head subentries diff --git a/mkvextract.1 b/mkvextract.1 index 6f5321a12..33e86285d 100644 --- a/mkvextract.1 +++ b/mkvextract.1 @@ -62,11 +62,35 @@ Simple text subtitles will be written as SRT files. S_TEXT/SSA, S_TEXT/ASS SSA and ASS text subtitles will be written as SSA/ASS files respectively. +.SH EXAMPLES +Let's assume you've made a Matroska file with one video track, two audio tracks +and two subtitle tracks, and you need the second audio track and the first +subtitle track. So first fire up \fBmkvmerge\fR with the \fB--identify\fR +option: +.LP +$ \fBmkvmerge -i movie.mkv\fR +.br +File 'movie.mkv': container: Matroska +.br +Track ID 1: video (V_MS/VFW/FOURCC, DIV3) +.br +Track ID 2: audio (A_MPEG/L3) +.br +Track ID 3: audio (A_VORBIS) +.br +Track ID 4: subtitles (S_TEXT/UTF8) +.br +Track ID 5: subtitles (S_TEXT/UTF8) +.LP +Now you can call \fBmkvmextract\fR like this: +.LP +$ \fBmkvextract -i movie.mkv 3:audio.ogg 4:subtitles.srt\fR + .SH AUTHOR .I mkvextract was written by Moritz Bunkus . .SH SEE ALSO -.BR mkvmerge (1) +.BR mkvmerge (1), .BR mkvinfo (1) .SH WWW The newest version can always be found at diff --git a/mkvinfo.cpp b/mkvinfo.cpp index 5962230d2..943069fee 100644 --- a/mkvinfo.cpp +++ b/mkvinfo.cpp @@ -161,7 +161,7 @@ void show_element(EbmlElement *l, int level, const char *fmt, ...) { memset(&level_buffer[1], ' ', 9); level_buffer[0] = '|'; level_buffer[level] = 0; - fprintf(stdout, "(%s) %s+ %s", NAME, level_buffer, args_buffer); + fprintf(stdout, "%s+ %s", level_buffer, args_buffer); if ((verbose > 1) && (l != NULL)) fprintf(stdout, " at %llu", l->GetElementPosition()); fprintf(stdout, "\n");