[mythtv-users] mplayer refuses to play video

Eggert Thorlacius eggi at menandmice.com
Sun Oct 24 22:05:11 UTC 2004


Hello

I am trying to set up mythtv on Fedora Core 2 according to Jarods guide 
with a Hauppauge PVR-350 card, hooking the TV-out port to my PAL TV.
So far I have gotten X to run on my TV, and can watch TV fullscreen 
with sound by catting /dev/video0 to /dev/video16.  However, I can not 
get MPlayer to play anything on my TV.  If I select an mpg from the 
MythTV Media Library, MPlayer exits with the following error message:

	vo: X11 running at 720x576 with depth 24 and 32 bpp (":0.0" => local 
display)
	It seems there is no Xvideo support for your video card available.
	Run 'xvinfo' to verify its Xv support and read 
DOCS/HTML/en/devices.html#xv!
	See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo 
x11
	Error opening/initializing the selected video_out (-vo) device.

If I try to play the same mpg in a window by running "mplayer 
myfile.mpg" from the cmdline, I get a green window on the TV, called 
"MPlayer VIDIX X11 Overlay" and the movie plays on my CRT monitor (with 
no sound).

I can play the mpg on TV by running "dd if=myfile.mpg of=/dev/video16 
bs=64k" but the quality is pretty horrible.

Running "xinfo" gives me:
	X-Video Extension version 2.2
	screen #0
	 no adaptors present

Does anyone know what the problem is?  I've tried goole, searching the 
mailing lists and changing all the params in all config files that I 
can think off but to no avail.

Here is my modprobe.conf:

	install sound-slot-0 /sbin/modprobe --first-time --ignore-install 
sound-slot-0 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 
2>&1 || :; }
	remove sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S 
 >/dev/null 2>&1 || :; } ; /sbin/modprobe -r --first-time 
--	ignore-remove sound-slot-0
	alias eth0 dmfe
	alias snd-card-0 snd-via82xx
	install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && 
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
	remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; 
/sbin/modprobe -r --ignore-remove snd-via82xx
	alias usb-controller uhci-hcd

	alias char-major-61 lirc_i2c
	alias char-major-81 videodev
	alias char-major-81-0 ivtv
	options ivtv_debug=1 ivtv_pal=1 tuner=5
	options tuner pal=1
	options saa7127 enable_output=1 output_select=0 pal=1
	options msp3400 once=1 simple=1
	install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe 
ivtv-fb
	install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install 
lirc_i2c

And my xorg.conf:
	
	# XFree86 4 configuration created by pyxf86config
	
	Section "ServerLayout"
		Identifier     "Default Layout"
		Screen         "TV"
		InputDevice    "Mouse0" "CorePointer"
		InputDevice    "Keyboard0" "CoreKeyboard"
		InputDevice    "DevInputMice" "AlwaysCore"
	EndSection
	
	Section "Files"
	
	# RgbPath is the location of the RGB database.  Note, this is the name 
of the
	# file minus the extension (like ".txt" or ".db").  There is normally
	# no need to change the default.
	# Multiple FontPath entries are allowed (they are concatenated 
together)
	# By default, Red Hat 6.0 and later now use a font server independent 
