Author: ptt Date: Mon Sep 25 18:47:56 2006 New Revision: 19979 Modified: trunk/DOCS/man/en/mplayer.1 Changes in other areas also in this revision: Modified: trunk/cfg-common.h trunk/cfg-mencoder.h trunk/help/help_mp-en.h trunk/m_option.c trunk/m_option.h trunk/mencoder.c trunk/mplayer.c Log: after a long time, finally i could add -endpos option to mplayer executable. as oded told me on 1006 02 24, i applied it, blame me if some problem occurs, i hope not, since i tried it for a while.... Modified: trunk/DOCS/man/en/mplayer.1 ============================================================================== --- trunk/DOCS/man/en/mplayer.1 (original) +++ trunk/DOCS/man/en/mplayer.1 Mon Sep 25 18:47:56 2006 @@ -1273,6 +1273,30 @@ See DOCS/\:HTML/\:en/\:edl.html for details on how to use this. . .TP +.B \-endpos <[[hh:]mm:]ss[.ms]|size[b|kb|mb]> (also see \-ss and \-sb) +Stop at given time or byte position. +.br +.I NOTE: +Byte position is enabled only for MEncoder and will not be accurate, as it can +only stop at a frame boundary. +When used in conjunction with \-ss option, \-endpos time will shift forward by +seconds specified with \-ss. +.sp 1 +.I EXAMPLE: +.PD 0 +.RSs +.IPs "\-endpos 56" +Stop at 56 seconds. +.IPs "\-endpos 01:10:00" +Stop at 1 hour 10 minutes. +.IPs "\-ss 10 \-endpos 56" +Stop at 1 minute 6 seconds. +.IPs "\-endpos 100mb" +Encode only 100 MB. +.RE +.PD 1 +. +.TP .B \-forceidx Force index rebuilding. Useful for files with broken index (A/V desync, etc). @@ -6550,26 +6574,6 @@ Sets up the audio buffering time interval (default: 0.5s). . .TP -.B \-endpos <[[hh:]mm:]ss[.ms]|size[b|kb|mb]> (also see \-ss and \-sb) -Stop encoding at the given time or byte position. -.br -.I NOTE: -Byte position will not be accurate, as it can only stop at -a frame boundary. -.sp 1 -.I EXAMPLE: -.PD 0 -.RSs -.IPs "\-endpos 56" -Encode only 56 seconds. -.IPs "\-endpos 01:10:00" -Encode only 1 hour 10 minutes. -.IPs "\-endpos 100mb" -Encode only 100 MB. -.RE -.PD 1 -. -.TP .B \-fafmttag <format> Can be used to override the audio format tag of the output file. .sp 1