From ca7cbc07244e261910cd651e2005bd6a9a7132be Mon Sep 17 00:00:00 2001 From: greg Date: Fri, 5 Mar 2010 23:13:08 +0000 Subject: 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 --- DOCS/man/en/mplayer.1 | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'DOCS/man/en/mplayer.1') 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= +Specify a frame per second value. +.IPs start= +Specify an initial value for the PTS. +.IPs autostart= +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= +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)" -- cgit v1.2.3 From 22f233f531bc66fdad8a36e19f7881f2b07b6967 Mon Sep 17 00:00:00 2001 From: corey Date: Tue, 9 Mar 2010 06:23:33 +0000 Subject: Add a note about what x264's 'aud' parameter is for. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30867 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/man/en/mplayer.1 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'DOCS/man/en/mplayer.1') diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index e984b4bfec..37eee3e43d 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -10730,6 +10730,8 @@ SVC encodes. .TP .B (no)aud Write access unit delimeters to the stream (default: disabled). +Enable this only if your target container format requires access unit +delimiters. . .TP .B log=<\-1\-3> -- cgit v1.2.3 From 39e9706f63b8798af6961053f2ac08620bc20ecf Mon Sep 17 00:00:00 2001 From: corey Date: Tue, 9 Mar 2010 06:27:54 +0000 Subject: Document x264 VUI options. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30868 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/man/en/mplayer.1 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'DOCS/man/en/mplayer.1') diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 37eee3e43d..e2df09d996 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -10734,6 +10734,50 @@ Enable this only if your target container format requires access unit delimiters. . .TP +.B overscan= +Include VUI overscan information in the stream (default: disabled). +See doc/vui.txt in the x264 source code for more information. +. +.TP +.B videoformat= +Include VUI video format information in the stream (default: disabled). +This is a purely informative setting for describing the original source. +See doc/vui.txt in the x264 source code for more information. +. +.TP +.B (no)fullrange +Include VUI full range information in the stream (default: disabled). +Use this option if your source video is not range limited. +See doc/vui.txt in the x264 source code for more information. +. +.TP +.B colorprim= +Include color primaries information (default: disabled). +This can be used for color correction. +See doc/vui.txt in the x264 source code for more information. +. +.TP +.B transfer= +Include VUI transfer characteristics information in the stream +(default: disabled). +This can be used for color correction. +See doc/vui.txt in the x264 source code for more information. +. +.TP +.B colormatrix= +Include VUI matrix coefficients in the stream (default: disabled). +This can be used for color correction. +See doc/vui.txt in the x264 source code for more information. +. +.TP +.B chromaloc=<0-5> +Include VUI chroma sample location information in the stream (default: +disabled). +Use this option to ensure alignment of the chroma and luma planes after +color space conversions. +See doc/vui.txt in the x264 source code for more information. +. +.TP .B log=<\-1\-3> Adjust the amount of logging info printed to the screen. .PD 0 -- cgit v1.2.3