of
	# the X server to render fonts.
		RgbPath      "/usr/X11R6/lib/X11/rgb"
		FontPath     "unix/:7100"
	EndSection
	
	Section "Module"
		Load  "dbe"
		Load  "extmod"
		Load  "v4l"
	#	Load  "fbdevhw"
		Load  "glx"
		Load  "record"
		Load  "freetype"
		Load  "type1"
		Load  "dri"
	EndSection
	
	Section "InputDevice"
		Identifier  "Keyboard0"
		Driver      "kbd"
		Option	    "XkbModel" "pc105"
		Option	    "XkbLayout" "is"
	EndSection
	
	Section "InputDevice"
		Identifier  "Mouse0"
		Driver      "mouse"
		Option	    "Protocol" "IMPS/2"
		Option	    "Device" "/dev/input/mice"
		Option	    "ZAxisMapping" "4 5"
		Option	    "Emulate3Buttons" "no"
	EndSection
	
	Section "InputDevice"
		Identifier  "DevInputMice"
		Driver      "mouse"
		Option	    "Protocol" "IMPS/2"
		Option	    "Device" "/dev/input/mice"
		Option	    "ZAxisMapping" "4 5"
		Option	    "Emulate3Buttons" "no"
	EndSection
	
	Section "DRI"
		Group        0
		Mode         0666
	EndSection
	
	
	Section "Device"
		Identifier "Hauppauge PVR350"
		Driver "ivtvdev"
		Option "fbdev" "/dev/fb0"
		BusID "0:0x0a:0"
	EndSection
	
	Section "Monitor"
		Identifier "PAL TV"
		HorizSync 30-68
		VertRefresh 50-120
		Mode "720x576"
		 DotClock 42.6
		 HTimings 720 760 832 944
		 VTimings 576 577 580 602
		 Flags "-HSync" "-VSync"
		EndMode
	EndSection
	
	Section "Screen"
		Identifier "TV"
		Device "Hauppauge PVR350"
		Monitor "PAL TV"
		DefaultDepth 24
		DefaultFbbpp 32
		Subsection "Display"
		 Depth 24
		 FbBpp 32
		 Modes "720x576"
		EndSubsection
	EndSection

And finally the IVTV section from /var/log/messages:

	Oct 24 20:47:14 glamur kernel: ivtv: ==================== START INIT 
IVTV ====================
	Oct 24 20:47:14 glamur kernel: ivtv: version 0.1.10 
(0.1.10-48_pre2_ck100zz.rhfc2.at) loading
	Oct 24 20:47:14 glamur kernel: ivtv: Linux version: 2.6.8-1.521 686 
REGPARM 4KSTACKS gcc-3.3
	Oct 24 20:47:14 glamur kernel: ivtv: In case of problems please 
include the debug info
	Oct 24 20:47:14 glamur kernel: ivtv: between the START INIT IVTV and 
END INIT IVTV lines when
	Oct 24 20:47:14 glamur kernel: ivtv: mailing the ivtv-devel 
mailinglist.
	Oct 24 20:47:14 glamur kernel: ivtv: Autodetected WinTV PVR 350 card
	Oct 24 20:47:14 glamur kernel: ivtv: Found an iTVC15 based chip
	Oct 24 20:47:14 glamur kernel: ACPI: PCI interrupt 0000:00:0a.0[A] -> 
GSI 5 (level, low) -> IRQ 5
	Oct 24 20:47:14 glamur kernel: ivtv: Unreasonably low latency timer, 
setting to 64 (was 32)
	Oct 24 20:47:14 glamur kernel: ivtv: pci: VIA detected device: 0x0305 
vendor: 0x1106
	Oct 24 20:47:14 glamur kernel: tveeprom: Hauppauge: model = 48134, rev 
= J321, serial# = 7315402
	Oct 24 20:47:14 glamur kernel: tveeprom: tuner = Philips FM1216 (idx = 
21, type = 5)
	Oct 24 20:47:14 glamur kernel: tveeprom: tuner fmt = PAL(B/G) (eeprom 
= 0x04, v4l2 = 0x00000007)
	Oct 24 20:47:14 glamur kernel: tveeprom: audio_processor = CS5331 
(type = 9)
	Oct 24 20:47:14 glamur kernel: ivtv: i2c attach [client=tveeprom[0],ok]
	Oct 24 20:47:14 glamur kernel: ivtv: Tuner Type 5, Tuner formats 
0x00000007, Radio: yes, Model 0x00a93491, Revision 0x00000001
	Oct 24 20:47:14 glamur kernel: ivtv: PAL tuner detected
	Oct 24 20:47:14 glamur kernel: ivtv: Radio detected
	Oct 24 20:47:14 glamur kernel: tuner: chip found at addr 0xc2 i2c-bus 
ivtv i2c driver #0
	Oct 24 20:47:14 glamur kernel: ivtv: i2c attach [client=(tuner 
unset),ok]
	Oct 24 20:47:14 glamur kernel: saa7115: starting probe for adapter 
ivtv i2c driver #0 (0x10005)
	Oct 24 20:47:14 glamur kernel: saa7115: detecting saa7115 client on 
