diff options
author | greg <greg@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-03-05 23:13:08 +0000 |
---|---|---|
committer | greg <greg@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-03-05 23:13:08 +0000 |
commit | ca7cbc07244e261910cd651e2005bd6a9a7132be (patch) | |
tree | 26a4b651bf12c9c1c95b11422096c5163c80e798 /DOCS/man | |
parent | fbb74e16a38d6a5af31a7fb369195988f7414766 (diff) | |
download | mpv-ca7cbc07244e261910cd651e2005bd6a9a7132be.tar.bz2 mpv-ca7cbc07244e261910cd651e2005bd6a9a7132be.tar.xz |
Enable ASS/SSA subtitle support in mencoder
Enable ASS/SSA rendering through libass in mencoder. This duplicates a
bit of code (to parse font attachments, for example). Additionally, add
a filter "fixpts" that generates PTS, simulating fixed fps. PTS
generated by this filter are then used for subtitle timing.
Original patch by Nicolas George. (nicolas.george normalesup.org)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30849 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/en/mplayer.1 | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index cf89c3ba70..e984b4bfec 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -7500,6 +7500,48 @@ Larger radius makes for smoother gradients, but also prevents the filter from modifying pixels near detailed regions (default: 16). .RE . +.TP +.B fixpts[=options] +Fixes the presentation timestamps (PTS) of the frames. +By default, the PTS passed to the next filter is dropped, but the following +options can change that: +.RSs +.IPs print +Print the incoming PTS. +.IPs fps=<fps> +Specify a frame per second value. +.IPs start=<pts> +Specify an initial value for the PTS. +.IPs autostart=<n> +Uses the +.IR n th +incoming PTS as the initial PTS. +All previous pts are kept, so setting a huge value or \-1 keeps the PTS +intact. +.IPs autofps=<n> +Uses the +.IR n th +incoming PTS after the end of autostart to determine the framerate. +.RE +.sp 1 +.RS +.I EXAMPLE: +.RE +.PD 0 +.RSs +.IPs "\-vf fixpts=fps=24000/1001,ass,fixpts" +Generates a new sequence of PTS, uses it for ASS subtitles, then drops it. +Generating a new sequence is useful when the timestamps are reset during the +program; this is frequent on DVDs. +Dropping it may be necessary to avoid confusing encoders. +.RE +.PD 1 +.sp 1 +.RS +.I NOTE: +Using this filter together with any sort of seeking (including -ss and EDLs) +may make demons fly out of your nose. +.RE . . .SH "GENERAL ENCODING OPTIONS (MENCODER ONLY)" |