comparison DOCS/video.html @ 9174:0333afac3a56

closing some tags in Zr section
author gabucino
date Thu, 30 Jan 2003 19:32:19 +0000
parents 42667fd91d4a
children 537ff3f9961d
comparison
equal deleted inserted replaced
9173:eeca9a1043cd 9174:0333afac3a56
1185 movies in true wide screen provided that you have two beamers and two 1185 movies in true wide screen provided that you have two beamers and two
1186 MJPEG cards. Depending on resolution and quality settings, this driver 1186 MJPEG cards. Depending on resolution and quality settings, this driver
1187 may require a lot of CPU power, remember to specify <CODE>-framedrop</CODE> 1187 may require a lot of CPU power, remember to specify <CODE>-framedrop</CODE>
1188 if your machine is too slow. Note: My AMD K6-2 350MHz is (with <CODE> 1188 if your machine is too slow. Note: My AMD K6-2 350MHz is (with <CODE>
1189 -framedrop</CODE>) quite adequate for watching VCD sized material and 1189 -framedrop</CODE>) quite adequate for watching VCD sized material and
1190 downscaled movies. 1190 downscaled movies.</P>
1191 1191
1192 <P>This driver talks to the kernel driver available at 1192 <P>This driver talks to the kernel driver available at
1193 <A HREF="http://mjpeg.sourceforge.net">http://mjpeg.sourceforge.net</A>, so 1193 <A HREF="http://mjpeg.sourceforge.net">http://mjpeg.sourceforge.net</A>, so
1194 you must get it working first. The presence of an MJPEG card is autodetected 1194 you must get it working first. The presence of an MJPEG card is autodetected
1195 by the configure script, if autodetection fails, force detection with 1195 by the configure script, if autodetection fails, force detection with</P>
1196 1196
1197 <PRE> 1197 <PRE>
1198 ./configure --enable-zr 1198 ./configure --enable-zr
1199 </PRE> 1199 </PRE>
1200 1200
1201 <P>The output can be controlled by several options, a long description of the 1201 <P>The output can be controlled by several options, a long description of the
1202 options can be found in the man page, a short list of options can be 1202 options can be found in the man page, a short list of options can be
1203 viewed by running 1203 viewed by running</P>
1204 1204
1205 <PRE> 1205 <PRE>
1206 mplayer -zrhelp 1206 mplayer -zrhelp
1207 </PRE> 1207 </PRE>
1208 1208
1211 suppose that you have a movie with a resolution of <CODE>512x272</CODE> and 1211 suppose that you have a movie with a resolution of <CODE>512x272</CODE> and
1212 you want to view it fullscreen on your DC10+. There are three main 1212 you want to view it fullscreen on your DC10+. There are three main
1213 possibilities, you may scale the movie to a width of <CODE>768</CODE>, 1213 possibilities, you may scale the movie to a width of <CODE>768</CODE>,
1214 <CODE>384</CODE> or <CODE>192</CODE>. For performance and quality reasons, 1214 <CODE>384</CODE> or <CODE>192</CODE>. For performance and quality reasons,
1215 I would choose to scale the movie to <CODE>384x204</CODE> using the fast 1215 I would choose to scale the movie to <CODE>384x204</CODE> using the fast
1216 bilinear software scaler. The commandline is 1216 bilinear software scaler. The commandline is</P>
1217 1217
1218 <PRE> 1218 <PRE>
1219 mplayer -vo zr -sws 0 -vop scale=384:204 movie.avi 1219 mplayer -vo zr -sws 0 -vop scale=384:204 movie.avi
1220 </PRE> 1220 </PRE>
1221 1221
1222 <P>Cropping can be done by the <CODE>crop</CODE> filter and by 1222 <P>Cropping can be done by the <CODE>crop</CODE> filter and by
1223 this driver itself. Suppose that a movie is too wide for display on your 1223 this driver itself. Suppose that a movie is too wide for display on your
1224 Buz and that you want to use <CODE>-zrcrop</CODE> to make the movie less 1224 Buz and that you want to use <CODE>-zrcrop</CODE> to make the movie less
1225 wide, the you would issue the following command 1225 wide, the you would issue the following command</P>
1226 1226
1227 <PRE> 1227 <PRE>
1228 mplayer -vo zr -zrcrop 720x320+80+0 benhur.avi 1228 mplayer -vo zr -zrcrop 720x320+80+0 benhur.avi
1229 </PRE> 1229 </PRE>
1230 1230
1231 if you want to use the <CODE>crop</CODE> filter, you would do 1231 <P>if you want to use the <CODE>crop</CODE> filter, you would do</P>
1232 1232
1233 <PRE> 1233 <PRE>
1234 mplayer -vo zr -vop crop=720:320:80:0 benhur.avi 1234 mplayer -vo zr -vop crop=720:320:80:0 benhur.avi
1235 </PRE> 1235 </PRE>
1236 1236
1239 screen. Suppose you have two beamers. The left one is connected to your Buz 1239 screen. Suppose you have two beamers. The left one is connected to your Buz
1240 at <CODE>/dev/video1</CODE> and the right one is connected to your DC10+ at 1240 at <CODE>/dev/video1</CODE> and the right one is connected to your DC10+ at
1241 <CODE>/dev/video0</CODE>. The movie has a resolution of <CODE>704x288</CODE>. 1241 <CODE>/dev/video0</CODE>. The movie has a resolution of <CODE>704x288</CODE>.
1242 Suppose also that you want the right beamer in black and white and that 1242 Suppose also that you want the right beamer in black and white and that
1243 the right beamer should have jpeg frames at quality <CODE>10</CODE>, 1243 the right beamer should have jpeg frames at quality <CODE>10</CODE>,
1244 then you would issue the following command 1244 then you would issue the following command</P>
1245 1245
1246 <PRE> 1246 <PRE>
1247 mplayer -vo zr -zrdev /dev/video0 -zrcrop 352x288+352+0 -zrxdoff 0 -zrbw \ 1247 mplayer -vo zr -zrdev /dev/video0 -zrcrop 352x288+352+0 -zrxdoff 0 -zrbw \
1248 -zrcrop 352x288+0+0 -zrdev /dev/video1 -zrquality 10 movie.avi 1248 -zrcrop 352x288+0+0 -zrdev /dev/video1 -zrquality 10 movie.avi
1249 </PRE> 1249 </PRE>