address 0x42
	Oct 24 20:47:14 glamur kernel: saa7115: writing init values
	Oct 24 20:47:14 glamur kernel: ivtv: i2c attach [client=saa7115[0],ok]
	Oct 24 20:47:14 glamur kernel: saa7115: status: (1E) 0x48, (1F) 0xc0
	Oct 24 20:47:14 glamur kernel: saa7127: Unknown parameter 
`enable_output'
	Oct 24 20:47:14 glamur kernel: saa7127: video encoder driver version V 
0.3 loaded
	Oct 24 20:47:14 glamur kernel: saa7127: Selecting NTSC video Standard
	Oct 24 20:47:14 glamur kernel: saa7127: Selecting S-Video+Composite
	Oct 24 20:47:14 glamur kernel: saa7127: Turn WSS off
	Oct 24 20:47:14 glamur kernel: saa7127: Widescreen Mode 4:3 Full Format
	Oct 24 20:47:14 glamur kernel: saa7127: Selecting Normal Encoder Input
	Oct 24 20:47:14 glamur kernel: saa7127: Enable Video Output
	Oct 24 20:47:15 glamur kernel: ivtv: i2c attach [client=saa7127[0],ok]
	Oct 24 20:47:15 glamur kernel: msp34xx: init: chip=MSP3418W-A2 +ivtv 
+nicam +simple +simpler +radio
	Oct 24 20:47:15 glamur kernel: ivtv: i2c attach [client=MSP3418W-A2,ok]
	Oct 24 20:47:16 glamur kernel: ivtv: Encoder revision: 0x02040011
	Oct 24 20:47:16 glamur kernel: ivtv: Decoder revision: 0x02020023
	Oct 24 20:47:16 glamur kernel: ivtv: Configuring WinTV PVR 350 card 
with 9 streams
	Oct 24 20:47:16 glamur kernel: ivtv: Create DMA stream 0 using 128 
buffers of size 32768
	Oct 24 20:47:16 glamur kernel: ivtv: Create DMA stream 1 using 128 
buffers of size 32768
	Oct 24 20:47:16 glamur kernel: ivtv: Create stream 2 using 128 buffers 
of size 4096
	Oct 24 20:47:16 glamur kernel: ivtv: Create DMA stream 3 using 128 
buffers of size 32768
	Oct 24 20:47:16 glamur kernel: ivtv: Create stream 4
	Oct 24 20:47:16 glamur kernel: ivtv: Create DMA stream 5 using 16 
buffers of size 32768
	Oct 24 20:47:16 glamur kernel: ivtv: Create stream 6 using 128 buffers 
of size 4096
	Oct 24 20:47:16 glamur kernel: ivtv: Create stream 7
	Oct 24 20:47:16 glamur kernel: ivtv: Create DMA stream 8 using 16 
buffers of size 32768
	Oct 24 20:47:16 glamur kernel: ivtv: Setting Tuner 5
	Oct 24 20:47:16 glamur kernel: tuner: type set to 5 (Philips PAL_BG 
(FI1216 and compatibles)) by ivtv i2c driver #0
	Oct 24 20:47:16 glamur kernel: ivtv: Setting audio matrix to input 3, 
output 1
	Oct 24 20:47:16 glamur kernel: ivtv: Switching standard to PAL.
	Oct 24 20:47:16 glamur rc: Starting readahead:  succeeded
	Oct 24 20:47:16 glamur kernel: saa7115: decoder set norm PAL
	Oct 24 20:47:16 glamur kernel: saa7115: set audio: 0x01
	Oct 24 20:47:16 glamur kernel: saa7127: Setting Encoder Video Standard
	Oct 24 20:47:16 glamur kernel: saa7127: Set PAL Video Mode
	Oct 24 20:47:16 glamur kernel: saa7127: Selecting PAL video Standard
	Oct 24 20:47:16 glamur kernel: ivtv: Initialized WinTV PVR 350, card #0
	Oct 24 20:47:16 glamur kernel: ivtv: ====================  END INIT 
IVTV  ====================
	
Regards,
Eggert Thorlacius
Reykjavik, Iceland



More information about the mythtv-users mailing list