[mythtv-users] PVR-350 audio during playback using mythtv %s

Mike Schiller mdschiller.mythtv at gmail.com
Tue Jan 11 01:17:41 EST 2005


I've got MythTv up and running on a PVR-350 card (the one with the
new-new grey remote and the SAA7129,SAA7115,MSP4448,NTSC/NTSC-J 48132
Rev 268) under FC3 with X-Windows running on the PVR-350's TV out. 
For watching TV and recorded TV, this setup works great.  The video
looks good, and the audio sounds good (audio output comes from the
PVR-350 outputs).  However, when running X on the PVR-350 output,
mplayer can not maintain an acceptable frame rate.  Consequently, I
changed Setup->Media Settings->Video Settings->Player
Settings->Default Player from mplayer to:

mythtv %s

Now, I get great video when watching imported videos, but have no
audio from either the PVR-350 audio out, nor my sound card audio out.

My /etc/modprobe.conf, /etc/rc.local, and /etc/X11/xorg.conf are pasted below.

Does anyone have suggestions for getting the audio output working?

I don't think this is the problem as I did try one stereo mpeg, but
can the mythtv %s displaying to the PVR-350 play the 5.1 channel sound
of an imported DVD on the stereo output of the PVR-350?

Thanks for your help,
Mike

# /etc/rc.local
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
/sbin/modprobe msp3400
/sbin/modprobe ivtv
/sbin/modprobe ivtv-fb
/usr/local/bin/ivtvctl -j reg=0x6c,val=0xfa -d /dev/video16
/usr/local/bin/ivtvctl -u 0x3000
/usr/local/bin/ivtvctl -p 4
/usr/local/bin/ivtvctl -f width=720,height=480
sleep 3
/usr/local/bin/ivtvfbctl /dev/fb0 -alpha -on -globalalpha -nolocalalpha
dd if=/dev/video0 of=/dev/video16 bs=64k count=100
sleep 3
/usr/local/bin/ivtvfbctl /dev/fb0 -globalalpha -nolocalalpha
/usr/local/bin/ivtvctl --reload
sleep 3
/sbin/modprobe lirc_i2c
sleep 10
ln -s /dev/lirc0 /dev/lirc
/sbin/service lircd start
/usr/bin/mythbackend&
/usr/bin/mtd -d


#/etc/modprobe.conf
alias eth0 8139too
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ;
}; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller uhci-hcd
#options msp3400 once=1 simple=1
#ivtv modules setup
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-61 lirc_i2c


#/etc/X11/xorg.conf
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
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  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
#       Load  "dri"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
        Identifier "NTSC Monitor"
        HorizSync 30-68
        VertRefresh 50-120
        Mode "720x480"
                DotClock 34.564
                HTimings 720 752 840 928
                VTimings 480 484 488 504
                #HTimings 648 680 760 832
                #VTimings 432 436 440 454
                Flags   "-HSync" "-VSync"
        EndMode
EndSection

Section "Device"
        Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
        Driver  "ivtvdev"
        #Option "ivtvdev" "/dev/fb0"
        Option  "fbdev" "/dev/fb0"
        BusID   "PCI:01:14:0"
        #BusID   "PCI:01:0x0e:0"
EndSection

Section "Screen"
        Identifier "Screen 0"
        Device "Hauppauge PVR 350 iTVC15 Framebuffer"
        Monitor "NTSC Monitor"
        DefaultDepth 24
        DefaultFbbpp 32
        Subsection "Display"
                Depth 24
                FbBpp 32
                Modes "720x480"
        EndSubsection
EndSection


More information about the mythtv-users mailing list