[MPlayer-dev-eng] [PATCH] Teletext support try3 (2/5, docs)
Vladimir Voroshilov
voroshil at gmail.com
Sun Jul 15 12:59:03 CEST 2007
Hi, All
Here is second of 5 teletext patches.
--
Regards,
Vladimir Voroshilov mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
Index: Changelog
===================================================================
--- Changelog (revision 23784)
+++ Changelog (working copy)
@@ -52,6 +52,7 @@
* support H.264 over RTSP
* "device" and "adevice" suboptions now works for *BSD BT848 tv driver too
* dvdnav:// now depends on mplayer's fork of libdvdnav
+ * Teletext support for tv:// (v4l and v4l2 only)
FFmpeg/libavcodec:
* Intel Music coder audio decoder
Index: DOCS/tech/slave.txt
===================================================================
--- DOCS/tech/slave.txt (revision 23784)
+++ DOCS/tech/slave.txt (working copy)
@@ -322,6 +322,19 @@
Toggle vsync (1 == on, 0 == off). If [value] is not provided,
vsync status is inverted.
+teletext_add_dec <value>
+ On/off teletext page number editing mode and append given digit to
+ previously entered one
+ 0..9 - append apropriate digit (enables editing mode if called from normal mode, and
+ switches to normal mode when third digit is entered.
+ - - delete last digit from page number (backspace amulation, works only in page number
+ editing mode)
+
+teletext_go_link <value>
+ Follow given links on current teletext page
+ 0 - go to initial page (specified by -tv tpage= parameter)
+ 1..6 - follow given link
+
tv_step_channel <channel>
Select next/previous TV channel.
@@ -457,4 +470,9 @@
tv_contrast int -100 100 X X X
tv_saturation int -100 100 X X X
tv_hue int -100 100 X X X
-
+teletext_page int 0 799 X X X
+teletext_subpage int 0 64 X X X
+teletext_mode int 0 3 X X X 0 - off, 1 - opaque, 2 - transparent,
+ 3 - transparent inverted (bw format)
+teletext_format int 0 3 X 0 - text, 1 - b/w, 2 - gray, 3 - color
+teletext_half_page int 0 2 X X X 0 - off, 1 - top half, 2- bottom half
Index: DOCS/tech/MAINTAINERS
===================================================================
--- DOCS/tech/MAINTAINERS (revision 23784)
+++ DOCS/tech/MAINTAINERS (working copy)
@@ -78,6 +78,7 @@
* libmpdemux: Roberto Togni, Nico Sabbi
* libmpcodecs: Roberto Togni
* TV input/capture: Vladimir Voroshilov
+ * TV teletext: Vladimir Voroshilov
* network streaming: Roberto Togni, Nico Sabbi, Benjamin Zores
* DVD/VOB subtitles: None
* config files & commandline parser: Alban Bedel
Index: DOCS/man/en/mplayer.1
===================================================================
--- DOCS/man/en/mplayer.1 (revision 23784)
+++ DOCS/man/en/mplayer.1 (working copy)
@@ -423,6 +423,26 @@
.PP
.RS
.
+(The following keys are only valid if teletext support is enabled during
+compilation: they are used for controlling TV teletext)
+.RE
+.PP
+.PD 0
+.RS
+.IPs "X"
+Switch teletext between on, off and transparent mode.
+.IPs "Q"
+Next teletext page.
+.IPs "W"
+Previous teletext page.
+.IPs "E"
+In text mode flips top or bottom piece of page otherwise
+zooms teletext page: top or bottom or normal.
+.RE
+.PD 1
+.PP
+.RS
+.
.TP
.B mouse control
.PD 0
@@ -1865,6 +1885,12 @@
.IPs quality=<0\-100>
Choose the quality of the JPEG compression
(< 60 recommended for full size).
+.IPs tdevice=<value> (default: none)
+Specify TV teletext device (example: /dev/\:vbi0).
+.IPs tformat=<text|bw|gray|color> (default: gray)
+Specify TV teletext display mode. (Note: color mode requires color SPU support.)
+.IPs tpage=<100-999> (default: 100)
+Specify starting TV teletext page number .
.RE
.
.TP
More information about the MPlayer-dev-eng
mailing list