From 4abe6d29df26fb08481a866f7b3f13d05df1a12a Mon Sep 17 00:00:00 2001
From: gabucino What I'd love to see in mplayer is the the same feature that I see in my
-windows box. When I start a movie in windows (in a window or in full screen)
-the movie is also redirected to the tv-out and I can also see it full screen
-on my tv. I love this feature and was wondering how hard it would be to add
-such a feature to mplayer. It's a driver limitation. BES (Back-End Scaler, it's the overlay generator
-and YUV scaling engine of G200/G400/G450/G550 cards) works only with CRTC1.
-Normally, CRTC1 (textmode, every bpp gfx and BES) is routed to HEAD1,
-and CRTC2 (only 16/32bpp gfx) is routed to HEAD2 (TV-out). Under linux, you have two choices to get TV-out working:
-
Follow these instructions:
- -
- cd TVout
- ./compile.sh
tty 1,2: fb console, CRTC2, head 1 (monitor)
-tty 3,4,5...: framebuffer+BES, CRTC1, head 2 (TV-out)
change to tty1 (ALT+F1), and run Mon-* (one of them)
-change to tty3 (ALT+F3) and then back to tty1 (ALT+F1)
run TV-* (one of them)
-(now you'll get a console on your PAL TV - don't know about NTSC) -Now if you start mplayer (on tty1), the picture will show up on -the tty3, so you'll see it on your TV or second monitor.
-screenw
and
-screenh
options (the first should be set to the horizontal
-resolution of the framebuffer, and the latter to the vertical. See
-example.conf
). This is required for fullscreen playing, and for
-the aspect code to work.
-
-Yes, it is a bit 'hack' now. But I'm waiting for the marvel -project to be finished, it will provide real TV-out drivers, I hope.
- -My current problem is that BES is working only with CRTC1. So picture -will always shown up on head routed to CRTC1 (normaly the monitor), -so i have to swap CRTC's, but this way your console will framebuffer -(CRTC2 can't do text-mode) and a bit slow (no acceleration). :(
- -Anyway i also just get monochrome output on the tv ...
-Maybe you have NTSC TV? Or just didn't run one of TV-* scripts.
2.2.1.A.1a. Matrox cards (method 2 - the XFree approach)
- -The previous method doesn't work very good for X users, since either they -have to shutdown it, or it becomes uselessly messy. This section is for them.
+Under Linux you have 2 methods to get TV out working :
-
./modules
script./cloning
. This way CRTC2
-won't be used, CRTC1 will display on both heads.
-./TV-640x512
or whichever resolution you
-wish to use-vo x11 -zoom
+ options, but it will be SLOW, and has Macrovision copyprotection
+ enabled.TVout/matroxset
and type make
. Install
+ matroxset
into somewhere in your PATH.fbset
installed, enter
+ TVout/fbset
and type make
. Install
+ fbset
into somewhere in your PATH.TVout/
directory in the MPlayer
+ source, and execute ./modules
as root. Your text-mode console
+ will enter into framebuffer mode (no way back!)../matroxtv
script. This will present you
+ to a very simple menu. Press 2 and ENTER. Now you should
+ have the same picture on your monitor, and TV. The 3. option
+ will turn on independent display, but then you can't use X! If
+ the TV picture has some weird stripes on it, the script wasn't able to
+ set the resolution correctly (to 640x512 by default). Use other menu
+ items randomly and it'll be OK :)+ Yoh. Next task is to make the cursor on tty1 (or whatever) to disappear, + and turn off screen blanking. Execute the following commands:
+ +
+ echo -e '\033[?25l'
+
+ setterm -blank 0
+ You possibly want to put the above into a script, and also clear
+ the screen.. To turn the cursor back :echo -e '\033[?25h'
+
Yeah kewl. Start movie playing with mplayer -vo mga -fs -screenw 640
+ -screenh 512 <filename>
+ (if you use X, now change to matroxfb with for example CTRL-ALT-F1 !)
+ Change 640x512 if you set the resolution to other..
+ Enjoy the ultra-fast ultra-featured Matrox TV output (better than Xv) !
+
Now you should have a clean picture on the TV, and maybe a somewhat strange
-picture on the monitor. But monitor doesn't matter, start X. Your TV
-goes black or have strange stripes, but monitor/X is fine !
-
-
-So, anytime you want to start watching something on TV, just start
-MPlayer in X with the -vo mga -screenw XXX -screenh XXX
-(write the horizontal and vertical resolution of your framebuffer to the XXX's,
-respectively) options, change to tty1 (with ctrl-alt-f1), and turn off the
-monitor.
-
-I should say good words into address of ATI Inc. too:
-it produces top quality BIOSes.
+I should say good words to ATI Inc. too:
+they produce top quality BIOSes.
@@ -865,7 +833,7 @@ chips with 64 - 128-bit access) so it's not bottleneck for them. There are no
limitations on which video mode can be displayed on your TV (like on other
cards) so you can use any video mode on your TV (from
320x200 up to 1024x768).
-Only thing you need to do - have plugged tv-connector in before booting your
+Only thing you need to do - have TV connector plugged in before booting your
PC since video BIOS initializes itself only once during POST procedure.