annotate DOCS/xml/en/tvinput.xml @ 17424:2ffede69ea15

FAQ about problems with playing DVDs on certain drives. Also addresses http://bugzilla.mplayerhq.hu/show_bug.cgi?id=395 .
author rathann
date Wed, 18 Jan 2006 21:37:55 +0000
parents 7f9fcf5245a0
children c0687e92d463
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-1"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 9948
diff changeset
2 <!-- $Revision$ -->
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 17280
diff changeset
3 <chapter id="tv">
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 17280
diff changeset
4 <title>TV</title>
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 17280
diff changeset
5
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 <sect1 id="tv-input" xreflabel="TV input">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 <title>TV input</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 This section is about how to enable <emphasis role="bold">watching/grabbing
9776
861a40949bf3 fixes, some by Dmitry Baryshkov <lumag@qnc.ru>, some by me
nicolas
parents: 9683
diff changeset
11 from V4L compatible TV tuner</emphasis>. See the man page for a description
861a40949bf3 fixes, some by Dmitry Baryshkov <lumag@qnc.ru>, some by me
nicolas
parents: 9683
diff changeset
12 of TV options and keyboard controls.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 <sect2 id="tv-compilation">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 <title>Compilation</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
18
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 First, you have to recompile. <filename>./configure</filename> will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 autodetect kernel headers of v4l stuff and the existence of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 <filename>/dev/video*</filename> entries. If they exist, TV support will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 be built (see the output of <filename>./configure</filename>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
25 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 Make sure your tuner works with another TV software in Linux, for
9776
861a40949bf3 fixes, some by Dmitry Baryshkov <lumag@qnc.ru>, some by me
nicolas
parents: 9683
diff changeset
28 example <application>XawTV</application>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 <sect2 id="tv-tips">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 <title>Usage tips</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 The full listing of the options is available on the manual page.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 Here are just a few tips:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
39 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
40 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 Use the <option>channels</option> option. An example:
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9776
diff changeset
43 <screen>-tv channels=26-MTV1,23-TV2</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 Explanation: using this option, only the 26 and 23 channels will be usable,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 and there will be a nice OSD text upon channel switching, displaying the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
46 channel's name. Spaces in the channel name must be replaced by the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
47 &quot;_&quot; character.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 Choose some sane image dimensions. The dimensions of the resulting image should
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 be divisible by 16.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
57
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 <para>
17280
19a8d11710ab Add Rich's advice posted on the thread:
gpoirier
parents: 16341
diff changeset
60 If you capture the video with the vertical resolution higher than half
19a8d11710ab Add Rich's advice posted on the thread:
gpoirier
parents: 16341
diff changeset
61 of the full resolution (i.e. 288 for PAL or 240 for NTSC), then the
19a8d11710ab Add Rich's advice posted on the thread:
gpoirier
parents: 16341
diff changeset
62 'frames' you get will really be interleaved pairs of fields.
19a8d11710ab Add Rich's advice posted on the thread:
gpoirier
parents: 16341
diff changeset
63 Depending on what you want to do with the video you may leave it in
19a8d11710ab Add Rich's advice posted on the thread:
gpoirier
parents: 16341
diff changeset
64 this form, destructively deinterlace, or break the pairs apart into
19a8d11710ab Add Rich's advice posted on the thread:
gpoirier
parents: 16341
diff changeset
65 individual fields.
19a8d11710ab Add Rich's advice posted on the thread:
gpoirier
parents: 16341
diff changeset
66 </para>
19a8d11710ab Add Rich's advice posted on the thread:
gpoirier
parents: 16341
diff changeset
67 <para>
19a8d11710ab Add Rich's advice posted on the thread:
gpoirier
parents: 16341
diff changeset
68 Otherwise you'll get a movie which is distorted during
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 fast-motion scenes and the bitrate controller will be probably even unable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 to retain the specified bitrate as the interlacing artifacts produce high
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 amount of detail and thus consume lot of bandwidth. You can enable
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
72 deinterlacing with <option>-vf pp=DEINT_TYPE</option>. Usually
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 <option>pp=lb</option> does a good job, but it can be matter of personal
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
74 preference. See other deinterlacing algorithms in the manual and give it a try.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
77
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 Crop out the dead space. When you capture the video, the areas at the edges
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
81 are usually black or contain some noise. These again consume lots of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 unnecessary bandwidth. More precisely it's not the black areas themselves
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
83 but the sharp transitions between the black and the brighter video image
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 which do but that's not important for now. Before you start capturing,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 adjust the arguments of the <option>crop</option> option so that all the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
86 crap at the margins is cropped out. Again, don't forget to keep the resulting
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 dimensions sane.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
90
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
91 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
93 Watch out for CPU load. It shouldn't cross the 90% boundary for most of the
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
94 time. If you have a large capture buffer, <application>MEncoder</application>
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
95 can survive an overload for few seconds but nothing more. It's better to
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
96 turn off the 3D OpenGL screensavers and similar stuff.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
98 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
101 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 Don't mess with the system clock. <application>MEncoder</application> uses the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103 system clock for doing A/V sync. If you adjust the system clock (especially
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
104 backwards in time), <application>MEncoder</application> gets confused and you
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
105 will lose frames. This is an important issue if you are hooked to a network
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
106 and run some time synchronization software like NTP. You have to turn NTP
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
107 off during the capture process if you want to capture reliably.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 Don't change the <option>outfmt</option> unless you know what you are doing
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 or your card/driver really doesn't support the default (YV12 colorspace).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 In the older versions of <application>MPlayer</application>/
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 <application>MEncoder</application> it was necessary to specify the output
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117 format. This issue should be fixed in the current releases and <option>outfmt</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 isn't required anymore, and the default suits the most purposes. For example,
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11713
diff changeset
119 if you are capturing into DivX using
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11713
diff changeset
120 <systemitem class="library">libavcodec</systemitem> and specify
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121 <option>outfmt=RGB24</option> in order to increase the quality of the captured
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 images, the captured image will be actually later converted back into YV12 so
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 the only thing you achieve is a massive waste of CPU power.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 To specify the I420 colorspace (<option>outfmt=i420</option>), you have to add an
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 option <option>-vc rawi420</option> due to a fourcc conflict with an Intel Indeo
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 video codec.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
132 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
133 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
134
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
135 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
136 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 There are several ways of capturing audio. You can grab the sound either using
13532
diego
parents: 12578
diff changeset
138 your sound card via an external cable connection between video card and line-in,
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 or using the built-in ADC in the bt878 chip. In the latter case, you have to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140 load the <emphasis role="bold">btaudio</emphasis> driver. Read the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141 <filename>linux/Documentation/sound/btaudio</filename> file (in the kernel
12578
3f543ec01d1e 's should be outside of <application> tags.
diego
parents: 11822
diff changeset
142 tree, not <application>MPlayer</application>'s) for some instructions on using
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
143 this driver.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 If <application>MEncoder</application> cannot open the audio device, make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 sure that it is really available. There can be some trouble with the sound
16341
04d7da697677 aRts, ESD consistent spelling
diego
parents: 14978
diff changeset
151 servers like aRts (KDE) or ESD (GNOME). If you have a full duplex sound card
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 (almost any decent card supports it today), and you are using KDE, try to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153 check the "full duplex" option in the sound server preference menu.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
156 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
158
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160 <sect2 id="tv-examples">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
161 <title>Examples</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165 Dummy output, to AAlib :)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
166 <screen>
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9776
diff changeset
167 mplayer -tv driver=dummy:width=640:height=480 -vo aa tv://<!--
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
170 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
172 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
174 Input from standard V4L:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
175 <screen>
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9776
diff changeset
176 mplayer -tv driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv tv://<!--
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
183 A more sophisticated example. This makes <application>MEncoder</application>
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
184 capture the full PAL image, crop the margins, and deinterlace the picture
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
185 using a linear blend algorithm. Audio is compressed with a constant bitrate
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
186 of 64kbps, using LAME codec. This setup is suitable for capturing movies.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187 <screen>
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9776
diff changeset
188 mencoder -tv driver=v4l:width=768:height=576 \
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 \
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 -oac mp3lame -lameopts cbr:br=64 \
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
191 -vf crop=720:544:24:16,pp=lb -o <replaceable>output.avi</replaceable> tv://
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
194 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
195
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 This will additionally rescale the image to 384x288 and compresses the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 video with the bitrate of 350kbps in high quality mode. The vqmax option
11271
252fb0cf331a spelling fixes, mostly by <ismail.donmez@boun.edu.tr>
diego
parents: 10913
diff changeset
200 looses the quantizer and allows the video compressor to actually reach so
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 low bitrate even at the expense of the quality. This can be used for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202 capturing long TV series, where the video quality isn't so important.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 <screen>
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9776
diff changeset
204 mencoder -tv driver=v4l:width=768:height=576 \
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=350:vhq:vqmax=31:keyint=300 \
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206 -oac mp3lame -lameopts cbr:br=48 \
14978
5897d202e4b0 Remove pp=tn from the filter chain, it's bad.
diego
parents: 13532
diff changeset
207 -vf crop=720:540:24:18,pp=lb,scale=384:288 -sws 1 -o <replaceable>output.avi</replaceable> tv://
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
209 It's also possible to specify smaller image dimensions in the <option>-tv</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210 option and omit the software scaling but this approach uses the maximum available
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
211 information and is a little more resistant to noise. The bt8x8 chips can do the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
212 pixel averaging only in the horizontal direction due to a hardware limitation.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
214 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216 </sect1>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 17280
diff changeset
217
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 17280
diff changeset
218 </chapter>