comparison DOCS/xml/en/tvinput.xml @ 9948:ad081e771ada

patch by Albeu + update of matrox_tvout url
author nicolas
date Sun, 20 Apr 2003 17:08:57 +0000
parents 861a40949bf3
children 49b1a67e7381
comparison
equal deleted inserted replaced
9947:b552e7939ca2 9948:ad081e771ada
34 </para> 34 </para>
35 <itemizedlist> 35 <itemizedlist>
36 <listitem> 36 <listitem>
37 <para> 37 <para>
38 Use the <option>channels</option> option. An example: 38 Use the <option>channels</option> option. An example:
39 <screen>-tv on:channels=26-MTV1,23-TV2</screen> 39 <screen>-tv channels=26-MTV1,23-TV2</screen>
40 Explanation: using this option, only the 26 and 23 channels will be usable, 40 Explanation: using this option, only the 26 and 23 channels will be usable,
41 and there will be a nice OSD text upon channel switching, displaying the 41 and there will be a nice OSD text upon channel switching, displaying the
42 channel's name. Spaces in the channel name must be replaced by the 42 channel's name. Spaces in the channel name must be replaced by the
43 &quot;_&quot; character. 43 &quot;_&quot; character.
44 </para> 44 </para>
150 150
151 <informalexample> 151 <informalexample>
152 <para> 152 <para>
153 Dummy output, to AAlib :) 153 Dummy output, to AAlib :)
154 <screen> 154 <screen>
155 mplayer -tv on:driver=dummy:width=640:height=480 -vo aa<!-- 155 mplayer -tv driver=dummy:width=640:height=480 -vo aa tv://<!--
156 --></screen> 156 --></screen>
157 </para> 157 </para>
158 </informalexample> 158 </informalexample>
159 159
160 <informalexample> 160 <informalexample>
161 <para> 161 <para>
162 Input from standard V4L: 162 Input from standard V4L:
163 <screen> 163 <screen>
164 mplayer -tv on:driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv<!-- 164 mplayer -tv driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv tv://<!--
165 --></screen> 165 --></screen>
166 </para> 166 </para>
167 </informalexample> 167 </informalexample>
168 168
169 <informalexample> 169 <informalexample>
171 A more sophisticated example. This makes MEncoder capture the full PAL 171 A more sophisticated example. This makes MEncoder capture the full PAL
172 image, crop the margins, and deinterlace the picture using a linear blend 172 image, crop the margins, and deinterlace the picture using a linear blend
173 algorithm. Audio is compressed with a constant bitrate of 64kbps, using 173 algorithm. Audio is compressed with a constant bitrate of 64kbps, using
174 LAME codec. This setup is suitable for capturing movies. 174 LAME codec. This setup is suitable for capturing movies.
175 <screen> 175 <screen>
176 mencoder -tv on:driver=v4l:width=768:height=576 \ 176 mencoder -tv driver=v4l:width=768:height=576 \
177 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 \ 177 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 \
178 -oac mp3lame -lameopts cbr:br=64 \ 178 -oac mp3lame -lameopts cbr:br=64 \
179 -vf crop=720:544:24:16,pp=lb -o output.avi 179 -vf crop=720:544:24:16,pp=lb -o output.avi tv://
180 </screen> 180 </screen>
181 </para> 181 </para>
182 </informalexample> 182 </informalexample>
183 183
184 <informalexample> 184 <informalexample>
187 video with the bitrate of 350kbps in high quality mode. The vqmax option 187 video with the bitrate of 350kbps in high quality mode. The vqmax option
188 looses the quantizer and allows the video compressor to actualy reach so 188 looses the quantizer and allows the video compressor to actualy reach so
189 low bitrate even at the expense of the quality. This can be used for 189 low bitrate even at the expense of the quality. This can be used for
190 capturing long TV series, where the video quality isn't so important. 190 capturing long TV series, where the video quality isn't so important.
191 <screen> 191 <screen>
192 mencoder -tv on:driver=v4l:width=768:height=576 \ 192 mencoder -tv driver=v4l:width=768:height=576 \
193 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=350:vhq:vqmax=31:keyint=300 \ 193 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=350:vhq:vqmax=31:keyint=300 \
194 -oac mp3lame -lameopts cbr:br=48 \ 194 -oac mp3lame -lameopts cbr:br=48 \
195 -vf crop=720:540:24:18,pp=tn/lb,scale=384:288 -sws 1 -o output.avi 195 -vf crop=720:540:24:18,pp=tn/lb,scale=384:288 -sws 1 -o output.avi tv://
196 </screen> 196 </screen>
197 It's also possible to specify smaller image dimensions in the <option>-tv</option> 197 It's also possible to specify smaller image dimensions in the <option>-tv</option>
198 option and omit the software scaling but this approach uses the maximum available 198 option and omit the software scaling but this approach uses the maximum available
199 information and is a little more resistant to noise. The bt8x8 chips can do the 199 information and is a little more resistant to noise. The bt8x8 chips can do the
200 pixel averaging only in the horizontal direction due to a hardware limitation. 200 pixel averaging only in the horizontal direction due to a hardware limitation.