Added another example for mkvpropedit usage

This commit is contained in:
Moritz Bunkus 2010-02-08 08:56:26 +01:00
parent 2a0c79c1eb
commit 0d09afdf50
3 changed files with 40 additions and 0 deletions

View File

@ -169,6 +169,21 @@ title=Comments
.nf .nf
$ mkvpropedit movie\&.mkv \-\-edit info \-\-set "title=The movie" \-\-edit track:a1 \-\-set language=fre \-\-edit track:a2 \-\-set language=ita $ mkvpropedit movie\&.mkv \-\-edit info \-\-set "title=The movie" \-\-edit track:a1 \-\-set language=fre \-\-edit track:a2 \-\-set language=ita
.fi
.if n \{\
.RE
.\}
.PP
The second example removes the \'default track flag\' from the first subtitle track and sets it for the second one\&. Note that
\fBmkvpropedit\fR(1), unlike
\fBmkvmerge\fR(1), does not set the \'default track flag\' of other flags to \'0\' if it is set to \'1\' for a different track automatically\&.
.sp
.if n \{\
.RS 4
.\}
.nf
$ mkvpropedit movie\&.mkv \-\-edit tracks:s1 \-\-set flag\-default=0 \-\-edit tracks:s2 \-\-set flag\-default=1
.fi .fi
.if n \{\ .if n \{\
.RE .RE

View File

@ -248,6 +248,21 @@ option anyway\&.
.nf .nf
$ mkvpropedit movie\&.mkv \-\-edit info \-\-set "title=The movie" \-\-edit track:a1 \-\-set language=fre \-\-edit track:a2 \-\-set language=ita $ mkvpropedit movie\&.mkv \-\-edit info \-\-set "title=The movie" \-\-edit track:a1 \-\-set language=fre \-\-edit track:a2 \-\-set language=ita
.fi
.if n \{\
.RE
.\}
.PP
The second example removes the \'default track flag\' from the first subtitle track and sets it for the second one\&. Note that
\fBmkvpropedit\fR(1), unlike
\fBmkvmerge\fR(1), does not set the \'default track flag\' of other flags to \'0\' if it is set to \'1\' for a different track automatically\&.
.sp
.if n \{\
.RS 4
.\}
.nf
$ mkvpropedit movie\&.mkv \-\-edit tracks:s1 \-\-set flag\-default=0 \-\-edit tracks:s2 \-\-set flag\-default=1
.fi .fi
.if n \{\ .if n \{\
.RE .RE

View File

@ -340,6 +340,16 @@ title=Comments
<screen> <screen>
$ mkvpropedit movie.mkv --edit info --set "title=The movie" --edit track:a1 --set language=fre --edit track:a2 --set language=ita $ mkvpropedit movie.mkv --edit info --set "title=The movie" --edit track:a1 --set language=fre --edit track:a2 --set language=ita
</screen> </screen>
<para>
The second example removes the 'default track flag' from the first subtitle track and sets it for the second one. Note that
&mkvpropedit;, unlike &mkvmerge;, does not set the 'default track flag' of other flags to '0' if it is set to '1' for a different track
automatically.
</para>
<screen>
$ mkvpropedit movie.mkv --edit tracks:s1 --set flag-default=0 --edit tracks:s2 --set flag-default=1
</screen>
</refsect1> </refsect1>
<refsect1> <refsect1>